Retrieve Subject
Retrieve Schema Registry Configuration for a Subject of kafka Cluster
/v2/databases/{database_cluster_uuid}/schema-registry/config/{subject_name}
To retrieve the Schema Registry configuration for a Subject of a Kafka cluster, send a GET 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
Returns
Retrieve Schema Registry Configuration for a Subject of kafka Cluster
curl https://api.digitalocean.com/v2/databases/$DATABASE_CLUSTER_UUID/schema-registry/config/$SUBJECT_NAME \
-H "Authorization: Bearer $DIGITALOCEAN_ACCESS_TOKEN"
{
"compatibility_level": "NONE",
"subject_name": "subject_name"
}
Returns Examples
{
"compatibility_level": "NONE",
"subject_name": "subject_name"
}