Get/Create device info
POST
/rest/v1/devices/info
Returns or creates device information by serial number
Authorizations
bearerAuth
TypeHTTP (bearer)
Request Body
application/json
JSON
{
"serialNumber": "DEV12345"
}
Responses
Device information
application/json
JSON
{
"id": 0,
"serialNumber": "string",
"name": "string",
"type": "string",
"active": true,
"createdAt": "string"
}