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.eyJzdWIiOiIyMDIiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjA5NTA0MzcsImV4cCI6MTc2MzU0MjQzNywianRpIjoiZWRiZDk4NDAtYTgwOS00NjRhLTkwZDAtNTI2YWIyZDg0ZTA4In0.kUWqM3rwWU4V1OQBoxUzQi0VqmlnIJkZ8fkMM6MG-o4
Host: example.org
Cookie: 

Query Parameters

{}=

Body

{
}

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: 42681b78-d47c-42ac-a582-f42c04b31868
x-runtime: 0.019175
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"
  }
}