v1

latestOpenAPI 3.0.12026-07-245277551.2 MB
Hub

Get all hubs

get/datainsights/v1.1/hubs

Query parameters

offsetinteger

The difference between start of the data and the start of the response data

limitinteger
Example:5

The maximum number of results in the response

sort'title,asc' | 'title,desc' | 'description,asc' | 'description,desc' | 'created_at,asc' | 'created_at,desc' | 'updated_at,asc' | 'updated_at,desc'

Sort Hubs

idsinteger[]

Chart IDs

titlestring
Example:My hub

Hub title

descriptionstring
Example:My hub description

Hub description

Headers

X-PROPERTY-IDinteger required

Property id of the client

Response

OK

offsetinteger

The difference between start of the data and the start of the response data

limitinteger

The maximum number of results in the response

totalinteger

The total number of records

Example response

{
  "limit": 5,
  "total": 42,
  "hubs": [
    {
      "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"
    }
  ]
}