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 }

Name

Type

Description

sessionID

string

ID of the session.

displayName

string

User name.

email

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.

JavaScript errors detected

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

If this problem persists, please contact our support.