Zhomart Mukhamejanov | f4d280c | 2018-04-17 13:20:22 -0700 | [diff] [blame] | 1 | { |
| 2 | "__name": "name will be visible on UI", |
Zhomart Mukhamejanov | da7e237 | 2018-05-01 12:50:55 -0700 | [diff] [blame] | 3 | "__url": "https:// or file:// uri to update package (zip, xz, ...)", |
| 4 | "__type": "NON_STREAMING (from a local file) OR STREAMING (on the fly)", |
Zhomart Mukhamejanov | f4d280c | 2018-04-17 13:20:22 -0700 | [diff] [blame] | 5 | "name": "SAMPLE-cake-release BUILD-12345", |
Zhomart Mukhamejanov | da7e237 | 2018-05-01 12:50:55 -0700 | [diff] [blame] | 6 | "url": "http://foo.bar/builds/ota-001.zip", |
| 7 | "ab_install_type": "NON_STREAMING", |
| 8 | "ab_streaming_metadata": { |
Zhomart Mukhamejanov | f4d280c | 2018-04-17 13:20:22 -0700 | [diff] [blame] | 9 | "__": "streaming_metadata is required only for streaming update", |
| 10 | "__property_files": "name, offset and size of files", |
| 11 | "property_files": [ |
| 12 | { |
Zhomart Mukhamejanov | da7e237 | 2018-05-01 12:50:55 -0700 | [diff] [blame] | 13 | "__filename": "name of the file in package", |
| 14 | "__offset": "defines beginning of the file in package", |
| 15 | "__size": "size of the file in package", |
Zhomart Mukhamejanov | f4d280c | 2018-04-17 13:20:22 -0700 | [diff] [blame] | 16 | "filename": "payload.bin", |
| 17 | "offset": 531, |
| 18 | "size": 5012323 |
| 19 | } |
| 20 | ] |
| 21 | } |
| 22 | } |