docs
api
Cloud Delivery(UCDN)
get_new_ucdn_domain_http_code_v2

[To be offline] Obtain detailed domain status code monitoring - GetNewUcdnDomainHttpCodeV2

Overview

Get detailed domain status code monitoring

💡 Detailed status code monitoring only returns detailed status codes with quantities. If there is no quantity, it will not be returned. This interface is about to be taken offline. The latest interface GetUcdnDomainHttpCodeV2 can be used to obtain the domain request number.

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is GetNewUcdnDomainHttpCodeV2.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
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)Yes
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
AreacodestringThe query bandwidth area 'cn' represents domestic, 'abroad' represents overseas, only supports domestic.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
HttpCodeV2Detailarray[HttpCodeV2Detail]Status Code DetailsNo

Data Model

HttpCodeV2Detail

Field NameTypeDescription InformationRequired
TimeintTimeNo
TotalintTotal status code count of the current groupNo
Http100inthttp100 QuantityNo
Http101inthttp101 QuantityNo
Http102inthttp102 QuantityNo
Http200intNumber of HTTP 200No
Http201inthttp201 QuantityNo
Http202inthttp202 QuantityNo
Http203inthttp203 quantityNo
Http204inthttp204 countNo
Http205inthttp205 QuantityNo
Http206inthttp206 QuantityNo
Http207inthttp207 QuantityNo
Http300inthttp300 QuantityNo
Http301intNumber of HTTP 301No
Http302intNumber of HTTP 302No
Http303inthttp303 QuantityNo
Http304inthttp304 countNo
Http305inthttp305 QuantityNo
Http306intHTTP 306 QuantityNo
Http307inthttp307 countNo
Http400intNumber of HTTP400No
Http401inthttp401 quantityNo
Http402inthttp402 QuantityNo
Http403intNumber of HTTP 403No
Http404intNumber of HTTP 404No
Http405inthttp405 countNo
Http406intHTTP 406 QuantityNo
Http407inthttp407 QuantityNo
Http408inthttp408 countNo
Http409inthttp409 countNo
Http410inthttp410 QuantityNo
Http411inthttp411 QuantityNo
Http412inthttp412 QuantityNo
Http413inthttp413 QuantityNo
Http414inthttp414QuantityNo
Http415inthttp415 QuantityNo
Http416inthttp416 QuantityNo
Http417inthttp417 QuantityNo
Http418inthttp418 QuantityNo
Http421inthttp421 QuantityNo
Http422inthttp422 QuantityNo
Http423inthttp423 QuantityNo
Http424inthttp424 QuantityNo
Http425inthttp425 QuantityNo
Http426inthttp426 QuantityNo
Http449inthttp449 QuantityNo
Http451inthttp451 QuantityNo
Http500intNumber of HTTP 500No
Http501intNumber of HTTP 501No
Http502intNumber of HTTP 502No
Http503intNumber of HTTP 503No
Http504inthttp504 countNo
Http505intHTTP505 QuantityNo
Http506inthttp506 QuantityNo
Http507inthttp507 QuantityNo
Http509inthttp509 QuantityNo
Http510inthttp510 QuantityNo

Example

Request Example

https://api.surfercloud.com/?Action=GetNewUcdnDomainHttpCodeV2
&ProjectId=wBkjkOLu
&Type=2
&DomainId.n=www.ucloud.cn
&Areacode=cn
&BeginTime=8
&EndTime=8

Response Example

{
  "Action": "GetNewUcdnDomainHttpCodeV2Response",
  "HttpCodeV2Detail": [
    {
      "Http200": 2137102581,
      "Http206": 92972,
      "Http302": 5,
      "Http304": 931756,
      "Http404": 230669,
      "Http412": 305,
      "Http416": 74,
      "Http500": 160,
      "Time": 1558443000
    }
  ],
  "RetCode": 0
}
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved