mirror of
https://github.com/itzg/mc-router.git
synced 2024-12-22 16:17:38 +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}}
|