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

API Linking (ssd api-management link api)

The `ssd api-management link api` command allows you to link resources to a specific API on Sensedia API Platform.
NOTE

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

Usage

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

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

This command is used to link an environment to an API. Example:

TIP

Use the ssd api-management list environments command to view the available environments.

If necessary, use the ssd api-management create environment command to create a new environment.

Available flags

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

Flag
Type
Description
-v, --api-versionstringVersion of the API that will have the environment linked
-h, --helpDisplays help for the command
-e, --to-environmentstringEnvironment to be 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 resources to a specific 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