Schemas (v1)
Get schema string by ID
Retrieves the schema string identified by the input ID.
get/schemas/ids/{id}
Request
- Base URLhttps://psrc-00000.region.provider.confluent.cloud
- URLhttps://psrc-00000.region.provider.confluent.cloud/schemas/ids/{id}
- Auth
- HTTP basic
- or OAuth 2Client credentialsToken URL: https://api.confluent.cloud/sts/v1/oauth2/token
Path parameters
idinteger required
Globally unique identifier of the schema
Query parameters
subjectstring
Name of the subject
formatstring
Desired output format, dependent on schema type. For AVRO schemas, valid values are: " " (default) or "resolved". For PROTOBUF schemas, valid values are: " " (default), "ignore_extensions", or "serialized" (The parameter does not apply to JSON schemas.)
Response
The schema string.
Example response
{
"schemaType": "AVRO",
"schema": "{\"schema\": \"{\"type\": \"string\"}\"}",
"references": [
{
"name": "io.confluent.kafka.example.User",
"subject": "User",
"version": 1
}
],
"maxId": 1
}Changes
No recorded changes to this operation across all 7 revisions of this API.