PUT /mode/{subject}
Changed onUpdates the subject-level mode. This is allowed only if Schema Registry was started with mode.mutability=true.
Request
- The document declares no server URL.
- Authnone declared
Path parameters
Name of the subject.
Query parameters
If true, forces the mode change even if schemas already exist. Useful in disaster recovery scenarios.
Headers
Group id in Apicurio Registry.
Request body
Example request
{
"mode": "IMPORT"
}Response
Returns the updated subject mode.
Example response
{
"mode": "READWRITE"
}Changes
- breaking
removed the enum value
IMPORTof the request property(media type: application/json) - breaking
removed the enum value
IMPORTof the request property(media type: application/octet-stream) - breaking
removed the enum value
IMPORTof the request property(media type: application/vnd.schemaregistry.v1+json) - breaking
removed the enum value
IMPORTof the request property(media type: application/vnd.schemaregistry+json) - breaking
removed the enum value
READONLYof the request property(media type: application/json) - breaking
removed the enum value
READONLYof the request property(media type: application/octet-stream) - breaking
removed the enum value
READONLYof the request property(media type: application/vnd.schemaregistry.v1+json) - breaking
removed the enum value
READONLYof the request property(media type: application/vnd.schemaregistry+json) - breaking
removed the enum value
READWRITEof the request property(media type: application/json) - breaking
removed the enum value
READWRITEof the request property(media type: application/octet-stream) - breaking
removed the enum value
READWRITEof the request property(media type: application/vnd.schemaregistry.v1+json) - breaking
removed the enum value
READWRITEof the request property(media type: application/vnd.schemaregistry+json)
- breaking
- breaking
request property
was restricted to a list of enum values (media type: application/json) - breaking
request property
was restricted to a list of enum values (media type: application/octet-stream) - breaking
request property
was restricted to a list of enum values (media type: application/vnd.schemaregistry.v1+json) - breaking
request property
was restricted to a list of enum values (media type: application/vnd.schemaregistry+json) - info
added the new
IMPORTenum value to the request property(media type: application/json) - info
added the new
IMPORTenum value to the request property(media type: application/octet-stream) - info
added the new
IMPORTenum value to the request property(media type: application/vnd.schemaregistry.v1+json) - info
added the new
IMPORTenum value to the request property(media type: application/vnd.schemaregistry+json) - info
added the new
READONLYenum value to the request property(media type: application/json) - info
added the new
READONLYenum value to the request property(media type: application/octet-stream) - info
added the new
READONLYenum value to the request property(media type: application/vnd.schemaregistry.v1+json) - info
added the new
READONLYenum value to the request property(media type: application/vnd.schemaregistry+json) - info
added the new
READWRITEenum value to the request property(media type: application/json) - info
added the new
READWRITEenum value to the request property(media type: application/octet-stream) - info
added the new
READWRITEenum value to the request property(media type: application/vnd.schemaregistry.v1+json) - info
added the new
READWRITEenum value to the request property(media type: application/vnd.schemaregistry+json)
- breaking