blob: 7ac8ffab79c864458d5ea586617c8b460dcde86a [file] [log] [blame]
Zhomart Mukhamejanovf4d280c2018-04-17 13:20:22 -07001{
2 "__name": "name will be visible on UI",
Zhomart Mukhamejanovda7e2372018-05-01 12:50:55 -07003 "__url": "https:// or file:// uri to update package (zip, xz, ...)",
4 "__type": "NON_STREAMING (from a local file) OR STREAMING (on the fly)",
Zhomart Mukhamejanovf4d280c2018-04-17 13:20:22 -07005 "name": "SAMPLE-cake-release BUILD-12345",
Zhomart Mukhamejanovda7e2372018-05-01 12:50:55 -07006 "url": "http://foo.bar/builds/ota-001.zip",
7 "ab_install_type": "NON_STREAMING",
8 "ab_streaming_metadata": {
Zhomart Mukhamejanovf4d280c2018-04-17 13:20:22 -07009 "__": "streaming_metadata is required only for streaming update",
10 "__property_files": "name, offset and size of files",
Zhomart Mukhamejanov6aa5fb02018-05-09 14:28:49 -070011 "__authorization": "it will be sent to OTA package server as value of HTTP header - Authorization",
Zhomart Mukhamejanovf4d280c2018-04-17 13:20:22 -070012 "property_files": [
13 {
Zhomart Mukhamejanovda7e2372018-05-01 12:50:55 -070014 "__filename": "name of the file in package",
15 "__offset": "defines beginning of the file in package",
16 "__size": "size of the file in package",
Zhomart Mukhamejanovf4d280c2018-04-17 13:20:22 -070017 "filename": "payload.bin",
18 "offset": 531,
19 "size": 5012323
20 }
Zhomart Mukhamejanov6aa5fb02018-05-09 14:28:49 -070021 ],
22 "authorization": "Basic my-secret-token"
Zhomart Mukhamejanovf4d280c2018-04-17 13:20:22 -070023 }
24}