v1

Returns the labels of your organization as a tree. Use their ids wherever a route or filter takes a label id. Labels have no access rights, so every caller sees all of them.

get/v1/labels

Request

  • Base URL
    https://api.datadive.tools
  • URL
    https://api.datadive.tools/v1/labels
  • Auth
    API key in header x-api-key

Response

Example response

{
  "data": [
    {
      "id": 101,
      "name": "Pet Friends",
      "path": "Pet Friends",
      "parentId": null,
      "children": [
        {
          "id": 102,
          "name": "Dog Hats",
          "path": "Pet Friends/Dog Hats",
          "parentId": 101,
          "children": []
        }
      ]
    }
  ]
}

Changes