tencent cloud

DescribeRecordLineCategoryList
Last updated: 2025-09-18 19:23:06
DescribeRecordLineCategoryList
Last updated: 2025-09-18 19:23:06

1. API Description

Domain name for API request: dnspod.intl.tencentcloudapi.com.

This API is used to return a line list by category.

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 Params. The value used for this API: DescribeRecordLineCategoryList.
Version Yes String Common Params. The value used for this API: 2021-03-23.
Region No String Common Params. This parameter is not required for this API.
Domain Yes String Specifies the domain name to query the line list.
DomainId No Integer Domain ID for querying the route list. parameter DomainId has higher priority than parameter Domain. if you pass parameter DomainId, it will ignore parameter Domain.
Reference for values
DescribeDomain
DescribeDomainList

3. Output Parameters

Parameter Name Type Description
LineList Array of LineItem Lists lines by category.
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Line List Parameter Example by Category

This example shows you how to return a line list by category

Input Example

POST / HTTP/1.1
Host: dnspod.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeRecordLineCategoryList
<Common request parameters>

{
    "Domain": "dnspod.cn",
    "DomainId": 1
}

Output Example

{
    "Response": {
        "RequestId": "e5246d79-2779-45df-aa6f-fe67001be5d8",
        "LineList": [
            {
                "Grade": "DPG_FREE",
                "SubGroup": null,
                "LineName": "Default",
                "LineId": "0",
                "Useful": true,
                "Lines": null
            },
            {
                "Grade": "DPG_FREE",
                "SubGroup": [
                    {
                        "Grade": "DPG_FREE",
                        "SubGroup": null,
                        "LineName": "Baidu",
                        "LineId": "90=0",
                        "Useful": true,
                        "Lines": null
                    },
                    {
                        "Grade": "DPG_FREE",
                        "SubGroup": null,
                        "LineName": "Google",
                        "LineId": "90=1",
                        "Useful": true,
                        "Lines": null
                    },
                    {
                        "Grade": "DPG_FREE",
                        "SubGroup": null,
                        "LineName": "Youdao",
                        "LineId": "90=2",
                        "Useful": true,
                        "Lines": null
                    },
                    {
                        "Grade": "DPG_FREE",
                        "SubGroup": null,
                        "LineName": "Bing",
                        "LineId": "90=3",
                        "Useful": true,
                        "Lines": null
                    },
                    {
                        "Grade": "DPG_FREE",
                        "SubGroup": null,
                        "LineName": "Sogou",
                        "LineId": "90=5",
                        "Useful": true,
                        "Lines": null
                    },
                    {
                        "Grade": "DPG_FREE",
                        "SubGroup": null,
                        "LineName": "Qihoo",
                        "LineId": "90=6",
                        "Useful": true,
                        "Lines": null
                    },
                    {
                        "Grade": "DPG_FREE",
                        "SubGroup": null,
                        "LineName": "Search engine",
                        "LineId": "80=0",
                        "Useful": true,
                        "Lines": null
                    }
                ],
                "LineName": "Search engine",
                "LineId": "80=0",
                "Useful": true,
                "Lines": null
            }
        ]
    }
}

5. Developer Resources

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
FailedOperation The operation failed.
FailedOperation.UnknowError The operation has no response. Try again later.
InvalidParameter.DomainIdInvalid The domain number is incorrect.
InvalidParameter.DomainInvalid The domain is incorrect. Enter a top-level domain such as dnspod.cn.
InvalidParameter.DomainIsAliaser This domain is an alias of another domain.
InvalidParameterValue.DomainNotExists The current domain is incorrect. Return to the previous step and try again.
OperationDenied.NoPermissionToOperateDomain You have no permission to perform operations on the current domain. Return to the domain list.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback