curl --request GET \
--url https://api.gcore.com/cdn/raw_log_settings \
--header 'Authorization: <api-key>'
{
"client": 123,
"enabled": true,
"ignore_empty_logs": true,
"storage_type": "<string>",
"for_all_resources": true,
"all_resources_bucket": "<string>",
"all_resources_folder": "<string>",
"s3_type": "<string>",
"s3_aws_region": "<string>",
"s3_hostname": "<string>",
"s3_host_bucket": "<string>",
"s3_bucket_location": "<string>",
"s3_access_key_id": "<string>",
"ftp_hostname": "<string>",
"ftp_login": "<string>",
"ftp_prepend_folder": "<string>",
"sftp_hostname": "<string>",
"sftp_login": "<string>",
"sftp_prepend_folder": "<string>",
"folders": [
{
"id": 123,
"bucket": "<string>",
"folder": "<string>",
"cdn_resource": 123
}
],
"status": "<string>",
"comment": "<string>",
"archive_size_mb": 1250
}
Get information about raw logs feature settings.
curl --request GET \
--url https://api.gcore.com/cdn/raw_log_settings \
--header 'Authorization: <api-key>'
{
"client": 123,
"enabled": true,
"ignore_empty_logs": true,
"storage_type": "<string>",
"for_all_resources": true,
"all_resources_bucket": "<string>",
"all_resources_folder": "<string>",
"s3_type": "<string>",
"s3_aws_region": "<string>",
"s3_hostname": "<string>",
"s3_host_bucket": "<string>",
"s3_bucket_location": "<string>",
"s3_access_key_id": "<string>",
"ftp_hostname": "<string>",
"ftp_login": "<string>",
"ftp_prepend_folder": "<string>",
"sftp_hostname": "<string>",
"sftp_login": "<string>",
"sftp_prepend_folder": "<string>",
"folders": [
{
"id": 123,
"bucket": "<string>",
"folder": "<string>",
"cdn_resource": 123
}
],
"status": "<string>",
"comment": "<string>",
"archive_size_mb": 1250
}
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?