调用ListDcdnRealTimeDeliveryProject查询用户开通的项目信息。
接口说明
单用户调用频率:100 次/秒。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
BusinessType |
string |
否 |
业务类型,取值:
|
cdn_log_access_l1 |
DomainName |
string |
否 |
域名,仅支持单个域名查询。不填为空则表示查询所有域名。 |
example.com |
PageNumber |
integer |
否 |
第几页,取值范围为:1~100000,默认 1。 |
1 |
PageSize |
integer |
否 |
分页大小,默认 20。 |
20 |
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
|||
TotalCount |
integer |
查询总数。 |
2 |
RequestId |
string |
请求 ID。 |
3EACD23C-F49F-4BF7-B9AD-C2CD3BA888C4 |
Content |
object |
||
Projects |
array |
域名配置结果信息。 |
|
object |
|||
Type |
string |
投递类型,目前仅支持SLS_POST(SLS 投递)。 |
SLS_POST |
SLSLogStore |
string |
日志库名称。 |
example-cn |
DataCenter |
string |
数据中心。 |
cn |
FieldName |
string |
字段名称。所有字段请参见实时日志采集字段说明。 |
field1,field2 |
ProjectName |
string |
项目名称。 |
example |
SamplingRate |
number |
采样率。 |
1 |
SLSProject |
string |
日志名称。 |
example-cn |
DomainName |
string |
域名列表,多个域名用半角逗号(,)隔开。 |
example.com,example.org |
BusinessType |
string |
业务类型,取值:
|
cdn_log_access_l1 |
SLSRegion |
string |
日志区域名称。 |
cn-hangzhou |
示例
正常返回示例
JSON
格式
{
"TotalCount": 2,
"RequestId": "3EACD23C-F49F-4BF7-B9AD-C2CD3BA888C4",
"Content": {
"Projects": [
{
"Type": "SLS_POST",
"SLSLogStore": "example-cn",
"DataCenter": "cn",
"FieldName": "field1,field2",
"ProjectName": "example",
"SamplingRate": 1,
"SLSProject": "example-cn",
"DomainName": "example.com,example.org",
"BusinessType": "cdn_log_access_l1",
"SLSRegion": "cn-hangzhou"
}
]
}
}
错误码
HTTP status code |
错误码 |
错误信息 |
描述 |
---|---|---|---|
500 | Internal Exception | The request processing has failed due to some unknown error, exception or failure. | 内部错误,请稍后重试或联系我们。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。