-
-
Notifications
You must be signed in to change notification settings - Fork 1
API Methods
depascaldc edited this page Jul 2, 2020
·
1 revision
URL : /runCommand/<API_KEY from servermanager.properties>/
Query Params (cannot be null): ?cmd=<command to execute at server>
URL Example: [/runCommand/<API_KEY from servermanager.properties>?cmd=<command](https://your.domain.xyz:/runCommand/<API_KEY from servermanager.properties>?cmd=help)
Method : GET
Auth required : YES ( PER HEADER >> key: "Authorization" value: <API_AUTH from servermanager.properties> )
Code : 200 OK
Content : type text (In this example the command was successful executed.)
OK EXECUTED
Code : 409 Conflict
Content : type json
{
"error": "Error message"
}