edit-icon download-icon

ListMediaWorkflowExecutions

Last Updated: Apr 18, 2018

Description

The ListMediaWorkflowExecutions API lists all media workflow execution instances.

Request parameters

Parameter Type Required or not Description
Action String Yes API of the action, system required parameter. Set this parameter to ListMediaWorkflowExecutions.
MediaWorkflowId String No ID of a media workflow.
MediaWorkflowName String No Name of a media workflow.
InputFileURL String No URL of the original file. The URL format follows the RFC 3986 standard. (The URL is encoded by UTF-8 and the reserved characters are URL encoded characters.) Example: http://bucket-test.cn-hangzhou.aliyuncs.com/test-%e4%b8%ad%e6%96%87%e6%b5%8b%e8%af%95%e8%a7%86%e9%a2%91.flv
NextPageToken String No Identifier of the next page, which is a 32-bit UUID
MaximumPageSize Long No Maximum number of media workflow execution instances that can be returned. The value range is [1, 100]. The default value is 10.

Return parameters

Name Type Description
MediaWorkflowExecutionList MediaWorkflowExecution[] A list of media workflow execution instances.
NextPageToken String Identifier of the next page, which is a 32-bit UUID.

Example

Request example

  1. https://mts.cn-hangzhou.aliyuncs.com?MaximumPageSize=1&<public parameter>

Return example

XML

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

JSON

  1. {
  2. "NextPageToken": "0a44e3792080497d825e46859abbb218",
  3. "RequestId": "F7353230-58EC-4866-B74B-F731C3A01D21",
  4. "MediaWorkflowExecutionList": {
  5. "MediaWorkflowExecution": [
  6. {
  7. "CreationTime": "2016-04-01T06:53:43Z",
  8. "Name": "ConcurrentSuccess",
  9. "Input": {
  10. "InputFile": {
  11. "Bucket": "inputfirst",
  12. "Location": "oss-test",
  13. "Object": "mediaWorkflow/ConcurrentSuccess/test-1280x1280-0_wp.mp4"
  14. }
  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": "Success",
  30. "Type": "Transcode",
  31. "JobId": "2376030d9d0849399cd20e20c876f4f3",
  32. "EndTime": "2016-04-01T06:54:00Z",
  33. "StartTime": "2016-04-01T06:53:45Z"
  34. },
  35. {
  36. "Name": "Act-3",
  37. "State": "Success",
  38. "Type": "Transcode",
  39. "JobId": "f2ffd10aee504c15b0bd6f39b92ca667",
  40. "EndTime": "2016-04-01T06:54:03Z",
  41. "StartTime": "2016-04-01T06:53:47Z"
  42. },
  43. {
  44. "Name": "Act-5",
  45. "State": "Success",
  46. "Type": "Snapshot",
  47. "JobId": "5dd9639f217c43eda011a95ee121ffc3",
  48. "EndTime": "2016-04-01T06:53:47Z",
  49. "StartTime": "2016-04-01T06:53:47Z"
  50. },
  51. {
  52. "Name": "Act-6",
  53. "State": "Success",
  54. "Type": "Snapshot",
  55. "JobId": "617cb572ad204e8daaa7da4bbd6f63af",
  56. "EndTime": "2016-04-01T06:54:01Z",
  57. "StartTime": "2016-04-01T06:54:01Z"
  58. },
  59. {
  60. "Name": "Act-7",
  61. "State": "Success",
  62. "Type": "Report",
  63. "EndTime": "2016-04-01T06:54:03Z",
  64. "StartTime": "2016-04-01T06:54:03Z"
  65. }
  66. ]
  67. },
  68. "MediaId": "21a32670ce4e1b1c93f569b2546f5180"
  69. }
  70. ]
  71. }
  72. }
Thank you! We've received your feedback.