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}
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"
}
}
]
}