1. Home
  2. ...
  3. Sensedia CLI Declarative Mode
  4. Retrieval Command (ssd get openapi -i 1 -f output.yaml)

Retrieval Command (ssd get openapi -i 1 -f output.yaml)

This command is available only for the kind OpenAPI.
IMPORTANT
  • Available from Sensedia CLI version 2.10.0 onwards.
  • Available only for the kind OpenAPI.

The get openapi command retrieves the kind OpenAPI from an API ID and saves the result to a file.

Available flags

Flag
Type
Description
-i, --idintegerID of the API to be fetched (required).
-f, --filestringPath of the file that will be saved (required).
-r, --revisionintegerRevision number of the API to be fetched. If this information is not provided, it defaults to fetching the latest revision.

How happy are you with this page?

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more