πAPI Reference
So.. what can I do with this thing?
Endpoints
Header parameters
X-Api-KeystringRequired
API Key
Body
Request body for announcing a message
messagestringRequiredExample:
hello worldResponses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
429
Too Many Requests
application/json
500
Internal Server Error
application/json
post
/v1/server/announceHeader parameters
X-Api-KeystringRequired
API Key
Body
Request body for updating a server setting
HideFromListbooleanOptional
PrivatebooleanOptional
minLevelintegerOptional
Responses
200
Setting updated successfully
application/json
400
Invalid request body or server already banned
application/json
401
Unauthorized
application/json
403
Setting not allowed or invalid type
application/json
429
Too many requests
application/json
500
Internal server error
application/json
post
/v1/server/setSettingHeader parameters
X-Api-KeystringRequired
API Key
Body
BannedbooleanRequiredExample:
trueUserIdintegerRequiredExample:
123456789Responses
200
User banned/unbanned successfully
application/json
400
Invalid request body
application/json
401
Unauthorized
application/json
404
User not found
application/json
500
Internal server error
application/json
post
/v1/server/banplayerHeader parameters
X-Api-KeystringRequired
API Key
Body
Request body for kicking a player
ModerationReasonstringOptionalExample:
Optional reason for the kickUserIdintegerRequiredExample:
123456789Responses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
429
Too Many Requests
application/json
500
Internal Server Error
application/json
post
/v1/server/moderation/kickHeader parameters
X-Api-KeystringRequired
API Key
Body
Request body for setting a banner
bannerstringRequiredExample:
Hello World!Responses
200
OK
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
429
Too Many Requests
application/json
500
Internal Server Error
application/json
post
/v1/server/setbannerLast updated