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"
}
]
}
}