docs
api
Cloud Delivery(UCDN)
GetUcdnDomainLogV2

Get 5-minute domain name log - GetUcdnDomainLogV2

Overview

Get 5-minute domain name log

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is GetUcdnDomainLogV2.Yes
PublicKeystringThe user's public key can be obtained from Console (opens in a new tab)Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
ProjectIdstringProject ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the GetProjectList interface.No
BeginTimeintThe start time of the query, in Unix Timestamp format.Yes
EndTimeintThe end time of the query, in Unix Timestamp format.Yes
DomainId.NstringDomain ID, the ID generated when creating a domain. Default to all domains.No
IsDcdnbooleanIs the whole site accelerated? Default is falseNo

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
DomainLogSetarray[DomanLogList]Yes

Data Model

DomanLogList

Field NameTypeDescription InformationRequired
DomainstringDomain NameNo
LogListarray[LogInfo]Log Information ListNo

LogInfo

Field NameTypeDescription InformationRequired
LogTimeintUnix TimestampYes
LogUrlstringLog URL address, multiple URLs separated by semicolonsYes

Example

Request Example

https://api.surfercloud.com/?Action=GetUcdnDomainLogV2
&ProjectId=jtlEEXGE
&BeginTime=1
&EndTime=8
&DomainId.n=ziMJIfEj
&IsDcdn=false

Response Example

{
  "Action": "GetUcdnDomainLogV2Response",
  "DomainLogSet": [
    {
      "Domain": "QvsyjlbW",
      "LogList": [
        {
          "LogTime": 4,
          "LogUrl": "NhGLRDgK"
        }
      ]
    }
  ],
  "RetCode": 0
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved