- Sample APIs
- Advancement
- Chat
- Economy
- Server
- pong!GET
- Get information about the scoreboard objectivesGET
- Get information about a specific objectiveGET
- Get information about the serverGET
- Executes a command on the server from the console, returning it's output. Be aware that not all command executors will properly send their messages to the CommandSender, though, most do.POST
- Get the whitelistGET
- Update the whitelistPOST
- Delete specific player from the whitelistDELETE
- Get information about all worldsGET
- Downloads a ZIP compressed archive of all the worlds' foldersGET
- Triggers a world save of all worldsPOST
- Get information about a specific worldGET
- Downloads a ZIP compressed archive of the world's folderGET
- Triggers a world savePOST
- PlaceholderAPI
- Player
- Plugins
Get information about a specific world
GET
/v1/worlds/{uuid}
Server
请求参数
Path 参数
uuid
string
可选
Header 参数
key
string
可选
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET '/v1/worlds/{uuid}'
返回响应
🟢200OK
application/json
Body
name
string
可选
uuid
string
可选
time
string
可选
storm
boolean
可选
thundering
boolean
可选
generateStructures
boolean
可选
allowAnimals
boolean
可选
allowMonsters
boolean
可选
difficulty
enum<string>
可选
枚举值:
PEACEFULEASYNORMALHARD
environment
enum<string>
可选
枚举值:
NORMALNETHERTHE_ENDCUSTOM
seed
string
可选
示例
{
"name": "string",
"uuid": "string",
"time": "string",
"storm": true,
"thundering": true,
"generateStructures": true,
"allowAnimals": true,
"allowMonsters": true,
"difficulty": "PEACEFUL",
"environment": "NORMAL",
"seed": "string"
}
修改于 2023-08-27 05:14:55