8.3. REST-API-Schnittstelle
Musteranfrage
GET
/api/v1/system
Musterantwort
HTTP/1.1 200
OK
Content-Type:
application/json
{
"firmware": {
"active _
image": {
"image _
version":
},
"fallback _
booted": true,
"inactive _
image": {
"image _
version":
},
"next _ boot _
image":
},
"hostname": "rc-visard-02873515",
"link _
speed": 1000,
"mac": "00:14:2D:2B:D8:AB",
"ntp _
status": {
"accuracy":
"48
"synchronized":
},
"ptp _
status": {
"master _
ip": "",
"offset": 0,
"offset _
dev": 0,
"offset _
mean": 0,
"state":
"off"
},
"ready": true,
"serial": "02873515",
"time": 1504080462.641875,
"uptime":
65457.42
}
Antwort-Headers
•
Content-Type
Statuscodes
•
200 OK
Referenzierte Datenmodelle
SysInfo
•
GET /system/license
Abruf von Informationen zu den auf dem Sensor installierten Lizenzen.
Musteranfrage
GET
/api/v1/system/license
Musterantwort
HTTP/1.1 200
OK
Content-Type:
application/json
Roboception GmbH
Handbuch: rc_visard
HTTP/1.1
"rc _ visard _ v1.1.0"
"rc _ visard _ v1.0.0"
"active _ image"
ms",
true
– application/json
– Erfolgreiche Verarbeitung (Rückgabe: SysInfo)
(Abschnitt 8.3.3)
HTTP/1.1
223
(Fortsetzung auf der nächsten Seite)
Rev: 21.01.1
Status: 30.01.2021