Update Subject
Update Schema Registry Configuration for a Subject of kafka Cluster
/v2/databases/{database_cluster_uuid}/schema-registry/config/{subject_name}
To update the Schema Registry configuration for a Subject of a Kafka cluster, send a PUT request to
/v2/databases/$DATABASE_ID/schema-registry/config/$SUBJECT_NAME
.
The response is a JSON object with a compatibility_level
key, which is set to an object
containing any database configuration parameters.
Path Parameters
database_cluster_uuid: string
subject_name: string
Body Parameters
Returns
Update Schema Registry Configuration for a Subject of kafka Cluster
curl https://api.digitalocean.com/v2/databases/$DATABASE_CLUSTER_UUID/schema-registry/config/$SUBJECT_NAME \
-X PUT \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $DIGITALOCEAN_ACCESS_TOKEN" \
-d '{
"compatibility_level": "BACKWARD"
}'
{
"compatibility_level": "NONE",
"subject_name": "subject_name"
}
Returns Examples
{
"compatibility_level": "NONE",
"subject_name": "subject_name"
}