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