全部产品
媒体转码

搜索媒体工作流

更新时间:2017-06-07 13:26:11   分享:   

搜索媒体工作流

描述

搜索媒体工作流

请求参数

名称 类型 必填项 描述
Action String 操作接口名,系统规定参数,取值:SearchMediaWorkflow
StateList String 媒体工作流状态列表,逗号分隔,范围:Inactive、Active、Deleted,默认值”Inactive,Active,Deleted”
PageSize Long 页面大小,默认10,最大不超过100
PageNumber Long 页号,默认1

返回参数

名称 类型 描述
MediaWorkflowList MediaWorkflow[] 媒体工作流列表
TotalCount Long 总数
PageSize Long 页面大小
PageNumber Long 页号

示例

请求示例

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

返回示例

XML:

  1. <SearchMediaWorkflowResponse>
  2. <PageNumber>1</PageNumber>
  3. <MediaWorkflowList>
  4. <MediaWorkflow>
  5. <CreationTime>2016-04-01T05:38:41Z</CreationTime>
  6. <Name>mediaworkflow-test1</Name>
  7. <State>Inactive</State>
  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"]}}</Topology>
  9. <MediaWorkflowId>e00732b977da427d9177a4dee646b1aa</MediaWorkflowId>
  10. </MediaWorkflow>
  11. </MediaWorkflowList>
  12. <TotalCount>339</TotalCount>
  13. <PageSize>1</PageSize>
  14. <RequestId>691EA73C-3937-4604-8031-580E5931783B</RequestId>
  15. </SearchMediaWorkflowResponse>

Json:

  1. {
  2. "PageNumber": 1,
  3. "MediaWorkflowList": {
  4. "MediaWorkflow": [
  5. {
  6. "CreationTime": "2016-04-01T05:38:41Z",
  7. "Name": "mediaworkflow-test1",
  8. "State": "Inactive",
  9. "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\"]}}",
  10. "MediaWorkflowId": "e00732b977da427d9177a4dee646b1aa"
  11. }
  12. ]
  13. },
  14. "TotalCount": 339,
  15. "PageSize": 1,
  16. "RequestId": "9AB3E295-F459-44C6-A0D4-6370139D0700"
  17. }
本文导读目录
本文导读目录
以上内容是否对您有帮助?