Destination Addition (ssd api-management add destination)

The ssd api-management add destination command allows you to add a destination to an API flow on Sensedia API Platform.

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

Usage

The ssd api-management add destination command can be followed by flags with their corresponding arguments:

ssd api-management add destination [flags]

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

Below you will find a usage example in the direct mode:

# Adds a destination to all API resources and methods
$ ssd api-management add destination --target "https://myurl.com" --api-name "Open Banking" --api-version "1.0.0" --revision 1

Available flags

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

Flag

Type

Description

-n, --api-name

string

API name to which the destination will be added

-v, --api-version

string

API version to which the destination will be added

-h, --help

Displays help for the command

-m, --method

string

Method (operation) to which the destination will be added (Optional). E.g.: POST

-a, --path

string

Operation path to which the destination will be added (Optional). E.g.: /users

-r, --resource

string

Resource name to which the destination will be added (Optional)

-s, --revision

string

API revision to which the destination will be added

--target

string

Target URL

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

Thanks for your feedback!
EDIT

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