全部产品
存储与CDN 数据库 安全 应用服务 数加·人工智能 数加·大数据基础服务 互联网中间件 视频服务 开发者工具 解决方案 物联网
媒体转码

查询媒体工作流执行实例

更新时间:2017-06-07 15:36:10

查询媒体工作流执行实例

描述

查询媒体工作流执行实例

请求参数

名称 类型 必填项 描述
Action String 操作接口名,系统规定参数,取值:QueryMediaWorkflowExecutionList
RunIds String 媒体工作流执行Id列表,逗号分隔,最多10个

返回参数

名称 类型 描述
MediaWorkflowExecutionList MediaWorkflowExecution[] 媒体工作流列表
NonExistRunIds String[] 不存在的执行Id列表

示例

请求示例

  1. https://mts.cn-hangzhou.aliyuncs.com?RunIds=9bd5a286b59d4cf19685d5b3c501e528&<公共参数>

返回示例

XML:

  1. <QueryMediaWorkflowExecutionListResponse>
  2. <RequestId>1629B273-1F03-421B-9C5E-9C398E04805F</RequestId>
  3. <MediaWorkflowExecutionList>
  4. <MediaWorkflowExecution>
  5. <CreationTime>2016-04-01T06:53:43Z</CreationTime>
  6. <Name>ConcurrentSuccess</Name>
  7. <Input>
  8. <InputFile>
  9. <Bucket>inputfirst</Bucket>
  10. <Location>oss-test</Location>
  11. <Object>mediaWorkflow/ConcurrentSuccess/test-1280x1280-0_wp.mp4</Object>
  12. </InputFile>
  13. </Input>
  14. <State>Success</State>
  15. <RunId>9bd5a286b59d4cf19685d5b3c501e528</RunId>
  16. <ActivityList>
  17. <Activity>
  18. <Name>Act-1</Name>
  19. <State>Success</State>
  20. <Type>Start</Type>
  21. <EndTime>2016-04-01T06:53:44Z</EndTime>
  22. <StartTime>2016-04-01T06:53:44Z</StartTime>
  23. </Activity>
  24. <Activity>
  25. <Name>Act-2</Name>
  26. <State>Fail</State>
  27. <Code>InvalidParameter.ResourceContentBad</Code>
  28. <Message>The resource operated InputFile is bad</Message>
  29. <Type>Transcode</Type>
  30. <JobId>2376030d9d0849399cd20e20c876f4f3</JobId>
  31. <EndTime>2016-04-01T06:54:00Z</EndTime>
  32. <StartTime>2016-04-01T06:53:45Z</StartTime>
  33. </Activity>
  34. <Activity>
  35. <Name>Act-3</Name>
  36. <State>Success</State>
  37. <Type>Transcode</Type>
  38. <JobId>f2ffd10aee504c15b0bd6f39b92ca667</JobId>
  39. <EndTime>2016-04-01T06:54:03Z</EndTime>
  40. <StartTime>2016-04-01T06:53:47Z</StartTime>
  41. </Activity>
  42. <Activity>
  43. <Name>Act-5</Name>
  44. <State>Success</State>
  45. <Type>Snapshot</Type>
  46. <JobId>5dd9639f217c43eda011a95ee121ffc3</JobId>
  47. <EndTime>2016-04-01T06:53:47Z</EndTime>
  48. <StartTime>2016-04-01T06:53:47Z</StartTime>
  49. </Activity>
  50. <Activity>
  51. <Name>Act-6</Name>
  52. <State>Success</State>
  53. <Type>Snapshot</Type>
  54. <JobId>617cb572ad204e8daaa7da4bbd6f63af</JobId>
  55. <EndTime>2016-04-01T06:54:01Z</EndTime>
  56. <StartTime>2016-04-01T06:54:01Z</StartTime>
  57. </Activity>
  58. <Activity>
  59. <Name>Act-7</Name>
  60. <State>Success</State>
  61. <Type>Report</Type>
  62. <EndTime>2016-04-01T06:54:03Z</EndTime>
  63. <StartTime>2016-04-01T06:54:03Z</StartTime>
  64. </Activity>
  65. </ActivityList>
  66. <MediaId>21a32670ce4e1b1c93f569b2546f5180</MediaId>
  67. </MediaWorkflowExecution>
  68. </MediaWorkflowExecutionList>
  69. </QueryMediaWorkflowExecutionListResponse>

Json:

  1. {
  2. "RequestId": "ED86B7DE-A1C0-4D83-8DDA-886637532178",
  3. "MediaWorkflowExecutionList": {
  4. "MediaWorkflowExecution": [
  5. {
  6. "CreationTime": "2016-04-01T06:53:43Z",
  7. "Name": "ConcurrentSuccess",
  8. "Input": {
  9. "InputFile": {
  10. "Bucket": "inputfirst",
  11. "Location": "oss-test",
  12. "Object": "mediaWorkflow/ConcurrentSuccess/test-1280x1280-0_wp.mp4"
  13. },
  14. "UserData":"test-userData"
  15. },
  16. "State": "Success",
  17. "RunId": "9bd5a286b59d4cf19685d5b3c501e528",
  18. "ActivityList": {
  19. "Activity": [
  20. {
  21. "Name": "Act-1",
  22. "State": "Success",
  23. "Type": "Start",
  24. "EndTime": "2016-04-01T06:53:44Z",
  25. "StartTime": "2016-04-01T06:53:44Z"
  26. },
  27. {
  28. "Name": "Act-2",
  29. "State": "Fail",
  30. "Code":"InvalidParameter.ResourceContentBad",
  31. "Message":"The resource operated InputFile is bad",
  32. "Type": "Transcode",
  33. "JobId": "2376030d9d0849399cd20e20c876f4f3",
  34. "EndTime": "2016-04-01T06:54:00Z",
  35. "StartTime": "2016-04-01T06:53:45Z"
  36. },
  37. {
  38. "Name": "Act-3",
  39. "State": "Success",
  40. "Type": "Transcode",
  41. "JobId": "f2ffd10aee504c15b0bd6f39b92ca667",
  42. "EndTime": "2016-04-01T06:54:03Z",
  43. "StartTime": "2016-04-01T06:53:47Z"
  44. },
  45. {
  46. "Name": "Act-5",
  47. "State": "Success",
  48. "Type": "Snapshot",
  49. "JobId": "5dd9639f217c43eda011a95ee121ffc3",
  50. "EndTime": "2016-04-01T06:53:47Z",
  51. "StartTime": "2016-04-01T06:53:47Z"
  52. },
  53. {
  54. "Name": "Act-6",
  55. "State": "Success",
  56. "Type": "Snapshot",
  57. "JobId": "617cb572ad204e8daaa7da4bbd6f63af",
  58. "EndTime": "2016-04-01T06:54:01Z",
  59. "StartTime": "2016-04-01T06:54:01Z"
  60. },
  61. {
  62. "Name": "Act-7",
  63. "State": "Success",
  64. "Type": "Report",
  65. "EndTime": "2016-04-01T06:54:03Z",
  66. "StartTime": "2016-04-01T06:54:03Z"
  67. }
  68. ]
  69. },
  70. "MediaId": "21a32670ce4e1b1c93f569b2546f5180"
  71. }
  72. ]
  73. }
  74. }
本文导读目录