Custom Plugin Schemas
Upload custom plugin schema
Upload a custom plugin schema associated with a control plane.
post/v2/control-planes/{controlPlaneId}/core-entities/plugin-schemas
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
}
}