Partials

Upsert a Partial

Changed on

Create or Update Partial using ID.

put/v2/control-planes/{controlPlaneId}/core-entities/partials/{PartialId}

Request

  • Base URL: https://global.api.konghq.com
  • URL: https://global.api.konghq.com/v2/control-planes/{controlPlaneId}/core-entities/partials/{PartialId}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer

Request body

OR
OR
OR
OR

Example request

{
  "config": {
    "database": 0,
    "host": "localhost",
    "password": "password",
    "port": 6379,
    "server_name": "redis",
    "ssl": false,
    "ssl_verify": false,
    "timeout": 2000,
    "username": "username"
  },
  "type": "redis-ce"
}

Response

Successfully upserted Partial

OR
OR
OR
OR

Example response

{
  "config": {
    "database": 0,
    "host": "localhost",
    "password": "password",
    "port": 6379,
    "server_name": "redis",
    "ssl": false,
    "ssl_verify": false,
    "timeout": 2000,
    "username": "username"
  },
  "type": "redis-ce"
}

Changes

    • breaking

      added to the response body oneOf list for the response status

    • info

      added embeddings model vectordb mapping keys to the request discriminator

    • info

      added to the request body oneOf list

    • info

      the request property default value changed from false to true

    • info

      the request property default value changed from false to true

    • info

      added embeddings model vectordb mapping keys to the response discriminator for the response status

    • info

      the response's property default value changed from false to true for the status

    • info

      the response's property default value changed from false to true for the status

    • breaking

      the ///// request property type changed from integer to integer string

    • breaking

      the ///// response's property type changed from integer to integer string for status