搜尋媒體工作流程。

請求參數

名稱 類型 是否必須 描述
Action String 操作介面名,系統規定參數,取值:SearchMediaWorkflow
StateList String 媒體工作流程狀態列表。
  • 用逗號分隔,
  • 範圍:Inactive、Active、Deleted,

預設值:“Inactive、Active、Deleted”

PageSize Long 頁面大小。
  • 最大不超過100
  • 預設值:10
PageNumber Long 頁號。

預設值:1

返回參數

名稱 類型 描述
MediaWorkflowList MediaWorkflow[] 媒體工作流程列表
TotalCount Long 總數
PageSize Long 頁面大小
PageNumber Long 頁號

樣本

請求樣本
https://mts.cn-hangzhou.aliyuncs.com/?PageSize=1&<公用參數>

返回樣本

XML
<SearchMediaWorkflowResponse> 
  <PageNumber>1</PageNumber>  
  <MediaWorkflowList> 
    <MediaWorkflow> 
      <CreationTime>2016-04-01T05:38:41Z</CreationTime>  
      <Name>mediaworkflow-test1</Name>  
      <State>Inactive</State>  
      <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>  
      <MediaWorkflowId>e00732b977da427d9177a4dee646b1aa</MediaWorkflowId> 
    </MediaWorkflow> 
  </MediaWorkflowList>  
  <TotalCount>339</TotalCount>  
  <PageSize>1</PageSize>  
  <RequestId>691EA73C-3937-4604-8031-580E5931783B</RequestId> 
</SearchMediaWorkflowResponse>
JSON
{
        "PageNumber": 1,
        "MediaWorkflowList": {
            "MediaWorkflow": [
                {
                    "CreationTime": "2016-04-01T05:38:41Z",
                    "Name": "mediaworkflow-test1",
                    "State": "Inactive",
                    "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\"]}}",
                    "MediaWorkflowId": "e00732b977da427d9177a4dee646b1aa"
                }
            ]
        },
        "TotalCount": 339,
        "PageSize": 1,
        "RequestId": "9AB3E295-F459-44C6-A0D4-6370700"
    }
相關文檔