File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66
77## API
8- - ` GET ` ` /worlds ` - Returns a list of all worlds' uid
9- - ` GET ` ` /worlds/{uid} ` - Returns world's info
10-
11-
12- - ` GET ` ` /players ` - Returns a list of all players' uuid
13- - ` GET ` ` /players/{uuid} ` - Returns player's info
14- - ` POST ` ` /players/{uuid}/kick ` - Kicks player
15- - Body: ` {"reason": "string"} ` - Raw JSON, Required.
16- - ` POST ` ` /players/{uuid}/ban ` - Bans player
17- - Body: ` {"reason": "string"} ` - Raw JSON, Required.
18-
19-
20- - ` GET ` ` /jvm ` - Returns JVM
21- - ` GET ` ` /tps ` - Returns TPS
8+ | Method | URL | Required | Response body | Description |
9+ | --------| ------------------------| ---------------| -------------------------| -------------------------------------|
10+ | GET | ` /worlds ` | N/A | N/A | Returns a list of all worlds' uid |
11+ | GET | ` /worlds/<uid> ` | World's uid | N/A | Returns world's info |
12+ | GET | ` /players ` | N/A | N/A | Returns a list of all players' uuid |
13+ | GET | ` /players/<uuid> ` | Player's uuid | N/A | Returns player's info |
14+ | GET | ` /stats ` | N/A | N/A | Returns system's info |
15+ | POST | ` /players/<uuid>/kick ` | Player's uuid | ` {"reason":"<string>"} ` | Kicks player |
16+ | POST | ` /players/<uuid>/ban ` | Player's uuid | ` {"reason":"<string>"} ` | Bans player |
You can’t perform that action at this time.
0 commit comments