GetDynamicImageJob
Queries the details of a dynamic image task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:GetDynamicImageJob |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
string |
No |
The ID of the dynamic image task. |
****d80e4e4044975745c14b**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PlainResponse |
||
| RequestId |
string |
The ID of the request. |
******36-3C1E-4417-BDB2-1E034F****** |
| DynamicImageJob |
object |
The dynamic image task information. |
|
| JobId |
string |
The ID of the task. |
****d80e4e4044975745c14b**** |
| TriggerSource |
string |
The trigger source of the request. Valid values:
|
API |
| Name |
string |
The name of the task. |
SampleJob |
| Input |
object |
The input of the task. |
|
| Type |
string |
The input type. Valid values:
Valid values:
|
OSS |
| Media |
string |
The input media. If Type is set to OSS, enter the URL of the OSS object. If Type is set to Media, enter the ID of the media asset. The URL of the OSS object must be in one of the following formats:
In the formats, bucket is the name of the OSS bucket that resides in the same region as the current project, and object is the file path. |
oss://test-bucket/sample-input.mp4 |
| OssFile |
object |
The OSS triplet. |
|
| Bucket |
string |
OSS Bucket |
test-bucket |
| Location |
string |
OSS Location |
oss-cn-shanghai |
| Object |
string |
OSS Object |
sample-input.mp4 |
| Output |
object |
The output of the task. |
|
| Type |
string |
The output type. Valid values:
Valid values:
|
Media |
| Media |
string |
The output media. If Type is set to OSS, enter the URL of the OSS object. If Type is set to Media, enter the ID of the media asset. The URL of the OSS object must be in one of the following formats:
In the formats, bucket is the name of the OSS bucket that resides in the same region as the current project, and object is the file path. |
****d80e4e4044975745c14b**** |
| OssFile |
object |
The OSS triplet. |
|
| Bucket |
string |
OSS Bucket |
sample-bucket |
| Location |
string |
OSS Location |
oss-cn-shanghai |
| Object |
string |
OSS Object |
path/to/object |
| OutputUrl |
string |
The URL of the output dynamic image. |
http://test-bucket.oss-cn-shanghai.aliyuncs.com/output.gif |
| TemplateConfig |
string |
The dynamic image template configuration. |
{"Format":"gif","Fps":5,"Height":1080,"Width":1920} |
| TemplateId |
string |
The ID of the template. |
****d80e4e4044975745c14b**** |
| PipelineId |
string |
The ID of the pipeline. |
****d80e4e4044975745c14b**** |
| Status |
string |
The status of the task. Valid values:
|
Success |
| Code |
string |
The error code. |
ResourceNotFound |
| Message |
string |
The error message. |
The specified resource for "CustomTemplate" could not be found. |
| SubmitTime |
string |
The time when the task was submitted. The time is in the ISO 8601 format and UTC, ending with Z. |
2022-07-12T16:17:54Z |
| FinishTime |
string |
The time when the task was completed. The time is in the ISO 8601 format and UTC, ending with Z. |
2022-07-12T16:30:54Z |
| UserData |
string |
The custom user data. |
{"sampleParam": "sampleValue"} |
| CreateTime |
string |
The creation time. The time is in the ISO 8601 format and UTC, ending with Z. |
2022-07-12T16:17:54Z |
| ModifiedTime |
string |
The last modification time. The time is in the ISO 8601 format and UTC, ending with Z. |
2022-07-12T16:30:54Z |
Examples
Success response
JSON format
{
"RequestId": "******36-3C1E-4417-BDB2-1E034F******",
"DynamicImageJob": {
"JobId": "****d80e4e4044975745c14b****\n",
"TriggerSource": "API",
"Name": "SampleJob",
"Input": {
"Type": "OSS",
"Media": "oss://test-bucket/sample-input.mp4",
"OssFile": {
"Bucket": "test-bucket",
"Location": "oss-cn-shanghai",
"Object": "sample-input.mp4"
}
},
"Output": {
"Type": "Media",
"Media": "****d80e4e4044975745c14b****",
"OssFile": {
"Bucket": "sample-bucket",
"Location": "oss-cn-shanghai",
"Object": "path/to/object"
}
},
"OutputUrl": "http://test-bucket.oss-cn-shanghai.aliyuncs.com/output.gif",
"TemplateConfig": "{\"Format\":\"gif\",\"Fps\":5,\"Height\":1080,\"Width\":1920}",
"TemplateId": "****d80e4e4044975745c14b****",
"PipelineId": "****d80e4e4044975745c14b****",
"Status": "Success",
"Code": "ResourceNotFound",
"Message": "The specified resource for \"CustomTemplate\" could not be found.",
"SubmitTime": "2022-07-12T16:17:54Z",
"FinishTime": "2022-07-12T16:30:54Z",
"UserData": "{\"sampleParam\": \"sampleValue\"}",
"CreateTime": "2022-07-12T16:17:54Z",
"ModifiedTime": "2022-07-12T16:30:54Z"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.