OPNexusdocs

API: host-services

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

List Services

Berechtigung hosts.read (ansehen)

Parameter

host_id *pathstring (uuid)

Antwort 200

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

Restart Service

Berechtigung hosts.operate (ausrollen)

Parameter

host_id *pathstring (uuid)
name *pathstring

Antwort 200

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

Start Service

Berechtigung hosts.operate (ausrollen)

Parameter

host_id *pathstring (uuid)
name *pathstring

Antwort 200

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

Stop Service

Berechtigung hosts.operate (ausrollen)

Parameter

host_id *pathstring (uuid)
name *pathstring

Antwort 200