Note
You must forward the auth_token as a cookie with each API call.Sample Request
curl -X GET --cookie auth_token=$cookie http://172.16.0.24/rest/v1/act/show-remote-debug-sessions
Sample Response (200 OK)
.."data": { "message":"Currently running sessions\n session1: Type:captive-portal, Started by:admin\nCompleted sessions\n None\n", "status":true },..
Response Definitions
Response Item | Description | Data Type |
---|---|---|
return_code | A flag indicating success or failure of the operation | Boolean |
data | Data returned by the API server | String |
errors | List of errors, if any | String |