GET
/
cdn
/
logs_uploader
/
targets
curl --request GET \
  --url https://api.gcore.com/cdn/logs_uploader/targets \
  --header 'APIKey: <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
    }
  }
]

Authorizations

APIKey
string
header
required

API key for authentication.

Query Parameters

Search by target name or id.

config_ids
integer[]

Filter by ids of related logs uploader configs that use given target.

Response

200
application/json

Successful.

The response is of type object[].