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/535/views?period=hour

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNDYyIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQ4NTE2NTI4LCJleHAiOjE3NTExMDg1MjgsImp0aSI6IjgzMTNiYjQxLTQyNDEtNDJjMS04ZTFiLWY3ZTNjNmMxZDkwOSJ9.5GhvwKha5TEl2QYax8ksUKGlp_tOQoeBZemEw95L560
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/"2d069787f090f1750fcd56905231dd24"
cache-control: max-age=0, private, must-revalidate
x-request-id: 0b610817-ab07-4c8b-8589-42856c2d720b
x-runtime: 0.007093
content-length: 39

Body

{
  "views": {
    "2025-05-29 11:00:00 UTC": 1
  }
}