NOTEYou can use the
ssd api-management create interceptorcommand or its shortened versionssd apim create interceptor.
TIPFor more specific information, refer to the documentation about interceptors on Sensedia API Platform.
The ssd api-management create interceptor command can be followed by flags with their respective arguments:
If no flag is specified, the interactive mode will be activated.
Flag | Type | Description |
|---|---|---|
| -a, --abort-request-fail | When this option is checked, the gateway does not forward the request to the backend in case of an error, but immediately returns an error response to the client. | |
| -f, --file | string | It requires the base path for the file to be uploaded. |
| -h, --help | Displays help for the command. | |
| -n, --name | string | Interceptor's name. |
| --tags | string | Interceptor's tags. |
| -t, --type | string | Interceptor's type. The available ones are 'JAVA' and 'JAVASCRIPT'. |
| --visibility-team | string | The team name for an interceptor with a team visibility. |
| --visibility-type | string | Visibility type of the interceptor to be created. The available ones are 'ORGANIZATION', 'ME' and 'TEAM' (default: "ORGANIZATION"). |
| --visibility-users | string | User names for an interceptor with a user visibility. |
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 |
NOTEIt is possible to create an interceptor using a
.yamlfile with the Declarative Mode.
We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more