Queries a list of packaging jobs.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
ice:ListPackageJobs | *All Resources * |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
StartOfCreateTime | string | No | The beginning of the time range during which the jobs to be queried were created. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. | 2022-07-01T00:00:00Z |
EndOfCreateTime | string | No | The end of the time range during which the jobs to be queried were created. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. | 2022-07-15T00:00:00Z |
JobId | string | No | The job ID. | 7b38a5d86f1e47838927b6e7ccb11cbe |
Status | string | No | The state of the job.
| Success |
OrderBy | string | No | The order that you use to sort the query results. Valid values:
| CreateTimeDesc |
PageSize | integer | No | The number of entries per page. Valid values: 0 to 100. Default value: 20. | 10 |
NextPageToken | string | No | The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. | ab4802364a2e49208c99efab82dfa8e8 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "31E30781-9495-5E2D-A84D-759B0A01E262",
"PackageJobList": {
"PackageJobs": [
{
"JobId": "7b38a5d86f1e47838927b6e7ccb11cbe",
"TriggerSource": "API",
"Name": "job-name",
"Inputs": [
{
"Input": {
"Type": "OSS",
"Media": "oss://bucket/path/to/video.mp4"
}
}
],
"Output": {
"Type": "OSS",
"Media": "oss://bucket/path/to/video.mp4"
},
"PipelineId": "5b40833e4c3e4d4e95a866abb9a42510",
"Priority": 6,
"Status": "Success",
"Code": "InvalidParameter",
"Message": "Resource content bad. ",
"SubmitTime": "2022-07-07T14:00:32Z",
"FinishTime": "2022-07-07T15:00:32Z",
"UserData": "{\"param\": \"value\"}",
"CreateTime": "2022-07-07T14:00:32Z",
"ModifiedTime": "2022-07-07T15:00:32Z"
}
],
"NextPageToken": "019daf5780f74831b0e1a767c9f1c178"
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2022-09-20 | The response structure of the API has changed | View Change Details |