Skip to main content
POST
/
search
/
v1
/
libraries
/
{libraryId}
/
count
cURL
curl --request POST \
  --url https://aodocs.altirnao.com/api/search/v1/libraries/{libraryId}/count \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "filters": [
    {
      "column": "<string>",
      "joinType": "AND",
      "kind": "<string>",
      "operator": "EQUAL",
      "value": "<string>"
    }
  ],
  "kind": "<string>"
}
'
{
  "count": 123,
  "kind": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

libraryId
string
required

The ID of the library

Query Parameters

classId
string

The ID of the document class

deleteOption
enum<string>
default:NOT_DELETED

The scope of documents to find: 'DELETED' to get only deleted documents, 'NOT_DELETED' (default value) to get only non-deleted documents or 'ALL' to get all documents

Available options:
DELETED,
NOT_DELETED,
ALL
securityCode
string

The security code

domain
string

The G Suite domain

timezone
string

The timezone to use for datetime field searches (default: UTC). Format: 'Europe/Paris' or '+01:00'

Body

application/json
filters
object[]
kind
string

Response

200 - application/json

A ApiDocumentCount response

count
integer<int32>
kind
string