阅读372 返回首页    go 小米 go 小米 note


查询管道__管道接口_API使用手册_媒体转码-阿里云

描述

查询管道接口,返回指定管道的名称、状态;

请求参数

名称 类型 必填项 描述
Action String 操作接口名,系统规定参数,取值: QueryPipelineList
PipelineIds String 管道ID列表,最多一次查10个,逗号分隔。

返回参数

名称 类型 描述
PipelineList AliyunPipeline[ ] 管道列表
NonExistPids String[ ] 不存在的管道ID列表,无数据时该结构不返回

示例

请求示例

    https://mts.aliyuncs.com/?PipelineIds=31fa3c9ca8134f9cec2b4b0b0f787830&Action=QueryPipelineList&<公共参数>

返回示例

XML:

<QueryPipelineListResponse>
<RequestId>25818875-5F78-4A13-BEF6-D7393642CA58</RequestId>
<PipelineList list="true">
   <Pipeline>
    <Id>31fa3c9ca8134f9cec2b4b0b0f787830</Id>
    <Name>example-pipeline</Name>
    <State>Active</State>
    <Speed>Standard</Speed>
    <NotifyConfig>
        <Topic>mts-topic-1</Topic>
    </NotifyConfig>
    <Role>AliyunMTSDefaultRole</Role>
   </Pipeline>
</PipelineList>
</QueryPipelineList>

Json:

{
 "RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58",
    "TotalCount": 1,
    "PageNumber": 1,
    "PageSize": 10,
    "PipelineList": {
        "Pipeline": [{
            "Id": "31fa3c9ca8134f9cec2b4b0b0f787830",
            "Name": "example-pipeline",
            "State": "Active",
            "Speed":"Standard",
            "NotifyConfig":{
                "Topic":"mts-topic-1"
            },
            "Role":"AliyunMTSDefaultRole"
            }]
     }
}

最后更新:2016-11-23 16:04:03

  上一篇:go 更新管道__管道接口_API使用手册_媒体转码-阿里云
  下一篇:go 搜索管道__管道接口_API使用手册_媒体转码-阿里云