Viridi Tb Resource Controller API
The tb-resource-controller API from Viridi — 11 operation(s) for tb-resource-controller.
The tb-resource-controller API from Viridi — 11 operation(s) for tb-resource-controller.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/viridi-parente-tb-resource-controller-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: ThingsBoard REST Tb Resource Controller API
description: ThingsBoard open-source IoT platform REST API documentation.
contact:
name: ThingsBoard team
url: https://thingsboard.io
email: info@thingsboard.io
license:
name: Apache License Version 2.0
url: https://github.com/thingsboard/thingsboard/blob/master/LICENSE
version: 3.7.0
servers:
- url: https://vista.viridiparente.com
description: Generated server url
tags:
- name: tb-resource-controller
paths:
/api/resource:
get:
tags:
- tb-resource-controller
summary: Get Resource Infos (getResources)
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 the ''Model'' tab of the Response Class for more details. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data.
Available for users with ''SYS_ADMIN'' or ''TENANT_ADMIN'' authority.'
operationId: getResources
parameters:
- name: pageSize
in: query
description: Maximum amount of entities in a one page
required: true
schema:
type: integer
format: int32
- name: page
in: query
description: Sequence number of page starting from 0
required: true
schema:
type: integer
format: int32
- name: resourceType
in: query
description: A string value representing the resource type.
required: false
schema:
enum:
- LWM2M_MODEL
- JKS
- PKCS_12
- JS_MODULE
- name: textSearch
in: query
description: The case insensitive 'substring' filter based on the resource title.
required: false
schema:
type: string
- name: sortProperty
in: query
description: Property of entity to sort by
required: false
schema:
enum:
- createdTime
- title
- resourceType
- tenantId
- name: sortOrder
in: query
description: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
required: false
schema:
enum:
- ASC
- DESC
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/PageDataTbResourceInfo'
post:
tags:
- tb-resource-controller
summary: Create Or Update Resource (saveResource)
description: 'Create or update the Resource. When creating the Resource, platform generates Resource id as time-based UUID). 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.
Resource 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.
Available for users with ''SYS_ADMIN'' or ''TENANT_ADMIN'' authority.'
operationId: saveResource
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/TbResource'
required: true
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/TbResourceInfo'
/api/resource/{resourceId}:
get:
tags:
- tb-resource-controller
summary: Get Resource (getResourceById)
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.
Available for users with ''SYS_ADMIN'' or ''TENANT_ADMIN'' authority.'
operationId: getResourceById
parameters:
- name: resourceId
in: path
description: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
required: true
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/TbResource'
deprecated: true
delete:
tags:
- tb-resource-controller
summary: Delete Resource (deleteResource)
description: 'Deletes the Resource. Referencing non-existing Resource Id will cause an error.
Available for users with ''SYS_ADMIN'' or ''TENANT_ADMIN'' authority.'
operationId: deleteResource
parameters:
- name: resourceId
in: path
description: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
required: true
schema:
type: string
responses:
'200':
description: OK
/api/resource/{resourceId}/download:
get:
tags:
- tb-resource-controller
summary: Download Resource (downloadResource)
description: 'Download Resource based on the provided Resource Id.
Available for users with ''SYS_ADMIN'' or ''TENANT_ADMIN'' authority.'
operationId: downloadResource
parameters:
- name: resourceId
in: path
description: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
required: true
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
type: string
format: binary
/api/resource/tenant:
get:
tags:
- tb-resource-controller
summary: Get All Resource Infos (getAllResources)
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 the ''Model'' tab of the Response Class for more details. Resource Info is a lightweight object that includes main information about the Resource excluding the heavyweight data.
Available for users with ''TENANT_ADMIN'' authority.'
operationId: getTenantResources
parameters:
- name: pageSize
in: query
description: Maximum amount of entities in a one page
required: true
schema:
type: integer
format: int32
- name: page
in: query
description: Sequence number of page starting from 0
required: true
schema:
type: integer
format: int32
- name: textSearch
in: query
description: The case insensitive 'substring' filter based on the resource title.
required: false
schema:
type: string
- name: sortProperty
in: query
description: Property of entity to sort by
required: false
schema:
enum:
- createdTime
- title
- resourceType
- tenantId
- name: sortOrder
in: query
description: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
required: false
schema:
enum:
- ASC
- DESC
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/PageDataTbResourceInfo'
/api/resource/pkcs12/{resourceId}/download:
get:
tags:
- tb-resource-controller
summary: Download PKCS_12 Resource (downloadPkcs12ResourceIfChanged)
description: 'Download Resource based on the provided Resource Id or return 304 status code if resource was not changed.
Available for users with ''SYS_ADMIN'' or ''TENANT_ADMIN'' authority.'
operationId: downloadPkcs12ResourceIfChanged
parameters:
- name: resourceId
in: path
description: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
required: true
schema:
type: string
- name: If-None-Match
in: header
required: false
schema:
type: string
responses:
'200':
description: OK
content:
application/x-pkcs12:
schema:
type: string
format: binary
/api/resource/lwm2m:
get:
tags:
- tb-resource-controller
summary: Get LwM2M Objects (getLwm2mListObjects)
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.
Available for users with ''TENANT_ADMIN'' authority.'
operationId: getLwm2mListObjects
parameters:
- name: sortOrder
in: query
description: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
required: true
schema:
enum:
- ASC
- DESC
- name: sortProperty
in: query
description: Property of entity to sort by
required: true
schema:
enum:
- id
- name
- name: objectIds
in: query
description: LwM2M Object ids.
required: true
schema:
items: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/LwM2mObject'
/api/resource/lwm2m/{resourceId}/download:
get:
tags:
- tb-resource-controller
summary: Download LWM2M Resource (downloadLwm2mResourceIfChanged)
description: 'Download Resource based on the provided Resource Id or return 304 status code if resource was not changed.
Available for users with ''SYS_ADMIN'' or ''TENANT_ADMIN'' authority.'
operationId: downloadLwm2mResourceIfChanged
parameters:
- name: resourceId
in: path
description: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
required: true
schema:
type: string
- name: If-None-Match
in: header
required: false
schema:
type: string
responses:
'200':
description: OK
content:
application/xml:
schema:
type: string
format: binary
/api/resource/lwm2m/page:
get:
tags:
- tb-resource-controller
summary: Get LwM2M Objects (getLwm2mListObjectsPage)
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 the ''Model'' tab of the Response Class 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.
Available for users with ''TENANT_ADMIN'' authority.'
operationId: getLwm2mListObjectsPage
parameters:
- name: pageSize
in: query
description: Maximum amount of entities in a one page
required: true
schema:
type: integer
format: int32
- name: page
in: query
description: Sequence number of page starting from 0
required: true
schema:
type: integer
format: int32
- name: textSearch
in: query
description: The case insensitive 'substring' filter based on the resource title.
required: false
schema:
type: string
- name: sortProperty
in: query
description: Property of entity to sort by
required: false
schema:
enum:
- id
- name
- name: sortOrder
in: query
description: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
required: false
schema:
enum:
- ASC
- DESC
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/LwM2mObject'
/api/resource/js/{resourceId}/download:
get:
tags:
- tb-resource-controller
summary: Download JS Resource (downloadJsResourceIfChanged)
description: 'Download Resource based on the provided Resource Id or return 304 status code if resource was not changed.
Available for any authorized user.'
operationId: downloadJsResourceIfChanged
parameters:
- name: resourceId
in: path
description: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
required: true
schema:
type: string
- name: If-None-Match
in: header
required: false
schema:
type: string
responses:
'200':
description: OK
content:
application/javascript:
schema:
type: string
format: binary
/api/resource/jks/{resourceId}/download:
get:
tags:
- tb-resource-controller
summary: Download JKS Resource (downloadJksResourceIfChanged)
description: 'Download Resource based on the provided Resource Id or return 304 status code if resource was not changed.
Available for users with ''SYS_ADMIN'' or ''TENANT_ADMIN'' authority.'
operationId: downloadJksResourceIfChanged
parameters:
- name: resourceId
in: path
description: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
required: true
schema:
type: string
- name: If-None-Match
in: header
required: false
schema:
type: string
responses:
'200':
description: OK
content:
application/x-java-keystore:
schema:
type: string
format: binary
/api/resource/info/{resourceId}:
get:
tags:
- tb-resource-controller
summary: Get Resource Info (getResourceInfoById)
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.
Available for users with ''SYS_ADMIN'' or ''TENANT_ADMIN'' authority.'
operationId: getResourceInfoById
parameters:
- name: resourceId
in: path
description: A string value representing the resource id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
required: true
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/TbResourceInfo'
components:
schemas:
TbResourceInfo:
properties:
id:
$ref: '#/components/schemas/TbResourceId'
description: JSON object with the Resource Id. Specify this field to update the Resource. Referencing non-existing Resource Id will cause error. Omit this field to create new Resource.
createdTime:
type: integer
format: int64
description: Timestamp of the resource creation, in milliseconds
example: 1609459200000
readOnly: true
tenantId:
$ref: '#/components/schemas/TenantId'
description: JSON object with Tenant Id. Tenant Id of the resource can't be changed.
readOnly: true
title:
type: string
description: Resource title.
example: BinaryAppDataContainer id=19 v1.0
resourceType:
type: string
description: Resource type.
enum:
- LWM2M_MODEL
- JKS
- PKCS_12
- JS_MODULE
- IMAGE
example: LWM2M_MODEL
readOnly: true
resourceKey:
type: string
description: Resource key.
example: '19_1.0'
readOnly: true
publicResourceKey:
type: string
etag:
type: string
description: Resource etag.
example: 33a64df551425fcc55e4d42a148795d9f25f89d4
readOnly: true
fileName:
type: string
description: Resource file name.
example: 19.xml
readOnly: true
descriptor:
$ref: '#/components/schemas/JsonNode'
name:
type: string
readOnly: true
public:
type: boolean
link:
type: string
readOnly: true
publicLink:
type: string
readOnly: true
TbResource:
description: A JSON value representing the Resource.
properties:
id:
$ref: '#/components/schemas/TbResourceId'
description: JSON object with the Resource Id. Specify this field to update the Resource. Referencing non-existing Resource Id will cause error. Omit this field to create new Resource.
createdTime:
type: integer
format: int64
description: Timestamp of the resource creation, in milliseconds
example: 1609459200000
readOnly: true
tenantId:
$ref: '#/components/schemas/TenantId'
description: JSON object with Tenant Id. Tenant Id of the resource can't be changed.
readOnly: true
title:
type: string
description: Resource title.
example: BinaryAppDataContainer id=19 v1.0
resourceType:
type: string
description: Resource type.
enum:
- LWM2M_MODEL
- JKS
- PKCS_12
- JS_MODULE
- IMAGE
example: LWM2M_MODEL
readOnly: true
resourceKey:
type: string
description: Resource key.
example: '19_1.0'
readOnly: true
publicResourceKey:
type: string
etag:
type: string
description: Resource etag.
example: 33a64df551425fcc55e4d42a148795d9f25f89d4
readOnly: true
fileName:
type: string
description: Resource file name.
example: 19.xml
readOnly: true
descriptor:
$ref: '#/components/schemas/JsonNode'
data:
type: string
description: Resource data.
example: 77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCEtLQpGSUxFIElORk9STUFUSU9OCgpPTUEgUGVybWFuZW50IERvY3VtZW50CiAgIEZpbGU6IE9NQS1TVVAtTHdNMk1fQmluYXJ5QXBwRGF0YUNvbnRhaW5lci1WMV8wXzEtMjAxOTAyMjEtQQogICBUeXBlOiB4bWwKClB1YmxpYyBSZWFjaGFibGUgSW5mb3JtYXRpb24KICAgUGF0aDogaHR0cDovL3d3dy5vcGVubW9iaWxlYWxsaWFuY2Uub3JnL3RlY2gvcHJvZmlsZXMKICAgTmFtZTogTHdNMk1fQmluYXJ5QXBwRGF0YUNvbnRhaW5lci12MV8wXzEueG1sCgpOT1JNQVRJVkUgSU5GT1JNQVRJT04KCiAgSW5mb3JtYXRpb24gYWJvdXQgdGhpcyBmaWxlIGNhbiBiZSBmb3VuZCBpbiB0aGUgbGF0ZXN0IHJldmlzaW9uIG9mCgogIE9NQS1UUy1MV00yTV9CaW5hcnlBcHBEYXRhQ29udGFpbmVyLVYxXzBfMQoKICBUaGlzIGlzIGF2YWlsYWJsZSBhdCBodHRwOi8vd3d3Lm9wZW5tb2JpbGVhbGxpYW5jZS5vcmcvCgogIFNlbmQgY29tbWVudHMgdG8gaHR0cHM6Ly9naXRodWIuY29tL09wZW5Nb2JpbGVBbGxpYW5jZS9PTUFfTHdNMk1fZm9yX0RldmVsb3BlcnMvaXNzdWVzCgpDSEFOR0UgSElTVE9SWQoKMTUwNjIwMTggU3RhdHVzIGNoYW5nZWQgdG8gQXBwcm92ZWQgYnkgRE0sIERvYyBSZWYgIyBPTUEtRE0mU0UtMjAxOC0wMDYxLUlOUF9MV00yTV9BUFBE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zdHJpbmcKXV0+PC9EZXNjcmlwdGlvbj4KCQkJPC9JdGVtPgoJCQk8SXRlbSBJRD0iNSI+PE5hbWU+QXBwIElEPC9OYW1lPgoJCQkJPE9wZXJhdGlvbnM+Ulc8L09wZXJhdGlvbnM+CgkJCQk8TXVsdGlwbGVJbnN0YW5jZXM+U2luZ2xlPC9NdWx0aXBsZUluc3RhbmNlcz4KCQkJCTxNYW5kYXRvcnk+T3B0aW9uYWw8L01hbmRhdG9yeT4KCQkJCTxUeXBlPkludGVnZXI8L1R5cGU+CgkJCQk8UmFuZ2VFbnVtZXJhdGlvbj4yIGJ5dGVzPC9SYW5nZUVudW1lcmF0aW9uPgoJCQkJPFVuaXRzIC8+CgkJCQk8RGVzY3JpcHRpb24+PCFbQ0RBVEFbSW5kaWNhdGVzIHRoZSBkZXN0aW5hdGlvbiBBcHBsaWNhdGlvbiBJRC5dXT48L0Rlc2NyaXB0aW9uPgoJCQk8L0l0ZW0+PC9SZXNvdXJjZXM+CgkJPERlc2NyaXB0aW9uMj48IVtDREFUQVtdXT48L0Rlc2NyaXB0aW9uMj4KCTwvT2JqZWN0Pgo8L0xXTTJNPgo=
preview:
type: string
name:
type: string
readOnly: true
public:
type: boolean
link:
type: string
readOnly: true
publicLink:
type: string
readOnly: true
LwM2mInstance:
properties:
id:
type: integer
format: int32
description: LwM2M Instance id.
example: 0
resources:
type: array
description: LwM2M Resource observe.
items:
$ref: '#/components/schemas/LwM2mResourceObserve'
TbResourceId:
properties:
id:
type: string
format: uuid
description: ID of the entity, time-based UUID v1
example: 784f394c-42b6-435a-983c-b7beff2784f9
entityType:
type: string
description: string
enum:
- TB_RESOURCE
example: TB_RESOURCE
required:
- entityType
- id
LwM2mObject:
properties:
id:
type: integer
format: int32
description: LwM2M Object id.
example: 19
keyId:
type: string
description: LwM2M Object key id.
example: '19_1.0'
name:
type: string
description: LwM2M Object name.
example: BinaryAppDataContainer
multiple:
type: boolean
description: LwM2M Object multiple.
example: true
mandatory:
type: boolean
description: LwM2M Object mandatory.
example: false
instances:
type: array
description: LwM2M Object instances.
items:
$ref: '#/components/schemas/LwM2mInstance'
LwM2mResourceObserve:
properties:
id:
type: integer
format: int32
description: LwM2M Resource Observe id.
example: 0
name:
type: string
description: LwM2M Resource Observe name.
example: Data
observe:
type: boolean
description: LwM2M Resource Observe observe.
example: false
attribute:
type: boolean
description: LwM2M Resource Observe attribute.
example: false
telemetry:
type: boolean
description: LwM2M Resource Observe telemetry.
example: false
keyName:
type: string
description: LwM2M Resource Observe key name.
example: data
PageDataTbResourceInfo:
properties:
data:
type: array
description: Array of the entities
items:
$ref: '#/components/schemas/TbResourceInfo'
readOnly: true
totalPages:
type: integer
format: int32
description: Total number of available pages. Calculated based on the 'pageSize' request parameter and total number of entities that match search criteria
readOnly: true
totalElements:
type: integer
format: int64
description: Total number of elements in all available pages
readOnly: true
hasNext:
type: boolean
description: '''false'' value indicates the end of the result set'
readOnly: true
TenantId:
properties:
id:
type: string
format: uuid
description: ID of the entity, time-based UUID v1
example: 784f394c-42b6-435a-983c-b7beff2784f9
entityType:
type: string
description: string
enum:
- TENANT
example: TENANT
required:
- entityType
- id
JsonNode:
description: A value representing the any type (object or primitive)
examples:
- {}
securitySchemes:
HTTP_login_form:
type: http
description: Enter Username / Password
scheme: loginPassword
bearerFormat: /api/auth/login|X-Authorization