Skip to main content

rhoas_service-registry_artifact_metadata-get

rhoas service-registry artifact metadata-get#

[beta] Get artifact metadata

Synopsis#

Gets the metadata for an artifact in a Service Registry instance The returned metadata includes both generated (read-only) and editable metadata (such as name and description).

This command is available as part of the Development Preview release.

rhoas service-registry artifact metadata-get [flags]

Examples#

## Get latest artifact metadata for default grouprhoas service-registry artifact metadata-get --artifact-id=my-artifact
## Get latest artifact metadata for my-group grouprhoas service-registry artifact metadata-get --artifact-id=my-artifact --group mygroup

Options#

      --artifact-id string   ID of the artifact  -g, --group string         Artifact group (default "default")      --instance-id string   ID of the Service Registry instance to be used. By default, uses the currently selected instance  -o, --output string        Output format (json, yaml, yml)

Options inherited from parent commands#

  -h, --help      Show help for a command  -v, --verbose   Enable verbose mode

SEE ALSO#