Skip to content
Reference
/
RESTful API
/
Endpoints
/
/logs/fetch

/logs/fetch

Get logs from game (warns, errors, etc.)

Request Body

  1. Fetch a log by it's ID:
{
    "id": 1, // Number: UserID
    "token": "sessionKey", // String: sessionKey
    "logid": 1 // Number: LogID
}
  1. Fetch all logs for game:
{
    "id": 1, // Number: UserID
    "token": "sessionKey" // String: sessionKey
}

Response

{
    "code": 200, // Number: IETF Status Code
    "status": "success", // String: Success
    [
        "id": 1, // Number: LogID
        "type": "Error", // String: Type of log
        "trace": "erroringFunction()", // String: Log Trace
        "message": "Attempted to index nil" // String: ErrorMessage (if any)
    ]
}