widget-type-controller
Get Widget Type Info (getWidgetTypeInfoById)
Get the Widget Type Info based on the provided Widget Type Id. Widget Type Details extend Widget Type and add image and description properties. Those properties are useful to edit the Widget Type but they are not required for Dashboard rendering.
Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority.
get/api/widgetTypeInfo/{widgetTypeId}
Request
- Base URLhttps://demo.thingsboard.io
- Authnone declared
- TypeScripthttps://skmtc.dev/thingsboard/apis/thingsboard-rest-api/docs/api/widgetTypeInfo/:widgetTypeId/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
widgetTypeIdstring required
A string value representing the widget type id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
Response
OK
Example response
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "WIDGET_TYPE"
},
"createdTime": 1609459200000,
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"deprecated": true,
"scada": true,
"bundles": [
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "DEVICE"
}
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.