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
Number of active delegations
10
Number of inactive delegations
3
Number of mine delegations
3
Number of pending delegations
5
Number of suspended delegations
2
Total number of delegations
20