Custom Plugin Schemas
Create or update a custom plugin schema
Create or update an individual custom plugin schema.
put/v2/control-planes/{controlPlaneId}/core-entities/plugin-schemas/{name}
Request body
Example request
{
"lua_schema": "return { name = \"myplugin\", fields = { { config = { type = \"record\", fields = { } } } } }"
}Response
A response for a single custom plugin schema.
Example response
{
"item": {
"lua_schema": "return { name = \\\"myplugin\\\", fields = { { config = { type = \\\"record\\\", fields = { } } } } }",
"name": "myplugin",
"created_at": 1422386534,
"updated_at": 1422412345
}
}