ListMigrationProject

Last updated: 2020-11-05 17:01:18

    1. API Description

    Domain name for API request: msp.tencentcloudapi.com.

    This API is used to obtain the list of migration project names.

    A maximum of 20 requests can be initiated per second for this API.

    We recommend you to use API Explorer
    Try it
    API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

    2. Input Parameters

    The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

    Parameter Name Required Type Description
    Action Yes String Common parameter. The value used for this API: ListMigrationProject.
    Version Yes String Common parameter. The value used for this API: 2018-03-19.
    Region No String Common parameter. This parameter is not required for this API.
    Offset No Integer The initial number of records, default value: 0
    Limit No Integer The number of records returned, default value: 500

    3. Output Parameters

    Parameter Name Type Description
    Projects Array of Project Project list
    TotalCount Integer Total number of projects
    RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

    4. Example

    Example1 Obtaining the list of migration project names

    This example shows you how to obtain the list of migration project names.

    Input Example

    https://msp.tencentcloudapi.com/?Action=ListMigrationProject
    &<Common request parameter>

    Output Example

    {
        "Response": {
            "TotalCount": 3,
            "Projects": [
                {
                    "ProjectId": 10013,
                    "projectName": "test2",
                },
                {
                    "ProjectId": 10012,
                    "ProjectName": "test1"
                },
                {
                    "ProjectId": 10007,
                    "ProjectName": "test"
                }
            ],
            "RequestId": "1824f552-3027-458f-82e9-4603846e52c4"
        }
    }

    5. Developer Resources

    API Explorer

    This tool allows online call, signature authentication, SDK code generation and quick search of APIs to greatly improve the efficiency of using TencentCloud APIs.

    SDK

    TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

    Command Line Interface

    6. Error Code

    The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

    Error Code Description
    InvalidParameterValue Incorrect parameter value.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help