v1

latestOpenAPI 3.0.12026-07-245277551.2 MB
Hub

Create a hub

post/datainsights/v1.1/hubs

Headers

X-PROPERTY-IDinteger required

Property id of the client

Request body

titlestring required

Hub title

descriptionstring nullable

Hub Description

Example request

{
  "title": "My hub",
  "description": "Detailed description about the hub",
  "settings": [
    {
      "i": "my_key",
      "x": 1,
      "y": 1,
      "w": 1,
      "h": 1,
      "minW": 1,
      "maxW": 1,
      "minH": 1,
      "maxH": 1,
      "moved": true,
      "static": true,
      "isDraggable": true,
      "isResizable": true,
      "resizeHandles": [
        "s",
        "w",
        "e",
        "n",
        "sw",
        "nw",
        "se",
        "ne"
      ],
      "isBounded": true
    }
  ]
}

Response

Created

idinteger required

Hub Id

titlestring required

Hub title

descriptionstring nullable

Hub Description

property_idinteger required

Property id

created_atstring date-time

Created at timestamp of the hub

updated_atstring date-time

Updated at timestamp of the hub

Example response

{
  "title": "My hub",
  "description": "Detailed description about the hub",
  "settings": [
    {
      "i": "my_key",
      "x": 1,
      "y": 1,
      "w": 1,
      "h": 1,
      "minW": 1,
      "maxW": 1,
      "minH": 1,
      "maxH": 1,
      "moved": true,
      "static": true,
      "isDraggable": true,
      "isResizable": true,
      "resizeHandles": [
        "s",
        "w",
        "e",
        "n",
        "sw",
        "nw",
        "se",
        "ne"
      ],
      "isBounded": true
    }
  ],
  "created_at": "2023-08-24T17:08:04.094590",
  "updated_at": "2023-08-24T17:08:04.094590"
}