1. Home
  2. ...
  3. Deployment (ssd api-management deploy)
  4. API deployment (ssd api-management deploy api)

API deployment (ssd api-management deploy api)

The `ssd api-management deploy api` command allows you to deploy an API on Sensedia API Platform.
NOTE

You can use the ssd api-management deploy api command or its shortened version ssd apim deploy api.

Usage

The ssd api-management deploy api command can be followed by flags with their respective arguments:

If no flag is specified, the interactive mode will be activated.

You need to specify the environment to which you want to deploy the API and which revision will be deployed. Example:

Available flags

The following flags can be used with the ssd api-management deploy api command:

Flag
Type
Description
-v, --api-versionstringVersion of the API to be deployed
-e, --environmentstringEnvironment to which the API will be deployed
-h, --helpDisplays help for the command
-r, --revisionintSpecifies the revision of the API to be deployed

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

Declarative Mode

NOTE

It is possible to deploy an API using a .yaml file with the declarative mode. Learn more.

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