ccloud schema-registry schema describe

Attention

The Confluent Cloud CLI is deprecated and will stop working on May 9, 2022. All ccloud features have been moved to the Confluent CLI. To update to the new CLI, run ccloud update –major. See the Migrate to Confluent CLI v2 for more details.

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