Firmwares
Device specification identifier.
12345678-1234-1234-1234-12345678abcdClient identifier of the owner of the device specification to which this module belongs.
12345678-1234-1234-1234-12345678abcdA list of firmware modules.
A list of modules
Request is missing required information or invalid
GET /firmware/modules HTTP/1.1
Host: api.kpnthings.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Module identifier.
The requested firmware module.
Describes a KPN Things Firmware Module. A module represent a part of a device for which the firmware is managed by KPN Things.
Unique identifier of the module
99086060-b099-416e-a321-53220f4edf96The name of the module.
Bluetooth ModulePattern: ^[\x20-\x7E]{1,100}$The name of the firmware version attribute sent by the device to report the current module firmware version.
btModuleVersionPattern: ^[A-Za-z0-9_-]{1,100}$id of the device specification to which the module belongs
99086060-b099-416e-a321-53220f4edf96id of the client to which the module belongs
99086060-b099-416e-a321-53220f4edf96The timestamp when the module is created in the system.
2024-12-31T23:00:00.000ZThe user who created the module.
principal/9ebbb3b1-1b6b-46e7-8d58-bb8fe7ae24d4The timestamp when the module is last modified in the system.
2024-12-31T23:00:00.000ZThe user who last modified the module.
principal/9ebbb3b1-1b6b-46e7-8d58-bb8fe7ae24d4Request is missing required information or invalid
GET /firmware/modules/{moduleId} HTTP/1.1
Host: api.kpnthings.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
String that encodes all necessary information to retrieve a page.
Limit the number of results (per page).
50Sorting fields separated by comma. Default order is Ascending (ASC), minus(-) should be used in front of field name for Descending (DESC) order.
createdAt,-nameDevice specification identifier.
12345678-1234-1234-1234-12345678abcdFirmware Module identifier.
12341234-1234-1234-1234-12345678abcdClient identifier of the owner of the packages.
12341234-1234-1234-1234-12345678abcdPage of firmware packages.
Page of items
Pagination link pointing to the next page. Only provided when not at the last page.
Pagination link pointing to the previous page. Only provided when not at the first page.
Request is missing required information or invalid
GET /firmware/packages HTTP/1.1
Host: api.kpnthings.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Firmware package definition with optional embedded entities
Unique identifier of the firmware
99086060-b099-416e-a321-53220f4edf96The version of the firmware.
1.0.1Pattern: ^[a-zA-Z0-9._-]{1,100}$id of the client to which the package belongs
99086060-b099-416e-a321-53220f4edf96id of the device specification to which the firmware belongs
99086060-b099-416e-a321-53220f4edf96id of the module to which the firmware belongs
99086060-b099-416e-a321-53220f4edf96Description of the firmware.
Firmware package for Bluetooth module, for version 1.0.1 of the firmwarePattern: ^[\x20-\x7E]{1,300}$Filename of the firmware.
firmware_v1.0.1.binFilename of the release notes.
release_notes_v1.0.1.txtThe newly created firmware.
Firmware package definition with optional embedded entities
Unique identifier of the firmware
99086060-b099-416e-a321-53220f4edf96The version of the firmware.
1.0.1Pattern: ^[a-zA-Z0-9._-]{1,100}$id of the client to which the package belongs
99086060-b099-416e-a321-53220f4edf96id of the device specification to which the firmware belongs
99086060-b099-416e-a321-53220f4edf96id of the module to which the firmware belongs
99086060-b099-416e-a321-53220f4edf96Description of the firmware.
Firmware package for Bluetooth module, for version 1.0.1 of the firmwarePattern: ^[\x20-\x7E]{1,300}$Filename of the firmware.
firmware_v1.0.1.binFilename of the release notes.
release_notes_v1.0.1.txtRequest is missing required information or invalid
POST /firmware/packages HTTP/1.1
Host: api.kpnthings.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
No content
Firmware package identifier.
12345678-1234-1234-1234-12345678abcdThe requested firmware package.
Firmware package definition with optional embedded entities
Unique identifier of the firmware
99086060-b099-416e-a321-53220f4edf96The version of the firmware.
1.0.1Pattern: ^[a-zA-Z0-9._-]{1,100}$id of the client to which the package belongs
99086060-b099-416e-a321-53220f4edf96id of the device specification to which the firmware belongs
99086060-b099-416e-a321-53220f4edf96id of the module to which the firmware belongs
99086060-b099-416e-a321-53220f4edf96Description of the firmware.
Firmware package for Bluetooth module, for version 1.0.1 of the firmwarePattern: ^[\x20-\x7E]{1,300}$Filename of the firmware.
firmware_v1.0.1.binFilename of the release notes.
release_notes_v1.0.1.txtRequest is missing required information or invalid
GET /firmware/packages/{firmwarePackageId} HTTP/1.1
Host: api.kpnthings.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Firmware identifier.
12345678-1234-1234-1234-12345678abcdFirmware package definition with optional embedded entities
Unique identifier of the firmware
99086060-b099-416e-a321-53220f4edf96The version of the firmware.
1.0.1Pattern: ^[a-zA-Z0-9._-]{1,100}$id of the client to which the package belongs
99086060-b099-416e-a321-53220f4edf96id of the device specification to which the firmware belongs
99086060-b099-416e-a321-53220f4edf96id of the module to which the firmware belongs
99086060-b099-416e-a321-53220f4edf96Description of the firmware.
Firmware package for Bluetooth module, for version 1.0.1 of the firmwarePattern: ^[\x20-\x7E]{1,300}$Filename of the firmware.
firmware_v1.0.1.binFilename of the release notes.
release_notes_v1.0.1.txtThe updated firmware.
Firmware package definition with optional embedded entities
Unique identifier of the firmware
99086060-b099-416e-a321-53220f4edf96The version of the firmware.
1.0.1Pattern: ^[a-zA-Z0-9._-]{1,100}$id of the client to which the package belongs
99086060-b099-416e-a321-53220f4edf96id of the device specification to which the firmware belongs
99086060-b099-416e-a321-53220f4edf96id of the module to which the firmware belongs
99086060-b099-416e-a321-53220f4edf96Description of the firmware.
Firmware package for Bluetooth module, for version 1.0.1 of the firmwarePattern: ^[\x20-\x7E]{1,300}$Filename of the firmware.
firmware_v1.0.1.binFilename of the release notes.
release_notes_v1.0.1.txtRequest is missing required information or invalid
PUT /firmware/packages/{firmwarePackageId} HTTP/1.1
Host: api.kpnthings.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
No content
Firmware package identifier.
12345678-1234-1234-1234-12345678abcdFirmware package has been deleted successfully.
No content
DELETE /firmware/packages/{firmwarePackageId} HTTP/1.1
Host: api.kpnthings.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Firmware package has been deleted successfully.
No content
Firmware identifier.
12345678-1234-1234-1234-12345678abcdThe requested file in binary format.
Request is missing required information or invalid
GET /firmware/packages/{firmwarePackageId}/firmware-file HTTP/1.1
Host: api.kpnthings.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Firmware identifier.
12345678-1234-1234-1234-12345678abcdMultipart form-data body for uploading a firmware file.
The firmware file to upload.
The SHA-256 checksum of the firmware file. This is used to verify the integrity of the file after upload.
3a7bd3e2360a3d80e355b8cbb1b1b9e0e5c6a8f9d2e5c3f1a2b4c5d6e7f8Pattern: ^[0-9a-fA-F]+$The information about the uploaded file for a device specification.
Represents a file
The id of the firmware package to which the file belongs
99086060-b099-416e-a321-53220f4edf96Name of the file
firmware.binPattern: ^[a-zA-Z0-9.-_]{1,100}$Content-Type of the file
application/octet-streamPattern: ^[\x20-\x7E]{1,100}$The type of the file
firmwareThe id of the device specification to which the file belongs
99086060-b099-416e-a321-53220f4edf96The timestamp this file was created
2024-12-31T23:00:00.000ZThe identifier of the user that created this file
principal/9ebbb3b1-1b6b-46e7-8d58-bb8fe7ae24d4The timestamp this file was last modified
2024-12-31T23:00:00.000ZThe identifier of the user that last modified this file
principal/9ebbb3b1-1b6b-46e7-8d58-bb8fe7ae24d4Request is missing required information or invalid
POST /firmware/packages/{firmwarePackageId}/firmware-file HTTP/1.1
Host: api.kpnthings.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
No content
Firmware identifier.
12345678-1234-1234-1234-12345678abcdThe requested file in binary format.
Request is missing required information or invalid
GET /firmware/packages/{firmwarePackageId}/release-notes-file HTTP/1.1
Host: api.kpnthings.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Firmware identifier.
12345678-1234-1234-1234-12345678abcdMultipart form-data body for uploading a firmware file.
The firmware file to upload.
The SHA-256 checksum of the firmware file. This is used to verify the integrity of the file after upload.
3a7bd3e2360a3d80e355b8cbb1b1b9e0e5c6a8f9d2e5c3f1a2b4c5d6e7f8Pattern: ^[0-9a-fA-F]+$The information about the uploaded file.
Represents a file
The id of the firmware package to which the file belongs
99086060-b099-416e-a321-53220f4edf96Name of the file
firmware.binPattern: ^[a-zA-Z0-9.-_]{1,100}$Content-Type of the file
application/octet-streamPattern: ^[\x20-\x7E]{1,100}$The type of the file
firmwareThe id of the device specification to which the file belongs
99086060-b099-416e-a321-53220f4edf96The timestamp this file was created
2024-12-31T23:00:00.000ZThe identifier of the user that created this file
principal/9ebbb3b1-1b6b-46e7-8d58-bb8fe7ae24d4The timestamp this file was last modified
2024-12-31T23:00:00.000ZThe identifier of the user that last modified this file
principal/9ebbb3b1-1b6b-46e7-8d58-bb8fe7ae24d4Request is missing required information or invalid
POST /firmware/packages/{firmwarePackageId}/release-notes-file HTTP/1.1
Host: api.kpnthings.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
No content
Firmware package identifier.
12345678-1234-1234-1234-12345678abcdDeleted the release notes file.
No content
Request is missing required information or invalid
DELETE /firmware/packages/{firmwarePackageId}/release-notes-file HTTP/1.1
Host: api.kpnthings.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
String that encodes all necessary information to retrieve a page.
Limit the number of results (per page).
50Sorting fields separated by comma. Default order is Ascending (ASC), minus(-) should be used in front of field name for Descending (DESC) order.
createdAt,-nameInclude only devices that match the provided owner clientId. If clientId is omitted, all devices are included.
79658ca8-f1ba-4c25-b824-93813e9fba76Include only devices that match the provided projectId. If projectId is omitted, all devices are included.
79658ca8-f1ba-4c25-b824-93813e9fba76Include only devices that match the provided deviceId. If projectId is omitted, all devices are included.
79658ca8-f1ba-4c25-b824-93813e9fba76Filter devices by their device specification.
["37186a83-ef07-4c03-a9b5-0d385565188e"]Filter devices by their device specifications module identifier.
["37186a83-ef07-4c03-a9b5-0d385565188e"]Filter devices by their current firmware version for the given module.
1Filter devices by their target firmware version for the given module.
1Filter devices by the date and time of their firmware update start for the given module.
2024-01-01T00:00:00.000ZFilter devices by their firmware update status for the given module.
IDLEThe requested firmware states.
Page of items
Pagination link pointing to the next page. Only provided when not at the last page.
Pagination link pointing to the previous page. Only provided when not at the first page.
GET /firmware/states HTTP/1.1
Host: api.kpnthings.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
The requested firmware states.
No content
A list of firmware module states.
The target firmware has been set successfully for all specified devices.
No content
Request is missing required information or invalid
POST /firmware/states/target-firmware-requests HTTP/1.1
Host: api.kpnthings.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
No content
Last updated
Was this helpful?
