-
Notifications
You must be signed in to change notification settings - Fork 39
Home
jaehue edited this page Nov 5, 2014
·
3 revisions
Welcome to the fleet-ui wiki!
$ curl http://localhost:3000/api/v1/units
- [GET] /api/v1/machines
list all machines - [GET] /api/v1/units
list all service units - [POST] /api/v1/units
create service unit(mandatory parameters: name, service) - [POST] /api/v1/units/upload
upload service unit file & start the unit(mandatory parameters: file object) - [GET] /api/v1/units/{unit-name}
get the service unit information - [DELETE] /api/v1/units/{unit-name}
destroy the service unit - [POST] /api/v1/units/{unit-name}/start
start the service unit - [POST] /api/v1/units/{unit-name}/stop
stop the service unit - [POST] /api/v1/units/{unit-name}/load
load the service unit
- /ws/journal/{unit-name}
receive log message of the service unit in real-time