•
Content-Type
Statuscodes
•
200 OK
•
400 Bad Request
•
403 Forbidden
laufenden GigE Vision-Anwendung gesperrt ist oder keine valide Lizenz für dieses Mo-
dul vorliegt.
•
404 Not Found
Referenzierte Datenmodelle
•
Parameter
•
ParameterValue
GET /nodes/{node}/services
Abruf von Beschreibungen aller von einem Modul angebotenen Services.
Musteranfrage
GET
/api/v1/nodes/<node>/services
Musterantwort
HTTP/1.1 200
OK
Content-Type:
application/json
[
{
"args": {},
"description":
"name": "restart",
"response": {
"accepted": "bool",
"current _
state":
}
},
{
"args": {},
"description":
"name": "start",
"response": {
"accepted": "bool",
"current _
state":
}
},
{
"args": {},
"description":
"name": "stop",
"response": {
"accepted": "bool",
"current _
state":
}
}
]
Parameter
•
node
8.2. REST-API-Schnittstelle
– application/json
– Erfolgreiche Verarbeitung (Rückgabe: Parameter)
– Ungültiger Parameterwert
– Aktualisierung des Parameters verboten, z.B. weil er aufgrund einer
– Modul oder Parameter nicht gefunden
(Abschnitt 8.2.3)
(Abschnitt 8.2.3)
HTTP/1.1
"Restarts the
component.",
"string"
"Starts the
component.",
"string"
"Stops the
component.",
"string"
(
) – Modulname (obligatorisch)
string
176