session

Search Sessions this user has access to

get/sessions

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/sessions
  • Auth
    none declared

Query parameters

type'all' | 'active' | 'guest' | 'expired'

Filter by type

lastAccessedDateFromstring date

Start date for filtering sessions by last accessed date

lastAccessedDateTostring date

End date for filtering sessions by last accessed date

sortBy'lastAccessed' | 'isExpired' | 'userName' | 'remoteAddress' | 'userAgent' | 'expiresAt'

Specifies which field the results are sorted by. Used together with sortDir

sortDir'asc' | 'desc'

Sort direction

Response

successful operation

userIdinteger

Class Sessions

userNamestring
isExpiredinteger
lastAccessedstring date-time
remoteAddressstring
userAgentstring
expiresAtstring date-time
userPermissionsobject

Changes