ccloud schema-registry schema describe

Description

Get schema either by schema-id, or by subject/version.

ccloud schema-registry schema describe <schema-id> [--subject <subject>] [--version <version>] [flags]

Flags

-S, --subject string       Subject of the schema.
-V, --version string       Version of the schema. Can be a specific version or 'latest'.
    --api-key string       API key.
    --api-secret string    API key secret.
    --environment string   Environment ID.
    --context string       CLI context name.

Global Flags

-h, --help            Show help for this command.
-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).

Examples

Describe the schema string by schema ID:

ccloud schema-registry schema describe 1337

Describe the schema by both subject and version:

ccloud schema-registry schema describe --subject payments --version latest

See Also