Get document countDeprecated

Fetches document count for the specified custom datasource.

Tip: Use /debug/{datasource}/status for richer information.

SecurityBearerAuth
Request
Request Body schema: application/json
required
datasource
required
string

Datasource name for which document count is needed.

Responses
200

OK

Response Schema: application/json
documentCount
integer

Number of documents corresponding to the specified custom datasource.

400

Bad Request

401

Not Authorized

409

Conflict

post/getdocumentcount
Request samples
application/json
{
  • "datasource": "string"
}
Response samples
application/json
{
  • "documentCount": 0
}