Get Session Information
Get existing session information.
Authorizations: Administrator, Operator, Observer
Requests
GET /api/session |
Parameters
N/A
Response
{
"sessionID": "[Session ID]",
"displayName": "Administrator",
"email": "haiadmin@localhost",
"roles": [
"Administrator"
],
"startAt": 1536937838919,
"expireAt": 1536938857529,
"lastLoginDate": null,
"numLoginFailures": null,
"isLicensed": true
} |
Name | Type | Description |
---|---|---|
sessionID | string | ID of the session. |
displayName | string | User name. |
string | Email address of user. | |
roles | object | List of strings of user roles. |
startAt | number | User session started at in Unix time. |
expireAt | number | When current user session will expire in Unix time. |
lastLoginDate | number | Last login date in Unix time. |
numLoginFailures | number | Login failure count. |
isLicensed | Boolean | Indicates if Haivision Gateway license is valid. |