Get a list of subject-version pairs for the schema ID.

GET /schemas/ids/{id}/versions

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.

Responses

GET /schemas/ids/{id}/versions
curl \
 --request GET 'http://localhost:8081/schemas/ids/{id}/versions'
Response examples (200)
[
  {
    "subject": "string",
    "version": 42
  }
]
Response examples (200)
[
  {
    "subject": "string",
    "version": 42
  }
]
Response examples (200)
[
  {
    "subject": "string",
    "version": 42
  }
]
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"
}