Check if session is alive
Check if a session is alive by entering a cookie.
Resource Name: /FireFlow/api/session
Request Method: GET
Header requirements:
| Key | Value |
|---|---|
| Cookie | FireFlow_Session=[sessionId]. The sessionId is retrieved from the authentication request. |
Response Body:
|
Element |
Type |
Description |
|---|---|---|
message
|
MessageDetails type | Response message. |
valid
|
Boolean |
|
Response example:
HTTP status 200:
| Message Code | Message text |
| INVALID_SESSION_KEY | The session key provided is invalid |
| EXPIRED_SESSION_KEY | The session key provided has expired |
HTTP status 400:
| Message Code | Message text | Parameters |
| BAD_JSON_FORMAT | Bad JSON format: {0} | 0 - "failed to parse request body" |
| BAD_MEDIA_TYPE | Content-Type header is missing or has unsuitable value | N/A |
HTTP status 403:
| Message Code | Message text | Parameters |
| NO_PERMISSIONS | There are no permissions to process the requested operation | N/A |
HTTP status 500:
| Message Code | Message text | Parameters |
| UNEXPECTED_ERROR_OCCURRED | Unexpected error occurred | N/A |
{"message": {"code": "string",
"message": "string"
},
"valid": true
}