The SearchPipeline API searches for MPS queues by MPS queue status.

Request parameters

Parameters Type Required or not Description
Action String Yes API of the action, system required parameter. Value: SearchPipeline
PageNumber Long No Current page number,
  • which starts from 1.
  • Default value: 1.
PageSize Long No When querying by page, this parameter indicates the size of each page (number of lines per page).
  • Maximum value: 100.
  • Default value: 10.
State String No MPS queue status, which has the following options: All, Active, Paused, and Deleted.

Default value: All

Response parameters

Parameter Type Description
PipelineList AliyunPipeline[ ] MPS queue list

Examples

Request example
http://mts.cn-hangzhou.aliyuncs.com/?Action=SearchPipeline&<Public parameter>

Response example

XML
<SearchPipelineResponse>
    <RequestId>25818875-5F78-4A13-BEF6-D7393642CA58</RequestId>
    <TotalCount>1</TotalCount>
    <PageNumber>1</PageNumber>
    <PageSize>10</PageSize>
    <PipelineList list="true">
    <Pipeline>
    <Id>31fa3c9ca8134f9cec2b4b0b0f787830</Id>
    <Name>example-pipeline</Name>
    <State>Active</State>
    <NotifyConfig>
        <Topic>mts-topic-1</Topic>
    </NotifyConfig>
    <Role>AliyunMTSDefaultRole</Role>
    </Pipeline>
    </PipelineList>
    </SearchPipeline>
JSON
{
     "RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58",
    "TotalCount": 1,
    "PageNumber": 1,
    "PageSize": 10,
    "PipelineList": {
        "Pipeline ": [{
            "Id": "31fa3c9ca8134f9cec2b4b0b0f787830",
            "Name": "example-pipeline",
            "State": "Active",
            "NotifyConfig":{
                "Topic":"mts-topic-1"
                },
            "Role":"AliyunMTSDefaultRole"
             }]
       }
    }