Query Cellular Module Firmware Upgrade Status (v2.0)
POST/v2.0/api/tenants/:tenant_id/cellular_module_firmware/status/query
Query the cellular module firmware upgrade status of all tenant elements.
Request
Path Parameters
ID of the tenant.
- application/json
Body
- Array [
- ]
aggregate Aggregate
The aggregate number of cellular module firmware that match the query parameters.
data AggregateData[]
The details of the aggregate data.
Value of the aggregate data.
View the aggregate date.
Field
The name of the query response.
Possible values: [max
, count
, min
, avg
, sum
]
Operator
QoS application aggregate statistics.
The unit.
The destination page.
The number of cellular module firmware for a time frame.
Group the cellular module firmware for the query.
Lists the cellular module firmware by ID.
Return the ID of a specified query in the current session.
The query limit.
The limit.
Retrieve information from a field.
List the fields to query.
The total number of query parameters.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
The actual count.
The deleted number.
The deleted IDs.
Description of the query. Max size = 256.
The ID.
Details of the next query.
The tenant ID.
Total number.
items CellularModuleFirmwareStatusQueryFilter[]
The active image ID.
The active version.
The download interval.
The download percent.
The element ID.
Detials of the failure information.
The ID.
The previous image ID.
The rollback version.
The scheduled download.
The scheduled upgrade.
The upgrade image ID.
The upgrade interval.
Possible values: [pending
, init
, discovery
, download
, download_init
, download_complete
, download_scheduled
, download_abort
, download_cancelled
, download_cancel_pending
, upgrade
, upgrade_init
, upgrade_complete
, upgrade_scheduled
, upgrade_abort
, upgrade_cancelled
, upgrade_cancel_pending
, upgrade_failed
, upgrading
, verify
, in-progress
, install
, complete
, done
, failed
, download_discovery
, download_failed
, downloading
, install_failed
, installing
, verifying
, waiting_download_time
, waiting_install_time
, abort_upgrade_pending
, abort_download_pending
, invalid
]
The upgrade state.
{
"count": 0,
"deleted_count": 0,
"deleted_ids": [
"string"
],
"id": "string",
"next_query": {},
"tenant_id": "string",
"total_count": 0,
"items": [
{
"active_image_id": "string",
"active_version": "string",
"download_interval": 0,
"download_percent": 0,
"element_id": "string",
"failure_info": "string",
"id": "string",
"previous_image_id": "string",
"rollback_version": "string",
"scheduled_download": "string",
"scheduled_upgrade": "string",
"upgrade_image_id": "string",
"upgrade_interval": 0,
"upgrade_state": "pending"
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "BAD_QUERY_REQUEST"
}
]
}
}