Queries the information about an image animation job.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:GetDynamicImageJob |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
string |
No |
The job ID. |
****d80e4e4044975745c14b**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PlainResponse |
||
| RequestId |
string |
The request ID. |
******36-3C1E-4417-BDB2-1E034F****** |
| DynamicImageJob |
object |
The information about the snapshot job. |
|
| JobId |
string |
The job ID. |
****d80e4e4044975745c14b**** |
| TriggerSource |
string |
The request trigger source. Valid values:
Valid values:
|
API |
| Name |
string |
The name of the job. |
SampleJob |
| Input |
object |
The input of the job. |
|
| Type |
string |
The type of the input file. Valid values:
Valid values:
|
OSS |
| Media |
string |
The input file. If Type is set to OSS, the URL of an OSS object is returned. If Type is set to Media, the ID of a media asset is returned. The URL of an OSS object can be in one of the following formats:
In the URL, bucket specifies an OSS bucket that resides in the same region as the job, and object specifies the object URL in OSS. |
oss://test-bucket/sample-input.mp4 |
| OssFile |
object |
The three key elements of OSS. |
|
| Bucket |
string |
The OSS bucket. |
test-bucket |
| Location |
string |
The OSS location. |
oss-cn-shanghai |
| Object |
string |
The OSS object. |
sample-input.mp4 |
| Output |
object |
The output of the job. |
|
| Type |
string |
The type of the input file. Valid values: OSS: an OSS object. Media: a media asset. Valid values:
|
Media |
| Media |
string |
The input file. If Type is set to OSS, the URL of an OSS object is returned. If Type is set to Media, the ID of a media asset is returned. The URL of an OSS object can be in one of the following formats:
|
****d80e4e4044975745c14b**** |
| OssFile |
object |
The three key elements of OSS. |
|
| Bucket |
string |
The OSS bucket. |
sample-bucket |
| Location |
string |
The OSS location. |
oss-cn-shanghai |
| Object |
string |
The OSS object. |
path/to/object |
| OutputUrl |
string |
The URL of the output animated image. |
http://test-bucket.oss-cn-shanghai.aliyuncs.com/output.gif |
| TemplateConfig |
string |
The animation template configuration. |
{"Format":"gif","Fps":5,"Height":1080,"Width":1920} |
| TemplateId |
string |
The template ID. |
****d80e4e4044975745c14b**** |
| PipelineId |
string |
The ID of the MPS queue to which the job was submitted. |
****d80e4e4044975745c14b**** |
| Status |
string |
The state of the job. Valid values:
Valid values:
|
Success |
| Code |
string |
Error codes |
ResourceNotFound |
| Message |
string |
The error message that is returned. |
The specified resource for "CustomTemplate" could not be found. |
| SubmitTime |
string |
The time when the job was submitted. |
2022-07-12T16:17:54Z |
| FinishTime |
string |
The time when the job was complete. |
2022-07-12T16:30:54Z |
| UserData |
string |
The user-defined data. |
{"sampleParam": "sampleValue"} |
| CreateTime |
string |
The time when the job was created. |
2022-07-12T16:17:54Z |
| ModifiedTime |
string |
The time when the job was last modified. |
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.