[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 Name | Type | Description Information | Required |
---|---|---|---|
Action | string | Corresponding API command name, the current API is GetNewUcdnDomainHttpCodeV2 . | Yes |
PublicKey | string | The user’s public key can be obtained from Console | Yes |
Signature | string | User signature generated based on public key and API command, see Signature Algorithm | Yes |
Request Parameters
Parameter Name | Type | Description Information | Required |
---|---|---|---|
ProjectId | string | Project ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the GetProjectList interface. | No |
Type | int | Time 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 |
BeginTime | int | The start time of the query, in Unix Timestamp format. | Yes |
EndTime | int | The end time of the query, in Unix Timestamp format. | Yes |
DomainId.N | string | Domain ID, the ID generated when creating a domain. Default to all domains. | No |
Areacode | string | The query bandwidth area ‘cn’ represents domestic, ‘abroad’ represents overseas, only supports domestic. | No |
Response Field
Field Name | Type | Description Information | Required |
---|---|---|---|
RetCode | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. | Yes |
Action | string | Operation command name. | Yes |
Message | string | Returns an error message, providing detailed description when RetCode is non-zero. | No |
HttpCodeV2Detail | array[HttpCodeV2Detail] | Status Code Details | No |
Data Model
HttpCodeV2Detail
Field Name | Type | Description Information | Required |
---|---|---|---|
Time | int | Time | No |
Total | int | Total status code count of the current group | No |
Http100 | int | http100 Quantity | No |
Http101 | int | http101 Quantity | No |
Http102 | int | http102 Quantity | No |
Http200 | int | Number of HTTP 200 | No |
Http201 | int | http201 Quantity | No |
Http202 | int | http202 Quantity | No |
Http203 | int | http203 quantity | No |
Http204 | int | http204 count | No |
Http205 | int | http205 Quantity | No |
Http206 | int | http206 Quantity | No |
Http207 | int | http207 Quantity | No |
Http300 | int | http300 Quantity | No |
Http301 | int | Number of HTTP 301 | No |
Http302 | int | Number of HTTP 302 | No |
Http303 | int | http303 Quantity | No |
Http304 | int | http304 count | No |
Http305 | int | http305 Quantity | No |
Http306 | int | HTTP 306 Quantity | No |
Http307 | int | http307 count | No |
Http400 | int | Number of HTTP400 | No |
Http401 | int | http401 quantity | No |
Http402 | int | http402 Quantity | No |
Http403 | int | Number of HTTP 403 | No |
Http404 | int | Number of HTTP 404 | No |
Http405 | int | http405 count | No |
Http406 | int | HTTP 406 Quantity | No |
Http407 | int | http407 Quantity | No |
Http408 | int | http408 count | No |
Http409 | int | http409 count | No |
Http410 | int | http410 Quantity | No |
Http411 | int | http411 Quantity | No |
Http412 | int | http412 Quantity | No |
Http413 | int | http413 Quantity | No |
Http414 | int | http414Quantity | No |
Http415 | int | http415 Quantity | No |
Http416 | int | http416 Quantity | No |
Http417 | int | http417 Quantity | No |
Http418 | int | http418 Quantity | No |
Http421 | int | http421 Quantity | No |
Http422 | int | http422 Quantity | No |
Http423 | int | http423 Quantity | No |
Http424 | int | http424 Quantity | No |
Http425 | int | http425 Quantity | No |
Http426 | int | http426 Quantity | No |
Http449 | int | http449 Quantity | No |
Http451 | int | http451 Quantity | No |
Http500 | int | Number of HTTP 500 | No |
Http501 | int | Number of HTTP 501 | No |
Http502 | int | Number of HTTP 502 | No |
Http503 | int | Number of HTTP 503 | No |
Http504 | int | http504 count | No |
Http505 | int | HTTP505 Quantity | No |
Http506 | int | http506 Quantity | No |
Http507 | int | http507 Quantity | No |
Http509 | int | http509 Quantity | No |
Http510 | int | http510 Quantity | No |
Example
Request Example
https://api.dezai.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
}