Event Gateway Schema Registries
Create Schema Registry
Changed onCreates a new schema registry associated with the specified Event Gateway.
post/v1/event-gateways/{gatewayId}/schema-registries
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"config": {
"authentication": {
"password": "${vault.env['MY_ENV_VAR']}"
}
},
"labels": {
"env": "test"
}
}Response
Created
Example response
{
"labels": {
"env": "test"
},
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- info
added the new
anyenum value to the request property/////
- info
- breaking
added to the
/response propertyoneOflist for the response status - warning
added the new
key_invalidenum value to the//////response property for the response status - warning
added the new
uniqueenum value to the//////response property for the response status
- breaking