localhost/api/v1/servers
localhost/api/v1/servers/:name
localhost/api/v1/servers
{
"name": "test",
"host": "<http://192.168.1.32>",
"port": 2375,
"enable": true
}
localhost/api/v1/servers/:id
{
"name": "test4",
"host": "<http://192.168.1.32>",
"port": 2375,
"enable": true
}
localhost/api/v1/servers/:id
{
"name": "test4",
"host": "<http://192.168.1.32>",
"port": 2375,
"enable": true
}
localhost/api/v1/containers
localhost/api/v1/containers/server/:name
localhost/api/v1/containers/:id
{
"name": "Servername"
}
The following commands are available: start, stop, pause, unpause, and restart.
localhost/api/v1/containers/:id
{
"name": "ServerName",
"command": "start"
}
localhost/api/v1/traefikconfig