Jobs

Get job views by period(admin)

GET job views(admin)

Endpoint

GET /api/v1/jobs/:id/views

Parameters

Name Description In
period required Period ["hour", "day"]

Request

Route

GET /api/v1/jobs/527/views?period=hour

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNDMyIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzM3NTUxNTgzLCJleHAiOjE3NDAxNDM1ODMsImp0aSI6Ijc4ZDA4NzkzLTU1MTAtNDZiNS1iYmVlLTU4NzViMjMyNjAxMiJ9.Lpu7ve0897Lhxx8fZMfcsETSR7fZUaNHvRnwDse5BD4
Host: example.org
Cookie: 

Query Parameters

period=hour

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/"3ed106fee859e0d1cead26177f4b5f1b"
cache-control: max-age=0, private, must-revalidate
x-request-id: a17d1f95-6a29-41d4-a95f-72a5e694be98
x-runtime: 0.006172
content-length: 39

Body

{
  "views": {
    "2025-01-22 13:00:00 UTC": 1
  }
}