Custom Plugin Schemas
Upload custom plugin schema
Changed onUpload a custom plugin schema associated with a control plane.
post/v2/control-planes/{controlPlaneId}/core-entities/plugin-schemas
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
controlPlaneId, string uuid required
Example:9524ec7d-36d9-465d-a8c5-83a3c9390458
The UUID of your control plane. This variable is available in the Konnect manager.
Request body
object required
lua_schema, string required
The custom plugin schema; jq -Rs '.' schema.lua.
Example request
{
"lua_schema": "return { name = \"myplugin\", fields = { { config = { type = \"record\", fields = { } } } } }"
}Response
A response for a single custom plugin schema.
object required
item, object nullable
Example response
{
"item": {
"lua_schema": "return { name = \\\"myplugin\\\", fields = { { config = { type = \\\"record\\\", fields = { } } } } }",
"name": "myplugin",
"created_at": 1422386534,
"updated_at": 1422412345
}
}Changes
- info
added the optional property
codeto the response with the status - info
added the optional property
codeto the response with the status - info
added the optional property
codeto the response with the status
5 more changes in this revision
- info