HTTP/1.1 200
OK
Content-Type:
application/json
[
{
"args": {},
"description":
"name": "restart",
"response": {
"accepted": "bool",
"enteredState":
}
},
{
"args": {},
"description":
"name": "start",
"response": {
"accepted": "bool",
"enteredState":
}
},
{
"args": {},
"description":
"name": "stop",
"response": {
"accepted": "bool",
"enteredState":
}
}
]
Parameter
•
node
Antwort-Headers
•
Content-Type
Statuscodes
•
200 OK
•
404 Not Found
Referenzierte Datenmodelle
•
Service
GET /nodes/{node}/services/{service}
Abruf der Beschreibung eines modulspezifischen Services.
Musteranfrage
GET
/api/v1/nodes/<node>/services/<service>
Host:
<rcvisard>
Musterantwort
HTTP/1.1 200
OK
Content-Type:
application/json
{
7.2. REST-API-Schnittstelle
"Restarts the
component.",
"uint8"
"Starts the
component.",
"uint8"
"Stops the
component.",
"uint8"
(
) – Modulname (obligatorisch)
string
– application/json
– Erfolgreiche Verarbeitung (Rückgabe: Service-Array)
– Modul nicht gefunden
(Abschnitt 7.2.3)
HTTP/1.1
81