获取使用指定自定义线路的解析记录列表。
请求频率:每秒最多调用 1 次。
除了以下参数,您还需要 对请求进行鉴权。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ListRecordDigestByLine | 要执行的操作,取值:ListRecordDigestByLine。 |
Version | String | 是 | 2018-08-01 | API的版本,取值:2018-08-01。 |
Line | String | 是 | custom-2811 | 自定义线路的 ID。您可以通过 ListCustomLines API 所返回的 |
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Line | String | custom-2811 | 自定义线路的 ID。 |
RecordDigests | Array of Object | 无 | 使用该自定义线路的解析记录列表。 |
GET /?Action=ListRecordDigestByLine&Version=2018-08-01&Line=custom-2811 HTTP/1.1 Host: open.volcengineapi.com X-Date: 20240909T090911Z Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20240909/cn-beijing/dns/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f
{ "ResponseMetadata": { "RequestId": "202409091709222332380401013AEE86", "Action": "ListRecordDigestByLine", "Version": "2018-08-01", "Service": "dns", "Region": "cn-beijing" }, "Result": { "Line": "custom-2811", "RecordDigests": [ { "Name": "example.com.", "Type": "A", "LineNameCN": "自定义线路 1" } ] } }
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
状态码 | 错误码 | 说明 |
---|---|---|
400 | ErrParsingParams | 解析请求失败。 |
400 | ErrParamInvalid | 参数校验失败。 |
500 | ErrInternalServer | 服务内部错误。 |