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.
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:
ssd api-management link app [flags]
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:
$ ssd api-management link app "My app" --api-name "Open Banking" --api-version "1.0.1"
It is possible to link an app to multiple plans of an API:
$ ssd api-management link app "My app" --api-name "Open Banking" --api-version "1.0.1" --to-plans "Default Plan, Basic Plan, Premium Plan"
Available flags
The following flags can be used with the ssd api-management link app
command:
Flag | Type | Description |
---|---|---|
-v, --api-version |
string |
The version of the API that you want to link your app to |
-h, --help |
Displays help for the command |
|
-a, --api-name |
string |
API you want to link the app to |
-p, --to-plans |
strings |
The 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, --config |
string |
Configuration file (default: |
--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.: |
Declarative Mode
It is possible to link an app to an API and its plans using a .yaml file with the declarative mode. Learn more.
|
Share your suggestions with us!
Click here and then [+ Submit idea]