curl --request GET \
--url https://staging.api.us.aptlydone.com/decision/v1/delegations/counts \
--header 'Authorization: Bearer <token>'
{
"active": 10,
"inactive": 3,
"mine": 3,
"pending": 5,
"suspended": 2,
"all": 20
}
Get counts of delegations in different tabs
curl --request GET \
--url https://staging.api.us.aptlydone.com/decision/v1/delegations/counts \
--header 'Authorization: Bearer <token>'
{
"active": 10,
"inactive": 3,
"mine": 3,
"pending": 5,
"suspended": 2,
"all": 20
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Delegations counts retrieved successfully
The response is of type object
.