Authentication

Get the session document for the active user

Returns the session for the active user.

get/mySession

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/mySession
  • Auth: none declared

Response

The session document for the logged in user.

idstring

The session token for the logged in user

loginMethod'Web' | 'sudo'

The way a user logged in

session_startinteger

The Unix epoch time when the session started

ttlinteger

The default ttl for a user session

principalIdstring

The accountId for the logged in user

requestCountinteger

The number of API requests made during the active session

Changes

No recorded changes to this operation across all 1 revision of this API.