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/530/views?period=hour
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNDQxIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYwOTUwNDY2LCJleHAiOjE3NjM1NDI0NjYsImp0aSI6ImUyZDQ2YzA2LWI3YzAtNDc3ZS05ZWZiLTE2ZDNjN2ZiNmRlMiJ9.JhYv-RuNmQhbca-6i1nROHTtW8o0vZohw6UNseHicYU
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/"733ffac45600712ae0e6f1871971279d"
cache-control: max-age=0, private, must-revalidate
x-request-id: 5f95634f-1114-4a30-8798-6af2f17cfc44
x-runtime: 0.006729
content-length: 39
Body
{
"views": {
"2025-10-20 08:00:00 UTC": 1
}
}