Skip to main content
GET
/
schema-registry
/
subjects
/
{subject}
/
versions
/
{version}
Get Schema By Version
curl --request GET \
  --url https://api.streamkap.com/schema-registry/subjects/{subject}/versions/{version} \
  --header 'Authorization: Bearer <token>'
{
  "id": 123,
  "schema": "<string>",
  "subject": "<string>",
  "version": 123,
  "schema_type": "AVRO",
  "references": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

subject
string
required
version
string
required

Response

Successful Response

Complete schema information.

id
integer
required

Global schema ID

schema
string
required

Schema definition string

subject
string | null

Schema subject name

version
integer | null

Schema version

schema_type
string
default:AVRO

Schema type (AVRO, JSON, PROTOBUF)

references
References · object[] | null

Schema references