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:
@ -293,3 +293,31 @@ Service is modified.
|
|||||||
```
|
```
|
||||||
Status: 204 No Content
|
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`
|
||||||
|
Reference in New Issue
Block a user