Skip to main content
GET
/
schema-registry
/
schemas
/
{schema_id}
Get Schema By Id
curl --request GET \
  --url https://api.streamkap.com/schema-registry/schemas/{schema_id} \
  --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

schema_id
integer
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