Get one service
GET/api/node/:hostname/service/:name
Reads one service from the same list, by its name with .service or without it. A service that systemd has not loaded is not found.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 500
Each target host's result.
The request is not valid.
Unauthorized - API key required
Forbidden - Insufficient permissions
The host has no service with that name.
osapi did not deploy the item, so it does not change it, or the host does not have a program that the method needs.
An error on the controller.