Collections
Get number of documents in a collection
Retrieve the count of documents within the collection.
Note: This always loads the collection into memory.
get/_fabric/{fabric}/_api/collection/{collection-name}/count
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
fabricstring string required
The name of the fabric.
collection-namestring string required
The name of the collection.
Response
Successfully fetched number of documents in a collection.
Example response
{
"code": 200,
"count": "89218",
"id": "89218",
"name": "colltest0127133421258ogefv",
"globallyUniqueId": "h83A7584E8AA9"
}Changes
No recorded changes to this operation across all 1 revision of this API.