功能描述
DescribeMediaJob 接口用来查询指定的任务。
请求
请求示例
GET /jobs/<jobId> HTTP/1.1Host: <BucketName-APPID>.ci.<Region>.myqcloud.comDate: <GMT Date>Authorization: <Auth String>
说明:
请求头
请求体
该请求无请求体。
响应
响应头
响应体
该响应体返回为 application/xml 数据,包含完整节点数据的内容展示如下:
<Response><JobsDetail></JobsDetail><NonExistJobIds></NonExistJobIds></Response>
具体的数据内容如下:
节点名称(关键字) | 父节点 | 描述 | 类型 |
Response | 无 | 保存结果的容器 | Container |
Container 节点 Response 的内容:
节点名称(关键字) | 父节点 | 描述 | 类型 |
JobsDetail | Response | 任务的详细信息,同 CreateMediaJobs 接口的 Response.JobsDetail 节点 | Container |
NonExistJobIds | Response | 查询的 ID 中不存在的任务,所有任务都存在时不返回 | String |
错误码
实际案例
请求
GET /jobs/jabcsdssfeipplsdfwe HTTP/1.1Accept: */*Authorization:q-sign-algorithm=sha1&q-ak=************************************&q-sign-time=1497530202;1497610202&q-key-time=1497530202;1497610202&q-header-list=&q-url-param-list=&q-signature=****************************************Host:bucket-1250000000.ci.ap-beijing.myqcloud.com
响应
HTTP/1.1 200 OKContent-Type: application/xmlContent-Length: 666Connection: keep-aliveDate: Thu, 15 Jun 2017 12:37:29 GMTServer: tencent-cix-ci-request-id: NTk0MjdmODlfMjQ4OGY3XzYzYzhfMjc=<Response><JobsDetail><Code>Success</Code><Message>Success</Message><JobId>jabcxxxxfeipplsdfwe</JobId><State>Submitted</State><CreationTime>2019-07-07T12:12:12+0800</CreationTime><StartTime></StartTime><EndTime></EndTime><QueueId>p893bcda225bf4945a378da6662e81a89</QueueId><Tag>VideoMontage<Tag><Input><Object>test.mp4</Object></Input><Operation><VideoMontage><Container><Format>mp4</Format></Container><Video><Codec>H.264</Codec><Bitrate>1000</Bitrate><Width>1280</Width><Height></Height></Video><Audio><Codec>aac</Codec><Samplerate>44100</Samplerate><Bitrate>128</Bitrate><Channels>4</Channels></Audio><Duration></Duration></VideoMontage><Output><Region>ap-beijing</Region><Bucket>abc-1250000000</Bucket><Object>test-montage.gif</Object></Output></Operation></JobsDetail></Response>