Firmware Management Service
Get a list of firmwares.
Pagination start (starts at 1. If not specified, 1 is assumed)
Maximum number of entries to return (if absent, no limit is assumed)
Filter the results
Return only the latest firmware
false
false
false
List firmwares
The requested does not have sufficient rights to perform the operation.
The specified resource was not found.
GET /api/v1/firmwares HTTP/1.1
Host: localhost:16003
X-API-KEY: YOUR_API_KEY
Accept: */*
{
"firmwares": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"deviceType": "text",
"description": "text",
"revision": "text",
"uri": "https://example.com",
"image": "text",
"imageDate": 1,
"size": 1,
"downloadCount": 1,
"firmwareHash": "text",
"owner": "text",
"location": "https://example.com",
"uploader": "text",
"digest": "text",
"latest": true,
"notes": [
{
"created": 1,
"createdBy": "text",
"note": "text"
}
],
"created": 1
}
]
}
Get a Firmware.
A Firmware definition
The requested does not have sufficient rights to perform the operation.
The specified resource was not found.
GET /api/v1/firmware/{id} HTTP/1.1
Host: localhost:16003
X-API-KEY: YOUR_API_KEY
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"deviceType": "text",
"description": "text",
"revision": "text",
"uri": "https://example.com",
"image": "text",
"imageDate": 1,
"size": 1,
"downloadCount": 1,
"firmwareHash": "text",
"owner": "text",
"location": "https://example.com",
"uploader": "text",
"digest": "text",
"latest": true,
"notes": [
{
"created": 1,
"createdBy": "text",
"note": "text"
}
],
"created": 1
}
Definition of a firmware release
Created a firmware entry.
The requested does not have sufficient rights to perform the operation.
The specified resource was not found.
POST /api/v1/firmware/{id} HTTP/1.1
Host: localhost:16003
X-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 375
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"deviceType": "text",
"description": "text",
"revision": "text",
"uri": "https://example.com",
"image": "text",
"imageDate": 1,
"size": 1,
"downloadCount": 1,
"firmwareHash": "text",
"owner": "text",
"location": "https://example.com",
"uploader": "text",
"digest": "text",
"latest": true,
"notes": [
{
"created": 1,
"createdBy": "text",
"note": "text"
}
],
"created": 1
}
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"deviceType": "text",
"description": "text",
"revision": "text",
"uri": "https://example.com",
"image": "text",
"imageDate": 1,
"size": 1,
"downloadCount": 1,
"firmwareHash": "text",
"owner": "text",
"location": "https://example.com",
"uploader": "text",
"digest": "text",
"latest": true,
"notes": [
{
"created": 1,
"createdBy": "text",
"note": "text"
}
],
"created": 1
}
Definition of a firmware release
Successfully updated firmware
The requested does not have sufficient rights to perform the operation.
The specified resource was not found.
PUT /api/v1/firmware/{id} HTTP/1.1
Host: localhost:16003
X-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 375
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"deviceType": "text",
"description": "text",
"revision": "text",
"uri": "https://example.com",
"image": "text",
"imageDate": 1,
"size": 1,
"downloadCount": 1,
"firmwareHash": "text",
"owner": "text",
"location": "https://example.com",
"uploader": "text",
"digest": "text",
"latest": true,
"notes": [
{
"created": 1,
"createdBy": "text",
"note": "text"
}
],
"created": 1
}
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"deviceType": "text",
"description": "text",
"revision": "text",
"uri": "https://example.com",
"image": "text",
"imageDate": 1,
"size": 1,
"downloadCount": 1,
"firmwareHash": "text",
"owner": "text",
"location": "https://example.com",
"uploader": "text",
"digest": "text",
"latest": true,
"notes": [
{
"created": 1,
"createdBy": "text",
"note": "text"
}
],
"created": 1
}
Successfully deleted Firmware for the device.
The requested operation was performed.
The requested does not have sufficient rights to perform the operation.
The specified resource was not found.
DELETE /api/v1/firmware/{id} HTTP/1.1
Host: localhost:16003
X-API-KEY: YOUR_API_KEY
Accept: */*
No content
Pagination start (starts at 1. If not specified, 1 is assumed)
Maximum number of entries to return (if absent, no limit is assumed)
Filter the results
Return current device list and current firmware
false
Example: You must set {serialNumber} to 000000000000
Return current device list and current firmware
false
Example: You must set {serialNumber} to 000000000000
List of device history upgrade.
The requested does not have sufficient rights to perform the operation.
The specified resource was not found.
GET /api/v1/revisionHistory/{serialNumber} HTTP/1.1
Host: localhost:16003
X-API-KEY: YOUR_API_KEY
Accept: */*
{
"history": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"serialNumber": "text",
"revisionId": "123e4567-e89b-12d3-a456-426614174000",
"upgraded": 1,
"fromRelease": "text",
"toRelease": "text",
"commandUUID": "123e4567-e89b-12d3-a456-426614174000"
}
]
}
Pagination start (starts at 1. If not specified, 1 is assumed)
Success.
The requested operation was performed.
The requested does not have sufficient rights to perform the operation.
The specified resource was not found.
DELETE /api/v1/revisionHistory/{serialNumber} HTTP/1.1
Host: localhost:16003
X-API-KEY: YOUR_API_KEY
Accept: */*
No content
The exact current verion of the firmware on that device.
The exact current verion of the firmware on that device.
Specify lits of serial numbers to retrive age for
select=serial1,serial2,serial4,serial5.
The recommended latest version to update to.
The requested does not have sufficient rights to perform the operation.
The specified resource was not found.
GET /api/v1/firmwareAge HTTP/1.1
Host: localhost:16003
X-API-KEY: YOUR_API_KEY
Accept: */*
{
"latestId": "text",
"image": "text",
"imageDate": 1,
"revision": "text",
"uri": "https://example.com",
"age": "this is in seconds. a 0 means we cannot determine the age. something like 'unknown' should be shown to the user.",
"latest": true
}
Pagination start (starts at 1. If not specified, 1 is assumed)
Maximum number of entries to return (if absent, no limit is assumed)
Filter the results
List firmwares
The requested does not have sufficient rights to perform the operation.
The specified resource was not found.
GET /api/v1/connectedDevices HTTP/1.1
Host: localhost:16003
X-API-KEY: YOUR_API_KEY
Accept: */*
{
"devices": [
{
"serialNumber": "text",
"revision": "text",
"deviceType": "text",
"endPoint": "https://example.com",
"lastUpdate": 1,
"status": "connected"
}
]
}
SerialNumber of the device
Get information about a connected device.
The requested does not have sufficient rights to perform the operation.
The specified resource was not found.
GET /api/v1/connectedDevice/{serialNumber} HTTP/1.1
Host: localhost:16003
X-API-KEY: YOUR_API_KEY
Accept: */*
{
"serialNumber": "text",
"revision": "text",
"deviceType": "text",
"endPoint": "https://example.com",
"lastUpdate": 1,
"status": "connected"
}
A full analysis report
The requested does not have sufficient rights to perform the operation.
The specified resource was not found.
GET /api/v1/deviceReport HTTP/1.1
Host: localhost:16003
X-API-KEY: YOUR_API_KEY
Accept: */*
{
"snapshot": 1,
"numberOfDevices": 1,
"ouis": {
"tagList": [
{
"tag": "text",
"value": 1
}
]
},
"revisions": {
"tagList": [
{
"tag": "text",
"value": 1
}
]
},
"deviceTypes": {
"tagList": [
{
"tag": "text",
"value": 1
}
]
},
"status": {
"tagList": [
{
"tag": "text",
"value": 1
}
]
},
"endPoints": {
"tagList": [
{
"tag": "text",
"value": 1
}
]
},
"unknownFirmwares": {
"tagList": [
{
"tag": "text",
"value": 1
}
]
},
"usingLatest": {
"tagList": [
{
"tag": "text",
"value": 1
}
]
},
"totalSecondsOld": {
"tagList": [
{
"tag": "text",
"value": 1
}
]
}
}
aabbccdd1234
No content
The requested does not have sufficient rights to perform the operation.
The specified resource was not found.
GET /api/v1/deviceInformation/{serialNumber} HTTP/1.1
Host: localhost:16003
X-API-KEY: YOUR_API_KEY
Accept: */*
No content
Get a value
Successfull command execution
The requested does not have sufficient rights to perform the operation.
The specified resource was not found.
GET /api/v1/system HTTP/1.1
Host: localhost:16003
X-API-KEY: YOUR_API_KEY
Accept: */*
{
"version": "text",
"uptime": 1,
"start": 1,
"os": "text",
"processors": 1,
"hostname": "text",
"certificates": [
{
"filename": "text",
"expires": 1
}
]
}
Successfull command execution
The requested does not have sufficient rights to perform the operation.
The specified resource was not found.
POST /api/v1/system HTTP/1.1
Host: localhost:16003
X-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 70
{
"command": "setloglevel",
"subsystems": [
{
"tag": "text",
"value": "text"
}
]
}
{
"taglist": [
{
"tag": "text",
"value": "text"
}
]
}
Last updated