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/535/views?period=hour
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNDYyIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzUzMjY2MjEyLCJleHAiOjE3NTU4NTgyMTIsImp0aSI6IjYyMDZmOGI4LTBkNDEtNDNlMS04NGI1LTc4ZWQ1NDc0MjM1MSJ9.e5YTRpfsitqyMXewYH1CfB0_KRQKhKVUHLVwNqU-5Ps
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/"efdc1d0c46a4db9480ffec62c3ae5364"
cache-control: max-age=0, private, must-revalidate
x-request-id: 10b2d21a-6251-4489-b00f-07e9300e26cd
x-runtime: 0.016307
content-length: 39
Body
{
"views": {
"2025-07-23 10:00:00 UTC": 1
}
}