MinecraftAdministrationCenter / mac-docs

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

Info Endpoint #9

Open FastFelix771 opened 6 years ago

FastFelix771 commented 6 years ago

Request Example

GET back.end/global/info

Reponse Examples

Success

Response-Code: 200 OK

{
    "success": true,
    "content": {
        "software": "Minecraft Administration Center",
        "version": "1.0.0",
        "authors": [
            "Author1",
            "Author2"
        ]
    }
}

Failure

Response-Code: 500 Internal Server Error

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

We should add an option whether we show the software version.

FastFelix771 commented 6 years ago

We should add an option whether we show the software version.

Yep. And maybe an contributors array, to credit people who may contribute minor things like logos etc.