Schema Registry API
Space-scoped schema registry for managing data contracts and schema definitions.
Endpoints Overview
| Method | Endpoint | Description |
|---|---|---|
| GET | /{slug}/schema-registry | List schemas |
| POST | /{slug}/schema-registry | Create schema |
| GET | /{slug}/schema-registry/{id} | Get schema |
| PATCH | /{slug}/schema-registry/{id} | Update schema |
| DELETE | /{slug}/schema-registry/{id} | Delete schema |
Create Schema
POST /{slug}/schema-registry
{
"name": "Customer Events v2",
"schema_type": "avro",
"schema_definition": { ... },
"description": "Customer event stream schema"
}
Update Schema
PATCH /{slug}/schema-registry/{schema_id}
Partial update — only specified fields are modified.
Error Responses
| Status | Description |
|---|---|
404 | Schema not found |