1. Home
  2. ...
  3. Linking (ssd api-management link)
  4. App Linking (ssd api-management link app)

App Linking (ssd api-management link app)

The `ssd api-management link app` command allows you to link an app to an API and its plans on Sensedia API Platform.
NOTE

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

Usage

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

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

To link an app to the default plan of an API only, just omit the --to-plans flag. Example:

It is possible to link an app to multiple plans of an API:

Available flags

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

Flag
Type
Description
-v, --api-versionstringThe version of the API that you want to link your app to
-h, --helpDisplays help for the command
-a, --to-apistringAPI you want to link the app to
-p, --to-plansstringsThe plans of the selected API to which you want to link the app. If omitted, the default plan will be the only one linked.

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 link an app to an API and its plans 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