Get Session Infomation
get
/oiri/api/v1/sessionInfo
Gets a session information user's name and idleSessionTimeout for the session.
Request
There are no request parameters for this operation.
There's no request body for this operation.
Security
-
JSESSIONID: apiKey
Type:
apiKey
Response
Supported Media Types
- application/json
200 Response
OK. If response is OK, HTTP status code 200 is returned.Current user's name and idleSessionTimeout for the session is returned.
Headers
401 Response
Unauthorized
Examples
The following example shows how to get a session information user name and idleSessionTimeout for the session.
curl -X GET\ -H "Accept: application/json"\ "http://localhost:port/oiri/api/v1/sessionInfo"
Example of the Response Body
The following is an example of the response body in JSON format.
{ "name": "Robert Frost", "idleSessionTimeoutInMinutes": 15 }