Skip to content

Results are limited to the current section: Cloud services

Product news

Get Total Job Device Frequency Statistics

GET
/api/v1/jobs/statistics/device-frequency
curl --request GET \
--url 'https://example.com/api/v1/jobs/statistics/device-frequency?project_id=2489E9AD-2EE2-8E00-8EC9-32D5F69181C0&scope=example' \
--header 'Authorization: Bearer <token>'

Return a data structure detailing how many jobs have been scheduled within a certain scope of time for a specific device.

Scope of time is limited to HOUR, DAY or MONTH and it returns based on total jobs inside a project.

project_id
required
Project Id
string format: uuid
scope
required
Scope
string

Successful Response

Media typeapplication/json
NonPaginatedResponse[ProducedJobDeviceFrequencyStatisticsResponse]
object
data
Any of:
ProducedJobDeviceFrequencyStatisticsResponse
object
count
required
Count
Array<object>
ProducedJobDevicePerDayFrequencyModel
object
datetime
required
Datetime
string
devices
required
Devices
object
key
additional properties
integer
job_date_scope
required
Job Date Scope
string
Examplegenerated
{
"data": {
"count": [
{
"datetime": "example",
"devices": {
"additionalProperty": 1
}
}
],
"job_date_scope": "example"
}
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}