Query the list of custom domain names

Last updated: 2020-06-09 15:01:45


    This is a legacy API which has been hidden and will no longer be updated. We recommend using the new API Gateway API 3.0 which is standardized and faster.

    Interface description

    This API (DescribeServiceSubDomains) is used to query custom lists.
    The API gateway can bind a custom domain name to a service for service invocation. This API is used to query the list of custom domain names bound to the service.

    Input Parameter

    The following request parameter list only lists the API request parameters. For other parameters, please see Common Request Parameters .

    Parameter name Required Type Description
    ServiceId Yes String Service unique ID

    Output Parameter

    Parameter name Type Description
    Code Int Common error code, 0 indicates success, other values indicate failure. For more information, please see the error code page Common error code
    CodeDesc String Error code on the business side. Return the specific cause of the business error when a Success, error is returned on success.
    TotalCount Int Number of custom domain names under the service
    DomainSet List of Array Domain List

    Where domainSet is a list of domain names, which is composed of domainStatus. The composition of domainStatus is as follows:

    Parameter name Type Description
    DomainName String Domain name
    Status String Domain name resolution status. True indicates normal resolution, while Flase indicates resolution failed
    CertificateId String Certificate ID


    &<Common request parameters>

    The returned results are as below:

        "code": "0",
        "message": "",
        "codeDesc": "Success",
        "totalCount": 2,
        "domainSet": [{
                "domainName": "domain1",
                "status": "True",
                "certificateId": "XXXX"
                "domainName": "domain2",
                "status": "Flase",
                "certificateId": "XXXX"

    Was this page helpful?

    Was this page helpful?

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