MXS-1220: Add missing start/stop documentation for service resources

The service resource start and stop endpoints weren't documented.
This commit is contained in:
Markus Mäkelä 2017-06-30 15:39:01 +03:00
parent 6955be901f
commit f62e899b79

View File

@ -293,3 +293,31 @@ Service is modified.
```
Status: 204 No Content
```
### Stop a service
Stops a started service.
```
PUT /v1/service/:name/stop
```
#### Response
Service is stopped.
`Status: 204 No Content`
### Start a service
Starts a stopped service.
```
PUT /v1/service/:name/start
```
#### Response
Service is started.
`Status: 204 No Content`