MinecraftAdministrationCenter / mac-docs

Public documentation for the administration panel(both API and UI).
MIT License
0 stars 0 forks source link

Status Endpoint #6

Open FastFelix771 opened 6 years ago

FastFelix771 commented 6 years ago

Request Example

GET back.end/global/status

Reponse Examples

Success

Response-Code: 418 I'm a teapot

{
    "success": true,
    "content": {
        "uptime": 123456789
    }
}

Failure

Response-Code: 500 Internal Server Error

{
    "success": false,
    "content": "ERROR_MESSAGE"
}
jens1o commented 6 years ago

418 I'm a teapot

We should be more seriously, shouldn't we? ;)

FastFelix771 commented 6 years ago

We should be more seriously, shouldn't we? ;)

Don't worry, that would be the only endpoint returning 418... 😄 I guess 'some' humor is fine. =)