Timer API Documentation

Get Battle Timer Status

URL: /api/timer/status

Method: GET

Body:

{
}
            

Responses:

On Success

{
    "status": "success",
    "data": {
        "timerStatus": 'not_started' | 'in_battle' | 'ended'",
        "timeRemainingSeconds": "string",
        "startTimeUtc": "string"
        "startTimeUtc": "string"
    },
}
                

On Error

{
    "error": "Error message"
}
                

Get Event Battle Timer Status

URL: /api/timer/event/status

Method: GET

Body:

{
}
            

Responses:

On Success

{
    "status": "success",
    "data": {
        "timerStatus": 'not_started' | 'in_battle' | 'ended'",
        "timeRemainingSeconds": "string",
        "startTimeUtc": "string"
        "startTimeUtc": "string"
    },
}
                

On Error

{
    "error": "Error message"
}