Logs uploader

Change logs uploader target partially.

patch/cdn/logs_uploader/targets/{id}

Request

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

Path parameters

idinteger required

Request body

storage_type's3_gcore' | 's3_amazon' | 's3_oss' | 's3_other' | 's3_v1' | 'ftp' | 'sftp' | 'http' | 'azure_blob' | 'sls'

Type of storage for logs.

namestring

Name of the target.

descriptionstring

Description of the target.

Example request

{
  "config": {
    "storage_id": 123,
    "bucket_name": "example-bucket",
    "directory": "raw"
  }
}

Response

Successful.

OR
OR
OR
OR
OR
OR
OR
OR
OR

Example response

{
  "config": {
    "storage_id": 123,
    "bucket_name": "example-bucket",
    "directory": "raw"
  }
}

Changes

    • breaking

      added the new required request property //

    • breaking

      added the new required request property //

    • breaking

      added the new required request property //

    • breaking

      the / request property type changed from no type to object

    • breaking

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

    • warning

      removed subschema #2 from the / request property allOf list

    • 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 the new optional request property //

    • info

      added the new optional request property //

    • info

      added the new optional request property //

    • info

      added to the request property anyOf list

    • info

      the request property /////// became nullable

    • info

      the request property /////// became nullable

    • info

      the request property /////// became nullable

    • info

      the request property /// became nullable

    • info

      added to the response body anyOf list for the response status

    • info

      added response discriminator for the response status

    • warning

      removed subschema #2 from the / request property allOf list

    • warning

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

    • info

      added to the request property anyOf list

    • info

      the request property /// became optional

    • info

      the request property //// became optional

    • info

      the request property ///// became optional

    • info

      the request property /// became optional

    • info

      the request property /// became optional

    • info

      added the new sls enum value to the request property

    • info

      added to the response property anyOf list for the response status