Retrieve a mock for current connection settings.
get/api/connection
Response
OK
Example response
{
"current": {
"baudrate": 115200,
"port": "VIRTUAL",
"printerProfile": "_default",
"state": "Operational"
},
"options": {
"ports": [
"VIRTUAL"
],
"baudrates": [
115200
],
"printerProfiles": [
{
"id": "_default",
"name": "Prusa SL1"
}
]
},
"connect": {
"hostname": "dev.connect.prusa",
"registrated": true
},
"states": {
"printer": {
"message": "Serial number cannot be obtained"
},
"connect": {
"ok": true,
"message": "OK"
}
}
}