列举全站加速(DCDN)投递到日志服务(TLS)的日志主题。
参数名称 | 数据类型 | 是否必选 | 参数说明 |
|---|---|---|---|
Action | String | 是 | 接口名称。当前 API 的名称为 ListDcdnLogTopic。 |
Version | String | 是 | 接口版本。当前 API 的版本为 2021-04-01。 |
参数名称 | 数据类型 | 是否必选 | 参数说明 | 示例 |
|---|---|---|---|---|
DeliveryStatus | String | 否 | 您可以基于日志主题的投递状态筛选:
| Running |
Domain | String[] | 否 | 您可以基于指定域名进行筛选。您需要指定一个或多个完整域名,不支持模糊匹配。当前参数中包含的多个域名为“或”关系,也就是说日志主题所关联的域名中,只要有任意一个和当前域名列表中的任意一个匹配即会返回。 | ["www.example.com"] |
LogTopicName | String | 否 | 您可以基于指定日志主题名称进行筛选。支持部分匹配。 | test-topic |
PageNumber | Integer | 否 | 分页返回结果时,表示当前页的页码。为0或为空时表示返回所有结果不做分页。 | 1 |
PageSize | Integer | 否 | 分页返回结果时,表示每页包含的最大条目数。为0时表示返回所有结果不做分页。 | 10 |
参数名称 | 数据类型 | 参数说明 | 示例 |
|---|---|---|---|
Info | Object[] | 查询到的日志主题集合。 | |
PageNumber | Integer | 当前分页的页码。 | 1 |
PageSize | Integer | 回显您指定的分页大小。 | 10 |
TotalCount | Integer | 查询匹配到的总记录数。 | 6 |
POST https://open.volcengineapi.com?Action=ListDcdnLogTopic&Version=2021-04-01 { "DeliveryStatus": "Running", "Domain": [ "www.example.com" ], "PageNumber": 1, "PageSize": 10 }
{ "ResponseMetadata": { "RequestId": "202512250936372799F7E2CF2051F5BE3A", "Action": "ListDcdnLogTopic", "Version": "2021-04-01", "Service": "DCDN", "Region": "cn-north-01" }, "Result": { "Info": [ { "AccountId": "2100052941", "CollectRegion": "mainland", "DeliveryStatus": "Running", "DeliveryTarget": "TLS", "Domain": [ "www.example.com", "test.example.com" ], "LogContent": [ { "Name": "client_ip", "Template": "${client_ip}", "Type": "string" }, { "Name": "ds_req_time", "Template": "${ds_req_time}", "Type": "string" }, { "Name": "ds_http_uri", "Template": "${ds_http_uri}", "Type": "string" }, { "Name": "ds_http_method", "Template": "${ds_http_method}", "Type": "string" }, { "Name": "ds_http_protocol", "Template": "${ds_http_protocol}", "Type": "string" }, { "Name": "ds_http_status", "Template": "${ds_http_status}", "Type": "string" }, { "Name": "ds_http_resp_size", "Template": "${ds_http_resp_size}", "Type": "string" }, { "Name": "client_ip_province", "Template": "${client_ip_province}", "Type": "string" }, { "Name": "client_ip_isp", "Template": "${client_ip_isp}", "Type": "string" }, { "Name": "ds_http_referer", "Template": "${ds_http_referer}", "Type": "string" }, { "Name": "ds_http_ua", "Template": "${ds_http_ua}", "Type": "string" }, { "Name": "ds_http_range", "Template": "${ds_http_range}", "Type": "string" }, { "Name": "ds_http_domain", "Template": "${ds_http_domain}", "Type": "string" }, { "Name": "ds_http_resp_content_type", "Template": "${ds_http_resp_content_type}", "Type": "string" }, { "Name": "ds_http_req_size", "Template": "${ds_http_req_size}", "Type": "string" }, { "Name": "ds_http_cache_status", "Template": "${ds_http_cache_status}", "Type": "string" }, { "Name": "ds_http_resp_content_length", "Template": "${ds_http_resp_content_length}", "Type": "string" } ], "LogProjectId": "4925f1a2-b2bb-415e-xxxx-xxxxxxxxxx", "LogRegion": "cn-shanghai", "LogTopicId": "8624cdf5-bac3-4ecb-xxxx-xxxxxxxxxxxx", "LogTopicName": "test-log-1", "LogType": "dcdn_access_log", "ProjectName": "", "ResourceId": "tlstopictask-NufVvxxxxxxxxxxxxxxxx", "SamplingRate": "100%", "created_at": "2024-09-05T12:54:30.768Z", "updated_at": "2025-12-24T09:45:10.953Z" } ], "PageNumber": 0, "PageSize": 0, "TotalCount": 1 } }