mirror of
https://github.com/itzg/mc-router.git
synced 2024-11-25 12:05:14 +01:00
16 lines
276 B
HTTP
16 lines
276 B
HTTP
### 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}}
|