mirror of
https://github.com/itzg/mc-router.git
synced 2024-11-22 11:35:14 +01:00
16 lines
276 B
Plaintext
16 lines
276 B
Plaintext
|
### Get routes
|
||
|
GET {{baseUrl}}/routes
|
||
|
Accept: application/json
|
||
|
|
||
|
### Create route
|
||
|
POST {{baseUrl}}/routes
|
||
|
Content-Type: application/json
|
||
|
|
||
|
{
|
||
|
"serverAddress": "{{serverAddress}}",
|
||
|
"backend": "{{backend}}:25565"
|
||
|
}
|
||
|
|
||
|
### Delete route
|
||
|
DELETE {{baseUrl}}/routes/{{serverAddress}}
|