Skip to navigation

Count objects

View as Markdown

Counts the live objects of a definition in a space. With view, only the objects that match the filters of that saved view count. Authorization: requires space:read on :spaceId. Lacking it gives 404.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

spaceIdstringRequired
definitionIdstringRequired

Query parameters

viewstringOptional
A saved view id. Only the objects that match its filters count.

Response

The count.
countdouble
How many live objects match.

Errors

404
Not Found Error
422
Unprocessable Entity Error