调用DescribeDcdnUserRealTimeDeliveryField查询用户选择的字段列表。

说明 单用户调用频率:100次/秒。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String DescribeDcdnUserRealTimeDeliveryField

系统规定参数,取值:DescribeDcdnUserRealTimeDeliveryField

BusinessType String cdn_log_access_l1

业务类型,取值:

  • cdn_log_access_l1(默认值):全站加速l1节点访问日志。
  • cdn_log_origin:回源日志。
  • cdn_log_er:ER日志。

返回数据

名称 类型 示例值 描述
Content Array of Fields

域名配置结果信息。

Fields
Description String 访问时间

字段描述。

FieldName String unixtime

字段名称。

Selected Boolean true

是否选择该字段。

  • true:是。
  • false:否。
RequestId String 3EACD23C-F49F-4BF7-B9AD-C2CD3BA888C4

请求ID。

示例

请求示例

https://dcdn.aliyuncs.com?Action=DescribeDcdnUserRealTimeDeliveryField&BusinessType=cdn_log_access_l1
&<公共请求参数>

正常返回示例

XML格式

<DescribeDcdnUserRealTimeDeliveryFieldResponse>
  <RequestId>3EACD23C-F49F-4BF7-B9AD-C2CD3BA888C4</RequestId>
  <Content>
        <Fields>
              <FieldName>unixtime</FieldName>
              <Description>访问时间</Description>
              <Selected>true</Selected>
        </Fields>
        <Fields>
              <FieldName>client_ip</FieldName>
              <Description>用户真实IP</Description>
              <Selected>false</Selected>
        </Fields>
  </Content>
</DescribeDcdnUserRealTimeDeliveryFieldResponse>

JSON格式

{
    "RequestId": "3EACD23C-F49F-4BF7-B9AD-C2CD3BA888C4",
    "Content": {
        "Fields": [
            {
                "FieldName": "unixtime",
                "Description": "访问时间",
                "Selected": true
            },
            {
                "FieldName": "client_ip",
                "Description": "用户真实IP",
                "Selected": false
            }
        ]
    }
}

错误码

HttpCode 错误码 错误信息 描述
400 Unauthorized RealtimeLogDelivery service is not authorized. 实时日志投递没有授权。

访问错误中心查看更多错误码。