Get job views by period(admin)
Jobs
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/565/views?period=hour
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNDgyIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYzNjI2Mzk4LCJleHAiOjE3NjYyMTgzOTgsImp0aSI6ImRlMzU5ZTNjLWJhN2UtNDEwZS1iMDI5LTUyNTUxZmZlNWYyYSJ9.wG5VgCQI0VfMMMJX5yt5WLWjWoOiaifmQgEZ3bIK6lc
Host: example.org
Cookie:
Query Parameters
period=hour
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/"c4d336eb74ec69526197db4133b70955"
cache-control: max-age=0, private, must-revalidate
x-request-id: 7298a2d1-9524-4a84-b901-86154f77b0db
x-runtime: 0.005780
content-length: 39
Body
{
"views": {
"2025-11-20 08:00:00 UTC": 1
}
}