Schemas (v1)

Get schema by ID

Retrieves the schema identified by the input ID.

get/schemas/ids/{id}/schema

Request

  • Base URL
    https://psrc-00000.region.provider.confluent.cloud
  • URL
    https://psrc-00000.region.provider.confluent.cloud/schemas/ids/{id}/schema
  • Auth
    • HTTP basic
    • or OAuth 2
      Client credentials
      Token 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

Raw schema string.

string required

Example response

"{\"schema\": \"{\"type\": \"string\"}\"}"

Changes

No recorded changes to this operation across all 7 revisions of this API.