Retrieve the latest version with the given metadata.
Retrieve the latest version with the given metadata.
Request
- Base URLhttps://psrc-00000.region.provider.confluent.cloud
- URLhttps://psrc-00000.region.provider.confluent.cloud/subjects/{subject}/metadata
- Auth
- HTTP basic
- or OAuth 2Client credentialsToken URL: https://api.confluent.cloud/sts/v1/oauth2/token
Path parameters
Subject under which the schema will be registered
Query parameters
The metadata key. Add "?key=key" at the end of the request to match a metadata key. This query parameter can appear multiple times. Each instance is matched with a corresponding value query parameter, in order.
The metadata value. Add "?value=value" at the end of the request to match a metadata value. This query parameter can appear multiple times. Each instance is matched with a corresponding key query parameter, in order.
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.)
Whether to lookup deleted schemas
Response
The schema.
Example response
{
"subject": "User",
"version": 1,
"id": 100001,
"schemaType": "AVRO",
"references": [
{
"name": "io.confluent.kafka.example.User",
"subject": "User",
"version": 1
}
],
"schema": "{\"schema\": \"{\"type\": \"string\"}\"}"
}Changes
No recorded changes to this operation across all 7 revisions of this API.