8.3. REST-API-Schnittstelle
"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
Antwort-Headers
•
Content-Type
Statuscodes
•
200 OK
•
404 Not Found
Referenzierte Datenmodelle
•
Service
GET /nodes/{node}/services/{service}
Abruf der Beschreibung eines modulspezi schen Services.
Musteranfrage
GET
/api/v1/nodes/<node>/services/<service>
Musterantwort
HTTP/1.1 200
OK
Content-Type:
application/json
{
"args": {
"pose": {
"orientation": {
"w": "float64",
"x": "float64",
"y": "float64",
"z":
"float64"
Roboception GmbH
Handbuch: rc_visard
"string"
"Starts the
component.",
"string"
"Stops the
component.",
"string"
) – Modulname (obligatorisch)
string
– application/json
– Erfolgreiche Verarbeitung (Rückgabe: Service-Array)
– Modul nicht gefunden
(Abschnitt 8.3.3)
HTTP/1.1
214
(Fortsetzung der vorherigen Seite)
(Fortsetzung auf der nächsten Seite)
Rev: 21.01.1
Status: 30.01.2021