Save the specified world / All worlds
POST
/api/saveworld
Application/Json
Key | Value | Type | Required |
---|---|---|---|
Authorization | Basic [key] | string | For Basic authentication mode only |
Authorization | [key] | string | For Key-Basic and Key-Advanced authentication modes only |
No parameters
{
"world": string // - If the string is empty, save all worlds
}
Authentication type | Key type | Allowed |
---|---|---|
Open | ![]() | |
Basic | ![]() | |
Key-Basic | ![]() | |
Key-Advanced | Public key | ![]() |
Key-Advanced | Protected key | ![]() |
Key-Advanced | Admin key | ![]() |
{
"success": bool,
"code": int,
"message": string
}
{
"success": bool,
"code": int,
"message": string
}
HTTP Code | Type |
---|---|
202 | Accepted |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |