genieacs-fs file server during download operations.
To trigger a firmware upgrade or config file download on a device, upload the file here first, then use the
download task to instruct the device to fetch it.Upload a file
The name to store the file under. This is also the name used when referencing the file in a
download task.| Header | Description |
|---|---|
fileType | File type string. See common values below. |
oui | OUI of the target device model. |
productClass | Product class of the target device. |
version | Firmware version string (for firmware images). |
201 Created on success.
Example — upload a firmware image:
Delete a file
The name of the file to delete.
200 OK on success. 404 Not Found if the file does not exist.
List all files
Find files by query
Common file types
ThefileType header value follows the TR-069 specification for file type codes:
| Value | Description |
|---|---|
1 Firmware Upgrade Image | Device firmware binary. |
2 Web Content | Web UI content. |
3 Vendor Configuration File | Vendor-specific configuration. |
4 Tone File | Tone/audio file. |
5 Ringer File | Ringer/audio file. |
File metadata
Each file stored in GridFS includes ametadata object with the fields provided during upload:
The file name as provided in the URL path.
The TR-069 file type string.
The device OUI this file is intended for.
The product class this file is intended for.
Firmware version string (for firmware images).