{ "info": { "_postman_id": "7e4a0c87-8c04-4e94-8b8f-8f4fabe3933c", "name": "ThingsBoard Admin admin-controller tb-resource-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:12.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "lastUpdatedBy": "35240", "uid": "35240-7e4a0c87-8c04-4e94-8b8f-8f4fabe3933c" }, "item": [ { "name": "api", "item": [ { "name": "resource", "item": [ { "name": "{id}", "item": [ { "name": "info", "item": [ { "name": "update Resource Info", "id": "dd24d098-2350-4e5d-9f0f-2b648f7bb6c9", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"id\": {\n \"entityType\": \"TB_RESOURCE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"title\": \"\",\n \"resourceType\": \"IMAGE\",\n \"resourceSubType\": \"MODULE\",\n \"resourceKey\": \"\",\n \"publicResourceKey\": \"\",\n \"etag\": \"\",\n \"fileName\": \"\",\n \"descriptor\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"name\": \"\",\n \"public\": \"\",\n \"link\": \"\",\n \"publicLink\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/resource/:id/info", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", ":id", "info" ], "variable": [ { "id": "43bdbec0-fad5-45b9-8c34-d422da31c53f", "key": "id", "value": "", "description": "(Required) Unique identifier of the Resource to update" } ] } }, "response": [ { "id": "bf92b68d-83ab-4f02-afa6-4228a1722336", "name": "OK", "originalRequest": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"id\": {\n \"entityType\": \"TB_RESOURCE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"title\": \"\",\n \"resourceType\": \"IMAGE\",\n \"resourceSubType\": \"MODULE\",\n \"resourceKey\": \"\",\n \"publicResourceKey\": \"\",\n \"etag\": \"\",\n \"fileName\": \"\",\n \"descriptor\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"name\": \"\",\n \"public\": \"\",\n \"link\": \"\",\n \"publicLink\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/resource/:id/info", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", ":id", "info" ], "variable": [ { "key": "id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": {\n \"entityType\": \"TB_RESOURCE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"title\": \"\",\n \"resourceType\": \"IMAGE\",\n \"resourceSubType\": \"MODULE\",\n \"resourceKey\": \"\",\n \"publicResourceKey\": \"\",\n \"etag\": \"\",\n \"fileName\": \"\",\n \"descriptor\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"name\": \"\",\n \"public\": \"\",\n \"link\": \"\",\n \"publicLink\": \"\"\n}", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-bf92b68d-83ab-4f02-afa6-4228a1722336" } ], "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-dd24d098-2350-4e5d-9f0f-2b648f7bb6c9" } ], "id": "323955ee-f03b-454a-beb3-5f01ede07bd5", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-323955ee-f03b-454a-beb3-5f01ede07bd5" }, { "name": "data", "item": [ { "name": "update Resource Data", "id": "39b784f0-e106-4d21-8c98-65e157daa3bf", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "multipart/form-data" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "formdata", "formdata": [ { "description": "(Required) Resource file.", "key": "file", "type": "file", "value": null } ] }, "url": { "raw": "{{baseUrl}}/api/resource/:id/data", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", ":id", "data" ], "variable": [ { "id": "5b2f294f-9990-4b8a-a34c-294152e1b65a", "key": "id", "value": "", "description": "(Required) Unique identifier of the Resource to update" } ] } }, "response": [ { "id": "d591f902-d404-409e-9fd8-19eef0546b33", "name": "OK", "originalRequest": { "method": "PUT", "header": [ { "key": "Content-Type", "value": "multipart/form-data" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "formdata", "formdata": [ { "description": "(Required) Resource file.", "key": "file", "type": "file" } ] }, "url": { "raw": "{{baseUrl}}/api/resource/:id/data", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", ":id", "data" ], "variable": [ { "key": "id" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": {\n \"entityType\": \"TB_RESOURCE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"title\": \"\",\n \"resourceType\": \"IMAGE\",\n \"resourceSubType\": \"MODULE\",\n \"resourceKey\": \"\",\n \"publicResourceKey\": \"\",\n \"etag\": \"\",\n \"fileName\": \"\",\n \"descriptor\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"name\": \"\",\n \"public\": \"\",\n \"link\": \"\",\n \"publicLink\": \"\"\n}", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-d591f902-d404-409e-9fd8-19eef0546b33" } ], "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-39b784f0-e106-4d21-8c98-65e157daa3bf" } ], "id": "3902c29a-5a21-4f56-a2ab-663594e48a75", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-3902c29a-5a21-4f56-a2ab-663594e48a75" } ], "id": "45aed921-bd4e-4b64-896e-08034f5dacc1", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-45aed921-bd4e-4b64-896e-08034f5dacc1" }, { "name": "upload", "item": [ { "name": "Upload Resource Via Multipart File (uploadResource)", "id": "d4fd199c-fa6f-409f-9baf-6d22a346a0bf", "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) Resource file.", "key": "file", "type": "file", "value": null }, { "description": "(Required) Resource type.", "key": "resourceType", "value": "", "type": "text" }, { "description": "Resource title.", "key": "title", "value": "", "type": "text" }, { "description": "Resource descriptor (JSON).", "key": "descriptor", "value": "", "type": "text" }, { "description": "Resource sub type.", "key": "resourceSubType", "value": "", "type": "text" } ] }, "url": { "raw": "{{baseUrl}}/api/resource/upload", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", "upload" ] }, "description": "Create the Resource using multipart file upload. \n\nResource combination of the title with the key is unique in the scope of tenant. \n\nAvailable for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority." }, "response": [ { "id": "ed2a92b8-5a85-4f44-b913-4f822f68d74b", "name": "OK", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "multipart/form-data" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "formdata", "formdata": [ { "description": "(Required) Resource file.", "key": "file", "type": "file" }, { "description": "(Required) Resource type.", "key": "resourceType", "value": "", "type": "text" }, { "description": "Resource title.", "key": "title", "value": "", "type": "text" }, { "description": "Resource descriptor (JSON).", "key": "descriptor", "value": "", "type": "text" }, { "description": "Resource sub type.", "key": "resourceSubType", "value": "", "type": "text" } ] }, "url": { "raw": "{{baseUrl}}/api/resource/upload", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", "upload" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": {\n \"entityType\": \"TB_RESOURCE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"title\": \"\",\n \"resourceType\": \"IMAGE\",\n \"resourceSubType\": \"MODULE\",\n \"resourceKey\": \"\",\n \"publicResourceKey\": \"\",\n \"etag\": \"\",\n \"fileName\": \"\",\n \"descriptor\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"name\": \"\",\n \"public\": \"\",\n \"link\": \"\",\n \"publicLink\": \"\"\n}", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-ed2a92b8-5a85-4f44-b913-4f822f68d74b" } ], "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-d4fd199c-fa6f-409f-9baf-6d22a346a0bf" } ], "id": "9650ad60-0fe6-4de6-baee-ac39928cf9fd", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-9650ad60-0fe6-4de6-baee-ac39928cf9fd" }, { "name": "{resourceType}", "item": [ { "name": "{scope}", "item": [ { "name": "{key}", "item": [ { "name": "info", "item": [ { "name": "Get Resource Info (getResourceInfo)", "id": "066a4610-009d-4b67-af74-77d7ee7ac6df", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/resource/:resourceType/:scope/:key/info", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", ":resourceType", ":scope", ":key", "info" ], "variable": [ { "id": "4c42caf1-817c-4b3d-a572-bbc637273b76", "key": "resourceType", "value": "lwm2m_model", "description": "(Required) Type of the resource" }, { "id": "ad2955d4-6522-4b6b-a355-fbee9985b413", "key": "scope", "value": "system", "description": "(Required) Scope of the resource" }, { "id": "da83869e-70e1-40ea-b697-e714c031fda6", "key": "key", "value": "", "description": "(Required) Key of the resource, e.g. 'extension.js'" } ] }, "description": "Get info for the resource with the given type, scope and key. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. \n\nAvailable for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority." }, "response": [ { "id": "60ba99a8-9fa1-4b74-ae98-87a63120741b", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/resource/:resourceType/:scope/:key/info", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", ":resourceType", ":scope", ":key", "info" ], "variable": [ { "key": "resourceType" }, { "key": "scope" }, { "key": "key" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": {\n \"entityType\": \"TB_RESOURCE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"title\": \"\",\n \"resourceType\": \"IMAGE\",\n \"resourceSubType\": \"MODULE\",\n \"resourceKey\": \"\",\n \"publicResourceKey\": \"\",\n \"etag\": \"\",\n \"fileName\": \"\",\n \"descriptor\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"name\": \"\",\n \"public\": \"\",\n \"link\": \"\",\n \"publicLink\": \"\"\n}", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-60ba99a8-9fa1-4b74-ae98-87a63120741b" } ], "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-066a4610-009d-4b67-af74-77d7ee7ac6df" } ], "id": "5ab5b9e3-98d0-48bc-89e0-b9d87e6b4182", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-5ab5b9e3-98d0-48bc-89e0-b9d87e6b4182" }, { "name": "Download Resource (downloadResource)", "id": "51e60149-93f1-451f-bbe6-12dc5d86327b", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "If-None-Match", "value": "" }, { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/resource/:resourceType/:scope/:key", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", ":resourceType", ":scope", ":key" ], "variable": [ { "id": "bae95071-bca6-4541-b3cb-3f32aa7ce79d", "key": "resourceType", "value": "lwm2m_model", "description": "(Required) Type of the resource" }, { "id": "e422d3b5-7d10-44bf-a982-9750873720fb", "key": "scope", "value": "system", "description": "(Required) Scope of the resource" }, { "id": "6c5707af-555a-426a-b60d-70e6311ad014", "key": "key", "value": "", "description": "(Required) Key of the resource, e.g. 'extension.js'" } ] }, "description": "Download resource with a given type and key for the given scope\n\nAvailable for any authorized user. " }, "response": [ { "id": "7fd8e706-a799-4c9a-8319-97d00b02055f", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "If-None-Match", "value": "" }, { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/resource/:resourceType/:scope/:key", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", ":resourceType", ":scope", ":key" ], "variable": [ { "key": "resourceType" }, { "key": "scope" }, { "key": "key" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-7fd8e706-a799-4c9a-8319-97d00b02055f" } ], "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-51e60149-93f1-451f-bbe6-12dc5d86327b" } ], "id": "ee2200df-11b9-46ad-bfb6-3eaacd14977c", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-ee2200df-11b9-46ad-bfb6-3eaacd14977c" } ], "id": "14c6e486-6a16-4a0d-b78b-4eb47bb45f65", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-14c6e486-6a16-4a0d-b78b-4eb47bb45f65" } ], "id": "5ba673de-dcaa-411c-9429-9267fa9278a4", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-5ba673de-dcaa-411c-9429-9267fa9278a4" }, { "name": "{resourceId}", "item": [ { "name": "download", "item": [ { "name": "Download Resource (downloadResource)", "id": "ba077c0b-b4ba-4e27-8c65-e0dc4574f14c", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/resource/:resourceId/download", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", ":resourceId", "download" ], "variable": [ { "id": "df624a07-b883-45c2-bb24-f26e1f58aed9", "key": "resourceId", "value": "", "description": "(Required) A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Download Resource based on the provided Resource Id.\n\nAvailable for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority." }, "response": [ { "id": "ffe87bda-73cb-4b18-8a00-c0485347cf33", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/resource/:resourceId/download", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", ":resourceId", "download" ], "variable": [ { "key": "resourceId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-ffe87bda-73cb-4b18-8a00-c0485347cf33" } ], "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-ba077c0b-b4ba-4e27-8c65-e0dc4574f14c" } ], "id": "5f6a3c4c-3d3c-4732-962d-92f585381a40", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-5f6a3c4c-3d3c-4732-962d-92f585381a40" }, { "name": "Get Resource (getResourceById)", "id": "51c08310-fb03-4af0-8370-9ea78f2ab2d9", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/resource/:resourceId", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", ":resourceId" ], "variable": [ { "id": "7f72daeb-fcbf-4e8b-b863-eab5f5d24641", "key": "resourceId", "value": "", "description": "(Required) A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Fetch the Resource object based on the provided Resource Id. Resource is a heavyweight object that includes main information about the Resource and also data. \n\nAvailable for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority." }, "response": [ { "id": "4f2e6843-1465-4993-9c4e-914df6baa20f", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/resource/:resourceId", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", ":resourceId" ], "variable": [ { "key": "resourceId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": {\n \"entityType\": \"TB_RESOURCE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"title\": \"\",\n \"resourceType\": \"JS_MODULE\",\n \"resourceSubType\": \"EXTENSION\",\n \"resourceKey\": \"\",\n \"publicResourceKey\": \"\",\n \"etag\": \"\",\n \"fileName\": \"\",\n \"descriptor\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"data\": \"\",\n \"preview\": \"\",\n \"name\": \"\",\n \"public\": \"\",\n \"link\": \"\",\n \"publicLink\": \"\"\n}", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-4f2e6843-1465-4993-9c4e-914df6baa20f" } ], "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-51c08310-fb03-4af0-8370-9ea78f2ab2d9" }, { "name": "Delete Resource (deleteResource)", "id": "b297d24f-b538-483f-a211-1eb377ef5f48", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "DELETE", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/resource/:resourceId?force=", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", ":resourceId" ], "query": [ { "key": "force", "value": "" } ], "variable": [ { "id": "73455d4b-fede-4b95-892e-62961543dc2b", "key": "resourceId", "value": "", "description": "(Required) A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Deletes the Resource. Referencing non-existing Resource Id will cause an error.\n\nAvailable for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority." }, "response": [ { "id": "d7372430-a731-49fd-a77a-be77723d8321", "name": "OK", "originalRequest": { "method": "DELETE", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/resource/:resourceId?force=", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", ":resourceId" ], "query": [ { "key": "force", "value": "" } ], "variable": [ { "key": "resourceId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"success\": \"\",\n \"references\": {\n \"minim2\": [\n {\n \"id\": {\n \"entityType\": \"OAUTH2_CLIENT\",\n \"id\": \"\"\n },\n \"name\": \"\"\n },\n {\n \"id\": {\n \"entityType\": \"DOMAIN\",\n \"id\": \"\"\n },\n \"name\": \"\"\n }\n ]\n }\n}", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-d7372430-a731-49fd-a77a-be77723d8321" } ], "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-b297d24f-b538-483f-a211-1eb377ef5f48" } ], "id": "07cd8b27-071b-4aa8-b332-913dd1f24f06", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-07cd8b27-071b-4aa8-b332-913dd1f24f06" }, { "name": "tenant", "item": [ { "name": "Get All Resource Infos (getAllResources)", "id": "cac4ab7d-df73-46e5-b58b-74b79a1864fe", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/resource/tenant?pageSize=&page=&textSearch=&sortProperty=resourceType&sortOrder=DESC", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", "tenant" ], "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 resource title.", "key": "textSearch", "value": "" }, { "description": "Property of entity to sort by", "key": "sortProperty", "value": "resourceType" }, { "description": "Sort order. ASC (ASCENDING) or DESC (DESCENDING)", "key": "sortOrder", "value": "DESC" } ] }, "description": "Returns a page of Resource 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. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. \n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "950a7bfd-cc28-45b3-ba13-d0616dbcca34", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/resource/tenant?pageSize=&page=&textSearch=&sortProperty=resourceType&sortOrder=DESC", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", "tenant" ], "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 resource title.", "key": "textSearch", "value": "" }, { "description": "Property of entity to sort by", "key": "sortProperty", "value": "resourceType" }, { "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\": \"TB_RESOURCE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"title\": \"\",\n \"resourceType\": \"LWM2M_MODEL\",\n \"resourceSubType\": \"IMAGE\",\n \"resourceKey\": \"\",\n \"publicResourceKey\": \"\",\n \"etag\": \"\",\n \"fileName\": \"\",\n \"descriptor\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"name\": \"\",\n \"public\": \"\",\n \"link\": \"\",\n \"publicLink\": \"\"\n },\n {\n \"id\": {\n \"entityType\": \"TB_RESOURCE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"title\": \"\",\n \"resourceType\": \"JKS\",\n \"resourceSubType\": \"IMAGE\",\n \"resourceKey\": \"\",\n \"publicResourceKey\": \"\",\n \"etag\": \"\",\n \"fileName\": \"\",\n \"descriptor\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"name\": \"\",\n \"public\": \"\",\n \"link\": \"\",\n \"publicLink\": \"\"\n }\n ],\n \"totalPages\": \"\",\n \"totalElements\": \"\",\n \"hasNext\": \"\"\n}", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-950a7bfd-cc28-45b3-ba13-d0616dbcca34" } ], "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-cac4ab7d-df73-46e5-b58b-74b79a1864fe" } ], "id": "62bf6dcc-0457-42c7-83a1-eed61bbd9f23", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-62bf6dcc-0457-42c7-83a1-eed61bbd9f23" }, { "name": "pkcs12", "item": [ { "name": "{resourceId}", "item": [ { "name": "download", "item": [ { "name": "Download PKCS_12 Resource (downloadPkcs12ResourceIfChanged)", "id": "d69d2bf5-7b12-45bc-aefa-c6e72850df68", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "If-None-Match", "value": "" }, { "key": "Accept", "value": "application/x-pkcs12" } ], "url": { "raw": "{{baseUrl}}/api/resource/pkcs12/:resourceId/download", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", "pkcs12", ":resourceId", "download" ], "variable": [ { "id": "e0555603-0d26-4737-bff1-04957986329e", "key": "resourceId", "value": "", "description": "(Required) A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Download Resource based on the provided Resource Id or return 304 status code if resource was not changed.\n\nAvailable for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority." }, "response": [ { "id": "3d76c49c-eea7-46ce-87ed-7c8aa09e5f94", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "If-None-Match", "value": "" }, { "key": "Accept", "value": "application/x-pkcs12" } ], "url": { "raw": "{{baseUrl}}/api/resource/pkcs12/:resourceId/download", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", "pkcs12", ":resourceId", "download" ], "variable": [ { "key": "resourceId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "text", "header": [ { "key": "Content-Type", "value": "application/x-pkcs12" } ], "cookie": [], "responseTime": null, "body": "", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-3d76c49c-eea7-46ce-87ed-7c8aa09e5f94" } ], "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-d69d2bf5-7b12-45bc-aefa-c6e72850df68" } ], "id": "b0d6120a-ae89-41f0-b3ec-a69818a19fc3", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-b0d6120a-ae89-41f0-b3ec-a69818a19fc3" } ], "id": "b5acc65d-8964-489d-8b00-22b6d9e3fba9", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-b5acc65d-8964-489d-8b00-22b6d9e3fba9" } ], "id": "d2e1af6e-b8fc-4e31-9b73-4022a8a58f12", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-d2e1af6e-b8fc-4e31-9b73-4022a8a58f12" }, { "name": "lwm2m", "item": [ { "name": "{resourceId}", "item": [ { "name": "download", "item": [ { "name": "Download LWM2M Resource (downloadLwm2mResourceIfChanged)", "id": "2b345c6d-16eb-4669-8966-467de2b57fa5", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "If-None-Match", "value": "" }, { "key": "Accept", "value": "application/xml" } ], "url": { "raw": "{{baseUrl}}/api/resource/lwm2m/:resourceId/download", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", "lwm2m", ":resourceId", "download" ], "variable": [ { "id": "1032614a-c50a-439d-845b-c7508deb9260", "key": "resourceId", "value": "", "description": "(Required) A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Download Resource based on the provided Resource Id or return 304 status code if resource was not changed.\n\nAvailable for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority." }, "response": [ { "id": "5e3bac69-430d-4334-a630-e0cb6d134747", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "If-None-Match", "value": "" }, { "key": "Accept", "value": "application/xml" } ], "url": { "raw": "{{baseUrl}}/api/resource/lwm2m/:resourceId/download", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", "lwm2m", ":resourceId", "download" ], "variable": [ { "key": "resourceId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "xml", "header": [ { "key": "Content-Type", "value": "application/xml" } ], "cookie": [], "responseTime": null, "body": "\n(string)", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-5e3bac69-430d-4334-a630-e0cb6d134747" } ], "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-2b345c6d-16eb-4669-8966-467de2b57fa5" } ], "id": "10a242cd-3481-4396-8566-d28101d317d5", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-10a242cd-3481-4396-8566-d28101d317d5" } ], "id": "e429647f-6c24-42df-b0c3-f47ea144341b", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-e429647f-6c24-42df-b0c3-f47ea144341b" }, { "name": "page", "item": [ { "name": "Get LwM2M Objects (getLwm2mListObjectsPage)", "id": "81306fe9-7577-473f-9a6c-b68af3445b53", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/resource/lwm2m/page?pageSize=&page=&textSearch=&sortProperty=name&sortOrder=DESC", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", "lwm2m", "page" ], "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 resource title.", "key": "textSearch", "value": "" }, { "description": "Property of entity to sort by", "key": "sortProperty", "value": "name" }, { "description": "Sort order. ASC (ASCENDING) or DESC (DESCENDING)", "key": "sortOrder", "value": "DESC" } ] }, "description": "Returns a page of LwM2M objects parsed from Resources with type 'LWM2M_MODEL' owned by tenant or sysadmin. 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. LwM2M Object is a object that includes information about the LwM2M model which can be used in transport configuration for the LwM2M device profile. \n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "9a782c00-edaa-432c-8987-0b9aae8bac92", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/resource/lwm2m/page?pageSize=&page=&textSearch=&sortProperty=name&sortOrder=DESC", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", "lwm2m", "page" ], "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 resource title.", "key": "textSearch", "value": "" }, { "description": "Property of entity to sort by", "key": "sortProperty", "value": "name" }, { "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 {\n \"id\": \"\",\n \"keyId\": \"\",\n \"name\": \"\",\n \"multiple\": \"\",\n \"mandatory\": \"\",\n \"instances\": [\n {\n \"id\": \"\",\n \"resources\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"observe\": \"\",\n \"attribute\": \"\",\n \"telemetry\": \"\",\n \"keyName\": \"\"\n },\n {\n \"id\": \"\",\n \"name\": \"\",\n \"observe\": \"\",\n \"attribute\": \"\",\n \"telemetry\": \"\",\n \"keyName\": \"\"\n }\n ]\n },\n {\n \"id\": \"\",\n \"resources\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"observe\": \"\",\n \"attribute\": \"\",\n \"telemetry\": \"\",\n \"keyName\": \"\"\n },\n {\n \"id\": \"\",\n \"name\": \"\",\n \"observe\": \"\",\n \"attribute\": \"\",\n \"telemetry\": \"\",\n \"keyName\": \"\"\n }\n ]\n }\n ]\n },\n {\n \"id\": \"\",\n \"keyId\": \"\",\n \"name\": \"\",\n \"multiple\": \"\",\n \"mandatory\": \"\",\n \"instances\": [\n {\n \"id\": \"\",\n \"resources\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"observe\": \"\",\n \"attribute\": \"\",\n \"telemetry\": \"\",\n \"keyName\": \"\"\n },\n {\n \"id\": \"\",\n \"name\": \"\",\n \"observe\": \"\",\n \"attribute\": \"\",\n \"telemetry\": \"\",\n \"keyName\": \"\"\n }\n ]\n },\n {\n \"id\": \"\",\n \"resources\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"observe\": \"\",\n \"attribute\": \"\",\n \"telemetry\": \"\",\n \"keyName\": \"\"\n },\n {\n \"id\": \"\",\n \"name\": \"\",\n \"observe\": \"\",\n \"attribute\": \"\",\n \"telemetry\": \"\",\n \"keyName\": \"\"\n }\n ]\n }\n ]\n }\n]", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-9a782c00-edaa-432c-8987-0b9aae8bac92" } ], "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-81306fe9-7577-473f-9a6c-b68af3445b53" } ], "id": "b979ce04-3a9f-4a0f-a571-27a8ad9e5c13", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-b979ce04-3a9f-4a0f-a571-27a8ad9e5c13" }, { "name": "Get LwM2M Objects (getLwm2mListObjects)", "id": "d5f78362-974b-4c04-9159-ce114e865719", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/resource/lwm2m?sortOrder=DESC&sortProperty=name&objectIds=&objectIds=", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", "lwm2m" ], "query": [ { "description": "(Required) Sort order. ASC (ASCENDING) or DESC (DESCENDING)", "key": "sortOrder", "value": "DESC" }, { "description": "(Required) Property of entity to sort by", "key": "sortProperty", "value": "name" }, { "description": "(Required) LwM2M Object ids.", "key": "objectIds", "value": "" }, { "description": "(Required) LwM2M Object ids.", "key": "objectIds", "value": "" } ] }, "description": "Returns a page of LwM2M objects parsed from Resources with type 'LWM2M_MODEL' owned by tenant or sysadmin. You can specify parameters to filter the results. LwM2M Object is a object that includes information about the LwM2M model which can be used in transport configuration for the LwM2M device profile. \n\nAvailable for users with 'TENANT_ADMIN' authority." }, "response": [ { "id": "8e8d6a08-3e52-4ad0-8059-bebc2571556a", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/resource/lwm2m?sortOrder=DESC&sortProperty=name&objectIds=", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", "lwm2m" ], "query": [ { "description": "(Required) Sort order. ASC (ASCENDING) or DESC (DESCENDING)", "key": "sortOrder", "value": "DESC" }, { "description": "(Required) Property of entity to sort by", "key": "sortProperty", "value": "name" }, { "description": "(Required) LwM2M Object ids.", "key": "objectIds", "value": "" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "[\n {\n \"id\": \"\",\n \"keyId\": \"\",\n \"name\": \"\",\n \"multiple\": \"\",\n \"mandatory\": \"\",\n \"instances\": [\n {\n \"id\": \"\",\n \"resources\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"observe\": \"\",\n \"attribute\": \"\",\n \"telemetry\": \"\",\n \"keyName\": \"\"\n },\n {\n \"id\": \"\",\n \"name\": \"\",\n \"observe\": \"\",\n \"attribute\": \"\",\n \"telemetry\": \"\",\n \"keyName\": \"\"\n }\n ]\n },\n {\n \"id\": \"\",\n \"resources\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"observe\": \"\",\n \"attribute\": \"\",\n \"telemetry\": \"\",\n \"keyName\": \"\"\n },\n {\n \"id\": \"\",\n \"name\": \"\",\n \"observe\": \"\",\n \"attribute\": \"\",\n \"telemetry\": \"\",\n \"keyName\": \"\"\n }\n ]\n }\n ]\n },\n {\n \"id\": \"\",\n \"keyId\": \"\",\n \"name\": \"\",\n \"multiple\": \"\",\n \"mandatory\": \"\",\n \"instances\": [\n {\n \"id\": \"\",\n \"resources\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"observe\": \"\",\n \"attribute\": \"\",\n \"telemetry\": \"\",\n \"keyName\": \"\"\n },\n {\n \"id\": \"\",\n \"name\": \"\",\n \"observe\": \"\",\n \"attribute\": \"\",\n \"telemetry\": \"\",\n \"keyName\": \"\"\n }\n ]\n },\n {\n \"id\": \"\",\n \"resources\": [\n {\n \"id\": \"\",\n \"name\": \"\",\n \"observe\": \"\",\n \"attribute\": \"\",\n \"telemetry\": \"\",\n \"keyName\": \"\"\n },\n {\n \"id\": \"\",\n \"name\": \"\",\n \"observe\": \"\",\n \"attribute\": \"\",\n \"telemetry\": \"\",\n \"keyName\": \"\"\n }\n ]\n }\n ]\n }\n]", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-8e8d6a08-3e52-4ad0-8059-bebc2571556a" } ], "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-d5f78362-974b-4c04-9159-ce114e865719" } ], "id": "5516d408-7b1d-4da0-8ff2-860a109c394c", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-5516d408-7b1d-4da0-8ff2-860a109c394c" }, { "name": "js", "item": [ { "name": "{resourceId}", "item": [ { "name": "download", "item": [ { "name": "Download JS Resource (downloadJsResourceIfChanged)", "id": "bfddd7df-980f-465a-ad11-318b8d206075", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "If-None-Match", "value": "" }, { "key": "Accept", "value": "application/javascript" } ], "url": { "raw": "{{baseUrl}}/api/resource/js/:resourceId/download", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", "js", ":resourceId", "download" ], "variable": [ { "id": "0bf2edb8-3b1e-4409-af74-03ffa8a397b0", "key": "resourceId", "value": "", "description": "(Required) A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Download Resource based on the provided Resource Id or return 304 status code if resource was not changed.\n\nAvailable for any authorized user. " }, "response": [ { "id": "2b9aa566-cc6d-4515-8a95-8a764915cf53", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "If-None-Match", "value": "" }, { "key": "Accept", "value": "application/javascript" } ], "url": { "raw": "{{baseUrl}}/api/resource/js/:resourceId/download", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", "js", ":resourceId", "download" ], "variable": [ { "key": "resourceId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "text", "header": [ { "key": "Content-Type", "value": "application/javascript" } ], "cookie": [], "responseTime": null, "body": "", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-2b9aa566-cc6d-4515-8a95-8a764915cf53" } ], "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-bfddd7df-980f-465a-ad11-318b8d206075" } ], "id": "3b96c7b6-4cca-4be7-a6fa-f1d67df1898c", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-3b96c7b6-4cca-4be7-a6fa-f1d67df1898c" } ], "id": "3c054263-45cc-4e01-9f2f-a69af3813a31", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-3c054263-45cc-4e01-9f2f-a69af3813a31" } ], "id": "35dc1ee9-33b3-4e0c-9ee5-7122039c4f21", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-35dc1ee9-33b3-4e0c-9ee5-7122039c4f21" }, { "name": "jks", "item": [ { "name": "{resourceId}", "item": [ { "name": "download", "item": [ { "name": "Download JKS Resource (downloadJksResourceIfChanged)", "id": "903118a6-2f85-4b92-8ad7-d97a912d268c", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "If-None-Match", "value": "" }, { "key": "Accept", "value": "application/x-java-keystore" } ], "url": { "raw": "{{baseUrl}}/api/resource/jks/:resourceId/download", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", "jks", ":resourceId", "download" ], "variable": [ { "id": "83bb4c52-ed35-4ede-83ef-be340df45ff6", "key": "resourceId", "value": "", "description": "(Required) A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Download Resource based on the provided Resource Id or return 304 status code if resource was not changed.\n\nAvailable for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority." }, "response": [ { "id": "6c49a7d8-e2e3-49d0-87cf-113053d56bad", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "If-None-Match", "value": "" }, { "key": "Accept", "value": "application/x-java-keystore" } ], "url": { "raw": "{{baseUrl}}/api/resource/jks/:resourceId/download", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", "jks", ":resourceId", "download" ], "variable": [ { "key": "resourceId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "text", "header": [ { "key": "Content-Type", "value": "application/x-java-keystore" } ], "cookie": [], "responseTime": null, "body": "", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-6c49a7d8-e2e3-49d0-87cf-113053d56bad" } ], "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-903118a6-2f85-4b92-8ad7-d97a912d268c" } ], "id": "10f5f51b-292d-4289-bf6f-035f0b1189df", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-10f5f51b-292d-4289-bf6f-035f0b1189df" } ], "id": "9737b468-49ff-40c4-b5b3-f3da1df14641", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-9737b468-49ff-40c4-b5b3-f3da1df14641" } ], "id": "9f4fe183-a104-4ec8-b350-e73600ba1f2c", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-9f4fe183-a104-4ec8-b350-e73600ba1f2c" }, { "name": "info", "item": [ { "name": "{resourceId}", "item": [ { "name": "Get Resource Info (getResourceInfoById)", "id": "66bd6972-38bd-4eb0-ab8a-1409c23c2aa6", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/resource/info/:resourceId", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", "info", ":resourceId" ], "variable": [ { "id": "7918308a-471e-4345-9bea-adcda19409a2", "key": "resourceId", "value": "", "description": "(Required) A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'" } ] }, "description": "Fetch the Resource Info object based on the provided Resource Id. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. \n\nAvailable for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority." }, "response": [ { "id": "14591dea-a716-42d4-aeca-58672ff1cf63", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/resource/info/:resourceId", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource", "info", ":resourceId" ], "variable": [ { "key": "resourceId" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": {\n \"entityType\": \"TB_RESOURCE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"title\": \"\",\n \"resourceType\": \"IMAGE\",\n \"resourceSubType\": \"MODULE\",\n \"resourceKey\": \"\",\n \"publicResourceKey\": \"\",\n \"etag\": \"\",\n \"fileName\": \"\",\n \"descriptor\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"name\": \"\",\n \"public\": \"\",\n \"link\": \"\",\n \"publicLink\": \"\"\n}", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-14591dea-a716-42d4-aeca-58672ff1cf63" } ], "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-66bd6972-38bd-4eb0-ab8a-1409c23c2aa6" } ], "id": "45409a5b-0313-41c1-a95f-118358b217da", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-45409a5b-0313-41c1-a95f-118358b217da" } ], "id": "6cc93c8a-390c-45f0-bc90-702c1b8fe715", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-6cc93c8a-390c-45f0-bc90-702c1b8fe715" }, { "name": "Get Resource Infos by Ids (getSystemOrTenantResourcesByIds)", "id": "d1a39a51-714b-47fc-84fb-25be223b1e62", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/resource?pageSize=&page=&resourceType=JKS&resourceSubType=MODULE&textSearch=&sortProperty=resourceType&sortOrder=DESC&resourceIds=&resourceIds=", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource" ], "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": "A string value representing the resource type.", "key": "resourceType", "value": "JKS" }, { "description": "A string value representing the resource sub-type.", "key": "resourceSubType", "value": "MODULE" }, { "description": "The case insensitive 'substring' filter based on the resource title.", "key": "textSearch", "value": "" }, { "description": "Property of entity to sort by", "key": "sortProperty", "value": "resourceType" }, { "description": "Sort order. ASC (ASCENDING) or DESC (DESCENDING)", "key": "sortOrder", "value": "DESC" }, { "description": "(Required) A list of resource ids, separated by comma ','", "key": "resourceIds", "value": "" }, { "description": "(Required) A list of resource ids, separated by comma ','", "key": "resourceIds", "value": "" } ] }, "description": "Returns a page of Resource Info objects owned by tenant or sysadmin. 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. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data. \n\nAvailable for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority." }, "response": [ { "id": "88f6c5ab-9cfb-4a26-99cc-848625ef3b7a", "name": "OK", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/api/resource?pageSize=&page=&resourceType=JKS&resourceSubType=MODULE&textSearch=&sortProperty=resourceType&sortOrder=DESC&resourceIds=", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource" ], "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": "A string value representing the resource type.", "key": "resourceType", "value": "JKS" }, { "description": "A string value representing the resource sub-type.", "key": "resourceSubType", "value": "MODULE" }, { "description": "The case insensitive 'substring' filter based on the resource title.", "key": "textSearch", "value": "" }, { "description": "Property of entity to sort by", "key": "sortProperty", "value": "resourceType" }, { "description": "Sort order. ASC (ASCENDING) or DESC (DESCENDING)", "key": "sortOrder", "value": "DESC" }, { "description": "(Required) A list of resource ids, separated by comma ','", "key": "resourceIds", "value": "" } ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "[\n {\n \"id\": {\n \"entityType\": \"TB_RESOURCE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"title\": \"\",\n \"resourceType\": \"JKS\",\n \"resourceSubType\": \"IMAGE\",\n \"resourceKey\": \"\",\n \"publicResourceKey\": \"\",\n \"etag\": \"\",\n \"fileName\": \"\",\n \"descriptor\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"name\": \"\",\n \"public\": \"\",\n \"link\": \"\",\n \"publicLink\": \"\"\n },\n {\n \"id\": {\n \"entityType\": \"TB_RESOURCE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"title\": \"\",\n \"resourceType\": \"PKCS_12\",\n \"resourceSubType\": \"MODULE\",\n \"resourceKey\": \"\",\n \"publicResourceKey\": \"\",\n \"etag\": \"\",\n \"fileName\": \"\",\n \"descriptor\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"name\": \"\",\n \"public\": \"\",\n \"link\": \"\",\n \"publicLink\": \"\"\n }\n]", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-88f6c5ab-9cfb-4a26-99cc-848625ef3b7a" } ], "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-d1a39a51-714b-47fc-84fb-25be223b1e62" }, { "name": "Create or Update Resource (saveResource)", "id": "d69b0e68-0241-47f9-b2d0-5565509861e1", "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\": \"TB_RESOURCE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"title\": \"\",\n \"resourceType\": \"JS_MODULE\",\n \"resourceSubType\": \"EXTENSION\",\n \"resourceKey\": \"\",\n \"publicResourceKey\": \"\",\n \"etag\": \"\",\n \"fileName\": \"\",\n \"descriptor\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"data\": \"\",\n \"preview\": \"\",\n \"name\": \"\",\n \"public\": \"\",\n \"link\": \"\",\n \"publicLink\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/resource", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource" ] }, "description": "Create or update the Resource. When creating the Resource, platform generates Resource id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Resource id will be present in the response. Specify existing Resource id to update the Resource. Referencing non-existing Resource Id will cause 'Not Found' error. \n\nResource combination of the title with the key is unique in the scope of tenant. Remove 'id', 'tenantId' from the request body example (below) to create new Resource entity.\n\nAvailable for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority." }, "response": [ { "id": "09a9b3ba-52d4-4d94-8c32-a89913955b4a", "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\": \"TB_RESOURCE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"title\": \"\",\n \"resourceType\": \"JS_MODULE\",\n \"resourceSubType\": \"EXTENSION\",\n \"resourceKey\": \"\",\n \"publicResourceKey\": \"\",\n \"etag\": \"\",\n \"fileName\": \"\",\n \"descriptor\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"data\": \"\",\n \"preview\": \"\",\n \"name\": \"\",\n \"public\": \"\",\n \"link\": \"\",\n \"publicLink\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/api/resource", "host": [ "{{baseUrl}}" ], "path": [ "api", "resource" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": {\n \"entityType\": \"TB_RESOURCE\",\n \"id\": \"\"\n },\n \"createdTime\": \"\",\n \"tenantId\": {\n \"entityType\": \"TENANT\",\n \"id\": \"\"\n },\n \"title\": \"\",\n \"resourceType\": \"IMAGE\",\n \"resourceSubType\": \"MODULE\",\n \"resourceKey\": \"\",\n \"publicResourceKey\": \"\",\n \"etag\": \"\",\n \"fileName\": \"\",\n \"descriptor\": {\n \"description\": \"A value representing the any type (object or primitive)\",\n \"examples\": [\n {}\n ]\n },\n \"name\": \"\",\n \"public\": \"\",\n \"link\": \"\",\n \"publicLink\": \"\"\n}", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-09a9b3ba-52d4-4d94-8c32-a89913955b4a" } ], "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-d69b0e68-0241-47f9-b2d0-5565509861e1" } ], "id": "b4c27109-48df-409e-a594-bd6414910f8b", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-b4c27109-48df-409e-a594-bd6414910f8b" } ], "id": "fb600bb0-de72-41da-b269-590513aed63e", "createdAt": "2026-07-28T03:13:13.000Z", "updatedAt": "2026-07-28T03:13:13.000Z", "uid": "35240-fb600bb0-de72-41da-b269-590513aed63e" } ], "variable": [ { "key": "baseUrl", "value": "https://demo.thingsboard.io" } ] }