Get Details of Remote Debug Sessions

To retrieve details of remote debug sessions:
  1. Log in to the REST API server using valid management user credentials.
    Note

    Note

    You must forward the auth_token as a cookie with each API call.
  2. Use the GET method to access the /act/show-remote-debug-sessions/ URI and retrieve details of remote debug sessions.

    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
    },..
    Click to expand in new window

    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