application/vnd.schemaregistry.v1+json
POST
/subjects/{subject}/versions
cURL (application/vnd.schemaregistry.v1+json)
curl \
--request POST 'http://localhost:8081/subjects/{subject}/versions' \
--header "Content-Type: application/vnd.schemaregistry.v1+json"
curl \
--request POST 'http://localhost:8081/subjects/{subject}/versions' \
--header "Content-Type: application/vnd.schemaregistry+json"
curl \
--request POST 'http://localhost:8081/subjects/{subject}/versions' \
--header "Content-Type: application/json" \
--data '{"schema":"string","schemaType":"string","references":[{"name":"string","subject":"string","version":42}]}'
Request examples
{
"schema": "string",
"schemaType": "string",
"references": [
{
"name": "string",
"subject": "string",
"version": 42
}
]
}
Request examples
{
"schema": "string",
"schemaType": "string",
"references": [
{
"name": "string",
"subject": "string",
"version": 42
}
]
}
Request examples
{
"schema": "string",
"schemaType": "string",
"references": [
{
"name": "string",
"subject": "string",
"version": 42
}
]
}
Response examples (200)
{
"id": 42
}
Response examples (200)
{
"id": 42
}
Response examples (200)
{
"id": 42
}
Response examples (409)
{
"error_code": 42,
"message": "string"
}
Response examples (409)
{
"error_code": 42,
"message": "string"
}
Response examples (409)
{
"error_code": 42,
"message": "string"
}
Response examples (422)
{
"error_code": 42,
"message": "string"
}
Response examples (422)
{
"error_code": 42,
"message": "string"
}
Response examples (422)
{
"error_code": 42,
"message": "string"
}
Response examples (500)
{
"error_code": 42,
"message": "string"
}
Response examples (500)
{
"error_code": 42,
"message": "string"
}
Response examples (500)
{
"error_code": 42,
"message": "string"
}