curl --request GET \
--url https://api.gcore.com/cdn/raw_log_settings \
--header 'Authorization: <api-key>'
{
"id": 123,
"ignore_empty_logs": true,
"enabled": true,
"storage_type": "s3",
"client": 1,
"created": "2018-07-23 13:27:01.047356+00:00",
"updated": "2018-07-23 13:33:44.229959+00:00",
"for_all_resources": true,
"all_resources_bucket": "some-bucket",
"all_resources_folder": "folder-all",
"s3_type": "amazon ",
"s3_host_bucket": null,
"s3_bucket_location": null,
"s3_hostname": null,
"s3_access_key_id": "AJKHGJDKHFG",
"s3_aws_region": 1,
"status": "ok",
"comment": null,
"folders": [],
"archive_size_mb": null
}
Get information about raw logs feature settings.
curl --request GET \
--url https://api.gcore.com/cdn/raw_log_settings \
--header 'Authorization: <api-key>'
{
"id": 123,
"ignore_empty_logs": true,
"enabled": true,
"storage_type": "s3",
"client": 1,
"created": "2018-07-23 13:27:01.047356+00:00",
"updated": "2018-07-23 13:33:44.229959+00:00",
"for_all_resources": true,
"all_resources_bucket": "some-bucket",
"all_resources_folder": "folder-all",
"s3_type": "amazon ",
"s3_host_bucket": null,
"s3_bucket_location": null,
"s3_hostname": null,
"s3_access_key_id": "AJKHGJDKHFG",
"s3_aws_region": 1,
"status": "ok",
"comment": null,
"folders": [],
"archive_size_mb": null
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Successful.
The response is of type object
.
Was this page helpful?