Upload custom plugin schema
Upload a custom plugin schema associated with a control plane.
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 4 of the 52 revisions of this API.102213
- ▲
the response property
itembecame nullable for the status201response-property-became-nullable
- ▲
the response property
item/lua_schemabecame nullable for the status201response-property-became-nullable
- ▲
the response property
item/namebecame nullable for the status201response-property-became-nullable
This revision also has 7 changes 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 status400response-media-type-name-generalized
- ▲
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 status409response-media-type-name-generalized
- ▲
removed the required property
allOf[subschema #2]/invalid_parametersfrom the response with the400statusresponse-required-property-removed
- ●
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 the409statusresponse-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 the409statusresponse-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 the409statusresponse-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 the409statusresponse-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 the409statusresponse-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 status400response-body-all-of-added
- ○
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 status409response-body-all-of-added
- ○
removed
BaseErrorfrom the response bodyallOflist for the response status400response-body-all-of-removed
- ○
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 status409response-body-all-of-removed
- ○
added the optional property
allOf[subschema #2]/messageto the response with the400statusresponse-optional-property-added
- ○
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 the409statusresponse-optional-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
added the new
missing_referenceenum value to theallOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterStandard]/ruleresponse property for the response status400response-property-enum-value-added
- ●
- ▲
added
InvalidParameterMaximumLengthto theallOf[subschema #2]/invalid_parameters/items/response propertyoneOflist for the response status400response-property-one-of-added
- ●
added the new
minenum value to theallOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterMinimumLength]/ruleresponse property for the response status400response-property-enum-value-added
- ●
added the new
min_itemsenum value to theallOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterMinimumLength]/ruleresponse property for the response status400response-property-enum-value-added
- ○
removed the
max_lengthenum value from theallOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterStandard]/ruleresponse property for the response status400response-property-enum-value-removed
This revision also has 88 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲