Logs uploader

Get targets list

Changed on

Get list of logs uploader targets.

get/cdn/logs_uploader/targets

Request

  • Base URL
    https://api.gcore.com
  • URL
    https://api.gcore.com/cdn/logs_uploader/targets
  • Auth
    HTTP apikey

Query parameters

searchstring

Search by target name or id.

config_idsinteger[]

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

limitinteger

Maximum number of items to return in the response. Cannot exceed 1000.

offsetinteger

Number of items to skip from the beginning of the list.

Response

Successful.

OR

Example response

[
  {
    "id": 1,
    "client_id": 100,
    "created": "2024-01-15T10:30:00Z",
    "updated": "2024-01-15T10:30:00Z",
    "storage_type": "s3_gcore",
    "name": "My S3 Target",
    "description": "Gcore S3 log storage",
    "related_uploader_configs": [
      10
    ],
    "status": {
      "status": "successful",
      "code": 0,
      "updated": "2024-01-15T10:30:00Z",
      "details": ""
    }
  }
]

Changes

    • breaking

      the / response's property type changed from object to no type for status

    • breaking

      the /// response's property type changed from object to no type for status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • info

      added to the / response property anyOf list for the response status

    • info

      added to the /// response property anyOf list for the response status

    • info

      added discriminator to / response property for the response status

    • info

      added discriminator to /// response property for the response status

    • warning

      added the new sls enum value to the // response property for the response status

    • warning

      added the new sls enum value to the //// response property for the response status

    • info

      added to the // response property anyOf list for the response status

    • info

      added to the //// response property anyOf list for the response status