@@ -43,6 +43,21 @@ then finally visit http://localhost/ to see the REST Server up and running.
- Full builds should be uploaded into `builds/full` directory.
- Delta builds should be uploaded into `builds/delta` directory.
### Folder Structure for Builds
All the builds , props, md5sum and other files of a device and channel needs to be in common folder. You must follow below folder structure. The same folder name must be used in API.
```shell
builds/full/<CHANNEL>/<DEVICE>
```
For Example, All builds and other files of star2lte for stable channel will be in `/builds/full/stable/star2lte`
### Device and Channel fields are now mandatory in API
The fields `device` and `channel` are mandatory and `incremental` is an optional field in an API (which is used to get the builds).
## How to specify allowed migration paths
- You can specify migration rules (whether an upgrade from a version to a version is allowed or not) by creating a migration_paths.json file in your build directory