Heartbeat

Function

This API is used to send heartbeat, and send a heartbeat request every 30s after login to ensure that the heartbeat does not expire after timeout.

Request Message

Parameter Description

Table 1
ParameterRangeTypeDescription
keep_aliveboolKeep session live.

Sample:

POST /API/Login/Heartbeat HTTP/1.1
{
    "version": "1.0",
    "data": {
        "keep_alive": true
    }
}

Response Message

None.

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
    "result": "success",
    "data": {}
    }
}

Error Code

See Response Messages Body and Common error_code for more information.