1. Home
  2. ...
  3. Sensedia CLI Declarative Mode
  4. Application Command and Schemas (ssd apply)

Application Command and Schemas (ssd apply)

The `ssd apply` command allows you to create or update resources on Sensedia API Platform.

Usage

The ssd apply command can be followed by flags with their corresponding arguments:

Available Flags

Flag
Type
Description
-e, --fail-fastInterrupts the command when an error occurs
-f, --filestringSpecifies the file's path
-h, --helpDisplays help for the command
-v,--validate-fileThis flag can be used to validate the file structure for verification purposes only, but without applying any changes to the platform

Global Flags

Flag
Type
Description
-c, --configstringConfiguration file (default: $HOME/.sensedia/config.json)
--profilestringThe configuration profile you want to use (default: "default")
--verboseLists all requests made by the command. It is possible to store this information in a TXT file instead of displaying it on the terminal. E.g.: $ ssd (api-management | apim) list apis --verbose 2> log.txt

Flags available only for the kind OpenAPI

Flag
Type
Description
-r, --openapi-create-revision-Creates a new API revision instead of updating the most recent one.
-m, --openapi-update-modestringOVERWRITE to overwrite the existing API or INCREMENT to only add the new fields (default OVERWRITE).
NOTE

Make sure to provide the correct path in the filePath attribute of the YAML, pointing to the corresponding OpenAPI documentation file.

Available Schemas

The available schemas to use with the ssd apply command are as follows:

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