List and search documents
Count documents of a library
You can count the number of documents associated with a particular library (and optionally class) as follows.
POST
Note:This is available only to library administrators.
Method and API
Play with the API Explorer:POST /search/v1/libraries/\{libraryId\}/count
Usage/notes/guidelines
Request
libraryId is a path parameter. It is the only mandatory parameter. However, using the classId helps narrow the response to documents of a specific class you want.
Response
The response returns an ApiDocumentCount resource, giving a count of all documents associated with the specified library (and class if you specified theclassId).