Found 0 result in total

Content is empty
If you don't find the content you expect, please try another search term
Content Delivery Network (CDN)
API Documentation
Log Management Interface
Query log service status
Last updated:2024-03-28 14:41:31
You can call this operation to obtain the domain name log service status.
The API request contains the specified directory /2016-09-01/log/GetDomainLogServiceStatus、common request headers, and operation-specific request parameters. For more information, see the sample request.
| Parameter | Required | Type | Description |
|---|---|---|---|
| DomainIds | Yes | String | You need to query the domain name ID of the log service. Batch domain name query is supported. Multiple domain names are separated by commas (half width) |
| Parameter | Type | Description |
|---|---|---|
| Datas | Data[] | Domain name log status information |
| Parameter | Type | Description |
|---|---|---|
| DomainId | String | ID Domain ID |
| Status | String | status: start: enable; Stop: disable |
| Granularity | Long | Log storage granularity type: 60: granular storage by hour; 1440: granular storage by day |
Sample request
GET method:
GET /2016-09-01/log/GetDomainLogServiceStatus?DomainIds=2D09QNJ,2D09VP6,2D09QVE,2D09X6F 1.1
Host: cdn.api.ksyun.com
X-Amz-Date: date
Authorization:authorization string
x-action: GetDomainLogServiceStatus
x-version: 2016-09-01
POST method:
POST /2016-09-01/log/GetDomainLogServiceStatus 1.1
Host: cdn.api.ksyun.com
X-Amz-Date: date
Authorization:authorization string
x-action: GetDomainLogServiceStatus
x-version: 2016-09-01
Content-Type: application/json
{
"DomainIds": "2D09QNJ,2D09VP6,2D09QVE,2D09X6F"
}
Sample response
{
"Datas": [
{
"DomainId": "2D09X6F",
"Status": "start",
"Granularity": 1440
},
{
"DomainId": "2D09QNJ",
"Status": "start",
"Granularity": 1440
}
]
}
Pure Mode