edit-icon download-icon

QueryMediaWorkflowList

Last Updated: Apr 18, 2018

Description

The QueryMediaWorkflowList API queries registered media workflows.

Request parameters

Parameter Type Required or not Description
Action String Yes API of the action, system required parameter. Set this parameter to QueryMediaWorkflowList.
MediaWorkflowIds String Yes List of media workflow IDs separated by commas (,). A maximum of 10 IDs can be entered.

Return parameters

Name Type Description
MediaWorkflowList MediaWorkflowMediaWorkflow[] List of media workflows.
NonExistMediaWorkflowIdList String[] List of non-existing media workflow IDs.

Example

Request example

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

Return example

XML

  1. <QueryMediaWorkflowListResponse>
  2. <MediaWorkflowList>
  3. <MediaWorkflow>
  4. <CreationTime>2016-04-01T05:29:38Z</CreationTime>
  5. <Name>mediaworkflow-test</Name>
  6. <State>Active</State>
  7. <Topology>{"Activities":{"Act-Start":{"Parameters":{"PipelineId":"130266f58161436a80bf07cb12c8009a","InputFile":"{\"Bucket\": \"panda-vod\",\"Location\": \"oss-cn-hangzhou\"}"},"Type":"Start"},"Act-Report":{"Parameters":{},"Type":"Report"},"Act-Transcode-M3U8":{"Parameters":{"Outputs":"[{\"Object\":\"transcode/{ObjectPrefix}{FileName}\",\"TemplateId\": \"957d1719ee85ed6527b90cf62726cbef\"}]","OutputBucket":"panda-vod-hls","OutputLocation":"oss-cn-hangzhou"},"Type":"Transcode"}},"Dependencies":{"Act-Start":["Act-Transcode-M3U8"],"Act-Report":[],"Act-Transcode-M3U8":["Act-Report"]}}</Topology>
  8. <MediaWorkflowId>93ab850b4f6f44eab54b6e91d24d81d4</MediaWorkflowId>
  9. </MediaWorkflow>
  10. </MediaWorkflowList>
  11. <RequestId>FEC5AAFA-A8E5-43A4-9FDB-E62E708AF7E4</RequestId>
  12. </QueryMediaWorkflowListResponse>

JSON

  1. {
  2. "MediaWorkflowList": {
  3. "MediaWorkflow": [
  4. {
  5. "CreationTime": "2016-04-01T05:29:38Z",
  6. "Name": "mediaworkflow-test",
  7. "State": "Active",
  8. "Topology": "{\"Activities\":{\"Act-Start\":{\"Parameters\":{\"PipelineId\":\"130266f58161436a80bf07cb12c8009a\",\"InputFile\":\"{\\\"Bucket\\\": \\\"panda-vod\\\",\\\"Location\\\": \\\"oss-cn-hangzhou\\\"}\"},\"Type\":\"Start\"},\"Act-Report\":{\"Parameters\":{},\"Type\":\"Report\"},\"Act-Transcode-M3U8\":{\"Parameters\":{\"Outputs\":\"[{\\\"Object\\\":\\\"transcode/{ObjectPrefix}{FileName}\\\",\\\"TemplateId\\\": \\\"957d1719ee85ed6527b90cf62726cbef\\\"}]\",\"OutputBucket\":\"panda-vod-hls\",\"OutputLocation\":\"oss-cn-hangzhou\"},\"Type\":\"Transcode\"}},\"Dependencies\":{\"Act-Start\":[\"Act-Transcode-M3U8\"],\"Act-Report\":[],\"Act-Transcode-M3U8\":[\"Act-Report\"]}}",
  9. "MediaWorkflowId": "93ab850b4f6f44eab54b6e91d24d81d4"
  10. }
  11. ]
  12. },
  13. "RequestId": "16CD0CDD-457E-420D-9755-8385075A618B"
  14. }
Thank you! We've received your feedback.