v1

latestOpenAPI 3.0.32026-07-171140286.6 KB
Api\HiveController

api/hives GET Display a listing of user hives.

get/api/hives

Headers

Authorizationstring
Content-Typestring
Acceptstring
Accept-languagestring

Response

hivesobject[]

Example response

{
  "hives": [
    {
      "id": 1,
      "location_id": 1,
      "hive_type_id": 43,
      "color": "#35f200",
      "name": "Kast 1",
      "created_at": "2017-07-13 23:34:49",
      "type": "spaarkast",
      "location": "",
      "attention": null,
      "impression": null,
      "reminder": null,
      "reminder_date": null,
      "inspection_count": 0,
      "sensors": [
        3,
        19
      ],
      "owner": true,
      "layers": [
        {
          "id": 1,
          "order": 0,
          "color": "#35f200",
          "type": "brood",
          "framecount": 10
        },
        {
          "id": 2,
          "order": 1,
          "color": "#35f200",
          "type": "brood",
          "framecount": 10
        },
        {
          "id": 3,
          "order": 2,
          "color": "#35f200",
          "type": "honey",
          "framecount": 10
        }
      ],
      "queen": null
    }
  ]
}