docs
api
Cloud Delivery(UCDN)
GetUcdnProIspRequestNumV2

Get domain name request count by province and operator [New] - GetUcdnProIspRequestNumV2

Overview

Get domain name request count by province and operator

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is GetUcdnProIspRequestNumV2.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 date of the query, in Unix Timestamp format. Ignore the time part.Yes
EndTimeintThe end date of the query, in Unix Timestamp format. Ignore the time part.Yes
DomainId.NstringDomain ID, the ID generated when creating a domain. Default to all domains.No
Province.NstringProvince code, multiple can be passed, if none is passed, all provinces will be queried.No
IspstringCarrier code, only one carrier can be queried at a time, if not passed, all carriers will be taken by default.No
TypeintTime granularity (0 represents a granularity of 5 minutes, 1 represents a granularity of 1 hour, 2 represents a granularity of one day, 3 represents a granularity of one minute)No

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
RequestNumSetarray[ProIspRequestNumSetV2]Request instances table by province. Refer to the following RequestList for details.Yes

Data Model

ProIspRequestNumSetV2

Field NameTypeDescription InformationRequired
ProvincestringProvince CodeYes
RequestListarray[ProIspRequestListV2]Provincial Request Number Instance Table ProIspRequestListV2Yes

ProIspRequestListV2

Field NameTypeDescription InformationRequired
TimeintTime point for bandwidth acquisition. Format: TimestampNo
CdnRequestfloatReturns the number of requests within the specified time intervalNo

Example

Request Example

https://api.surfercloud.com/?Action=GetUcdnProIspRequestNumV2
&ProjectId=sbEAKCLS
&BeginTime=6
&EndTime=2
&DomainId.n=ruTjptSq
&Province.n=fdFLRcCa
&Isp=rYesZQIs
&Type=2

Response Example

{
  "Action": "GetUcdnProIspRequestNumV2Response",
  "RequestNumSet": [
    {
      "Province": "QzrNPuTX",
      "RequestList": [
        {
          "RequestNum": 4,
          "Time": 5
        }
      ]
    }
  ],
  "RetCode": 0
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved