{ "info": { "_postman_id": "e5fb5a86-9f33-4af1-9cbc-4b6056d23bb7", "name": "ThingsBoard Admin admin-controller ota-package-controller API", "description": "ThingsBoard Admin API \u2014 subset of the ThingsBoard REST API (open-source IoT platform). Covers: Admin, Audit Log, Event, Usage Info, Queue, Queue Stats, Mail Config Template, Qr Code Settings, Job.\n\nContact Support:\n Name: ThingsBoard team\n Email: info@thingsboard.io", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "lastUpdatedBy": "35240", "uid": "35240-e5fb5a86-9f33-4af1-9cbc-4b6056d23bb7" }, "item": [ { "name": "api", "item": [ { "name": "otaPackage", "item": [ { "name": "{otaPackageId}", "item": [ { "name": "download", "item": [ { "name": "Download OTA Package (downloadOtaPackage)", "id": "5544ba5d-2d84-4bf7-aac5-9153f8077ed6", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/otaPackage/:otaPackageId/download", "host": [ "{{baseUrl}}" ], "path": [ "api", "otaPackage", ":otaPackageId", "download" ], "variable": [ { "id": "01e2595d-b634-4012-bf08-5670a6524918", "key": "otaPackageId", "value": "", "description": "(Required) A string value representing the ota package id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Download OTA Package based on the provided OTA Package Id.\n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "709488cb-9d31-4739-b2e4-8f0f86fcddad", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/otaPackage/:otaPackageId/download", "host": [ "{{baseUrl}}" ], "path": [ "api", "otaPackage", ":otaPackageId", "download" ], "variable": [ { "key": "otaPackageId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "", "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-709488cb-9d31-4739-b2e4-8f0f86fcddad" } ], "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-5544ba5d-2d84-4bf7-aac5-9153f8077ed6" } ], "id": "c633136e-b676-4fa5-b838-ba26715326da", "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-c633136e-b676-4fa5-b838-ba26715326da" }, { "name": "Get OTA Package (getOtaPackageById)", "id": "d1ac5d6e-3894-4266-9e61-f1a423b54e3e", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/otaPackage/:otaPackageId", "host": [ "{{baseUrl}}" ], "path": [ "api", "otaPackage", ":otaPackageId" ], "variable": [ { "id": "71906445-2065-4c65-a9e2-bcfc64089a79", "key": "otaPackageId", "value": "", "description": "(Required) A string value representing the ota package id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Fetch the OTA Package object based on the provided OTA Package Id. The server checks that the OTA Package is owned by the same tenant. OTA Package is a heavyweight object that includes main information about the OTA Package and also data. \n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "2fbaf562-5741-45b6-8599-9bce88e1676e", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/otaPackage/:otaPackageId", "host": [ "{{baseUrl}}" ], "path": [ "api", "otaPackage", ":otaPackageId" ], "variable": [ { "key": "otaPackageId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": {\n \"entityType\": \"OTA_PACKAGE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"deviceProfileId\": {\n \"entityType\": \"DEVICE_PROFILE\",\n \"id\": \"\"\n },\n \"type\": \"FIRMWARE\",\n \"title\": \"\",\n \"version\": \"\",\n \"tag\": \"\",\n \"url\": \"\",\n \"hasData\": \"\",\n \"fileName\": \"\",\n \"contentType\": \"\",\n \"checksumAlgorithm\": \"MURMUR3_32\",\n \"checksum\": \"\",\n \"dataSize\": \"\",\n \"data\": {\n \"short\": \"\",\n \"char\": \"\",\n \"int\": \"\",\n \"long\": \"\",\n \"float\": \"\",\n \"double\": \"\",\n \"direct\": \"\",\n \"readOnly\": \"\"\n },\n \"name\": \"\",\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n}", "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-2fbaf562-5741-45b6-8599-9bce88e1676e" } ], "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-d1ac5d6e-3894-4266-9e61-f1a423b54e3e" }, { "name": "Save OTA Package Data (saveOtaPackageData)", "id": "5e149a17-76c7-4f19-b83b-0a7d99ce5978", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "multipart/form-data" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "formdata", "formdata": [ { "description": "(Required) OTA Package data.", "key": "file", "type": "file", "value": null } ] }, "url": { "raw": "{{baseUrl}}/api/otaPackage/:otaPackageId?checksum=&checksumAlgorithm=CRC32", "host": [ "{{baseUrl}}" ], "path": [ "api", "otaPackage", ":otaPackageId" ], "query": [ { "description": "OTA Package checksum. For example, '0xd87f7e0c'", "key": "checksum", "value": "" }, { "description": "(Required) OTA Package checksum algorithm.", "key": "checksumAlgorithm", "value": "CRC32" } ], "variable": [ { "id": "fd5815f1-5796-4609-863f-f7e6c16ff448", "key": "otaPackageId", "value": "", "description": "(Required) A string value representing the ota package id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Update the OTA Package. Adds the date to the existing OTA Package Info\n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "d1d5f1a7-65b3-425f-88a4-c3f64fb6e09b", "name": "OK", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "multipart/form-data" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "formdata", "formdata": [ { "description": "(Required) OTA Package data.", "key": "file", "type": "file" } ] }, "url": { "raw": "{{baseUrl}}/api/otaPackage/:otaPackageId?checksum=&checksumAlgorithm=CRC32", "host": [ "{{baseUrl}}" ], "path": [ "api", "otaPackage", ":otaPackageId" ], "query": [ { "description": "OTA Package checksum. For example, '0xd87f7e0c'", "key": "checksum", "value": "" }, { "description": "(Required) OTA Package checksum algorithm.", "key": "checksumAlgorithm", "value": "CRC32" } ], "variable": [ { "key": "otaPackageId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": {\n \"entityType\": \"OTA_PACKAGE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"deviceProfileId\": {\n \"entityType\": \"DEVICE_PROFILE\",\n \"id\": \"\"\n },\n \"type\": \"FIRMWARE\",\n \"title\": \"\",\n \"version\": \"\",\n \"tag\": \"\",\n \"url\": \"\",\n \"hasData\": \"\",\n \"fileName\": \"\",\n \"contentType\": \"\",\n \"checksumAlgorithm\": \"SHA256\",\n \"checksum\": \"\",\n \"dataSize\": \"\",\n \"name\": \"\",\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n}", "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-d1d5f1a7-65b3-425f-88a4-c3f64fb6e09b" } ], "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-5e149a17-76c7-4f19-b83b-0a7d99ce5978" }, { "name": "Delete OTA Package (deleteOtaPackage)", "id": "0f6e59c5-56d1-4297-8378-fecfa3917d8c", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "DELETE", "header": [], "url": { "raw": "{{baseUrl}}/api/otaPackage/:otaPackageId", "host": [ "{{baseUrl}}" ], "path": [ "api", "otaPackage", ":otaPackageId" ], "variable": [ { "id": "5a5cc2da-72cc-43fa-abe1-dbbc3253e083", "key": "otaPackageId", "value": "", "description": "(Required) A string value representing the ota package id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Deletes the OTA Package. Referencing non-existing OTA Package Id will cause an error. Can't delete the OTA Package if it is referenced by existing devices or device profile.\n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "c4c8117b-7c7b-47b2-bf78-722e49614a35", "name": "OK", "originalRequest": { "method": "DELETE", "header": [], "url": { "raw": "{{baseUrl}}/api/otaPackage/:otaPackageId", "host": [ "{{baseUrl}}" ], "path": [ "api", "otaPackage", ":otaPackageId" ], "variable": [ { "key": "otaPackageId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "text", "header": [], "cookie": [], "responseTime": null, "body": null, "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-c4c8117b-7c7b-47b2-bf78-722e49614a35" } ], "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-0f6e59c5-56d1-4297-8378-fecfa3917d8c" } ], "id": "2b1381f4-d60e-4f9f-896e-a5e41e8ea2f9", "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-2b1381f4-d60e-4f9f-896e-a5e41e8ea2f9" }, { "name": "info", "item": [ { "name": "{otaPackageId}", "item": [ { "name": "Get OTA Package Info (getOtaPackageInfoById)", "id": "e5d4150a-6ea0-409f-9fc1-c2897784790c", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/otaPackage/info/:otaPackageId", "host": [ "{{baseUrl}}" ], "path": [ "api", "otaPackage", "info", ":otaPackageId" ], "variable": [ { "id": "0c78f0ae-350a-43b2-b9b4-1690861061e1", "key": "otaPackageId", "value": "", "description": "(Required) A string value representing the ota package id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Fetch the OTA Package Info object based on the provided OTA Package Id. OTA Package Info is a lightweight object that includes main information about the OTA Package excluding the heavyweight data. \n\nAvailable for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority." }, "response": [ { "id": "7d9c8ca2-6508-43ca-8ed7-21b5d465a8e5", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/otaPackage/info/:otaPackageId", "host": [ "{{baseUrl}}" ], "path": [ "api", "otaPackage", "info", ":otaPackageId" ], "variable": [ { "key": "otaPackageId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": {\n \"entityType\": \"OTA_PACKAGE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"deviceProfileId\": {\n \"entityType\": \"DEVICE_PROFILE\",\n \"id\": \"\"\n },\n \"type\": \"FIRMWARE\",\n \"title\": \"\",\n \"version\": \"\",\n \"tag\": \"\",\n \"url\": \"\",\n \"hasData\": \"\",\n \"fileName\": \"\",\n \"contentType\": \"\",\n \"checksumAlgorithm\": \"SHA256\",\n \"checksum\": \"\",\n \"dataSize\": \"\",\n \"name\": \"\",\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n}", "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-7d9c8ca2-6508-43ca-8ed7-21b5d465a8e5" } ], "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-e5d4150a-6ea0-409f-9fc1-c2897784790c" } ], "id": "f69e6eed-f844-4d8c-a086-5319a643ad62", "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-f69e6eed-f844-4d8c-a086-5319a643ad62" } ], "id": "b7582329-cf24-40e1-a0d9-90beeaa711cd", "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-b7582329-cf24-40e1-a0d9-90beeaa711cd" }, { "name": "Create or Update OTA Package Info (saveOtaPackageInfo)", "id": "92fb597b-04ab-4a71-8891-cf16ec9500b8", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"id\": {\n \"entityType\": \"OTA_PACKAGE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"deviceProfileId\": {\n \"entityType\": \"DEVICE_PROFILE\",\n \"id\": \"\"\n },\n \"type\": \"FIRMWARE\",\n \"title\": \"\",\n \"version\": \"\",\n \"tag\": \"\",\n \"url\": \"\",\n \"hasData\": \"\",\n \"fileName\": \"\",\n \"contentType\": \"\",\n \"checksumAlgorithm\": \"MD5\",\n \"checksum\": \"\",\n \"dataSize\": \"\",\n \"usesUrl\": \"\",\n \"name\": \"\",\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/otaPackage", "host": [ "{{baseUrl}}" ], "path": [ "api", "otaPackage" ] }, "description": "Create or update the OTA Package Info. When creating OTA Package Info, platform generates OTA Package id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created OTA Package id will be present in the response. Specify existing OTA Package id to update the OTA Package Info. Referencing non-existing OTA Package Id will cause 'Not Found' error. \n\nOTA Package combination of the title with the version is unique in the scope of tenant. \n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "201aabe2-d4cd-4367-ba1a-d57c3dbed7c6", "name": "OK", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"id\": {\n \"entityType\": \"OTA_PACKAGE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"deviceProfileId\": {\n \"entityType\": \"DEVICE_PROFILE\",\n \"id\": \"\"\n },\n \"type\": \"FIRMWARE\",\n \"title\": \"\",\n \"version\": \"\",\n \"tag\": \"\",\n \"url\": \"\",\n \"hasData\": \"\",\n \"fileName\": \"\",\n \"contentType\": \"\",\n \"checksumAlgorithm\": \"MD5\",\n \"checksum\": \"\",\n \"dataSize\": \"\",\n \"usesUrl\": \"\",\n \"name\": \"\",\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/otaPackage", "host": [ "{{baseUrl}}" ], "path": [ "api", "otaPackage" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": {\n \"entityType\": \"OTA_PACKAGE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"deviceProfileId\": {\n \"entityType\": \"DEVICE_PROFILE\",\n \"id\": \"\"\n },\n \"type\": \"FIRMWARE\",\n \"title\": \"\",\n \"version\": \"\",\n \"tag\": \"\",\n \"url\": \"\",\n \"hasData\": \"\",\n \"fileName\": \"\",\n \"contentType\": \"\",\n \"checksumAlgorithm\": \"SHA256\",\n \"checksum\": \"\",\n \"dataSize\": \"\",\n \"name\": \"\",\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n}", "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-201aabe2-d4cd-4367-ba1a-d57c3dbed7c6" } ], "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-92fb597b-04ab-4a71-8891-cf16ec9500b8" } ], "id": "01ded3fa-3266-4cac-a3ec-db37da9b61a1", "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-01ded3fa-3266-4cac-a3ec-db37da9b61a1" }, { "name": "otaPackages", "item": [ { "name": "{deviceProfileId}", "item": [ { "name": "{type}", "item": [ { "name": "Get OTA Package Infos (getOtaPackages)", "id": "a4ff4794-0674-4793-afd5-c887379dcbc8", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/otaPackages/:deviceProfileId/:type?pageSize=&page=&textSearch=&sortProperty=title&sortOrder=DESC", "host": [ "{{baseUrl}}" ], "path": [ "api", "otaPackages", ":deviceProfileId", ":type" ], "query": [ { "description": "(Required) Maximum amount of entities in a one page", "key": "pageSize", "value": "" }, { "description": "(Required) Sequence number of page starting from 0", "key": "page", "value": "" }, { "description": "The case insensitive 'substring' filter based on the ota package title.", "key": "textSearch", "value": "" }, { "description": "Property of entity to sort by", "key": "sortProperty", "value": "title" }, { "description": "Sort order. ASC (ASCENDING) or DESC (DESCENDING)", "key": "sortOrder", "value": "DESC" } ], "variable": [ { "id": "64ec04cc-c381-47c4-8196-faed3bdd7e81", "key": "deviceProfileId", "value": "", "description": "(Required) A string value representing the device profile id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" }, { "id": "d007267a-41ba-4db1-ab8f-92d6f517f164", "key": "type", "value": "SOFTWARE", "description": "(Required) OTA Package type." } ] }, "description": "Returns a page of OTA Package Info objects owned by tenant. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See response schema for more details. OTA Package Info is a lightweight object that includes main information about the OTA Package excluding the heavyweight data. \n\nAvailable for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority." }, "response": [ { "id": "edc36939-2fd6-48c2-9c3f-3f8967944e54", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/otaPackages/:deviceProfileId/:type?pageSize=&page=&textSearch=&sortProperty=title&sortOrder=DESC", "host": [ "{{baseUrl}}" ], "path": [ "api", "otaPackages", ":deviceProfileId", ":type" ], "query": [ { "description": "(Required) Maximum amount of entities in a one page", "key": "pageSize", "value": "" }, { "description": "(Required) Sequence number of page starting from 0", "key": "page", "value": "" }, { "description": "The case insensitive 'substring' filter based on the ota package title.", "key": "textSearch", "value": "" }, { "description": "Property of entity to sort by", "key": "sortProperty", "value": "title" }, { "description": "Sort order. ASC (ASCENDING) or DESC (DESCENDING)", "key": "sortOrder", "value": "DESC" } ], "variable": [ { "key": "deviceProfileId" }, { "key": "type" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"data\": [\n {\n \"id\": {\n \"entityType\": \"OTA_PACKAGE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"deviceProfileId\": {\n \"entityType\": \"DEVICE_PROFILE\",\n \"id\": \"\"\n },\n \"type\": \"SOFTWARE\",\n \"title\": \"\",\n \"version\": \"\",\n \"tag\": \"\",\n \"url\": \"\",\n \"hasData\": \"\",\n \"fileName\": \"\",\n \"contentType\": \"\",\n \"checksumAlgorithm\": \"MURMUR3_32\",\n \"checksum\": \"\",\n \"dataSize\": \"\",\n \"name\": \"\",\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n },\n {\n \"id\": {\n \"entityType\": \"OTA_PACKAGE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"deviceProfileId\": {\n \"entityType\": \"DEVICE_PROFILE\",\n \"id\": \"\"\n },\n \"type\": \"FIRMWARE\",\n \"title\": \"\",\n \"version\": \"\",\n \"tag\": \"\",\n \"url\": \"\",\n \"hasData\": \"\",\n \"fileName\": \"\",\n \"contentType\": \"\",\n \"checksumAlgorithm\": \"MURMUR3_128\",\n \"checksum\": \"\",\n \"dataSize\": \"\",\n \"name\": \"\",\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n }\n ],\n \"totalPages\": \"\",\n \"totalElements\": \"\",\n \"hasNext\": \"\"\n}", "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-edc36939-2fd6-48c2-9c3f-3f8967944e54" } ], "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-a4ff4794-0674-4793-afd5-c887379dcbc8" } ], "id": "0a290391-668b-4a67-a515-49259f590411", "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-0a290391-668b-4a67-a515-49259f590411" } ], "id": "02119066-6e3e-408b-9f16-b97acb9794bd", "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-02119066-6e3e-408b-9f16-b97acb9794bd" }, { "name": "Get OTA Package Infos (getOtaPackages)", "id": "7cd8dc40-cc56-4fac-9b44-b5780582a8db", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/otaPackages?pageSize=&page=&textSearch=&sortProperty=title&sortOrder=DESC", "host": [ "{{baseUrl}}" ], "path": [ "api", "otaPackages" ], "query": [ { "description": "(Required) Maximum amount of entities in a one page", "key": "pageSize", "value": "" }, { "description": "(Required) Sequence number of page starting from 0", "key": "page", "value": "" }, { "description": "The case insensitive 'substring' filter based on the ota package title.", "key": "textSearch", "value": "" }, { "description": "Property of entity to sort by", "key": "sortProperty", "value": "title" }, { "description": "Sort order. ASC (ASCENDING) or DESC (DESCENDING)", "key": "sortOrder", "value": "DESC" } ] }, "description": "Returns a page of OTA Package Info objects owned by tenant. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See response schema for more details. OTA Package Info is a lightweight object that includes main information about the OTA Package excluding the heavyweight data. \n\nAvailable for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority." }, "response": [ { "id": "c62de5a9-6259-4b6c-9f7b-2c7d03f136ae", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/otaPackages?pageSize=&page=&textSearch=&sortProperty=title&sortOrder=DESC", "host": [ "{{baseUrl}}" ], "path": [ "api", "otaPackages" ], "query": [ { "description": "(Required) Maximum amount of entities in a one page", "key": "pageSize", "value": "" }, { "description": "(Required) Sequence number of page starting from 0", "key": "page", "value": "" }, { "description": "The case insensitive 'substring' filter based on the ota package title.", "key": "textSearch", "value": "" }, { "description": "Property of entity to sort by", "key": "sortProperty", "value": "title" }, { "description": "Sort order. ASC (ASCENDING) or DESC (DESCENDING)", "key": "sortOrder", "value": "DESC" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"data\": [\n {\n \"id\": {\n \"entityType\": \"OTA_PACKAGE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"deviceProfileId\": {\n \"entityType\": \"DEVICE_PROFILE\",\n \"id\": \"\"\n },\n \"type\": \"SOFTWARE\",\n \"title\": \"\",\n \"version\": \"\",\n \"tag\": \"\",\n \"url\": \"\",\n \"hasData\": \"\",\n \"fileName\": \"\",\n \"contentType\": \"\",\n \"checksumAlgorithm\": \"MURMUR3_32\",\n \"checksum\": \"\",\n \"dataSize\": \"\",\n \"name\": \"\",\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n },\n {\n \"id\": {\n \"entityType\": \"OTA_PACKAGE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"deviceProfileId\": {\n \"entityType\": \"DEVICE_PROFILE\",\n \"id\": \"\"\n },\n \"type\": \"FIRMWARE\",\n \"title\": \"\",\n \"version\": \"\",\n \"tag\": \"\",\n \"url\": \"\",\n \"hasData\": \"\",\n \"fileName\": \"\",\n \"contentType\": \"\",\n \"checksumAlgorithm\": \"MURMUR3_128\",\n \"checksum\": \"\",\n \"dataSize\": \"\",\n \"name\": \"\",\n \"additionalInfo\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n }\n }\n ],\n \"totalPages\": \"\",\n \"totalElements\": \"\",\n \"hasNext\": \"\"\n}", "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-c62de5a9-6259-4b6c-9f7b-2c7d03f136ae" } ], "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-7cd8dc40-cc56-4fac-9b44-b5780582a8db" } ], "id": "9846d1ab-b8df-4798-a360-6f074d0a988e", "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-9846d1ab-b8df-4798-a360-6f074d0a988e" } ], "id": "9f31d67a-7807-4ef5-bfb5-7ad3ccd080ec", "createdAt": "2026-07-28T03:13:00.000Z", "updatedAt": "2026-07-28T03:13:00.000Z", "uid": "35240-9f31d67a-7807-4ef5-bfb5-7ad3ccd080ec" } ], "variable": [ { "key": "baseUrl", "value": "https://demo.thingsboard.io" } ] }