tb-resource-controller
put/api/resource/{id}/info
Path parameters
idstring uuid required
Unique identifier of the Resource to update
Request body
Example request
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TB_RESOURCE"
},
"createdTime": 1609459200000,
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"title": "BinaryAppDataContainer id=19 v1.0",
"resourceType": "LWM2M_MODEL",
"resourceSubType": "IOT_SVG",
"resourceKey": "19_1.0",
"etag": "33a64df551425fcc55e4d42a148795d9f25f89d4",
"fileName": "19.xml",
"descriptor": {}
}Response
OK
Example response
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TB_RESOURCE"
},
"createdTime": 1609459200000,
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"title": "BinaryAppDataContainer id=19 v1.0",
"resourceType": "LWM2M_MODEL",
"resourceSubType": "IOT_SVG",
"resourceKey": "19_1.0",
"etag": "33a64df551425fcc55e4d42a148795d9f25f89d4",
"fileName": "19.xml",
"descriptor": {}
}