Api event io get session keep alive
Jump to navigation
Jump to search
API Endpoint: api/event/io/get_session_keep_alive/
Description: Returns whether the Session identified by the Session ID is set to Keep Alive. Value can also be found in Setting KEEP_ALIVE.
| Index | Importance | Type | Description | Values |
|---|---|---|---|---|
| 0 | REQUIRED | (Integer number) | Session ID |
Response Codes
| Response Code: | Description |
|---|---|
| 200 | KeepAlive (KeepAlive) |
| 300-600 | Codes Overview |
Example POST
Curl example POST
curl 'https://engine.tygron.com/api/event/io/get_session_keep_alive/' -H 'Content-Type: application/json' -H 'Authorization: Basic <credentials>' -d '1'JavaScript example POST
var options = {
method: "POST",
headers: { "Content-Type": "application/json", "Authorization": "Basic <credentials>" },
body: '1'
};
fetch("https://engine.tygron.com/api/event/io/get_session_keep_alive/", options)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));