GET /data/{collectionName}/count

Count all items inside a collection with the given parameters

Path parameters

  • collectionName string Required

    defines the collection on which you want to call the operation (e.g users)

Query parameters

  • before string

    Use before to query for entries before a given parameter. (e.g before[createdAt]=2023-06-21T12:34:56+00:00)

  • after string

    Use after to query for entries after a given parameter. (e.g after[createdAt]=2023-06-21T12:34:56+00:00)

  • filter object

    Use any key value combination to query for properties (e.g name=foo). Additionally you can query with options, like age[string]=42 (forces a string check for age) or age[int:gt]=30 (forces a int check and greater than filter)

    Hide filter attribute Show filter attribute object
    • * string | integer Additional properties
  • existsFilter object

    Use a combination of exists[key]=true or exists[key] = false to check for existance of key on data object

    Hide existsFilter attribute Show existsFilter attribute object
    • * string Additional properties
  • authField string

    this parameter can be used to use a different item field other then the original field (userId). This field is used to map data objects to sub accounts.

GET /data/{collectionName}/count
curl \
 --request GET 'https://api.universecloud.io/data/users/count' \
 --header "X-Api-Key: $API_KEY"