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.
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 |
| 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. |
This example shows you how to return a line list by category
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
}{
"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
}
]
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
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. |
Feedback