Routes - Jenya705/mcapi GitHub Wiki
Get player
GET /player/{id}
Returns a player object with a given id
Get player location
GET /player/{id}/location
Returns a player location object with a given id
Send message
POST /player/{selector}/send
Sends a message to players found by a selector
Ban player
PUT /player/{selector}/ban
Bans and kicks players found by a selector
Kick player
DELETE /player/{selector}/kick
Kicks players found by a selector
Get player permission
GET /player/{id}/permission/{permission}
Returns a players permission with given player id and given permission name
Get bot links
GET /bot/{selector}/linked
Returns a bot links with given selector
Get bot global permission
GET /bot/{selector}/permission/{permission}
Returns a bot global permission with given selector and given permission name
Get bot target permission
GET /bot/{selector}/permission/{permission}/{target}
Returns a bot target permission with given selector, given permission name and given target
Create command
POST /command
Creates command
Delete command
Delete /command/{path}
Deletes command with given command path
Request linking
POST /player/{id}/link
Requests a link with player with given id
Get offline player
GET /offline/{id}
Returns a offline player with given id
Ban offline player
PUT /offline/{selector}/ban
Bans and kicks (if online) offline players found by given selector