blob: 03335cc9735e548a84c2377a94114cdb35dcc546 [file] [log] [blame]
Zhomart Mukhamejanovf4d280c2018-04-17 13:20:22 -07001{
2 "__name": "name will be visible on UI",
3 "__url": "https:// or file:// uri to update file (zip, xz, ...)",
4 "__type": "NON_STREAMING (from local file) OR STREAMING (on the fly)",
5 "name": "SAMPLE-cake-release BUILD-12345",
6 "url": "file:///data/builds/android-update.zip",
7 "type": "NON_STREAMING",
8 "streaming_metadata": {
9 "__": "streaming_metadata is required only for streaming update",
10 "__property_files": "name, offset and size of files",
11 "property_files": [
12 {
13 "__filename": "payload.bin and payload_properties.txt are required",
14 "__offset": "defines beginning of update data in archive",
15 "__size": "size of the update data in archive",
16 "filename": "payload.bin",
17 "offset": 531,
18 "size": 5012323
19 }
20 ]
21 }
22}