Count all items inside a collection with the given parameters
Query parameters
-
Use before to query for entries before a given parameter. (e.g before[createdAt]=2023-06-21T12:34:56+00:00)
-
Use after to query for entries after a given parameter. (e.g after[createdAt]=2023-06-21T12:34:56+00:00)
-
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)
-
Use a combination of exists[key]=true or exists[key] = false to check for existance of key on data object
-
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.
curl \
--request GET 'https://api.universecloud.io/data/users/count' \
--header "X-Api-Key: $API_KEY"