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:
parent
6955be901f
commit
f62e899b79
@ -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`
|
||||
|
Loading…
x
Reference in New Issue
Block a user