Dashboard - POST Add Dashboard
Post
{{url_iot_backend}}/ext/dashboards
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "Bearer {{token}}"
},
Parameter
Field | Type | Description |
---|---|---|
dashboard_name | String |
The name of your dashboard |
is_pucblic | Integer |
Won't you make your dashboard accessible for the public: "1", "0" |
description | String |
The description of your dashboard |
is_home | Integer |
Won't you set your dashboard as the home display of your tenant?: "1", or "0" |
{
"dashboard_name": "test dashboard postmaan",
"is_public": 0,
"description": "test dashboard",
"is_home": 0
}
{
"message": "dashboard created",
"data": {
"id": 210
},
"code": 200
}
{
"message": "Invalid Message",
"code": 400,
"errors": [
{
"field": "dashboard_name",
"message": "The dashboard name field is required.."
},
{
"field": "is_public",
"message": "The selected is public is invalid."
}
]
}