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:

ssd apply [flags]

Available Flags

Flag Type Description

-e, --fail-fast

Interrupts the command when an error occurs

f, --file

string

Specifies the file’s path

-h, --help

Displays help for the command

-v,--validate-file

This 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, --config

string

Configuration file (default: $HOME/.sensedia/config.json)

--profile

string

The configuration profile you want to use (default: "default")

--verbose

Lists 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-mode

string

OVERWRITE 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:

Thanks for your feedback!
EDIT

Share your suggestions with us!
Click here and then [+ Submit idea]