How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

ThingsBoard tb-resource-controller API

Tb Resource

ThingsBoard tb-resource-controller API is one of 58 APIs that ThingsBoard publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 11 JSON Schema definitions.

Tagged areas include tb-resource-controller. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 11 JSON Schemas.

This API exposes 18 operations across 16 paths, and defines 12 schemas. It is described by OpenAPI 3.2.0, at version 4.3.0.3DEMO.

Requests are made against 2 base URLs: https://demo.thingsboard.io, http://localhost:8080.

18 operations 16 paths 12 schemas 1 DELETE13 GET2 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
4.3.0.3DEMO
Servers
https://demo.thingsboard.io
http://localhost:8080
Authentication
HTTP Loginpassword, API Key
License
Resource Areas
1

Authentication & Security 2

ThingsBoard tb-resource-controller API declares 2 security schemes for authenticating requests. It uses HTTP loginpassword authentication (HTTP_login_form). An API key is passed in the header as X-Authorization (API_key_form).

  • HTTP_login_form — Enter Username / Password
  • API_key_form — Enter the API key value with 'ApiKey' prefix in format: ApiKey Example: ApiKey tb5te51SkLRYpjGrujUGwqkjFvooWBlQpVe2An2Dr3w13wjfxDW NOTE: Use only ONE authentic…

Paths & Operations 18

Across 16 paths, the API surfaces 18 operations — 1 DELETE, 13 GET, 2 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

tb-resource-controller 18

Tb Resource

PUT
/api/resource/{id}/info
updateResourceInfo 1 param body → 200
PUT
/api/resource/{id}/data
updateResourceData 1 param body → 200
GET
/api/resource
Get Resource Infos by Ids (getSystemOrTenantResourcesByIds)
getResources 8 params → 200
POST
/api/resourcedeprecated
Create or Update Resource (saveResource)
saveResource body → 200
POST
/api/resource/upload
Upload Resource Via Multipart File (uploadResource)
uploadResource body → 200
GET
/api/resource/{resourceType}/{scope}/{key}
Download Resource (downloadResource)
downloadResourceIfChanged 4 params → 200
GET
/api/resource/{resourceType}/{scope}/{key}/info
Get Resource Info (getResourceInfo)
getResourceInfo 3 params → 200
GET
/api/resource/{resourceId}deprecated
Get Resource (getResourceById)
getResourceById 1 param → 200
DELETE
/api/resource/{resourceId}
Delete Resource (deleteResource)
deleteResource 2 params → 200
GET
/api/resource/{resourceId}/download
Download Resource (downloadResource)
downloadResource 1 param → 200
GET
/api/resource/tenant
Get All Resource Infos (getAllResources)
getTenantResources 5 params → 200
GET
/api/resource/pkcs12/{resourceId}/download
Download PKCS12 Resource (downloadPkcs12ResourceIfChanged)
downloadPkcs12ResourceIfChanged 2 params → 200
GET
/api/resource/lwm2m
Get LwM2M Objects (getLwm2mListObjects)
getLwm2mListObjects 3 params → 200
GET
/api/resource/lwm2m/{resourceId}/download
Download LWM2M Resource (downloadLwm2mResourceIfChanged)
downloadLwm2mResourceIfChanged 2 params → 200
GET
/api/resource/lwm2m/page
Get LwM2M Objects (getLwm2mListObjectsPage)
getLwm2mListObjectsPage 5 params → 200
GET
/api/resource/js/{resourceId}/download
Download JS Resource (downloadJsResourceIfChanged)
downloadJsResourceIfChanged 2 params → 200
GET
/api/resource/jks/{resourceId}/download
Download JKS Resource (downloadJksResourceIfChanged)
downloadJksResourceIfChanged 2 params → 200
GET
/api/resource/info/{resourceId}
Get Resource Info (getResourceInfoById)
getResourceInfoById 1 param → 200

Schemas 12

The contract defines 12 schemas that model the data the API accepts and returns. The most detailed are TbResource (17 properties), TbResourceInfo (15 properties), LwM2mObject (6 properties), LwM2mResourceObserve (6 properties). Each schema is shown below with its type and property counts.

TenantId
object
2 properties 2 required
TbResource
object
A JSON value representing the Resource.
17 properties
LwM2mInstance
object
2 properties
JsonNode
A value representing the any type (object or primitive)
TbResourceInfo
object
A JSON value representing the Resource Info.
15 properties
TbResourceDeleteResult
object
2 properties
EntityInfo
object
2 properties
LwM2mResourceObserve
object
6 properties
PageDataTbResourceInfo
object
4 properties
LwM2mObject
object
6 properties
EntityId
object
2 properties 2 required
TbResourceId
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

thingsboard-tb-resource-controller-api-openapi.yml Raw ↑

Other APIs ThingsBoard publishes across the network.

ThingsBoard admin-controller API
ThingsBoard ai-model-controller API
ThingsBoard alarm-comment-controller API
ThingsBoard alarm-controller API
ThingsBoard api-key-controller API
ThingsBoard asset-controller API
ThingsBoard asset-profile-controller API
ThingsBoard audit-log-controller API
ThingsBoard auth-controller API
ThingsBoard calculated-field-controller API
ThingsBoard component-descriptor-controller API
ThingsBoard customer-controller API
Where this information came from

This is an independent, third-party profile of ThingsBoard tb-resource-controller API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.