Config
post/configs/{id}/update

Request

  • Base URL
    /v1.57 (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    none declared

Path parameters

idstring required

The ID or name of the config

Query parameters

versioninteger required

The version number of the config object being updated. This is required to avoid conflicting writes.

Request body

Namestring

User-defined name of the config.

Labelsobject

User-defined key/value metadata.

Datastring

Data is the data to store as a config, formatted as a standard base64-encoded (RFC 4648) string. The maximum allowed size is 1000KB, as defined in MaxConfigSize.

Example request

{
  "Templating": {
    "Name": "some-driver",
    "Options": {
      "OptionA": "value for driver-specific option A",
      "OptionB": "value for driver-specific option B"
    }
  }
}

Response

no error

Changes

    • breaking

      removed the request body

    • breaking

      removed the success response with the status

    • info

      api tag Config added

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status

    • breaking

      request body became required

    • breaking

      removed the media type text/plain from the request body

    • breaking

      added to the request property allOf list

    • breaking

      the request property type changed from object to no type

    • breaking

      removed the success response with the status

    • warning

      removed the request property /

    • warning

      removed the request property /

    • info

      api tag Config removed

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      added the success response with the status