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
Back to Top

Response

Supported Media Types

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
Body ()
Root Schema : SessionInfoResp
Type: object
Show Source

401 Response

Unauthorized
Body ()
Root Schema : Error
Type: object
Show Source
Back to Top

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
}
Back to Top