查詢媒體工作流程執行執行個體。
請求參數
名稱 | 類型 | 是否必須 | 描述 |
---|---|---|---|
Action | String | 是 | 操作介面名,系統規定參數,取值:QueryMediaWorkflowExecutionList |
RunIds | String | 是 | 媒體工作流程執行Id列表。 逗號分隔,最多10個。 |
返回參數
名稱 | 類型 | 描述 |
---|---|---|
MediaWorkflowExecutionList | MediaWorkflowExecution[] | 媒體工作流程列表 |
NonExistRunIds | String[] | 不存在的執行Id列表 |
樣本
請求樣本
https://mts.cn-hangzhou.aliyuncs.com?RunIds=9bd5a286b59d4cf19685d5b3c501e528&<公用參數>
返回樣本
XML
<QueryMediaWorkflowExecutionListResponse>
<RequestId>1629B273-1F03-421B-9C5E-9C398E04805F</RequestId>
<MediaWorkflowExecutionList>
<MediaWorkflowExecution>
<CreationTime>2016-04-01T06:53:43Z</CreationTime>
<Name>ConcurrentSuccess</Name>
<Input>
<InputFile>
<Bucket>inputfirst</Bucket>
<Location>oss-test</Location>
<Object>mediaWorkflow/ConcurrentSuccess/test-1280x1280-0_wp.mp4</Object>
</InputFile>
</Input>
<State>Success</State>
<RunId>9bd5a286b59d4cf19685d5b3c501e528</RunId>
<ActivityList>
<Activity>
<Name>Act-1</Name>
<State>Success</State>
<Type>Start</Type>
<EndTime>2016-04-01T06:53:44Z</EndTime>
<StartTime>2016-04-01T06:53:44Z</StartTime>
</Activity>
<Activity>
<Name>Act-2</Name>
<State>Fail</State>
<Code>InvalidParameter.ResourceContentBad</Code>
<Message>The resource operated InputFile is bad</Message>
<Type>Transcode</Type>
<JobId>2376030d9d0849399cd20e20c876f4f3</JobId>
<EndTime>2016-04-01T06:54:00Z</EndTime>
<StartTime>2016-04-01T06:53:45Z</StartTime>
</Activity>
<Activity>
<Name>Act-3</Name>
<State>Success</State>
<Type>Transcode</Type>
<JobId>f2ffd10aee504c15b0bd6f39b92ca667</JobId>
<EndTime>2016-04-01T06:54:03Z</EndTime>
<StartTime>2016-04-01T06:53:47Z</StartTime>
</Activity>
<Activity>
<Name>Act-5</Name>
<State>Success</State>
<Type>Snapshot</Type>
<JobId>5dd9639f217c43eda011a95ee121ffc3</JobId>
<EndTime>2016-04-01T06:53:47Z</EndTime>
<StartTime>2016-04-01T06:53:47Z</StartTime>
</Activity>
<Activity>
<Name>Act-6</Name>
<State>Success</State>
<Type>Snapshot</Type>
<JobId>617cb572ad204e8daaa7da4bbd6f63af</JobId>
<EndTime>2016-04-01T06:54:01Z</EndTime>
<StartTime>2016-04-01T06:54:01Z</StartTime>
</Activity>
<Activity>
<Name>Act-7</Name>
<State>Success</State>
<Type>Report</Type>
<EndTime>2016-04-01T06:54:03Z</EndTime>
<StartTime>2016-04-01T06:54:03Z</StartTime>
</Activity>
</ActivityList>
<MediaId>21a32670ce4e1b1c93f569b2546f5180</MediaId>
</MediaWorkflowExecution>
</MediaWorkflowExecutionList>
</QueryMediaWorkflowExecutionListResponse>
JSON
{
"RequestId": "ED86B7DE-A1C0-4D83-8DDA-886637532178",
"MediaWorkflowExecutionList": {
"MediaWorkflowExecution": [
{
"CreationTime": "2016-04-01T06:53:43Z",
"Name": "ConcurrentSuccess",
"Input": {
"InputFile": {
"Bucket": "inputfirst",
"Location": "oss-test",
"Object": "mediaWorkflow/ConcurrentSuccess/test-1280x1280-0_wp.mp4"
},
"UserData":"test-userData"
},
"State": "Success",
"RunId": "9bd5a286b59d4cf19685d5b3c501e528",
"ActivityList": {
"Activity": [
{
"Name": "Act-1",
"State": "Success",
"Type": "Start",
"EndTime": "2016-04-01T06:53:44Z",
"StartTime": "2016-04-01T06:53:44Z"
},
{
"Name": "Act-2",
"State": "Fail",
"Code":"InvalidParameter.ResourceContentBad",
"Message":"The resource operated InputFile is bad",
"Type": "Transcode",
"JobId": "2376030d9d0849399cd20e20c876f4f3",
"EndTime": "2016-04-01T06:54:00Z",
"StartTime": "2016-04-01T06:53:45Z"
},
{
"Name": "Act-3",
"State": "Success",
"Type": "Transcode",
"JobId": "f2ffd10aee504c15b0bd6f39b92ca667",
"EndTime": "2016-04-01T06:54:03Z",
"StartTime": "2016-04-01T06:53:47Z"
},
{
"Name": "Act-5",
"State": "Success",
"Type": "Snapshot",
"JobId": "5dd9639f217c43eda011a95ee121ffc3",
"EndTime": "2016-04-01T06:53:47Z",
"StartTime": "2016-04-01T06:53:47Z"
},
{
"Name": "Act-6",
"State": "Success",
"Type": "Snapshot",
"JobId": "617cb572ad204e8daaa7da4bbd6f63af",
"EndTime": "2016-04-01T06:54:01Z",
"StartTime": "2016-04-01T06:54:01Z"
},
{
"Name": "Act-7",
"State": "Success",
"Type": "Report",
"EndTime": "2016-04-01T06:54:03Z",
"StartTime": "2016-04-01T06:54:03Z"
}
]
},
"MediaId": "21a32670ce4e1b1c93f569b2546f5180"
}
]
}
}
相關文檔