confluent schema-registry schema describe
Description
Get schema by ID, or by subject and version.
confluent schema-registry schema describe [id] [flags]
Flags
--subject string       Subject of the schema.
--version string       Version of the schema. Can be a specific version or "latest".
--show-references      Display the entire schema graph, including references.
--context string       CLI context name.
--environment string   Environment ID.
--subject string                    Subject of the schema.
--version string                    Version of the schema. Can be a specific version or "latest".
--show-references                   Display the entire schema graph, including references.
--context string                    CLI context name.
--ca-location string                File or directory path to CA certificates to authenticate the Schema Registry client.
--schema-registry-endpoint string   The URL of the Schema Registry cluster.
Global Flags
-h, --help            Show help for this command.
    --unsafe-trace    Equivalent to -vvvv, but also log HTTP requests and responses which might contain plaintext secrets.
-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).
Examples
Describe the schema with ID “1337”.
confluent schema-registry schema describe 1337
Describe the schema with subject “payments” and version “latest”.
confluent schema-registry schema describe --subject payments --version latest
Describe the schema with ID “1337”.
confluent schema-registry schema describe 1337 --ca-location <ca-file-location> --schema-registry-endpoint <schema-registry-endpoint>
Describe the schema with subject “payments” and version “latest”.
confluent schema-registry schema describe --subject payments --version latest --ca-location <ca-file-location> --schema-registry-endpoint <schema-registry-endpoint>
See Also
- confluent schema-registry schema - Manage Schema Registry schemas.