Found 0 result in total
Content is empty
If you don't find the content you expect, please try another search term
Last updated:2021-03-17 10:54:01
You can call this operation to query valid domain names by time period.
GetCdnDomains
operation to query only valid domain names at the current time.GetValidDomainList
operation to query valid domain names by time period. For example, you can call this operation to query a deleted domain name and its ID. Then, you can use the domain name or ID to query statistical data such as the bandwidth and traffic of the deleted domain name in its validity period.The API request contains the specified directory /2016-09-01/statistics/GetValidDomainList, common request headers, and operation-specific request parameters. For more information, see the sample request.
Parameter | Required | Type | Description |
---|---|---|---|
StartTime | Yes | String | The beginning of the time range to query. Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mm+0800 format. The time must be in UTC+8. Example: 2016-08-01T21:14+0800. |
EndTime | Yes | String | The end of the time range to query. Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mm+0800 format. The time must be in UTC+8. The end time must be later than the start time. Example: 2016-08-01T21:14+0800. |
CdnType | Yes | String | The business type. Valid values: file, video, page, live, and all. |
Parameter | Type | Description |
---|---|---|
Domains | Domainlist[] | The valid domain names. |
Parameter | Type | Description |
---|---|---|
Domain | String | The domain name. |
DomainId | String | The ID of the domain name. |
CdnType | String | The business type of the domain name. Valid values: file, video, page, and live. |
GET method:
GET /2016-09-01/statistics/GetValidDomainList?StartTime=2006-01-01T00:00%2B0800&EndTime=2116-01-01T00:00%2B0800&CdnType=all 1.1
Host: cdn.api.ksyun.com
X-Amz-Date: date
Authorization:authorization string
x-action: GetValidDomainList
x-version: 2016-09-01
POST method:
POST /2016-09-01/statistics/GetValidDomainList 1.1
Host: cdn.api.ksyun.com
X-Amz-Date: date
Authorization:authorization string
x-action: StartStopCdnDomain
x-version: 2016-09-01
Content-Type: application/x-www-form-urlencoded
StartTime:2006-01-01T00:00+0800&EndTime:2116-01-01T00:00+0800
&CdnType:all
{
"Domainlist": [
{
"CdnType": "live",
"DomainId": "2D09S3K",
"Domain": "plu.rtmplive.ks-cdn.com"
},
{
"CdnType": "live",
"DomainId": "2D09RRX",
"Domain": "rtmp3.plu.cn"
},
{
"CdnType": "live",
"DomainId": "2D09S03",
"Domain": "plu.hlslive.ks-cdn.com"
},
{
"CdnType": "live",
"DomainId": "2D09RQK",
"Domain": "plu.hdllive.ks-cdn.com"
},
{
"CdnType": "download",
"DomainId": "2D09X3P",
"Domain": "hls3.plu.cn"
},
{
"CdnType": "download",
"DomainId": "2D09X7A",
"Domain": "hlstime3.plu.cn"
},
{
"CdnType": "live",
"DomainId": "2D09SA6",
"Domain": "realflv3.plu.cn"
}
]
}
Pure Mode