Get Interceptor (ssd api-management get interceptor)
The ssd api-management get interceptor
command allows you to get an interceptor on Sensedia API Platform.
You can use the ssd api-management get interceptor command or its shortened version ssd apim get interceptor .
|
Usage
The ssd api-management get interceptor
command can be followed by specific flags, as in the examples below:
ssd api-management get interceptor [flags]
If no flag is specified, the interactive mode will be activated.
# Retrieves an interceptor $ ssd (api-management | apim) get interceptor --id 111 $ ssd (api-management | apim) get interceptor --name "My Interceptor" # Retrieves an interceptor in a JSON Format $ ssd (api-management | apim) get interceptor --id 111 --output json # Retrieves an interceptor and saves it to a JSON file $ ssd (api-management | apim) get interceptor --id 111 --output json > file.json
Available Flags
Flag |
Type |
Description |
-h, --help |
Displays help for the command |
|
-i, --id |
int |
Interceptor’s ID |
-n, --name |
string |
Interceptor’s name |
-o, --output |
string |
Specifies the display type of the information. E.g.: |
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.: |
Share your suggestions with us!
Click here and then [+ Submit idea]