Users Manual
GET /api/v1/nodes/<node>/services HTTP/1.1
Host: <rcvisard>
Sample response
HTTP/1.1 200 OK
Content-Type: application/json
[
{
"args": {},
"description": "Restarts the component.",
"name": "restart",
"response": {
"accepted": "bool",
"current
_
state": "string"
}
},
{
"args": {},
"description": "Starts the component.",
"name": "start",
"response": {
"accepted": "bool",
"current
_
state": "string"
}
},
{
"args": {},
"description": "Stops the component.",
"name": "stop",
"response": {
"accepted": "bool",
"current
_
state": "string"
}
}
]
Parameters
• node (string) – name of the node (required)
Response Headers
• Content-Type – application/json
Status Codes
• 200 OK – successful operation (returns array of Service)
• 404 Not Found – node not found
Referenced Data Models
• Service (Section 8.2.3)
GET /nodes/{node}/services/{service}
Get description of a node’s specific service.
Template request
GET /api/v1/nodes/<node>/services/<service> HTTP/1.1
Host: <rcvisard>
Sample response
8.2. REST-API interface 137