Sessions
Last updated
Was this helpful?
Last updated
Was this helpful?
Novel maintains a session for each client that comes in via a session cookie. This is handled by . Both application and admin context's are supported.
You can access this session via the request variable in your handler.
There are also additional request variables available to you for convenience.
request.account
This includes details on which user is accessing that request.
request.org
This includes details on which organization is being used by the current request
Available under
also available under request via
you can also provide an array of roles where the endpoint only responds to the session if they have the role.
When using an API key, you can respond to requests and scope routes under
also available under request via
You can provide an array of scopes specific to the key if you need to have a more granular control.
2024-12-20 - Initial Documentation