Returns up to 100 public activity counters for the provided filter and paging.
Only counters that are marked as public are returned.
Supported fields for filtering:
memberId
Supported operations:
Comparison:
Logical:
Query options.
Retrieved activity counters.
Paging metadata.
Retrieving counters with member id
curl -X POST \
https://www.wixapis.com/members/v1/activity-counters/query \
-H 'Authorization: <AUTH>' \
-d '{
"query": {
"filter": {
"memberId": "987110f7-5100-4beb-a948-de610fd18f00"
}
}
}'
{
"activityCounters": [
{
"memberId": "987110f7-5100-4beb-a948-de610fd18f00",
"appId": "7eb67052-4478-416e-b444-eff7accf6cea",
"counters": [
{
"key": "This is public key",
"public": true,
"count": 3
}
]
},
{
"memberId": "987110f7-5100-4beb-a948-de610fd18f00",
"appId": "fb70a122-6276-4bbd-9cc6-ea9bc452b2a1",
"counters": [
{
"key": "This is another public key",
"public": true,
"count": 10
}
]
}
],
"metadata": {
"count": 2,
"offset": 0,
"total": 2
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.