Create or update a custom plugin schema
Create or update an individual custom plugin schema.
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
}
}Changes
Changed in 3 of the 52 revisions of this API.71910
- ▲
the response property
itembecame nullable for the status200response-property-became-nullable
- ▲
the response property
item/lua_schemabecame nullable for the status200response-property-became-nullable
- ▲
the response property
item/namebecame nullable for the status200response-property-became-nullable
This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the non-success response with the status
400response-non-success-status-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
the response's body type/format changed from
object/to/for status401response-body-type-changed
- ▲
media type
application/problem+jsonwas changed to a more general media typeapplication/jsonfor the response status401response-media-type-name-generalized
- ▲
media type
application/problem+jsonwas changed to a more general media typeapplication/jsonfor the response status403response-media-type-name-generalized
- ▲
media type
application/problem+jsonwas changed to a more general media typeapplication/jsonfor the response status404response-media-type-name-generalized
- ●
removed the optional property
allOf[subschema #2]/detailfrom the response with the401statusresponse-optional-property-removed
- ●
removed the optional property
allOf[subschema #2]/detailfrom the response with the403statusresponse-optional-property-removed
- ●
removed the optional property
allOf[subschema #2]/detailfrom the response with the404statusresponse-optional-property-removed
- ●
removed the optional property
allOf[subschema #2]/instancefrom the response with the401statusresponse-optional-property-removed
- ●
removed the optional property
allOf[subschema #2]/instancefrom the response with the403statusresponse-optional-property-removed
- ●
removed the optional property
allOf[subschema #2]/instancefrom the response with the404statusresponse-optional-property-removed
- ●
removed the optional property
allOf[subschema #2]/statusfrom the response with the401statusresponse-optional-property-removed
- ●
removed the optional property
allOf[subschema #2]/statusfrom the response with the403statusresponse-optional-property-removed
- ●
removed the optional property
allOf[subschema #2]/statusfrom the response with the404statusresponse-optional-property-removed
- ●
removed the optional property
allOf[subschema #2]/titlefrom the response with the401statusresponse-optional-property-removed
- ●
removed the optional property
allOf[subschema #2]/titlefrom the response with the403statusresponse-optional-property-removed
- ●
removed the optional property
allOf[subschema #2]/titlefrom the response with the404statusresponse-optional-property-removed
- ●
removed the optional property
allOf[subschema #2]/typefrom the response with the401statusresponse-optional-property-removed
- ●
removed the optional property
allOf[subschema #2]/typefrom the response with the403statusresponse-optional-property-removed
- ●
removed the optional property
allOf[subschema #2]/typefrom the response with the404statusresponse-optional-property-removed
- ●
removed the optional property
detailfrom the response with the401statusresponse-optional-property-removed
- ●
removed the optional property
instancefrom the response with the401statusresponse-optional-property-removed
- ●
removed the optional property
statusfrom the response with the401statusresponse-optional-property-removed
- ●
removed the optional property
titlefrom the response with the401statusresponse-optional-property-removed
- ○
added
KonnectCPLegacyBaseErrorto the response bodyallOflist for the response status401response-body-all-of-added
- ○
added
KonnectCPLegacyBaseErrorto the response bodyallOflist for the response status403response-body-all-of-added
- ○
added
KonnectCPLegacyBaseErrorto the response bodyallOflist for the response status404response-body-all-of-added
- ○
removed
BaseErrorfrom the response bodyallOflist for the response status401response-body-all-of-removed
- ○
removed
BaseErrorfrom the response bodyallOflist for the response status403response-body-all-of-removed
- ○
removed
BaseErrorfrom the response bodyallOflist for the response status404response-body-all-of-removed
- ○
added the optional property
allOf[subschema #2]/messageto the response with the401statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/messageto the response with the403statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/messageto the response with the404statusresponse-optional-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲