docs
api
Cloud Delivery(UCDN)
GetUcdnDomain95BandwidthV2

Get Domain Name 95th Percentile Bandwidth Data [New] - GetUcdnDomain95BandwidthV2

Overview

Get domain name peak bandwidth data

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is GetUcdnDomain95BandwidthV2.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.Yes
EndTimeintThe end date of the query, in Unix Timestamp format.Yes
DomainId.NstringDomain ID, the ID generated when creating a domain. Default to all domains.No
AreacodestringQuery bandwidth region 'cn' represents domestic, 'abroad' represents overseas. If not filled, the default is all regions.No
IsDcdnbooleanIs it dynamically accelerated? The default is false.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
TimeintQuery the 95 bandwidth time point during the time period Unix timestampYes
CdnBandwidthfloatQuery the 95th percentile bandwidth value of CDN during the period, unit MbpsNo

Example

Request Example

https://api.surfercloud.com/?Action=GetUcdnDomain95BandwidthV2
&ProjectId=XczGqEQp
&BeginTime=5
&EndTime=8
&DomainId.n=VqFYNgfW
&Areacode=gwlMdkcg
&IsDcdn=true

Response Example

{
  "Action": "GetUcdnDomain95BandwidthV2Response",
  "BandwidthList": [
    {
      "CdnBandwidth": 8.65344,
      "Time": 6
    }
  ],
  "CdnBandwidth": 4.56228,
  "RetCode": 0
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved