1. Session
Creates a new session-token.
If the header 'session-token' is present, and contains an expired token, this endpoint will create a new session_token that will be linked to the device_token of the expired token.
Essentially creating a new session of a known device.
Endpoints
- /session
Method: POST
Requires Authentication: NO
Comments
The errors will not be shown in this endpoint, the errors could appear in any other endpoint if the session-token is expired or the header is not present in the request.
Responses
-
Success (new token created)
Status code: 200
-
Expired user session token
Status code: 400
-
Invalid or not sended session-token
Status code: 400