GET /schemas/ids/{id}/schema

Retrieves only the schema identified by the input ID, without additional metadata.

Path parameters

  • id integer Required

Query parameters

  • subject string

    Qualified subject to scope the lookup. Use :.: for context-only lookup, or :.: to also verify the schema is associated with that subject. Defaults to searching the default context if unspecified.

  • format string

    Desired output format, dependent on schema type.

Responses

GET /schemas/ids/{id}/schema
curl \
 --request GET 'http://localhost:8081/schemas/ids/{id}/schema'
Response examples (200)
string
Response examples (200)
string
Response examples (200)
string
Response examples (404)
{
  "error_code": 42,
  "message": "string"
}
Response examples (404)
{
  "error_code": 42,
  "message": "string"
}
Response examples (404)
{
  "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"
}