Queries the types of download tasks. The returned types correspond to the TaskType field in other download-related API operations.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response. Valid values:
|
zh |
| PageSize |
string |
No |
The number of entries to return on each page. Default value: 10. Maximum value: 50. |
10 |
| CurrentPage |
string |
No |
The page number. The default value is 1. |
1 |
| TaskType |
string |
No |
The type of the task. |
InternetFirewallAsset |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
The total number of entries. |
3 |
| RequestId |
string |
The ID of the request. |
B835494C-D093-5524-BBDE-BD272077B40E |
| TaskTypeArray |
array<object> |
The list of task types. |
|
|
object |
Details about the task type. |
||
| TaskName |
string |
The name of the task type. |
互联网边界防火墙资产 |
| TaskType |
string |
The type of the task. |
InternetFirewallAsset |
Examples
Success response
JSON format
{
"TotalCount": 3,
"RequestId": "B835494C-D093-5524-BBDE-BD272077B40E",
"TaskTypeArray": [
{
"TaskName": "互联网边界防火墙资产",
"TaskType": "InternetFirewallAsset"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorMarshalJSON | internal error. | Internal error. |
| 400 | InternalError | The request processing has failed due to some unknown error. | Request processing failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.