Get information about the specified world
[Updated] - This endpoint now return the seed of the world for admin keys.
GET
/api/v1/worlds/[World name]
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
No parameters
| Authentication type | Key type | Allowed |
|---|---|---|
| Open | ![]() | |
| Basic | ![]() | |
| Key-Basic | ![]() | |
| Key-Advanced | Public key | ![]() |
| Key-Advanced | Protected key | ![]() |
| Key-Advanced | Admin key | ![]() |
{
"name": string,
"allowAnimals": bool,
"allowMonsters": bool,
"difficulty": string,
"gameTime": double,
"pvp": bool,
"spawnX": int,
"spawnY": int,
"spawnZ": int,
"time": double,
"seed": long // - For Admin keys only
}{
"success": bool,
"code": int,
"message": string
}| HTTP Code | Type |
|---|---|
| 200 | OK |
| 401 | Unauthorized |