Upload custom plugin schema

Upload a custom plugin schema associated with a control plane.

post

Path Parameters

controlPlaneIdstring(uuid)required

The UUID of your control plane. This variable is available in the Konnect manager.

Example:9524ec7d-36d9-465d-a8c5-83a3c9390458

Body

application/json
lua_schemastringrequired

The custom plugin schema; jq -Rs '.' schema.lua.

Example:return { name = "myplugin", fields = { { config = { type = "record", fields = { } } } } }

Response

application/json

A response for a single custom plugin schema.

itemobject
Show Child Parameters
post/control-planes/{controlPlaneId}/core-entities/plugin-schemas

Body

{ "lua_schema": "return { name = \"myplugin\", fields = { { config = { type = \"record\", fields = { } } } } }" }
 
application/json

Get a custom plugin schema

Returns information about a custom plugin from a given name.

get

Path Parameters

controlPlaneIdstring(uuid)required

The UUID of your control plane. This variable is available in the Konnect manager.

Example:9524ec7d-36d9-465d-a8c5-83a3c9390458

namestringrequired

The custom plugin name

Example:myplugin

Response

application/json

A response for a single custom plugin schema.

itemobject
Show Child Parameters
get/control-planes/{controlPlaneId}/core-entities/plugin-schemas/{name}
 
application/json

Delete custom plugin schema

Delete an individual custom plugin schema.

delete

Path Parameters

controlPlaneIdstring(uuid)required

The UUID of your control plane. This variable is available in the Konnect manager.

Example:9524ec7d-36d9-465d-a8c5-83a3c9390458

namestringrequired

The custom plugin name

Example:myplugin

Response

No Content

delete/control-planes/{controlPlaneId}/core-entities/plugin-schemas/{name}
 

Create or update a custom plugin schema

Create or update an individual custom plugin schema.

put

Path Parameters

controlPlaneIdstring(uuid)required

The UUID of your control plane. This variable is available in the Konnect manager.

Example:9524ec7d-36d9-465d-a8c5-83a3c9390458

namestringrequired

The custom plugin name

Example:myplugin

Body

application/json
lua_schemastringrequired

The custom plugin schema; jq -Rs '.' schema.lua.

Example:return { name = "myplugin", fields = { { config = { type = "record", fields = { } } } } }

Response

application/json

A response for a single custom plugin schema.

itemobject
Show Child Parameters
put/control-planes/{controlPlaneId}/core-entities/plugin-schemas/{name}

Body

{ "lua_schema": "return { name = \"myplugin\", fields = { { config = { type = \"record\", fields = { } } } } }" }
 
application/json

Config Stores

Config Stores