Dashboard

Get counters for 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.eyJzdWIiOiIyMDIiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NDI0NjQ5MDksImV4cCI6MTc0NTA1NjkwOSwianRpIjoiMDNmZjMzYmMtNGRkNi00NzM0LWE0YTQtNDg0NTk1YTQ0OTFjIn0.iRy9mIH5CevhijoA2-2l3oqp9FRWVG-GZKpC4z0lAu0
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/"1017608438ad9e97c4e60c45398aa46f"
cache-control: max-age=0, private, must-revalidate
x-request-id: 38b41ba8-8e74-45a9-8388-0fe17ac6695b
x-runtime: 0.034552
content-length: 169

Body

{
  "drivers": {
    "total": 8,
    "active": 2,
    "hired": 5
  },
  "jobs": {
    "total": 5,
    "active": 5,
    "posts": 11
  },
  "operators": 20,
  "revenue": {
    "total": "1000.0",
    "vat": "200.0",
    "total_with_vat": "1200.0"
  }
}