Count the members of a spot, with the same filters as GET /spotMembers. With groupBy, the count is also split by a single dimension: status, role, customRole, registeredMonth, invitedMonth or group.
Query parameters
-
Filters on emails of Spot member to include in the result
-
Filters on firstnames of Spot member to include in the result
-
Filters on lastname of Spot member to include in the result
-
Filters on role of Spot member to include in the result
-
Filters on custom role ID of Spot member to include in the result
-
Filters on status of Spot member to include in the result
-
Filters on invitation date of Spot member
-
Filters on registration date of Spot member
-
Filters on updated date of Spot member
-
Filter on a group of the spot member
-
Only the members in no group (deleted groups do not count). Cannot be given with groupId[eq].
-
Filters on the last activity date of Spot member
-
Single dimension to split the count by: status, role (base role, whatever the custom role), customRole, registeredMonth or invitedMonth (UTC month, YYYY-MM), group (deleted groups left out; a member of several groups counts in each, so the counts may sum up to more than total). By month: every non empty month ascending, then the members without date (null key). By any other dimension: the 100 biggest values first, ties broken by key; null key for the members without custom role or in no group. Totals only when omitted.
Values are
role,status,customRole,registeredMonth,invitedMonth, orgroup.
curl \
--request GET 'https://openapi.meltingspot.io/v1/spotMembers~count'
{
"total": 42.0,
"items": [
{
"key": "string",
"label": "string",
"count": 42.0
}
]
}