mirror of
https://github.com/itzg/mc-router.git
synced 2024-11-30 12:53:53 +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}}
|