{ "opencollection": "1.0.0", "info": { "name": "Arduino IoT Cloud binaries_v2 devices_v2_ota API", "version": "2.0" }, "items": [ { "info": { "name": "devices_v2_ota", "type": "folder" }, "items": [ { "info": { "name": "upload devices_v2_ota", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/iot/v2/devices/:id/ota", "headers": [ { "name": "X-Organization", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "The id of the device" } ], "body": { "type": "multipart-form", "data": [ { "name": "async", "type": "text", "value": "" }, { "name": "expire_in_mins", "type": "text", "value": "" }, { "name": "ota_file", "type": "text", "value": "" } ] } }, "docs": "Upload a binary and send it to a device" }, { "info": { "name": "send devices_v2_ota", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/iot/v2/devices/:id/ota", "headers": [ { "name": "X-Organization", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "The id of the device" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Send a binary url to a device" }, { "info": { "name": "url devices_v2_ota", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/iot/v2/devices/:id/ota/url", "headers": [ { "name": "X-Organization", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "The id of the device" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Generate a url for downloading a binary" } ] } ], "bundled": true }