Event Gateway Schema Registries

Update Schema Registry

Changed on

Updates an existing schema registry associated with the specified Event Gateway.

put/v1/event-gateways/{gatewayId}/schema-registries/{schemaRegistryId}

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

gatewayId, string uuid required
Example:9524ec7d-36d9-465d-a8c5-83a3c9390458

The UUID of your Gateway.

schemaRegistryId, string uuid required

The ID of the Schema Registry.

Request body

SchemaRegistryUpdate required

A Confluent schema registry.

name, string required

The unique name of the schema registry.

description, string

A human-readable description.

type, 'confluent' required

The type of the schema registry.

config, SchemaRegistryConfluentConfigSensitiveDataAware required

The configuration of the schema registry.

labels, Labels

Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

Example request

{
  "config": {
    "authentication": {
      "password": "${vault.env['MY_ENV_VAR']}"
    }
  },
  "labels": {
    "env": "test"
  }
}

Response

Updated schema registry object.

SchemaRegistry required

A schema registry that contains schemas.

name, string required

The unique name of the schema registry.

description, string

A human-readable description.

type, string required

The type of the schema registry.

config, object nullable

The configuration of the schema registry.

labels, Labels

Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

id, string uuid required

The unique identifier of the schema registry.

created_at, string date-time required

An ISO-8601 timestamp representation of entity creation date.

updated_at, string date-time required

An ISO-8601 timestamp representation of entity update date.

Example response

{
  "labels": {
    "env": "test"
  },
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z"
}

Changes

    • info

      added the new any enum value to the request property oneOf[#/components/schemas/SchemaRegistryConfluentSensitiveDataAware]/config/schema_type

    • breaking

      added to the invalid_parameters/items response property oneOf list for the response status

    • warning

      added the new key_invalid enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status

    1 more change in this revision