Zwraca liczniki dla wybranych obiektów i opcjonalnie typów.
Endpointy obsługujące żądanie:
https://api.5ways.comGET /rest/counter
{
"Counter": {
"Issue": {
"my": 0,
"unassigned": 0,
"unaccepted": 0,
"delegated": 0
},
"MailReceivedMysqlMessage": {
"important": 0,
"others": 0,
"drafts": 0,
"offices": 0
}
}
}
GET /rest/counter?object=Issue
{
"Counter": {
"Issue": {
"my": 0,
"unassigned": 0,
"unaccepted": 0,
"delegated": 0
}
}
}
GET /rest/counter?object=Issue&type=my
{
"Counter": {
"Issue": {
"my": 0
}
}
}
GET /rest/counter?object=Issue&groupIds=99,5334,3253
{
"Counter": {
"Issue": {
"my": 0,
"unassigned": 0,
"unaccepted": 0,
"delegated": 0
}
}
}