Pandaproxy Schema Registry (1.0.1)
Check if a schema is already registered for the subject.
path Parameters
subject required | string |
Request Body schema:
schema | string |
schemaType | string |
Array of objects |
Responses
Request samples
- Payload
Content type
{- "schema": "string",
- "schemaType": "string",
- "references": [
- {
- "name": "string",
- "subject": "string",
- "version": 0
}
]
}
Response samples
- 200
- 409
- 422
- 500
Content type
application/vnd.schemaregistry.v1+json
{- "subject": "string",
- "version": 0,
- "id": 0,
- "schemaType": "string",
- "references": [
- {
- "name": "string",
- "subject": "string",
- "version": 0
}
], - "schema": "string"
}
Create a new schema for the subject.
path Parameters
subject required | string |
Request Body schema:
schema | string |
schemaType | string |
Array of objects |
Responses
Request samples
- Payload
Content type
{- "schema": "string",
- "schemaType": "string",
- "references": [
- {
- "name": "string",
- "subject": "string",
- "version": 0
}
]
}
Response samples
- 200
- 409
- 422
- 500
Content type
application/vnd.schemaregistry.v1+json
{- "id": 0
}
Retrieve a schema for the subject and version.
path Parameters
subject required | string |
version required | string |
query Parameters
deleted | string |
Responses
Response samples
- 200
- 404
- 422
- 500
Content type
{- "subject": "string",
- "version": 0,
- "id": 0,
- "schemaType": "string",
- "references": [
- {
- "name": "string",
- "subject": "string",
- "version": 0
}
], - "schema": "string"
}
Test compatibility of a schema for the subject and version.
path Parameters
subject required | string |
version required | integer |
Request Body schema:
schema | string |
schemaType | string |
Array of objects |
Responses
Request samples
- Payload
Content type
{- "schema": "string",
- "schemaType": "string",
- "references": [
- {
- "name": "string",
- "subject": "string",
- "version": 0
}
]
}
Response samples
- 200
- 409
- 422
- 500
Content type
application/vnd.schemaregistry.v1+json
{- "id": 0
}