Cloud CDN API, REST: RawLogs.Get
Статья создана
Обновлена 26 ноября 2024 г.
HTTP request
GET https://cdn.api.cloud.yandex.net/cdn/v1/rawLogs/{resourceId}
Path parameters
Field |
Description |
resourceId |
string Required field. ID of CDN resource to request status and settings. |
Response
HTTP Code: 200 - OK
{
"status": "string",
"settings": {
"bucketName": "string",
"bucketRegion": "string",
"filePrefix": "string"
}
}
Field |
Description |
status |
enum (RawLogsStatus) Raw logs status.
|
settings |
Raw logs settings. |
RawLogsSettings
User settings for Raw logs.
Field |
Description |
bucketName |
string Required field. Destination S3 bucket name, note that the suer should be owner of the bucket. |
bucketRegion |
string Bucket region, unused for now, could be blank. |
filePrefix |
string file_prefix: prefix each log object name with specified prefix. The prefix makes it simpler for you to locate the log objects. |