Get Image Status of Element (v2.1)
POST/v2.1/api/tenants/:tenant_id/software/current_status/query
Get the current image status of all the elements.
Request
Path Parameters
The tenant ID.
- application/json
Body
- Array [
- ]
aggregate Aggregate
The aggregate number of element image status 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 element image status deleted for a time frame.
Group the element image status for the query.
List the element image status by ID.
Return the ID of a specified query in the current session.
The query limit.
The limit.
Query using query parameters.
Retrieve information from a field.
List the fields to query.
Specify the order in which you want the search criteria to display.
The total number of query parameters.
Responses
- 200
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 ElementImageStatusQueryFilterV2N1[]
The active image ID.
The active version.
The download interval.
The download percentage.
Element Id
The element image 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 of the element.
{
"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"
}
]
}