Queries the details of an over-the-air update task, including the available version and version description.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
appstreaming:ModifyAppInstanceGroupAttribute |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TaskId |
string |
Yes |
The over-the-air update task ID. You can call ListAppInstanceGroup to obtain the ID. |
ota-be7jzm29wrrz5**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
| Code |
string |
The error code returned if the request failed. |
OtaTask.Running |
| Message |
string |
The error message returned if the request failed. |
The task is running and cannot be sumitted. |
| ReleaseNote |
string |
The version description that describes the content of the over-the-air update. |
测试升级 |
| OtaVersion |
string |
The OTA version. |
0.0.1-R-20220708.110604 |
| TaskStartTime |
string |
The task execution time in ISO 8601 format. |
2022-08-04T14:36:00+08:00 |
Examples
Success response
JSON format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
"Code": "OtaTask.Running",
"Message": "The task is running and cannot be sumitted.",
"ReleaseNote": "测试升级",
"OtaVersion": "0.0.1-R-20220708.110604",
"TaskStartTime": "2022-08-04T14:36:00+08:00"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.