Get counters for dashboard
Dashboard
GET articles
Endpoint
GET /api/v1/dashboard/counters
Parameters
Name | Description |
---|---|
start_date | Data starting from |
end_date | Data ending at |
Request
Route
GET /api/v1/dashboard/counters
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxOTEiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3Mzc1NTE1NTUsImV4cCI6MTc0MDE0MzU1NSwianRpIjoiYzAwZGYzY2QtMGVjNS00ODIxLWFkZTAtYzU5YzVlMTY5NDQ0In0.MEBDZVHE5A_2yiQxhJLo2PHWemfrtCn7Rbhrc7VL_2Q
Host: example.org
Cookie:
Query Parameters
{}=
Response
Simulated Response
Status
200
Headers
x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"91d0791d5ed7c9dd615c546957f260ad"
cache-control: max-age=0, private, must-revalidate
x-request-id: 25b7f895-1741-4138-a788-2d84a1c968bc
x-runtime: 0.018731
content-length: 103
Body
{
"drivers": {
"total": 8,
"active": 5,
"inactive": 3
},
"jobs": {
"total": 7,
"active": 7,
"posts": 13
},
"operators": 22
}