Skip to main content

Get Session Information

Get existing session information.

Authorizations: Administrator, Operator, Observer

Requests

GET /api/session
cookie: sessionID: [Session ID]

Parameters

N/A

Response

{
    "sessionID": "[Session ID]",
    "displayName": "Administrator",
    "email": "haiadmin@localhost",
    "roles": [
        "Administrator"
    ],
    "startAt": 1536937838919,
    "expireAt": 1536938857529,
    "lastLoginDate": null,
    "numLoginFailures": null,
    "isLicensed": true
}


NameTypeDescription
sessionIDstring

ID of the session.

displayNamestringUser name.
emailstring

Email address of user.

rolesobjectList of strings of user roles.
startAtnumberUser session started at in Unix time.
expireAtnumberWhen current user session will expire in Unix time.
lastLoginDatenumberLast login date in Unix time.
numLoginFailuresnumberLogin failure count.
isLicensedBooleanIndicates if Haivision Gateway license is valid.

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.