OPNexusdocs

API: host-services

GET /api/hosts/{host_id}/services#

List Services

Permission hosts.read (look)

Parameters

host_id *pathstring (uuid)

Response 200

POST /api/hosts/{host_id}/services/{name}/restart#

Restart Service

Permission hosts.operate (roll out)

Parameters

host_id *pathstring (uuid)
name *pathstring

Response 200

POST /api/hosts/{host_id}/services/{name}/start#

Start Service

Permission hosts.operate (roll out)

Parameters

host_id *pathstring (uuid)
name *pathstring

Response 200

POST /api/hosts/{host_id}/services/{name}/stop#

Stop Service

Permission hosts.operate (roll out)

Parameters

host_id *pathstring (uuid)
name *pathstring

Response 200