Get Trace (ssd api-management get trace)
The ssd api-management get trace
command allows you to get the call details of a specific API on Sensedia API Platform.
You can use the ssd api-management get trace command or its shortened version ssd apim get trace .
|
Usage
The ssd api-management get trace
command can be followed by specific flags, as in the following examples:
ssd api-management get trace [flags]
If no flag is specified, the interactive mode will be activated. In this case, once the interactive steps are finished, Sensedia CLI will get the detailed call information from the ID entered by the user.
The information will be displayed according to the type selected:
Overview: API URI Date App Access Token Owner Request ID HTTP Status Caller Address Duration Client ID Access Token Gateway Trace: Gateway Step Duration Details
The information about Details is only displayed if the selected output is JSON. It is not possible to display the object detailed data in a table format. |
For more information, refer to the documentation about General Trace on Sensedia API Platform. |
# Get overview details of a managed API trace $ ssd api-management get trace --id “07c6dab7-4a40-4e0f-9dde-xxxxxxxxxxx” # Get gateway trace details of a managed API $ ssd api-management get trace --id “07c6dab7-4a40-4e0f-9dde-xxxxxxxxxxx” --gateway-trace
Available Flags
Flag |
Type |
Description |
-h, --help |
Displays help for the command |
|
-i , --id |
string |
Requests the ID |
-t , --gateway-trace |
Lists the route |
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]