curl --request GET \
--url https://api.gcore.com/cdn/logs_uploader/targets \
--header 'Authorization: <api-key>'
[
{
"id": 123,
"client_id": 123,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"storage_type": "s3_gcore",
"name": "<string>",
"description": "<string>",
"related_uploader_configs": [
123
],
"status": {
"status": "in_progress",
"code": 123,
"updated": "2023-11-07T05:31:56Z",
"details": "<string>"
},
"config": {
"access_key_id": "<string>",
"region": "<string>",
"bucket_name": "<string>",
"directory": "<string>",
"endpoint": "<string>",
"use_path_style": true
}
}
]
Get list of logs uploader targets.
curl --request GET \
--url https://api.gcore.com/cdn/logs_uploader/targets \
--header 'Authorization: <api-key>'
[
{
"id": 123,
"client_id": 123,
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"storage_type": "s3_gcore",
"name": "<string>",
"description": "<string>",
"related_uploader_configs": [
123
],
"status": {
"status": "in_progress",
"code": 123,
"updated": "2023-11-07T05:31:56Z",
"details": "<string>"
},
"config": {
"access_key_id": "<string>",
"region": "<string>",
"bucket_name": "<string>",
"directory": "<string>",
"endpoint": "<string>",
"use_path_style": true
}
}
]
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Search by target name or id.
Filter by ids of related logs uploader configs that use given target.
Successful.
The response is of type object[]
.
Was this page helpful?