From 6c9536d7cf0e0c09b7d7158083c9fcbbe19ac866 Mon Sep 17 00:00:00 2001
From: Pim van Gennip
Date: Wed, 18 Nov 2020 10:56:34 +0100
Subject: [PATCH] Update ResearchDataController API docs with examples
---
.../Controllers/Api/InspectionsController.php | 4 +-
.../Api/ResearchDataController.php | 586 +++++++-
config/apidoc.php | 6 +-
public/docs/collection.json | 2 +-
public/docs/index.html | 1261 ++++++++++++-----
public/docs/source/.compare.md | 1208 +++++++++++-----
public/docs/source/index.md | 1208 +++++++++++-----
7 files changed, 3204 insertions(+), 1071 deletions(-)
diff --git a/app/Http/Controllers/Api/InspectionsController.php b/app/Http/Controllers/Api/InspectionsController.php
index 1b1d68ac..3b240ecc 100644
--- a/app/Http/Controllers/Api/InspectionsController.php
+++ b/app/Http/Controllers/Api/InspectionsController.php
@@ -93,7 +93,7 @@ public function lists(Request $request)
api/inspections/hive/{hive_id} GET
List all inspections linked to Hive id. The 'inspections' object contains a descending date ordered list of general inspection data. The 'items_by_date' object contains a list of (rows of) inspection items that can be placed (in columns) under the inspections by created_at date (table format). NB: Use 'Accept-Language' Header (default nl_NL) to provide localized category names (anc, name) in items_by_date.
@authenticated
- @queryParam hive_id required The hive to request inspections from.
+ @urlParam hive_id required The hive to request inspections from.
@response {
"inspections": [
{
@@ -203,7 +203,7 @@ public function hive(Request $request, $hive_id)
api/inspections/{id} GET
Show the 'inspection' object. The object reflects only the general inspection data.
@authenticated
- @queryParam id required The id of the inspection.
+ @urlParam id required The id of the inspection.
**/
public function show(Request $request, $id)
{
diff --git a/app/Http/Controllers/Api/ResearchDataController.php b/app/Http/Controllers/Api/ResearchDataController.php
index f5d1798e..8a6c57b6 100644
--- a/app/Http/Controllers/Api/ResearchDataController.php
+++ b/app/Http/Controllers/Api/ResearchDataController.php
@@ -40,6 +40,83 @@ private function checkAuthorization(Request $request, $id=null)
api/researchdata GET
List all available Researches
@authenticated
+ @response [
+ {
+ "id": 1,
+ "created_at": "2020-02-25 03:01:57",
+ "updated_at": "2020-11-13 17:08:31",
+ "name": "B-GOOD",
+ "url": "https://b-good-project.eu/",
+ "description": "B-GOOD has the overall goal to provide guidance for beekeepers and help them make better and more informed decisions.",
+ "type": "research-b-good",
+ "institution": "Wageningen University & Research",
+ "type_of_data_used": "Hive inspections, hive settings, BEEP base measurement data",
+ "start_date": "2019-07-01 00:00:00",
+ "end_date": "2023-06-30 00:00:00",
+ "image_id": 1,
+ "consent": true,
+ "consent_history": [
+ {
+ "id": 185,
+ "created_at": "2020-11-12 22:28:09",
+ "updated_at": "2020-06-12 22:28:00",
+ "user_id": 1,
+ "research_id": 1,
+ "consent": 1,
+ "consent_location_ids": null,
+ "consent_hive_ids": null,
+ "consent_sensor_ids": null
+ },
+ {
+ "id": 1,
+ "created_at": "2020-02-25 03:02:23",
+ "updated_at": "2020-05-27 03:03:00",
+ "user_id": 1,
+ "research_id": 1,
+ "consent": 0,
+ "consent_location_ids": null,
+ "consent_hive_ids": null,
+ "consent_sensor_ids": null
+ },
+ {
+ "id": 97,
+ "created_at": "2020-05-14 16:24:41",
+ "updated_at": "2020-03-14 16:24:00",
+ "user_id": 1,
+ "research_id": 1,
+ "consent": 1,
+ "consent_location_ids": null,
+ "consent_hive_ids": null,
+ "consent_sensor_ids": null
+ }
+ ],
+ "checklist_names": [
+ "1 Winter",
+ "2 Varroa",
+ "3 Summer+",
+ "4 Summer",
+ "5 Health"
+ ],
+ "thumb_url": "/storage/users/1/thumbs/research/6LJEp35dodWWtfxnm3xfRnL05qvvJrHbn8IXAJqNCFZj2vFjwyLXbmWscKVz.jpg",
+ "image": {
+ "id": 1,
+ "created_at": "2020-02-25 03:01:57",
+ "updated_at": "2020-02-25 03:01:57",
+ "filename": "6LJEp35dodWWtfxnm3xfRnL05qvvJrHbn8IXAJqNCFZj2vFjwyLXbmWscKVz.jpg",
+ "image_url": "/storage/users/1/images/research/6LJEp35dodWWtfxnm3xfRnL05qvvJrHbn8IXAJqNCFZj2vFjwyLXbmWscKVz.jpg",
+ "thumb_url": "/storage/users/1/thumbs/research/6LJEp35dodWWtfxnm3xfRnL05qvvJrHbn8IXAJqNCFZj2vFjwyLXbmWscKVz.jpg",
+ "description": "B-GOOD has the overall goal to provide guidance for beekeepers and help them make better and more informed decisions.",
+ "type": "research",
+ "height": 1271,
+ "width": 1271,
+ "size_kb": 51,
+ "date": "2020-02-25 03:01:57",
+ "hive_id": null,
+ "category_id": null,
+ "inspection_id": null
+ }
+ }
+ ]
*/
public function index(Request $request)
{
@@ -59,7 +136,116 @@ public function index(Request $request)
api/researchdata/{id} GET
List one Research by id with list of consent_users
@authenticated
- @queryParam id required The research ID to request data from.
+ @urlParam id required The research ID to request data from.
+ @response {
+ "research": {
+ "id": 1,
+ "created_at": "2020-02-25 03:01:57",
+ "updated_at": "2020-11-18 10:33:23",
+ "name": "B-GOOD",
+ "url": "https://b-good-project.eu/",
+ "description": "B-GOOD has the overall goal to provide guidance for beekeepers and help them make better and more informed decisions.",
+ "type": "research-b-good",
+ "institution": "Wageningen University & Research",
+ "type_of_data_used": "Hive inspections, hive settings, BEEP base measurement data",
+ "start_date": "2019-07-01 00:00:00",
+ "end_date": "2023-06-30 00:00:00",
+ "image_id": 1,
+ "consent": true,
+ "consent_history": [
+ {
+ "id": 185,
+ "created_at": "2020-11-12 22:28:09",
+ "updated_at": "2020-06-12 22:28:00",
+ "user_id": 1,
+ "research_id": 1,
+ "consent": 1,
+ "consent_location_ids": null,
+ "consent_hive_ids": null,
+ "consent_sensor_ids": null
+ },
+ {
+ "id": 1,
+ "created_at": "2020-02-25 03:02:23",
+ "updated_at": "2020-05-27 03:03:00",
+ "user_id": 1,
+ "research_id": 1,
+ "consent": 0,
+ "consent_location_ids": null,
+ "consent_hive_ids": null,
+ "consent_sensor_ids": null
+ },
+ {
+ "id": 97,
+ "created_at": "2020-05-14 16:24:41",
+ "updated_at": "2020-03-14 16:24:00",
+ "user_id": 1,
+ "research_id": 1,
+ "consent": 1,
+ "consent_location_ids": null,
+ "consent_hive_ids": null,
+ "consent_sensor_ids": null
+ }
+ ],
+ "checklist_names": [
+ "1 Winter",
+ "2 Varroa",
+ "3 Summer+",
+ "4 Summer",
+ "5 Health"
+ ],
+ "thumb_url": "/storage/users/1/thumbs/research/6LJEp35dodWWtfxnm3xfRnL05qvvJrHbn8IXAJqNCFZj2vFjwyLXbmWscKVz.jpg",
+ "image": {
+ "id": 1,
+ "created_at": "2020-02-25 03:01:57",
+ "updated_at": "2020-02-25 03:01:57",
+ "filename": "6LJEp35dodWWtfxnm3xfRnL05qvvJrHbn8IXAJqNCFZj2vFjwyLXbmWscKVz.jpg",
+ "image_url": "/storage/users/1/images/research/6LJEp35dodWWtfxnm3xfRnL05qvvJrHbn8IXAJqNCFZj2vFjwyLXbmWscKVz.jpg",
+ "thumb_url": "/storage/users/1/thumbs/research/6LJEp35dodWWtfxnm3xfRnL05qvvJrHbn8IXAJqNCFZj2vFjwyLXbmWscKVz.jpg",
+ "description": "B-GOOD has the overall goal to provide guidance for beekeepers and help them make better and more informed decisions.",
+ "type": "research",
+ "height": 1271,
+ "width": 1271,
+ "size_kb": 51,
+ "date": "2020-02-25 03:01:57",
+ "hive_id": null,
+ "category_id": null,
+ "inspection_id": null
+ }
+ },
+ "consent_users": [
+ {
+ "id": 1,
+ "name": "Beep",
+ "email": "pim@beep.nl",
+ "created_at": "2017-07-14 03:34:10",
+ "updated_at": "2020-05-27 03:03:00",
+ "last_login": "2020-11-18 10:32:16",
+ "locale": null,
+ "consent": 0
+ },
+ {
+ "id": 2371,
+ "name": "app@beep.nl",
+ "email": "app@beep.nl",
+ "created_at": "2019-10-24 17:15:55",
+ "updated_at": "2020-02-25 11:46:59",
+ "last_login": "2020-08-20 18:24:22",
+ "locale": null,
+ "consent": 0
+ },
+ {
+ "id": 1,
+ "name": "Beep",
+ "email": "pim@beep.nl",
+ "created_at": "2017-07-14 03:34:10",
+ "updated_at": "2020-06-12 22:28:00",
+ "last_login": "2020-11-18 10:32:16",
+ "locale": null,
+ "consent": 1
+ }
+ ]
+ }
*/
public function show(Request $request, $id)
{
@@ -80,13 +266,399 @@ public function show(Request $request, $id)
/**
api/researchdata/{id}/user/{user_id}/{item} GET
- List all user 'item' data within the consent=1 periods of a specific user within a Research.
+ List all user 'item' data within the consent=1 periods of a specific user within a Research. The 'item' field indicates the type of user data (apiaries/hives/devices/inspections/measurements) to request within the research (which the user gave consent for to use). Example: inspectionsResponse: api/researchdata/1/user/1/inspections.
@authenticated
- @queryParam id required The research ID to request data from.
- @queryParam user_id required The user id to request data from.
- @queryParam item required The type of user data (apiaries/hives/devices/inspections/measurements) to request within the research (which the user gave consent for to use).
- @bodyParam date_start datetime The date in 'YYYY-MM-DD HH:mm:ss' format (2020-01-01 00:00:00) to request data from (default is beginning of research, or earlier (except inspections and measurements).
- @bodyParam date_until datetime The date in 'YYYY-MM-DD HH:mm:ss' format (2020-09-29 23:59:59) to request data until (default is until the end of the user consent, or research end).
+ @urlParam id required The research ID to request data from. Example: 1
+ @urlParam user_id required The user id to request data from. Example: 1
+ @urlParam item required The type of user data (apiaries/hives/devices/inspections/measurements) to request within the research (which the user gave consent for to use). Example: inspections
+ @bodyParam date_start datetime The date in 'YYYY-MM-DD HH:mm:ss' format (2020-01-01 00:00:00) to request data from (default is beginning of research, or earlier (except inspections and measurements). Example: 2020-01-01 00:00:00
+ @bodyParam date_until datetime The date in 'YYYY-MM-DD HH:mm:ss' format (2020-09-29 23:59:59) to request data until (default is until the end of the user consent, or research end). Example: 2020-09-29 23:59:59
+ @response [
+ {
+ "id": 35211,
+ "notes": "test",
+ "reminder": null,
+ "reminder_date": null,
+ "impression": 2,
+ "attention": 1,
+ "created_at": "2020-03-26 18:28:00",
+ "checklist_id": 798,
+ "image_id": null,
+ "owner": true,
+ "thumb_url": null,
+ "hive_id": 280,
+ "items": []
+ },
+ {
+ "id": 40162,
+ "notes": "Input Liebefeld",
+ "reminder": null,
+ "reminder_date": null,
+ "impression": null,
+ "attention": null,
+ "created_at": "2020-04-24 11:03:00",
+ "checklist_id": 3206,
+ "image_id": null,
+ "owner": true,
+ "thumb_url": null,
+ "hive_id": 280,
+ "items": [
+ {
+ "id": 326538,
+ "value": "0.6",
+ "inspection_id": 40162,
+ "category_id": 977,
+ "val": "0.6",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326539,
+ "value": "4",
+ "inspection_id": 40162,
+ "category_id": 978,
+ "val": "4",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326540,
+ "value": "2",
+ "inspection_id": 40162,
+ "category_id": 979,
+ "val": "2",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326541,
+ "value": "4",
+ "inspection_id": 40162,
+ "category_id": 980,
+ "val": "4",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326542,
+ "value": "3",
+ "inspection_id": 40162,
+ "category_id": 981,
+ "val": "3",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326543,
+ "value": "581",
+ "inspection_id": 40162,
+ "category_id": 982,
+ "val": "581",
+ "unit": "bzz",
+ "type": "number_positive"
+ },
+ {
+ "id": 326544,
+ "value": "5",
+ "inspection_id": 40162,
+ "category_id": 984,
+ "val": "5",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326545,
+ "value": "1",
+ "inspection_id": 40162,
+ "category_id": 985,
+ "val": "1",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326546,
+ "value": "4",
+ "inspection_id": 40162,
+ "category_id": 987,
+ "val": "4",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326547,
+ "value": "5",
+ "inspection_id": 40162,
+ "category_id": 988,
+ "val": "5",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326548,
+ "value": "4",
+ "inspection_id": 40162,
+ "category_id": 989,
+ "val": "4",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326549,
+ "value": "2",
+ "inspection_id": 40162,
+ "category_id": 990,
+ "val": "2",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326550,
+ "value": "2",
+ "inspection_id": 40162,
+ "category_id": 991,
+ "val": "2",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326551,
+ "value": "3",
+ "inspection_id": 40162,
+ "category_id": 992,
+ "val": "3",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326552,
+ "value": "3",
+ "inspection_id": 40162,
+ "category_id": 993,
+ "val": "3",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326553,
+ "value": "6",
+ "inspection_id": 40162,
+ "category_id": 995,
+ "val": "6",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326554,
+ "value": "2",
+ "inspection_id": 40162,
+ "category_id": 996,
+ "val": "2",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326555,
+ "value": "2",
+ "inspection_id": 40162,
+ "category_id": 997,
+ "val": "2",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326556,
+ "value": "2",
+ "inspection_id": 40162,
+ "category_id": 998,
+ "val": "2",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326557,
+ "value": "2",
+ "inspection_id": 40162,
+ "category_id": 999,
+ "val": "2",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326558,
+ "value": "2",
+ "inspection_id": 40162,
+ "category_id": 1000,
+ "val": "2",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326559,
+ "value": "2",
+ "inspection_id": 40162,
+ "category_id": 1001,
+ "val": "2",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326560,
+ "value": "8",
+ "inspection_id": 40162,
+ "category_id": 1163,
+ "val": "8",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326561,
+ "value": "4",
+ "inspection_id": 40162,
+ "category_id": 1164,
+ "val": "4",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326562,
+ "value": "2",
+ "inspection_id": 40162,
+ "category_id": 1165,
+ "val": "2",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326563,
+ "value": "6",
+ "inspection_id": 40162,
+ "category_id": 1166,
+ "val": "6",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326564,
+ "value": "2",
+ "inspection_id": 40162,
+ "category_id": 1167,
+ "val": "2",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326565,
+ "value": "2",
+ "inspection_id": 40162,
+ "category_id": 1168,
+ "val": "2",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ },
+ {
+ "id": 326566,
+ "value": "3",
+ "inspection_id": 40162,
+ "category_id": 1169,
+ "val": "3",
+ "unit": "x 25cm2",
+ "type": "square_25cm2"
+ }
+ ]
+ },
+ {
+ "id": 40163,
+ "notes": "Brood photograph",
+ "reminder": null,
+ "reminder_date": null,
+ "impression": null,
+ "attention": null,
+ "created_at": "2020-04-24 11:07:00",
+ "checklist_id": 3206,
+ "image_id": null,
+ "owner": true,
+ "thumb_url": null,
+ "hive_id": 280,
+ "items": [
+ {
+ "id": 326567,
+ "value": "1",
+ "inspection_id": 40163,
+ "category_id": 399,
+ "val": "Ja",
+ "unit": null,
+ "type": "boolean"
+ },
+ {
+ "id": 326568,
+ "value": "https://assets.beep.nl/users/1/thumbs/inspection/jIcycTYnO8zYq6SHCvAwPHb97BDLFkZaDmfZUop5.png",
+ "inspection_id": 40163,
+ "category_id": 973,
+ "val": "https://assets.beep.nl/users/1/thumbs/inspection/jIcycTYnO8zYq6SHCvAwPHb97BDLFkZaDmfZUop5.png",
+ "unit": null,
+ "type": "image"
+ }
+ ]
+ },
+ {
+ "id": 68477,
+ "notes": null,
+ "reminder": null,
+ "reminder_date": null,
+ "impression": 3,
+ "attention": 1,
+ "created_at": "2020-10-23 12:43:00",
+ "checklist_id": 3206,
+ "image_id": null,
+ "owner": true,
+ "thumb_url": null,
+ "hive_id": 281,
+ "items": []
+ },
+ {
+ "id": 68478,
+ "notes": "Hive change",
+ "reminder": null,
+ "reminder_date": null,
+ "impression": null,
+ "attention": null,
+ "created_at": "2020-10-23 13:12:33",
+ "checklist_id": null,
+ "image_id": null,
+ "owner": true,
+ "thumb_url": null,
+ "hive_id": 281,
+ "items": [
+ {
+ "id": 522496,
+ "value": "2",
+ "inspection_id": 68478,
+ "category_id": 85,
+ "val": "2",
+ "unit": null,
+ "type": "number_positive"
+ },
+ {
+ "id": 522497,
+ "value": "2",
+ "inspection_id": 68478,
+ "category_id": 87,
+ "val": "2",
+ "unit": null,
+ "type": "number"
+ },
+ {
+ "id": 522498,
+ "value": "10",
+ "inspection_id": 68478,
+ "category_id": 89,
+ "val": "10",
+ "unit": null,
+ "type": "number_positive"
+ }
+ ]
+ }
+ ]
*/
public function user_data(Request $request, $id, $user_id, $item)
{
diff --git a/config/apidoc.php b/config/apidoc.php
index 5f95247e..67b48d33 100644
--- a/config/apidoc.php
+++ b/config/apidoc.php
@@ -17,7 +17,7 @@
* The base URL to be used in examples and the Postman collection.
* By default, this will be the value of config('app.url').
*/
- 'base_url' => 'https://test.beep.nl/',
+ 'base_url' => 'https://api.beep.nl/',
/*
* Generate a Postman collection in addition to HTML docs.
@@ -31,12 +31,12 @@
/*
* The name for the exported Postman collection. Default: config('app.name')." API"
*/
- 'name' => null,
+ 'name' => 'BEEP',
/*
* The description for the exported Postman collection.
*/
- 'description' => null,
+ 'description' => 'BEEP API',
],
/*
diff --git a/public/docs/collection.json b/public/docs/collection.json
index 0d000da2..19735c0d 100644
--- a/public/docs/collection.json
+++ b/public/docs/collection.json
@@ -1 +1 @@
-{"variables":[],"info":{"name":"BEEP API","_postman_id":"e725ed0a-c87b-4803-8059-42a86c3ad203","description":"","schema":"https:\/\/schema.getpostman.com\/json\/collection\/v2.0.0\/collection.json"},"item":[{"name":"Api\\CategoryController","description":"","item":[{"name":"api\/categories\nDisplay a listing of the inspection categories.","request":{"url":"https:\/\/test.beep.nl\/api\/categories","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/categories\/{id}\nDisplay the specified category.","request":{"url":"https:\/\/test.beep.nl\/api\/categories\/{category}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\ChecklistController","description":"","item":[{"name":"Display a listing of the resource.","request":{"url":"https:\/\/test.beep.nl\/api\/checklists","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/test.beep.nl\/api\/checklists","request":{"url":"https:\/\/test.beep.nl\/api\/checklists","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/test.beep.nl\/api\/checklists\/{checklist}","request":{"url":"https:\/\/test.beep.nl\/api\/checklists\/{checklist}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/test.beep.nl\/api\/checklists\/{checklist}","request":{"url":"https:\/\/test.beep.nl\/api\/checklists\/{checklist}","method":"PUT","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"urlencoded","urlencoded":[]},"description":"","response":[]}},{"name":"https:\/\/test.beep.nl\/api\/checklists\/{checklist}","request":{"url":"https:\/\/test.beep.nl\/api\/checklists\/{checklist}","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\DeviceController","description":"","item":[{"name":"api\/devices\/multiple POST\nStore\/update multiple Devices in an array of Device objects","request":{"url":"https:\/\/test.beep.nl\/api\/devices\/multiple","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"id","value":15,"type":"text","enabled":true},{"key":"key","value":"ipsum","type":"text","enabled":true},{"key":"hardware_id","value":"soluta","type":"text","enabled":true},{"key":"name","value":"eaque","type":"text","enabled":true},{"key":"hive_id","value":16,"type":"text","enabled":true},{"key":"type","value":"pariatur","type":"text","enabled":true},{"key":"last_message_received","value":"corrupti","type":"text","enabled":true},{"key":"firmware_version","value":"voluptatem","type":"text","enabled":true},{"key":"hardware_version","value":"nihil","type":"text","enabled":true},{"key":"boot_count","value":5,"type":"text","enabled":true},{"key":"measurement_interval_min","value":10277.20748579,"type":"text","enabled":true},{"key":"measurement_transmission_ratio","value":23.812,"type":"text","enabled":true},{"key":"ble_pin","value":"explicabo","type":"text","enabled":true},{"key":"battery_voltage","value":469,"type":"text","enabled":true},{"key":"next_downlink_message","value":"atque","type":"text","enabled":true},{"key":"last_downlink_result","value":"animi","type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/devices\/ttn\/{dev_id} GET\nGet a TTN Device by Device ID (BEEP hardware_id)","request":{"url":"https:\/\/test.beep.nl\/api\/devices\/ttn\/{dev_id}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/devices\/ttn\/{dev_id} POST\nCreate an OTAA LoRaWAN Device in the BEEP TTN Console by dev_id (dev_id (= BEEP hardware_id) a unique identifier for the device. It can contain lowercase letters, numbers, - and _) and this payload:\n{\n\"lorawan_device\": {\n\"dev_eui\": \"<8 byte identifier for the device>\",\n\"app_key\": \"<16 byte static key that is known by the device and the application. It is used for negotiating session keys (OTAA)>\"\n}\n}","request":{"url":"https:\/\/test.beep.nl\/api\/devices\/ttn\/{dev_id}","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/devices GET\nList all user Devices","request":{"url":"https:\/\/test.beep.nl\/api\/devices","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"hardware_id","value":"voluptas","type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/devices POST\nCreate or Update a Device","request":{"url":"https:\/\/test.beep.nl\/api\/devices","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"id","value":20,"type":"text","enabled":true},{"key":"key","value":"in","type":"text","enabled":true},{"key":"hardware_id","value":"debitis","type":"text","enabled":true},{"key":"name","value":"nihil","type":"text","enabled":true},{"key":"hive_id","value":3,"type":"text","enabled":true},{"key":"type","value":"dignissimos","type":"text","enabled":true},{"key":"last_message_received","value":"mollitia","type":"text","enabled":true},{"key":"firmware_version","value":"incidunt","type":"text","enabled":true},{"key":"hardware_version","value":"voluptatibus","type":"text","enabled":true},{"key":"boot_count","value":10,"type":"text","enabled":true},{"key":"measurement_interval_min","value":390,"type":"text","enabled":true},{"key":"measurement_transmission_ratio","value":1.4775683,"type":"text","enabled":true},{"key":"ble_pin","value":"sed","type":"text","enabled":true},{"key":"battery_voltage","value":43592823.35,"type":"text","enabled":true},{"key":"next_downlink_message","value":"ab","type":"text","enabled":true},{"key":"last_downlink_result","value":"tenetur","type":"text","enabled":true},{"key":"create_ttn_device","value":false,"type":"text","enabled":true},{"key":"app_key","value":"autem","type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/devices\/{id} GET\nList one Device by id","request":{"url":"https:\/\/test.beep.nl\/api\/devices\/{device}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/devices PUT\/PATCH\nUpdate an existing Device","request":{"url":"https:\/\/test.beep.nl\/api\/devices\/{device}","method":"PUT","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":7,"type":"text","enabled":true},{"key":"key","value":"eligendi","type":"text","enabled":true},{"key":"hardware_id","value":"repellendus","type":"text","enabled":true},{"key":"name","value":"et","type":"text","enabled":true},{"key":"hive_id","value":3,"type":"text","enabled":true},{"key":"type","value":"reiciendis","type":"text","enabled":true},{"key":"delete","value":false,"type":"text","enabled":true},{"key":"last_message_received","value":"aliquam","type":"text","enabled":true},{"key":"firmware_version","value":"necessitatibus","type":"text","enabled":true},{"key":"hardware_version","value":"aut","type":"text","enabled":true},{"key":"boot_count","value":9,"type":"text","enabled":true},{"key":"measurement_interval_min","value":30.27043,"type":"text","enabled":true},{"key":"measurement_transmission_ratio","value":25.64,"type":"text","enabled":true},{"key":"ble_pin","value":"quisquam","type":"text","enabled":true},{"key":"battery_voltage","value":198.9654075,"type":"text","enabled":true},{"key":"next_downlink_message","value":"consequatur","type":"text","enabled":true},{"key":"last_downlink_result","value":"molestiae","type":"text","enabled":true}]},"description":"","response":[]}}]},{"name":"Api\\ExportController","description":"","item":[{"name":"https:\/\/test.beep.nl\/api\/export","request":{"url":"https:\/\/test.beep.nl\/api\/export","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/test.beep.nl\/api\/export\/csv","request":{"url":"https:\/\/test.beep.nl\/api\/export\/csv","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\GroupController","description":"","item":[{"name":"https:\/\/test.beep.nl\/api\/groups\/checktoken","request":{"url":"https:\/\/test.beep.nl\/api\/groups\/checktoken","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/test.beep.nl\/api\/groups","request":{"url":"https:\/\/test.beep.nl\/api\/groups","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/test.beep.nl\/api\/groups","request":{"url":"https:\/\/test.beep.nl\/api\/groups","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/test.beep.nl\/api\/groups\/{group}","request":{"url":"https:\/\/test.beep.nl\/api\/groups\/{group}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/test.beep.nl\/api\/groups\/{group}","request":{"url":"https:\/\/test.beep.nl\/api\/groups\/{group}","method":"PUT","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"urlencoded","urlencoded":[]},"description":"","response":[]}},{"name":"https:\/\/test.beep.nl\/api\/groups\/{group}","request":{"url":"https:\/\/test.beep.nl\/api\/groups\/{group}","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/test.beep.nl\/api\/groups\/detach\/{id}","request":{"url":"https:\/\/test.beep.nl\/api\/groups\/detach\/{id}","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\HiveController","description":"","item":[{"name":"api\/hives GET\nDisplay a listing of user hives.","request":{"url":"https:\/\/test.beep.nl\/api\/hives","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/hives POST\nStore a newly created Hive in storage for the authenticated user.","request":{"url":"https:\/\/test.beep.nl\/api\/hives","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/hives\/{id} GET\nDisplay the specified resource.","request":{"url":"https:\/\/test.beep.nl\/api\/hives\/{hive}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/hives\/{id} PATCH\nUpdate the specified user Hive in storage.","request":{"url":"https:\/\/test.beep.nl\/api\/hives\/{hive}","method":"PUT","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"urlencoded","urlencoded":[]},"description":"","response":[]}},{"name":"api\/hives\/{id} DELETE\nRemove the specified user Hive from storage.","request":{"url":"https:\/\/test.beep.nl\/api\/hives\/{hive}","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\ImageController","description":"","item":[{"name":"Display a listing of the resource.","request":{"url":"https:\/\/test.beep.nl\/api\/images","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Store a newly created resource in storage.","request":{"url":"https:\/\/test.beep.nl\/api\/images","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Display the specified resource.","request":{"url":"https:\/\/test.beep.nl\/api\/images\/{image}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Update the specified resource in storage.","request":{"url":"https:\/\/test.beep.nl\/api\/images\/{image}","method":"PUT","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"urlencoded","urlencoded":[]},"description":"","response":[]}},{"name":"Remove the specified resource from storage.","request":{"url":"https:\/\/test.beep.nl\/api\/images","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\InspectionsController","description":"","item":[{"name":"api\/inspections GET\nShow the 'inspections' list with objects reflecting only the general inspection data.","request":{"url":"https:\/\/test.beep.nl\/api\/inspections","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/inspections\/lists GET\nList checklists and its inspections linked to Hive id. The 'inspections' object contains a descending date ordered list of general inspection data. The 'items_by_date' object contains a list of (rows of) inspection items that can be placed (in columns) under the inspections by created_at date (table format). NB: Use 'Accept-Language' Header (default nl_NL) to provide localized category names (anc, name) in items_by_date.","request":{"url":"https:\/\/test.beep.nl\/api\/inspections\/lists","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"id","value":9,"type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/inspections\/{id} GET\nShow the 'inspection' object. The object reflects only the general inspection data.","request":{"url":"https:\/\/test.beep.nl\/api\/inspections\/{id}?id=pariatur","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/inspections\/hive\/{hive_id} GET\nList all inspections linked to Hive id. The 'inspections' object contains a descending date ordered list of general inspection data. The 'items_by_date' object contains a list of (rows of) inspection items that can be placed (in columns) under the inspections by created_at date (table format). NB: Use 'Accept-Language' Header (default nl_NL) to provide localized category names (anc, name) in items_by_date.","request":{"url":"https:\/\/test.beep.nl\/api\/inspections\/hive\/{hive_id}?hive_id=dolores","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/inspections POST\nRegister a new hive inspection the 'inspection' object. The object reflects only the general inspection data.","request":{"url":"https:\/\/test.beep.nl\/api\/inspections\/store","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"date","value":"2020-05-18 16:16","type":"text","enabled":true},{"key":"items","value":"{\"547\":0,\"595\":1,\"845\":\"814\"}","type":"text","enabled":true},{"key":"hive_id","value":42,"type":"text","enabled":true},{"key":"impression","value":-1,"type":"text","enabled":true},{"key":"attention","value":1,"type":"text","enabled":true},{"key":"reminder","value":"This is an inspection reminder","type":"text","enabled":true},{"key":"reminder_date","value":"2020-05-27 16:16","type":"text","enabled":true},{"key":"notes","value":"This is an inspection note","type":"text","enabled":true},{"key":"checklist_id","value":829,"type":"text","enabled":true}]},"description":"","response":[]}},{"name":"Remove the specified resource from storage.","request":{"url":"https:\/\/test.beep.nl\/api\/inspections\/{id}","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\LocationController","description":"","item":[{"name":"Display a listing of the resource.","request":{"url":"https:\/\/test.beep.nl\/api\/locations","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Store a newly created resource in storage.","request":{"url":"https:\/\/test.beep.nl\/api\/locations","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Display the specified resource.","request":{"url":"https:\/\/test.beep.nl\/api\/locations\/{location}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Update the specified resource in storage.","request":{"url":"https:\/\/test.beep.nl\/api\/locations\/{location}","method":"PUT","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"urlencoded","urlencoded":[]},"description":"","response":[]}},{"name":"Remove the specified resource from storage.","request":{"url":"https:\/\/test.beep.nl\/api\/locations\/{location}","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\MeasurementController","description":"","item":[{"name":"api\/sensors POST\nStore sensor measurement data (see BEEP sensor data API definition) from API, or TTN. In case of using api\/unsecure_sensors, this is used for legacy measurement devices that do not have the means to encrypt HTTPS cypher","request":{"url":"https:\/\/test.beep.nl\/api\/sensors","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"key","value":"dignissimos","type":"text","enabled":true},{"key":"data","value":[],"type":"text","enabled":true},{"key":"payload_fields","value":[],"type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/lora_sensors POST\nStore sensor measurement data (see BEEP sensor data API definition) from TTN or KPN (Simpoint)\nWhen Simpoint payload is supplied, the LoRa HEX to key\/value pairs decoding is done within function $this->parse_ttn_payload()\nWhen TTN payload is supplied, the TTN HTTP integration decoder\/converter is assumed to have already converted the payload from LoRa HEX to key\/value conversion","request":{"url":"https:\/\/test.beep.nl\/api\/lora_sensors","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"key","value":"facilis","type":"text","enabled":true},{"key":"payload_fields","value":[],"type":"text","enabled":true},{"key":"DevEUI_uplink","value":[],"type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/sensors POST\nStore sensor measurement data (see BEEP sensor data API definition) from API, or TTN. In case of using api\/unsecure_sensors, this is used for legacy measurement devices that do not have the means to encrypt HTTPS cypher","request":{"url":"https:\/\/test.beep.nl\/api\/unsecure_sensors","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"key","value":"vero","type":"text","enabled":true},{"key":"data","value":[],"type":"text","enabled":true},{"key":"payload_fields","value":[],"type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/sensors\/measurements GET\nRequest all sensor measurements from a certain interval (hour, day, week, month, year) and index (0=until now, 1=previous interval, etc.)","request":{"url":"https:\/\/test.beep.nl\/api\/sensors\/measurements","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"key","value":"deserunt","type":"text","enabled":true},{"key":"id","value":5,"type":"text","enabled":true},{"key":"hive_id","value":4,"type":"text","enabled":true},{"key":"names","value":"nobis","type":"text","enabled":true},{"key":"interval","value":"blanditiis","type":"text","enabled":true},{"key":"index","value":16,"type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/sensors\/lastvalues GET\nRequest last measurement values of all sensor measurements from a sensor (Device)","request":{"url":"https:\/\/test.beep.nl\/api\/sensors\/lastvalues","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"key","value":"consectetur","type":"text","enabled":true},{"key":"id","value":5,"type":"text","enabled":true},{"key":"hive_id","value":2,"type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/sensors\/lastweight GET\nRequest last weight related measurement values from a sensor (Device), used by legacy webapp to show calibration data: ['w_fl', 'w_fr', 'w_bl', 'w_br', 'w_v', 'weight_kg', 'weight_kg_corrected', 'calibrating_weight', 'w_v_offset', 'w_v_kg_per_val', 'w_fl_offset', 'w_fr_offset', 'w_bl_offset', 'w_br_offset']","request":{"url":"https:\/\/test.beep.nl\/api\/sensors\/lastweight","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"key","value":"numquam","type":"text","enabled":true},{"key":"id","value":3,"type":"text","enabled":true},{"key":"hive_id","value":19,"type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/sensors\/calibrateweight\nLegacy method, used by legacy webapp to store weight calibration value e.g.[w_v_kg_per_val] in Influx database, to lookup and calculate [weight_kg] at incoming measurement value storage","request":{"url":"https:\/\/test.beep.nl\/api\/sensors\/calibrateweight","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"At the next measurement coming in, calibrate each weight sensor with it's part of a given weight.\nBecause the measurements can come in only each hour\/ 3hrs, set a value to trigger the calculation on next measurement\n\n1. If $next_measurement == true: save 'calibrating' = true in Influx with the sensor key\n2. If $next_measurement == false: save 'calibrating' = false in Influx with the sensor key and...\n3. Get the last measured weight values for this sensor key,\n Divide the given weight (in kg) with the amount of sensor values > 1.0 (assuming the weight is evenly distributed)\n Calculate the multiplier per sensor by dividing the multiplier = weight_part \/ (value - offset)\n Save the multiplier as $device_name.'_kg_per_val' in Influx","response":[]}},{"name":"https:\/\/test.beep.nl\/api\/sensors\/offsetweight","request":{"url":"https:\/\/test.beep.nl\/api\/sensors\/offsetweight","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/test.beep.nl\/api\/sensors\/measurement_types_available","request":{"url":"https:\/\/test.beep.nl\/api\/sensors\/measurement_types_available","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/lora_sensors POST\nStore sensor measurement data (see BEEP sensor data API definition) from TTN or KPN (Simpoint)\nWhen Simpoint payload is supplied, the LoRa HEX to key\/value pairs decoding is done within function $this->parse_ttn_payload()\nWhen TTN payload is supplied, the TTN HTTP integration decoder\/converter is assumed to have already converted the payload from LoRa HEX to key\/value conversion","request":{"url":"https:\/\/test.beep.nl\/api\/lora_sensors_auth","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"key","value":"eum","type":"text","enabled":true},{"key":"payload_fields","value":[],"type":"text","enabled":true},{"key":"DevEUI_uplink","value":[],"type":"text","enabled":true}]},"description":"","response":[]}}]},{"name":"Api\\ProductionController","description":"","item":[{"name":"Display a listing of the resource.","request":{"url":"https:\/\/test.beep.nl\/api\/productions","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Store a newly created resource in storage.","request":{"url":"https:\/\/test.beep.nl\/api\/productions","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Display the specified resource.","request":{"url":"https:\/\/test.beep.nl\/api\/productions\/{production}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Update the specified resource in storage.","request":{"url":"https:\/\/test.beep.nl\/api\/productions\/{production}","method":"PUT","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"urlencoded","urlencoded":[]},"description":"","response":[]}},{"name":"Remove the specified resource from storage.","request":{"url":"https:\/\/test.beep.nl\/api\/productions\/{production}","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\QueenController","description":"","item":[{"name":"Display a listing of the resource.","request":{"url":"https:\/\/test.beep.nl\/api\/queens","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Store a newly created resource in storage.","request":{"url":"https:\/\/test.beep.nl\/api\/queens","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Display the specified resource.","request":{"url":"https:\/\/test.beep.nl\/api\/queens\/{queen}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Update the specified resource in storage.","request":{"url":"https:\/\/test.beep.nl\/api\/queens\/{queen}","method":"PUT","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"urlencoded","urlencoded":[]},"description":"","response":[]}},{"name":"Remove the specified resource from storage.","request":{"url":"https:\/\/test.beep.nl\/api\/queens\/{queen}","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\ResearchController","description":"","item":[{"name":"Display a listing of the resource.","request":{"url":"https:\/\/test.beep.nl\/api\/research","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Update the specified resource in storage.","request":{"url":"https:\/\/test.beep.nl\/api\/research\/{id}\/add_consent","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/test.beep.nl\/api\/research\/{id}\/remove_consent","request":{"url":"https:\/\/test.beep.nl\/api\/research\/{id}\/remove_consent","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/test.beep.nl\/api\/research\/{id}\/edit\/{consent_id}","request":{"url":"https:\/\/test.beep.nl\/api\/research\/{id}\/edit\/{consent_id}","method":"PATCH","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/test.beep.nl\/api\/research\/{id}\/delete\/{consent_id}","request":{"url":"https:\/\/test.beep.nl\/api\/research\/{id}\/delete\/{consent_id}","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\ResearchDataController","description":"","item":[{"name":"api\/researchdata GET\nList all available Researches","request":{"url":"https:\/\/test.beep.nl\/api\/researchdata","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/researchdata\/{id} GET\nList one Research by id with list of consent_users","request":{"url":"https:\/\/test.beep.nl\/api\/researchdata\/{id}?id=consequatur","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/researchdata\/{id}\/user\/{user_id}\/{item} GET\nList all user 'item' data within the consent=1 periods of a specific user within a Research.","request":{"url":"https:\/\/test.beep.nl\/api\/researchdata\/{id}\/user\/{user_id}\/{item}?id=voluptates&user_id=porro&item=amet","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"date_start","value":"suscipit","type":"text","enabled":true},{"key":"date_until","value":"sed","type":"text","enabled":true}]},"description":"","response":[]}}]},{"name":"Api\\SensorDefinitionController","description":"","item":[{"name":"api\/sensordefinition GET\nDisplay a listing of the resource.","request":{"url":"https:\/\/test.beep.nl\/api\/sensordefinition","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"device_id","value":12,"type":"text","enabled":true},{"key":"device_hardware_id","value":"maiores","type":"text","enabled":true},{"key":"input_measurement_abbreviation","value":"incidunt","type":"text","enabled":true},{"key":"limit","value":20,"type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/sensordefinition POST\nStore a newly created resource in storage.","request":{"url":"https:\/\/test.beep.nl\/api\/sensordefinition","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"iure","type":"text","enabled":true},{"key":"inside","value":false,"type":"text","enabled":true},{"key":"offset","value":806571.656330946,"type":"text","enabled":true},{"key":"multiplier","value":242.72931977,"type":"text","enabled":true},{"key":"input_measurement_id","value":5,"type":"text","enabled":true},{"key":"input_measurement_abbreviation","value":"w_v","type":"text","enabled":true},{"key":"output_measurement_id","value":6,"type":"text","enabled":true},{"key":"output_measurement_abbreviation","value":"t_i","type":"text","enabled":true},{"key":"device_id","value":4,"type":"text","enabled":true},{"key":"device_hardware_id","value":"eos","type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/sensordefinition\/{id} GET\nDisplay the specified resource.","request":{"url":"https:\/\/test.beep.nl\/api\/sensordefinition\/{sensordefinition}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/sensordefinition PATCH\nUpdate the specified resource in storage.","request":{"url":"https:\/\/test.beep.nl\/api\/sensordefinition\/{sensordefinition}","method":"PUT","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"urlencoded","urlencoded":[]},"description":"","response":[]}},{"name":"api\/sensordefinition DELETE\nRemove the specified resource from storage.","request":{"url":"https:\/\/test.beep.nl\/api\/sensordefinition\/{sensordefinition}","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\SettingController","description":"","item":[{"name":"https:\/\/test.beep.nl\/api\/settings","request":{"url":"https:\/\/test.beep.nl\/api\/settings","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/test.beep.nl\/api\/settings","request":{"url":"https:\/\/test.beep.nl\/api\/settings","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\TaxonomyController","description":"","item":[{"name":"https:\/\/test.beep.nl\/api\/taxonomy\/lists","request":{"url":"https:\/\/test.beep.nl\/api\/taxonomy\/lists","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/test.beep.nl\/api\/taxonomy\/taxonomy","request":{"url":"https:\/\/test.beep.nl\/api\/taxonomy\/taxonomy","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\UserController","description":"","item":[{"name":"api\/register\nRegisters a new user and sends an e-mail verification request on succesful save","request":{"url":"https:\/\/test.beep.nl\/api\/register","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"test@test.com","type":"text","enabled":true},{"key":"password","value":"testtest","type":"text","enabled":true},{"key":"policy_accepted","value":"beep_terms_2018_05_25_avg_v1","type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/login\nLogin via login form","request":{"url":"https:\/\/test.beep.nl\/api\/login","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"test@test.com","type":"text","enabled":true},{"key":"password","value":"testtest","type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/user\/reminder\nSend password reset link\nresponses: invalid_user, reminder_sent, invalid_password, invalid_token, password_reset","request":{"url":"https:\/\/test.beep.nl\/api\/user\/reminder","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"test@test.com","type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/user\/reset\nReset the user passowrd with a reset link\nresponses: INVALID_USER, RESET_LINK_SENT, INVALID_PASSWORD, INVALID_TOKEN, PASSWORD_RESET","request":{"url":"https:\/\/test.beep.nl\/api\/user\/reset","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"test@test.com","type":"text","enabled":true},{"key":"password","value":"testtest","type":"text","enabled":true},{"key":"password_confirm","value":"testtest","type":"text","enabled":true},{"key":"token","value":"z8iQafmgP1","type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/authenticate\nAuthorize a user and login with an api_token. Used for persistent login in webapp.","request":{"url":"https:\/\/test.beep.nl\/api\/authenticate","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"Header parameter with Bearer [api_token] from the user object. Example: Bearer 1snu2aRRiwQNl2Tul567hLF0XpKuZO8hqkgXU4GvjzZ3f3pOCiDPFbBDea7W","response":[]}},{"name":"api\/user DELETE\nDestroy the logged in user and all its data in the database","request":{"url":"https:\/\/test.beep.nl\/api\/user","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/user PATCH\nEdit the user details","request":{"url":"https:\/\/test.beep.nl\/api\/user","method":"PATCH","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"test@test.com","type":"text","enabled":true},{"key":"password","value":"testtest","type":"text","enabled":true},{"key":"password_confirm","value":"testtest","type":"text","enabled":true},{"key":"policy_accepted","value":"beep_terms_2018_05_25_avg_v1","type":"text","enabled":true}]},"description":"","response":[]}}]},{"name":"Api\\VerificationController","description":"","item":[{"name":"Show the email verification notice.","request":{"url":"https:\/\/test.beep.nl\/api\/email\/verify","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Mark the authenticated user's email address as verified.","request":{"url":"https:\/\/test.beep.nl\/api\/email\/verify\/{id}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Resend the email verification notification.","request":{"url":"https:\/\/test.beep.nl\/api\/email\/resend","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"general","description":"","item":[{"name":"Display a listing of the resource.","request":{"url":"https:\/\/test.beep.nl\/api\/weather","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Display a listing of the resource.","request":{"url":"https:\/\/test.beep.nl\/api\/samplecode","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Store a newly created resource in storage.","request":{"url":"https:\/\/test.beep.nl\/api\/samplecode","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Display the specified resource.","request":{"url":"https:\/\/test.beep.nl\/api\/samplecode\/{samplecode}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Update the specified resource in storage.","request":{"url":"https:\/\/test.beep.nl\/api\/samplecode\/{samplecode}","method":"PUT","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"urlencoded","urlencoded":[]},"description":"","response":[]}},{"name":"Remove the specified resource from storage.","request":{"url":"https:\/\/test.beep.nl\/api\/samplecode","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]}]}
\ No newline at end of file
+{"variables":[],"info":{"name":"BEEP","_postman_id":"d7b9cf44-faee-4a55-96f3-c30db8008687","description":"BEEP API","schema":"https:\/\/schema.getpostman.com\/json\/collection\/v2.0.0\/collection.json"},"item":[{"name":"Api\\CategoryController","description":"","item":[{"name":"api\/categories\nDisplay a listing of the inspection categories.","request":{"url":"https:\/\/api.beep.nl\/api\/categories","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/categories\/{id}\nDisplay the specified category.","request":{"url":"https:\/\/api.beep.nl\/api\/categories\/{category}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\ChecklistController","description":"","item":[{"name":"Display a listing of the resource.","request":{"url":"https:\/\/api.beep.nl\/api\/checklists","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/api.beep.nl\/api\/checklists","request":{"url":"https:\/\/api.beep.nl\/api\/checklists","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/api.beep.nl\/api\/checklists\/{checklist}","request":{"url":"https:\/\/api.beep.nl\/api\/checklists\/{checklist}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/api.beep.nl\/api\/checklists\/{checklist}","request":{"url":"https:\/\/api.beep.nl\/api\/checklists\/{checklist}","method":"PUT","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"urlencoded","urlencoded":[]},"description":"","response":[]}},{"name":"https:\/\/api.beep.nl\/api\/checklists\/{checklist}","request":{"url":"https:\/\/api.beep.nl\/api\/checklists\/{checklist}","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\DeviceController","description":"","item":[{"name":"api\/devices\/multiple POST\nStore\/update multiple Devices in an array of Device objects","request":{"url":"https:\/\/api.beep.nl\/api\/devices\/multiple","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"id","value":1,"type":"text","enabled":true},{"key":"key","value":"necessitatibus","type":"text","enabled":true},{"key":"hardware_id","value":"sit","type":"text","enabled":true},{"key":"name","value":"alias","type":"text","enabled":true},{"key":"hive_id","value":14,"type":"text","enabled":true},{"key":"type","value":"doloribus","type":"text","enabled":true},{"key":"last_message_received","value":"incidunt","type":"text","enabled":true},{"key":"firmware_version","value":"quis","type":"text","enabled":true},{"key":"hardware_version","value":"ex","type":"text","enabled":true},{"key":"boot_count","value":8,"type":"text","enabled":true},{"key":"measurement_interval_min","value":0,"type":"text","enabled":true},{"key":"measurement_transmission_ratio","value":6274348.332087,"type":"text","enabled":true},{"key":"ble_pin","value":"aut","type":"text","enabled":true},{"key":"battery_voltage","value":221881238,"type":"text","enabled":true},{"key":"next_downlink_message","value":"dolore","type":"text","enabled":true},{"key":"last_downlink_result","value":"exercitationem","type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/devices\/ttn\/{dev_id} GET\nGet a TTN Device by Device ID (BEEP hardware_id)","request":{"url":"https:\/\/api.beep.nl\/api\/devices\/ttn\/{dev_id}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/devices\/ttn\/{dev_id} POST\nCreate an OTAA LoRaWAN Device in the BEEP TTN Console by dev_id (dev_id (= BEEP hardware_id) a unique identifier for the device. It can contain lowercase letters, numbers, - and _) and this payload:\n{\n\"lorawan_device\": {\n\"dev_eui\": \"<8 byte identifier for the device>\",\n\"app_key\": \"<16 byte static key that is known by the device and the application. It is used for negotiating session keys (OTAA)>\"\n}\n}","request":{"url":"https:\/\/api.beep.nl\/api\/devices\/ttn\/{dev_id}","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/devices GET\nList all user Devices","request":{"url":"https:\/\/api.beep.nl\/api\/devices","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"hardware_id","value":"similique","type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/devices POST\nCreate or Update a Device","request":{"url":"https:\/\/api.beep.nl\/api\/devices","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"id","value":16,"type":"text","enabled":true},{"key":"key","value":"ab","type":"text","enabled":true},{"key":"hardware_id","value":"laudantium","type":"text","enabled":true},{"key":"name","value":"nostrum","type":"text","enabled":true},{"key":"hive_id","value":4,"type":"text","enabled":true},{"key":"type","value":"eum","type":"text","enabled":true},{"key":"last_message_received","value":"modi","type":"text","enabled":true},{"key":"firmware_version","value":"illum","type":"text","enabled":true},{"key":"hardware_version","value":"sed","type":"text","enabled":true},{"key":"boot_count","value":16,"type":"text","enabled":true},{"key":"measurement_interval_min","value":218.343005352,"type":"text","enabled":true},{"key":"measurement_transmission_ratio","value":13228.3832504,"type":"text","enabled":true},{"key":"ble_pin","value":"minus","type":"text","enabled":true},{"key":"battery_voltage","value":306.848,"type":"text","enabled":true},{"key":"next_downlink_message","value":"eveniet","type":"text","enabled":true},{"key":"last_downlink_result","value":"soluta","type":"text","enabled":true},{"key":"create_ttn_device","value":true,"type":"text","enabled":true},{"key":"app_key","value":"numquam","type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/devices\/{id} GET\nList one Device by id","request":{"url":"https:\/\/api.beep.nl\/api\/devices\/{device}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/devices PUT\/PATCH\nUpdate an existing Device","request":{"url":"https:\/\/api.beep.nl\/api\/devices\/{device}","method":"PUT","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":20,"type":"text","enabled":true},{"key":"key","value":"praesentium","type":"text","enabled":true},{"key":"hardware_id","value":"eveniet","type":"text","enabled":true},{"key":"name","value":"quia","type":"text","enabled":true},{"key":"hive_id","value":7,"type":"text","enabled":true},{"key":"type","value":"laudantium","type":"text","enabled":true},{"key":"delete","value":true,"type":"text","enabled":true},{"key":"last_message_received","value":"quibusdam","type":"text","enabled":true},{"key":"firmware_version","value":"ipsum","type":"text","enabled":true},{"key":"hardware_version","value":"nostrum","type":"text","enabled":true},{"key":"boot_count","value":15,"type":"text","enabled":true},{"key":"measurement_interval_min","value":3998.31519,"type":"text","enabled":true},{"key":"measurement_transmission_ratio","value":35.514,"type":"text","enabled":true},{"key":"ble_pin","value":"consequatur","type":"text","enabled":true},{"key":"battery_voltage","value":591377700,"type":"text","enabled":true},{"key":"next_downlink_message","value":"error","type":"text","enabled":true},{"key":"last_downlink_result","value":"ipsum","type":"text","enabled":true}]},"description":"","response":[]}}]},{"name":"Api\\ExportController","description":"","item":[{"name":"https:\/\/api.beep.nl\/api\/export","request":{"url":"https:\/\/api.beep.nl\/api\/export","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/api.beep.nl\/api\/export\/csv","request":{"url":"https:\/\/api.beep.nl\/api\/export\/csv","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\GroupController","description":"","item":[{"name":"https:\/\/api.beep.nl\/api\/groups\/checktoken","request":{"url":"https:\/\/api.beep.nl\/api\/groups\/checktoken","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/api.beep.nl\/api\/groups","request":{"url":"https:\/\/api.beep.nl\/api\/groups","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/api.beep.nl\/api\/groups","request":{"url":"https:\/\/api.beep.nl\/api\/groups","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/api.beep.nl\/api\/groups\/{group}","request":{"url":"https:\/\/api.beep.nl\/api\/groups\/{group}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/api.beep.nl\/api\/groups\/{group}","request":{"url":"https:\/\/api.beep.nl\/api\/groups\/{group}","method":"PUT","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"urlencoded","urlencoded":[]},"description":"","response":[]}},{"name":"https:\/\/api.beep.nl\/api\/groups\/{group}","request":{"url":"https:\/\/api.beep.nl\/api\/groups\/{group}","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/api.beep.nl\/api\/groups\/detach\/{id}","request":{"url":"https:\/\/api.beep.nl\/api\/groups\/detach\/{id}","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\HiveController","description":"","item":[{"name":"api\/hives GET\nDisplay a listing of user hives.","request":{"url":"https:\/\/api.beep.nl\/api\/hives","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/hives POST\nStore a newly created Hive in storage for the authenticated user.","request":{"url":"https:\/\/api.beep.nl\/api\/hives","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/hives\/{id} GET\nDisplay the specified resource.","request":{"url":"https:\/\/api.beep.nl\/api\/hives\/{hive}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/hives\/{id} PATCH\nUpdate the specified user Hive in storage.","request":{"url":"https:\/\/api.beep.nl\/api\/hives\/{hive}","method":"PUT","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"urlencoded","urlencoded":[]},"description":"","response":[]}},{"name":"api\/hives\/{id} DELETE\nRemove the specified user Hive from storage.","request":{"url":"https:\/\/api.beep.nl\/api\/hives\/{hive}","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\ImageController","description":"","item":[{"name":"Display a listing of the resource.","request":{"url":"https:\/\/api.beep.nl\/api\/images","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Store a newly created resource in storage.","request":{"url":"https:\/\/api.beep.nl\/api\/images","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Display the specified resource.","request":{"url":"https:\/\/api.beep.nl\/api\/images\/{image}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Update the specified resource in storage.","request":{"url":"https:\/\/api.beep.nl\/api\/images\/{image}","method":"PUT","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"urlencoded","urlencoded":[]},"description":"","response":[]}},{"name":"Remove the specified resource from storage.","request":{"url":"https:\/\/api.beep.nl\/api\/images","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\InspectionsController","description":"","item":[{"name":"api\/inspections GET\nShow the 'inspections' list with objects reflecting only the general inspection data.","request":{"url":"https:\/\/api.beep.nl\/api\/inspections","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/inspections\/lists GET\nList checklists and its inspections linked to Hive id. The 'inspections' object contains a descending date ordered list of general inspection data. The 'items_by_date' object contains a list of (rows of) inspection items that can be placed (in columns) under the inspections by created_at date (table format). NB: Use 'Accept-Language' Header (default nl_NL) to provide localized category names (anc, name) in items_by_date.","request":{"url":"https:\/\/api.beep.nl\/api\/inspections\/lists","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"id","value":15,"type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/inspections\/{id} GET\nShow the 'inspection' object. The object reflects only the general inspection data.","request":{"url":"https:\/\/api.beep.nl\/api\/inspections\/{id}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/inspections\/hive\/{hive_id} GET\nList all inspections linked to Hive id. The 'inspections' object contains a descending date ordered list of general inspection data. The 'items_by_date' object contains a list of (rows of) inspection items that can be placed (in columns) under the inspections by created_at date (table format). NB: Use 'Accept-Language' Header (default nl_NL) to provide localized category names (anc, name) in items_by_date.","request":{"url":"https:\/\/api.beep.nl\/api\/inspections\/hive\/{hive_id}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/inspections POST\nRegister a new hive inspection the 'inspection' object. The object reflects only the general inspection data.","request":{"url":"https:\/\/api.beep.nl\/api\/inspections\/store","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"date","value":"2020-05-18 16:16","type":"text","enabled":true},{"key":"items","value":"{\"547\":0,\"595\":1,\"845\":\"814\"}","type":"text","enabled":true},{"key":"hive_id","value":42,"type":"text","enabled":true},{"key":"impression","value":-1,"type":"text","enabled":true},{"key":"attention","value":1,"type":"text","enabled":true},{"key":"reminder","value":"This is an inspection reminder","type":"text","enabled":true},{"key":"reminder_date","value":"2020-05-27 16:16","type":"text","enabled":true},{"key":"notes","value":"This is an inspection note","type":"text","enabled":true},{"key":"checklist_id","value":829,"type":"text","enabled":true}]},"description":"","response":[]}},{"name":"Remove the specified resource from storage.","request":{"url":"https:\/\/api.beep.nl\/api\/inspections\/{id}","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\LocationController","description":"","item":[{"name":"Display a listing of the resource.","request":{"url":"https:\/\/api.beep.nl\/api\/locations","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Store a newly created resource in storage.","request":{"url":"https:\/\/api.beep.nl\/api\/locations","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Display the specified resource.","request":{"url":"https:\/\/api.beep.nl\/api\/locations\/{location}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Update the specified resource in storage.","request":{"url":"https:\/\/api.beep.nl\/api\/locations\/{location}","method":"PUT","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"urlencoded","urlencoded":[]},"description":"","response":[]}},{"name":"Remove the specified resource from storage.","request":{"url":"https:\/\/api.beep.nl\/api\/locations\/{location}","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\MeasurementController","description":"","item":[{"name":"api\/sensors POST\nStore sensor measurement data (see BEEP sensor data API definition) from API, or TTN. In case of using api\/unsecure_sensors, this is used for legacy measurement devices that do not have the means to encrypt HTTPS cypher","request":{"url":"https:\/\/api.beep.nl\/api\/sensors","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"key","value":"dicta","type":"text","enabled":true},{"key":"data","value":[],"type":"text","enabled":true},{"key":"payload_fields","value":[],"type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/lora_sensors POST\nStore sensor measurement data (see BEEP sensor data API definition) from TTN or KPN (Simpoint)\nWhen Simpoint payload is supplied, the LoRa HEX to key\/value pairs decoding is done within function $this->parse_ttn_payload()\nWhen TTN payload is supplied, the TTN HTTP integration decoder\/converter is assumed to have already converted the payload from LoRa HEX to key\/value conversion","request":{"url":"https:\/\/api.beep.nl\/api\/lora_sensors","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"key","value":"recusandae","type":"text","enabled":true},{"key":"payload_fields","value":[],"type":"text","enabled":true},{"key":"DevEUI_uplink","value":[],"type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/sensors POST\nStore sensor measurement data (see BEEP sensor data API definition) from API, or TTN. In case of using api\/unsecure_sensors, this is used for legacy measurement devices that do not have the means to encrypt HTTPS cypher","request":{"url":"https:\/\/api.beep.nl\/api\/unsecure_sensors","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"key","value":"id","type":"text","enabled":true},{"key":"data","value":[],"type":"text","enabled":true},{"key":"payload_fields","value":[],"type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/sensors\/measurements GET\nRequest all sensor measurements from a certain interval (hour, day, week, month, year) and index (0=until now, 1=previous interval, etc.)","request":{"url":"https:\/\/api.beep.nl\/api\/sensors\/measurements","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"key","value":"deserunt","type":"text","enabled":true},{"key":"id","value":1,"type":"text","enabled":true},{"key":"hive_id","value":3,"type":"text","enabled":true},{"key":"names","value":"veritatis","type":"text","enabled":true},{"key":"interval","value":"quae","type":"text","enabled":true},{"key":"index","value":11,"type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/sensors\/lastvalues GET\nRequest last measurement values of all sensor measurements from a sensor (Device)","request":{"url":"https:\/\/api.beep.nl\/api\/sensors\/lastvalues","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"key","value":"magni","type":"text","enabled":true},{"key":"id","value":20,"type":"text","enabled":true},{"key":"hive_id","value":9,"type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/sensors\/lastweight GET\nRequest last weight related measurement values from a sensor (Device), used by legacy webapp to show calibration data: ['w_fl', 'w_fr', 'w_bl', 'w_br', 'w_v', 'weight_kg', 'weight_kg_corrected', 'calibrating_weight', 'w_v_offset', 'w_v_kg_per_val', 'w_fl_offset', 'w_fr_offset', 'w_bl_offset', 'w_br_offset']","request":{"url":"https:\/\/api.beep.nl\/api\/sensors\/lastweight","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"key","value":"molestiae","type":"text","enabled":true},{"key":"id","value":6,"type":"text","enabled":true},{"key":"hive_id","value":7,"type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/sensors\/calibrateweight\nLegacy method, used by legacy webapp to store weight calibration value e.g.[w_v_kg_per_val] in Influx database, to lookup and calculate [weight_kg] at incoming measurement value storage","request":{"url":"https:\/\/api.beep.nl\/api\/sensors\/calibrateweight","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"At the next measurement coming in, calibrate each weight sensor with it's part of a given weight.\nBecause the measurements can come in only each hour\/ 3hrs, set a value to trigger the calculation on next measurement\n\n1. If $next_measurement == true: save 'calibrating' = true in Influx with the sensor key\n2. If $next_measurement == false: save 'calibrating' = false in Influx with the sensor key and...\n3. Get the last measured weight values for this sensor key,\n Divide the given weight (in kg) with the amount of sensor values > 1.0 (assuming the weight is evenly distributed)\n Calculate the multiplier per sensor by dividing the multiplier = weight_part \/ (value - offset)\n Save the multiplier as $device_name.'_kg_per_val' in Influx","response":[]}},{"name":"https:\/\/api.beep.nl\/api\/sensors\/offsetweight","request":{"url":"https:\/\/api.beep.nl\/api\/sensors\/offsetweight","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/api.beep.nl\/api\/sensors\/measurement_types_available","request":{"url":"https:\/\/api.beep.nl\/api\/sensors\/measurement_types_available","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/lora_sensors POST\nStore sensor measurement data (see BEEP sensor data API definition) from TTN or KPN (Simpoint)\nWhen Simpoint payload is supplied, the LoRa HEX to key\/value pairs decoding is done within function $this->parse_ttn_payload()\nWhen TTN payload is supplied, the TTN HTTP integration decoder\/converter is assumed to have already converted the payload from LoRa HEX to key\/value conversion","request":{"url":"https:\/\/api.beep.nl\/api\/lora_sensors_auth","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"key","value":"totam","type":"text","enabled":true},{"key":"payload_fields","value":[],"type":"text","enabled":true},{"key":"DevEUI_uplink","value":[],"type":"text","enabled":true}]},"description":"","response":[]}}]},{"name":"Api\\ProductionController","description":"","item":[{"name":"Display a listing of the resource.","request":{"url":"https:\/\/api.beep.nl\/api\/productions","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Store a newly created resource in storage.","request":{"url":"https:\/\/api.beep.nl\/api\/productions","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Display the specified resource.","request":{"url":"https:\/\/api.beep.nl\/api\/productions\/{production}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Update the specified resource in storage.","request":{"url":"https:\/\/api.beep.nl\/api\/productions\/{production}","method":"PUT","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"urlencoded","urlencoded":[]},"description":"","response":[]}},{"name":"Remove the specified resource from storage.","request":{"url":"https:\/\/api.beep.nl\/api\/productions\/{production}","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\QueenController","description":"","item":[{"name":"Display a listing of the resource.","request":{"url":"https:\/\/api.beep.nl\/api\/queens","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Store a newly created resource in storage.","request":{"url":"https:\/\/api.beep.nl\/api\/queens","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Display the specified resource.","request":{"url":"https:\/\/api.beep.nl\/api\/queens\/{queen}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Update the specified resource in storage.","request":{"url":"https:\/\/api.beep.nl\/api\/queens\/{queen}","method":"PUT","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"urlencoded","urlencoded":[]},"description":"","response":[]}},{"name":"Remove the specified resource from storage.","request":{"url":"https:\/\/api.beep.nl\/api\/queens\/{queen}","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\ResearchController","description":"","item":[{"name":"Display a listing of the resource.","request":{"url":"https:\/\/api.beep.nl\/api\/research","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Update the specified resource in storage.","request":{"url":"https:\/\/api.beep.nl\/api\/research\/{id}\/add_consent","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/api.beep.nl\/api\/research\/{id}\/remove_consent","request":{"url":"https:\/\/api.beep.nl\/api\/research\/{id}\/remove_consent","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/api.beep.nl\/api\/research\/{id}\/edit\/{consent_id}","request":{"url":"https:\/\/api.beep.nl\/api\/research\/{id}\/edit\/{consent_id}","method":"PATCH","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/api.beep.nl\/api\/research\/{id}\/delete\/{consent_id}","request":{"url":"https:\/\/api.beep.nl\/api\/research\/{id}\/delete\/{consent_id}","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\ResearchDataController","description":"","item":[{"name":"api\/researchdata GET\nList all available Researches","request":{"url":"https:\/\/api.beep.nl\/api\/researchdata","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/researchdata\/{id} GET\nList one Research by id with list of consent_users","request":{"url":"https:\/\/api.beep.nl\/api\/researchdata\/{id}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/researchdata\/{id}\/user\/{user_id}\/{item} GET\nList all user 'item' data within the consent=1 periods of a specific user within a Research. The 'item' field indicates the type of user data (apiaries\/hives\/devices\/inspections\/measurements) to request within the research (which the user gave consent for to use). Example: inspectionsResponse: api\/researchdata\/1\/user\/1\/inspections.","request":{"url":"https:\/\/api.beep.nl\/api\/researchdata\/{id}\/user\/{user_id}\/{item}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"date_start","value":"2020-01-01 00:00:00","type":"text","enabled":true},{"key":"date_until","value":"2020-09-29 23:59:59","type":"text","enabled":true}]},"description":"","response":[]}}]},{"name":"Api\\SensorDefinitionController","description":"","item":[{"name":"api\/sensordefinition GET\nDisplay a listing of the resource.","request":{"url":"https:\/\/api.beep.nl\/api\/sensordefinition","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"device_id","value":8,"type":"text","enabled":true},{"key":"device_hardware_id","value":"hic","type":"text","enabled":true},{"key":"input_measurement_abbreviation","value":"non","type":"text","enabled":true},{"key":"limit","value":14,"type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/sensordefinition POST\nStore a newly created resource in storage.","request":{"url":"https:\/\/api.beep.nl\/api\/sensordefinition","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"aut","type":"text","enabled":true},{"key":"inside","value":false,"type":"text","enabled":true},{"key":"offset","value":2023.3,"type":"text","enabled":true},{"key":"multiplier","value":28.832819,"type":"text","enabled":true},{"key":"input_measurement_id","value":5,"type":"text","enabled":true},{"key":"input_measurement_abbreviation","value":"w_v","type":"text","enabled":true},{"key":"output_measurement_id","value":6,"type":"text","enabled":true},{"key":"output_measurement_abbreviation","value":"t_i","type":"text","enabled":true},{"key":"device_id","value":6,"type":"text","enabled":true},{"key":"device_hardware_id","value":"nihil","type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/sensordefinition\/{id} GET\nDisplay the specified resource.","request":{"url":"https:\/\/api.beep.nl\/api\/sensordefinition\/{sensordefinition}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/sensordefinition PATCH\nUpdate the specified resource in storage.","request":{"url":"https:\/\/api.beep.nl\/api\/sensordefinition\/{sensordefinition}","method":"PUT","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"urlencoded","urlencoded":[]},"description":"","response":[]}},{"name":"api\/sensordefinition DELETE\nRemove the specified resource from storage.","request":{"url":"https:\/\/api.beep.nl\/api\/sensordefinition\/{sensordefinition}","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\SettingController","description":"","item":[{"name":"https:\/\/api.beep.nl\/api\/settings","request":{"url":"https:\/\/api.beep.nl\/api\/settings","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/api.beep.nl\/api\/settings","request":{"url":"https:\/\/api.beep.nl\/api\/settings","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\TaxonomyController","description":"","item":[{"name":"https:\/\/api.beep.nl\/api\/taxonomy\/lists","request":{"url":"https:\/\/api.beep.nl\/api\/taxonomy\/lists","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"https:\/\/api.beep.nl\/api\/taxonomy\/taxonomy","request":{"url":"https:\/\/api.beep.nl\/api\/taxonomy\/taxonomy","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"Api\\UserController","description":"","item":[{"name":"api\/register\nRegisters a new user and sends an e-mail verification request on succesful save","request":{"url":"https:\/\/api.beep.nl\/api\/register","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"test@test.com","type":"text","enabled":true},{"key":"password","value":"testtest","type":"text","enabled":true},{"key":"policy_accepted","value":"beep_terms_2018_05_25_avg_v1","type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/login\nLogin via login form","request":{"url":"https:\/\/api.beep.nl\/api\/login","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"test@test.com","type":"text","enabled":true},{"key":"password","value":"testtest","type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/user\/reminder\nSend password reset link\nresponses: invalid_user, reminder_sent, invalid_password, invalid_token, password_reset","request":{"url":"https:\/\/api.beep.nl\/api\/user\/reminder","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"test@test.com","type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/user\/reset\nReset the user passowrd with a reset link\nresponses: INVALID_USER, RESET_LINK_SENT, INVALID_PASSWORD, INVALID_TOKEN, PASSWORD_RESET","request":{"url":"https:\/\/api.beep.nl\/api\/user\/reset","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"test@test.com","type":"text","enabled":true},{"key":"password","value":"testtest","type":"text","enabled":true},{"key":"password_confirm","value":"testtest","type":"text","enabled":true},{"key":"token","value":"z8iQafmgP1","type":"text","enabled":true}]},"description":"","response":[]}},{"name":"api\/authenticate\nAuthorize a user and login with an api_token. Used for persistent login in webapp.","request":{"url":"https:\/\/api.beep.nl\/api\/authenticate","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"Header parameter with Bearer [api_token] from the user object. Example: Bearer 1snu2aRRiwQNl2Tul567hLF0XpKuZO8hqkgXU4GvjzZ3f3pOCiDPFbBDea7W","response":[]}},{"name":"api\/user DELETE\nDestroy the logged in user and all its data in the database","request":{"url":"https:\/\/api.beep.nl\/api\/user","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"api\/user PATCH\nEdit the user details","request":{"url":"https:\/\/api.beep.nl\/api\/user","method":"PATCH","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"test@test.com","type":"text","enabled":true},{"key":"password","value":"testtest","type":"text","enabled":true},{"key":"password_confirm","value":"testtest","type":"text","enabled":true},{"key":"policy_accepted","value":"beep_terms_2018_05_25_avg_v1","type":"text","enabled":true}]},"description":"","response":[]}}]},{"name":"Api\\VerificationController","description":"","item":[{"name":"Show the email verification notice.","request":{"url":"https:\/\/api.beep.nl\/api\/email\/verify","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Mark the authenticated user's email address as verified.","request":{"url":"https:\/\/api.beep.nl\/api\/email\/verify\/{id}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Resend the email verification notification.","request":{"url":"https:\/\/api.beep.nl\/api\/email\/resend","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]},{"name":"general","description":"","item":[{"name":"Display a listing of the resource.","request":{"url":"https:\/\/api.beep.nl\/api\/weather","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Display a listing of the resource.","request":{"url":"https:\/\/api.beep.nl\/api\/samplecode","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Store a newly created resource in storage.","request":{"url":"https:\/\/api.beep.nl\/api\/samplecode","method":"POST","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Display the specified resource.","request":{"url":"https:\/\/api.beep.nl\/api\/samplecode\/{samplecode}","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}},{"name":"Update the specified resource in storage.","request":{"url":"https:\/\/api.beep.nl\/api\/samplecode\/{samplecode}","method":"PUT","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"urlencoded","urlencoded":[]},"description":"","response":[]}},{"name":"Remove the specified resource from storage.","request":{"url":"https:\/\/api.beep.nl\/api\/samplecode","method":"DELETE","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[]},"description":"","response":[]}}]}]}
\ No newline at end of file
diff --git a/public/docs/index.html b/public/docs/index.html
index dabc6a09..8320355d 100644
--- a/public/docs/index.html
+++ b/public/docs/index.html
@@ -46,7 +46,7 @@
Info
Welcome to the generated API reference.
-Get Postman Collection
+Get Postman Collection
Api\CategoryController
All categories in the categorization tree used for hive inspections
@@ -58,8 +58,8 @@
api/categories
Example request:
-curl -X GET -G "https://test.beep.nl/api/categories"
-const url = new URL("https://test.beep.nl/api/categories");
+curl -X GET -G "https://api.beep.nl/api/categories"
+const url = new URL("https://api.beep.nl/api/categories");
let headers = {
"Accept": "application/json",
@@ -1519,8 +1519,8 @@ api/categories/{id}
Example request:
-curl -X GET -G "https://test.beep.nl/api/categories/1"
-const url = new URL("https://test.beep.nl/api/categories/1");
+curl -X GET -G "https://api.beep.nl/api/categories/1"
+const url = new URL("https://api.beep.nl/api/categories/1");
let headers = {
"Accept": "application/json",
@@ -1548,8 +1548,8 @@ Display a listing of the resource.
Example request:
-curl -X GET -G "https://test.beep.nl/api/checklists"
-const url = new URL("https://test.beep.nl/api/checklists");
+curl -X GET -G "https://api.beep.nl/api/checklists"
+const url = new URL("https://api.beep.nl/api/checklists");
let headers = {
"Accept": "application/json",
@@ -1576,8 +1576,8 @@ api/checklists
Example request:
-curl -X POST "https://test.beep.nl/api/checklists"
-const url = new URL("https://test.beep.nl/api/checklists");
+curl -X POST "https://api.beep.nl/api/checklists"
+const url = new URL("https://api.beep.nl/api/checklists");
let headers = {
"Accept": "application/json",
@@ -1598,8 +1598,8 @@ api/checklists/{checklist}
Example request:
-curl -X GET -G "https://test.beep.nl/api/checklists/1"
-const url = new URL("https://test.beep.nl/api/checklists/1");
+curl -X GET -G "https://api.beep.nl/api/checklists/1"
+const url = new URL("https://api.beep.nl/api/checklists/1");
let headers = {
"Accept": "application/json",
@@ -1626,8 +1626,8 @@ api/checklists/{checklist}
Example request:
-curl -X PUT "https://test.beep.nl/api/checklists/1"
-const url = new URL("https://test.beep.nl/api/checklists/1");
+curl -X PUT "https://api.beep.nl/api/checklists/1"
+const url = new URL("https://api.beep.nl/api/checklists/1");
let headers = {
"Accept": "application/json",
@@ -1649,8 +1649,8 @@ api/checklists/{checklist}
Example request:
-curl -X DELETE "https://test.beep.nl/api/checklists/1"
-const url = new URL("https://test.beep.nl/api/checklists/1");
+curl -X DELETE "https://api.beep.nl/api/checklists/1"
+const url = new URL("https://api.beep.nl/api/checklists/1");
let headers = {
"Accept": "application/json",
@@ -1675,11 +1675,11 @@ api/devices/multiple POST
Example request:
-curl -X POST "https://test.beep.nl/api/devices/multiple" \
+curl -X POST "https://api.beep.nl/api/devices/multiple" \
-H "Content-Type: application/json" \
- -d '{"id":15,"key":"ipsum","hardware_id":"soluta","name":"eaque","hive_id":16,"type":"pariatur","last_message_received":"corrupti","firmware_version":"voluptatem","hardware_version":"nihil","boot_count":5,"measurement_interval_min":10277.20748579,"measurement_transmission_ratio":23.812,"ble_pin":"explicabo","battery_voltage":469,"next_downlink_message":"atque","last_downlink_result":"animi"}'
+ -d '{"id":1,"key":"necessitatibus","hardware_id":"sit","name":"alias","hive_id":14,"type":"doloribus","last_message_received":"incidunt","firmware_version":"quis","hardware_version":"ex","boot_count":8,"measurement_interval_min":0,"measurement_transmission_ratio":6274348.332087,"ble_pin":"aut","battery_voltage":221881238,"next_downlink_message":"dolore","last_downlink_result":"exercitationem"}'
-const url = new URL("https://test.beep.nl/api/devices/multiple");
+const url = new URL("https://api.beep.nl/api/devices/multiple");
let headers = {
"Content-Type": "application/json",
@@ -1687,22 +1687,22 @@ api/devices/multiple POST
}
let body = {
- "id": 15,
- "key": "ipsum",
- "hardware_id": "soluta",
- "name": "eaque",
- "hive_id": 16,
- "type": "pariatur",
- "last_message_received": "corrupti",
- "firmware_version": "voluptatem",
- "hardware_version": "nihil",
- "boot_count": 5,
- "measurement_interval_min": 10277.20748579,
- "measurement_transmission_ratio": 23.812,
- "ble_pin": "explicabo",
- "battery_voltage": 469,
- "next_downlink_message": "atque",
- "last_downlink_result": "animi"
+ "id": 1,
+ "key": "necessitatibus",
+ "hardware_id": "sit",
+ "name": "alias",
+ "hive_id": 14,
+ "type": "doloribus",
+ "last_message_received": "incidunt",
+ "firmware_version": "quis",
+ "hardware_version": "ex",
+ "boot_count": 8,
+ "measurement_interval_min": 0,
+ "measurement_transmission_ratio": 6274348.332087,
+ "ble_pin": "aut",
+ "battery_voltage": 221881238,
+ "next_downlink_message": "dolore",
+ "last_downlink_result": "exercitationem"
}
fetch(url, {
@@ -1831,8 +1831,8 @@ api/devices/ttn/{dev_id} GET
Example request:
-curl -X GET -G "https://test.beep.nl/api/devices/ttn/1"
-const url = new URL("https://test.beep.nl/api/devices/ttn/1");
+curl -X GET -G "https://api.beep.nl/api/devices/ttn/1"
+const url = new URL("https://api.beep.nl/api/devices/ttn/1");
let headers = {
"Accept": "application/json",
@@ -1867,8 +1867,8 @@ api/devices/ttn/{dev_id} POST
Example request:
-curl -X POST "https://test.beep.nl/api/devices/ttn/1"
-const url = new URL("https://test.beep.nl/api/devices/ttn/1");
+curl -X POST "https://api.beep.nl/api/devices/ttn/1"
+const url = new URL("https://api.beep.nl/api/devices/ttn/1");
let headers = {
"Accept": "application/json",
@@ -1891,11 +1891,11 @@ api/devices GET
Example request:
-curl -X GET -G "https://test.beep.nl/api/devices" \
+curl -X GET -G "https://api.beep.nl/api/devices" \
-H "Content-Type: application/json" \
- -d '{"hardware_id":"voluptas"}'
+ -d '{"hardware_id":"similique"}'
-const url = new URL("https://test.beep.nl/api/devices");
+const url = new URL("https://api.beep.nl/api/devices");
let headers = {
"Content-Type": "application/json",
@@ -1903,7 +1903,7 @@ api/devices GET
}
let body = {
- "hardware_id": "voluptas"
+ "hardware_id": "similique"
}
fetch(url, {
@@ -1989,11 +1989,11 @@ api/devices POST
Example request:
-curl -X POST "https://test.beep.nl/api/devices" \
+curl -X POST "https://api.beep.nl/api/devices" \
-H "Content-Type: application/json" \
- -d '{"id":20,"key":"in","hardware_id":"debitis","name":"nihil","hive_id":3,"type":"dignissimos","last_message_received":"mollitia","firmware_version":"incidunt","hardware_version":"voluptatibus","boot_count":10,"measurement_interval_min":390,"measurement_transmission_ratio":1.4775683,"ble_pin":"sed","battery_voltage":43592823.35,"next_downlink_message":"ab","last_downlink_result":"tenetur","create_ttn_device":false,"app_key":"autem"}'
+ -d '{"id":16,"key":"ab","hardware_id":"laudantium","name":"nostrum","hive_id":4,"type":"eum","last_message_received":"modi","firmware_version":"illum","hardware_version":"sed","boot_count":16,"measurement_interval_min":218.343005352,"measurement_transmission_ratio":13228.3832504,"ble_pin":"minus","battery_voltage":306.848,"next_downlink_message":"eveniet","last_downlink_result":"soluta","create_ttn_device":true,"app_key":"numquam"}'
-const url = new URL("https://test.beep.nl/api/devices");
+const url = new URL("https://api.beep.nl/api/devices");
let headers = {
"Content-Type": "application/json",
@@ -2001,24 +2001,24 @@ api/devices POST
}
let body = {
- "id": 20,
- "key": "in",
- "hardware_id": "debitis",
- "name": "nihil",
- "hive_id": 3,
- "type": "dignissimos",
- "last_message_received": "mollitia",
- "firmware_version": "incidunt",
- "hardware_version": "voluptatibus",
- "boot_count": 10,
- "measurement_interval_min": 390,
- "measurement_transmission_ratio": 1.4775683,
- "ble_pin": "sed",
- "battery_voltage": 43592823.35,
- "next_downlink_message": "ab",
- "last_downlink_result": "tenetur",
- "create_ttn_device": false,
- "app_key": "autem"
+ "id": 16,
+ "key": "ab",
+ "hardware_id": "laudantium",
+ "name": "nostrum",
+ "hive_id": 4,
+ "type": "eum",
+ "last_message_received": "modi",
+ "firmware_version": "illum",
+ "hardware_version": "sed",
+ "boot_count": 16,
+ "measurement_interval_min": 218.343005352,
+ "measurement_transmission_ratio": 13228.3832504,
+ "ble_pin": "minus",
+ "battery_voltage": 306.848,
+ "next_downlink_message": "eveniet",
+ "last_downlink_result": "soluta",
+ "create_ttn_device": true,
+ "app_key": "numquam"
}
fetch(url, {
@@ -2159,8 +2159,8 @@ api/devices/{id} GET
Example request:
-curl -X GET -G "https://test.beep.nl/api/devices/1"
-const url = new URL("https://test.beep.nl/api/devices/1");
+curl -X GET -G "https://api.beep.nl/api/devices/1"
+const url = new URL("https://api.beep.nl/api/devices/1");
let headers = {
"Accept": "application/json",
@@ -2189,11 +2189,11 @@ api/devices PUT/PATCH
Example request:
-curl -X PUT "https://test.beep.nl/api/devices/1" \
+curl -X PUT "https://api.beep.nl/api/devices/1" \
-H "Content-Type: application/json" \
- -d '{"id":7,"key":"eligendi","hardware_id":"repellendus","name":"et","hive_id":3,"type":"reiciendis","delete":false,"last_message_received":"aliquam","firmware_version":"necessitatibus","hardware_version":"aut","boot_count":9,"measurement_interval_min":30.27043,"measurement_transmission_ratio":25.64,"ble_pin":"quisquam","battery_voltage":198.9654075,"next_downlink_message":"consequatur","last_downlink_result":"molestiae"}'
+ -d '{"id":20,"key":"praesentium","hardware_id":"eveniet","name":"quia","hive_id":7,"type":"laudantium","delete":true,"last_message_received":"quibusdam","firmware_version":"ipsum","hardware_version":"nostrum","boot_count":15,"measurement_interval_min":3998.31519,"measurement_transmission_ratio":35.514,"ble_pin":"consequatur","battery_voltage":591377700,"next_downlink_message":"error","last_downlink_result":"ipsum"}'
-const url = new URL("https://test.beep.nl/api/devices/1");
+const url = new URL("https://api.beep.nl/api/devices/1");
let headers = {
"Content-Type": "application/json",
@@ -2201,23 +2201,23 @@ api/devices PUT/PATCH
}
let body = {
- "id": 7,
- "key": "eligendi",
- "hardware_id": "repellendus",
- "name": "et",
- "hive_id": 3,
- "type": "reiciendis",
- "delete": false,
- "last_message_received": "aliquam",
- "firmware_version": "necessitatibus",
- "hardware_version": "aut",
- "boot_count": 9,
- "measurement_interval_min": 30.27043,
- "measurement_transmission_ratio": 25.64,
- "ble_pin": "quisquam",
- "battery_voltage": 198.9654075,
- "next_downlink_message": "consequatur",
- "last_downlink_result": "molestiae"
+ "id": 20,
+ "key": "praesentium",
+ "hardware_id": "eveniet",
+ "name": "quia",
+ "hive_id": 7,
+ "type": "laudantium",
+ "delete": true,
+ "last_message_received": "quibusdam",
+ "firmware_version": "ipsum",
+ "hardware_version": "nostrum",
+ "boot_count": 15,
+ "measurement_interval_min": 3998.31519,
+ "measurement_transmission_ratio": 35.514,
+ "ble_pin": "consequatur",
+ "battery_voltage": 591377700,
+ "next_downlink_message": "error",
+ "last_downlink_result": "ipsum"
}
fetch(url, {
@@ -2353,8 +2353,8 @@ api/export
Example request:
-curl -X GET -G "https://test.beep.nl/api/export"
-const url = new URL("https://test.beep.nl/api/export");
+curl -X GET -G "https://api.beep.nl/api/export"
+const url = new URL("https://api.beep.nl/api/export");
let headers = {
"Accept": "application/json",
@@ -2381,8 +2381,8 @@ api/export/csv
Example request:
-curl -X POST "https://test.beep.nl/api/export/csv"
-const url = new URL("https://test.beep.nl/api/export/csv");
+curl -X POST "https://api.beep.nl/api/export/csv"
+const url = new URL("https://api.beep.nl/api/export/csv");
let headers = {
"Accept": "application/json",
@@ -2404,8 +2404,8 @@ api/groups/checktoken
Example request:
-curl -X POST "https://test.beep.nl/api/groups/checktoken"
-const url = new URL("https://test.beep.nl/api/groups/checktoken");
+curl -X POST "https://api.beep.nl/api/groups/checktoken"
+const url = new URL("https://api.beep.nl/api/groups/checktoken");
let headers = {
"Accept": "application/json",
@@ -2426,8 +2426,8 @@ api/groups
Example request:
-curl -X GET -G "https://test.beep.nl/api/groups"
-const url = new URL("https://test.beep.nl/api/groups");
+curl -X GET -G "https://api.beep.nl/api/groups"
+const url = new URL("https://api.beep.nl/api/groups");
let headers = {
"Accept": "application/json",
@@ -2454,8 +2454,8 @@ api/groups
Example request:
-curl -X POST "https://test.beep.nl/api/groups"
-const url = new URL("https://test.beep.nl/api/groups");
+curl -X POST "https://api.beep.nl/api/groups"
+const url = new URL("https://api.beep.nl/api/groups");
let headers = {
"Accept": "application/json",
@@ -2476,8 +2476,8 @@ api/groups/{group}
Example request:
-curl -X GET -G "https://test.beep.nl/api/groups/1"
-const url = new URL("https://test.beep.nl/api/groups/1");
+curl -X GET -G "https://api.beep.nl/api/groups/1"
+const url = new URL("https://api.beep.nl/api/groups/1");
let headers = {
"Accept": "application/json",
@@ -2504,8 +2504,8 @@ api/groups/{group}
Example request:
-curl -X PUT "https://test.beep.nl/api/groups/1"
-const url = new URL("https://test.beep.nl/api/groups/1");
+curl -X PUT "https://api.beep.nl/api/groups/1"
+const url = new URL("https://api.beep.nl/api/groups/1");
let headers = {
"Accept": "application/json",
@@ -2527,8 +2527,8 @@ api/groups/{group}
Example request:
-curl -X DELETE "https://test.beep.nl/api/groups/1"
-const url = new URL("https://test.beep.nl/api/groups/1");
+curl -X DELETE "https://api.beep.nl/api/groups/1"
+const url = new URL("https://api.beep.nl/api/groups/1");
let headers = {
"Accept": "application/json",
@@ -2549,8 +2549,8 @@ api/groups/detach/{id}
Example request:
-curl -X DELETE "https://test.beep.nl/api/groups/detach/1"
-const url = new URL("https://test.beep.nl/api/groups/detach/1");
+curl -X DELETE "https://api.beep.nl/api/groups/detach/1"
+const url = new URL("https://api.beep.nl/api/groups/detach/1");
let headers = {
"Accept": "application/json",
@@ -2574,8 +2574,8 @@ api/hives GET
Example request:
-curl -X GET -G "https://test.beep.nl/api/hives"
-const url = new URL("https://test.beep.nl/api/hives");
+curl -X GET -G "https://api.beep.nl/api/hives"
+const url = new URL("https://api.beep.nl/api/hives");
let headers = {
"Accept": "application/json",
@@ -2655,8 +2655,8 @@ api/hives POST
Example request:
-curl -X POST "https://test.beep.nl/api/hives"
-const url = new URL("https://test.beep.nl/api/hives");
+curl -X POST "https://api.beep.nl/api/hives"
+const url = new URL("https://api.beep.nl/api/hives");
let headers = {
"Accept": "application/json",
@@ -2679,8 +2679,8 @@ api/hives/{id} GET
Example request:
-curl -X GET -G "https://test.beep.nl/api/hives/1"
-const url = new URL("https://test.beep.nl/api/hives/1");
+curl -X GET -G "https://api.beep.nl/api/hives/1"
+const url = new URL("https://api.beep.nl/api/hives/1");
let headers = {
"Accept": "application/json",
@@ -2709,8 +2709,8 @@ api/hives/{id} PATCH
Example request:
-curl -X PUT "https://test.beep.nl/api/hives/1"
-const url = new URL("https://test.beep.nl/api/hives/1");
+curl -X PUT "https://api.beep.nl/api/hives/1"
+const url = new URL("https://api.beep.nl/api/hives/1");
let headers = {
"Accept": "application/json",
@@ -2734,8 +2734,8 @@ api/hives/{id} DELETE
Example request:
-curl -X DELETE "https://test.beep.nl/api/hives/1"
-const url = new URL("https://test.beep.nl/api/hives/1");
+curl -X DELETE "https://api.beep.nl/api/hives/1"
+const url = new URL("https://api.beep.nl/api/hives/1");
let headers = {
"Accept": "application/json",
@@ -2758,8 +2758,8 @@ Display a listing of the resource.
Example request:
-curl -X GET -G "https://test.beep.nl/api/images"
-const url = new URL("https://test.beep.nl/api/images");
+curl -X GET -G "https://api.beep.nl/api/images"
+const url = new URL("https://api.beep.nl/api/images");
let headers = {
"Accept": "application/json",
@@ -2786,8 +2786,8 @@ Store a newly created resource in storage.
Example request:
-curl -X POST "https://test.beep.nl/api/images"
-const url = new URL("https://test.beep.nl/api/images");
+curl -X POST "https://api.beep.nl/api/images"
+const url = new URL("https://api.beep.nl/api/images");
let headers = {
"Accept": "application/json",
@@ -2808,8 +2808,8 @@ Display the specified resource.
Example request:
-curl -X GET -G "https://test.beep.nl/api/images/1"
-const url = new URL("https://test.beep.nl/api/images/1");
+curl -X GET -G "https://api.beep.nl/api/images/1"
+const url = new URL("https://api.beep.nl/api/images/1");
let headers = {
"Accept": "application/json",
@@ -2836,8 +2836,8 @@ Update the specified resource in storage.
Example request:
-curl -X PUT "https://test.beep.nl/api/images/1"
-const url = new URL("https://test.beep.nl/api/images/1");
+curl -X PUT "https://api.beep.nl/api/images/1"
+const url = new URL("https://api.beep.nl/api/images/1");
let headers = {
"Accept": "application/json",
@@ -2859,8 +2859,8 @@ Remove the specified resource from storage.
Example request:
-curl -X DELETE "https://test.beep.nl/api/images"
-const url = new URL("https://test.beep.nl/api/images");
+curl -X DELETE "https://api.beep.nl/api/images"
+const url = new URL("https://api.beep.nl/api/images");
let headers = {
"Accept": "application/json",
@@ -2884,8 +2884,8 @@ api/inspections GET
Example request:
-curl -X GET -G "https://test.beep.nl/api/inspections"
-const url = new URL("https://test.beep.nl/api/inspections");
+curl -X GET -G "https://api.beep.nl/api/inspections"
+const url = new URL("https://api.beep.nl/api/inspections");
let headers = {
"Accept": "application/json",
@@ -2914,11 +2914,11 @@ api/inspections/lists GET
Example request:
-curl -X GET -G "https://test.beep.nl/api/inspections/lists" \
+curl -X GET -G "https://api.beep.nl/api/inspections/lists" \
-H "Content-Type: application/json" \
- -d '{"id":9}'
+ -d '{"id":15}'
-const url = new URL("https://test.beep.nl/api/inspections/lists");
+const url = new URL("https://api.beep.nl/api/inspections/lists");
let headers = {
"Content-Type": "application/json",
@@ -2926,7 +2926,7 @@ api/inspections/lists GET
}
let body = {
- "id": 9
+ "id": 15
}
fetch(url, {
@@ -3001,13 +3001,8 @@ api/inspections/{id} GET
Example request:
-curl -X GET -G "https://test.beep.nl/api/inspections/1?id=pariatur"
-const url = new URL("https://test.beep.nl/api/inspections/1");
-
- let params = {
- "id": "pariatur",
- };
- Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));
+curl -X GET -G "https://api.beep.nl/api/inspections/1"
+const url = new URL("https://api.beep.nl/api/inspections/1");
let headers = {
"Accept": "application/json",
@@ -3028,23 +3023,6 @@ api/inspections/{id} GET
}
HTTP Request
GET api/inspections/{id}
-Query Parameters
-
-
-
-Parameter |
-Status |
-Description |
-
-
-
-
-id |
-required |
-The id of the inspection. |
-
-
-
api/inspections/hive/{hive_id} GET
@@ -3053,13 +3031,8 @@ api/inspections/hive/{hive_id} GET
Example request:
-curl -X GET -G "https://test.beep.nl/api/inspections/hive/1?hive_id=dolores"
-const url = new URL("https://test.beep.nl/api/inspections/hive/1");
-
- let params = {
- "hive_id": "dolores",
- };
- Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));
+curl -X GET -G "https://api.beep.nl/api/inspections/hive/1"
+const url = new URL("https://api.beep.nl/api/inspections/hive/1");
let headers = {
"Accept": "application/json",
@@ -3176,23 +3149,6 @@ api/inspections/hive/{hive_id} GET
}
HTTP Request
GET api/inspections/hive/{hive_id}
-Query Parameters
-
-
-
-Parameter |
-Status |
-Description |
-
-
-
-
-hive_id |
-required |
-The hive to request inspections from. |
-
-
-
api/inspections POST
@@ -3201,11 +3157,11 @@ api/inspections POST
Example request:
-curl -X POST "https://test.beep.nl/api/inspections/store" \
+curl -X POST "https://api.beep.nl/api/inspections/store" \
-H "Content-Type: application/json" \
-d '{"date":"2020-05-18 16:16","items":"{\"547\":0,\"595\":1,\"845\":\"814\"}","hive_id":42,"impression":-1,"attention":1,"reminder":"This is an inspection reminder","reminder_date":"2020-05-27 16:16","notes":"This is an inspection note","checklist_id":829}'
-const url = new URL("https://test.beep.nl/api/inspections/store");
+const url = new URL("https://api.beep.nl/api/inspections/store");
let headers = {
"Content-Type": "application/json",
@@ -3306,8 +3262,8 @@ Remove the specified resource from storage.
Example request:
-curl -X DELETE "https://test.beep.nl/api/inspections/1"
-const url = new URL("https://test.beep.nl/api/inspections/1");
+curl -X DELETE "https://api.beep.nl/api/inspections/1"
+const url = new URL("https://api.beep.nl/api/inspections/1");
let headers = {
"Accept": "application/json",
@@ -3330,8 +3286,8 @@ Display a listing of the resource.
Example request:
-curl -X GET -G "https://test.beep.nl/api/locations"
-const url = new URL("https://test.beep.nl/api/locations");
+curl -X GET -G "https://api.beep.nl/api/locations"
+const url = new URL("https://api.beep.nl/api/locations");
let headers = {
"Accept": "application/json",
@@ -3358,8 +3314,8 @@ Store a newly created resource in storage.
Example request:
-curl -X POST "https://test.beep.nl/api/locations"
-const url = new URL("https://test.beep.nl/api/locations");
+curl -X POST "https://api.beep.nl/api/locations"
+const url = new URL("https://api.beep.nl/api/locations");
let headers = {
"Accept": "application/json",
@@ -3380,8 +3336,8 @@ Display the specified resource.
Example request:
-curl -X GET -G "https://test.beep.nl/api/locations/1"
-const url = new URL("https://test.beep.nl/api/locations/1");
+curl -X GET -G "https://api.beep.nl/api/locations/1"
+const url = new URL("https://api.beep.nl/api/locations/1");
let headers = {
"Accept": "application/json",
@@ -3408,8 +3364,8 @@ Update the specified resource in storage.
Example request:
-curl -X PUT "https://test.beep.nl/api/locations/1"
-const url = new URL("https://test.beep.nl/api/locations/1");
+curl -X PUT "https://api.beep.nl/api/locations/1"
+const url = new URL("https://api.beep.nl/api/locations/1");
let headers = {
"Accept": "application/json",
@@ -3431,8 +3387,8 @@ Remove the specified resource from storage.
Example request:
-curl -X DELETE "https://test.beep.nl/api/locations/1"
-const url = new URL("https://test.beep.nl/api/locations/1");
+curl -X DELETE "https://api.beep.nl/api/locations/1"
+const url = new URL("https://api.beep.nl/api/locations/1");
let headers = {
"Accept": "application/json",
@@ -3456,11 +3412,11 @@ api/sensors POST
Example request:
-curl -X POST "https://test.beep.nl/api/sensors" \
+curl -X POST "https://api.beep.nl/api/sensors" \
-H "Content-Type: application/json" \
- -d '{"key":"dignissimos","data":[],"payload_fields":[]}'
+ -d '{"key":"dicta","data":[],"payload_fields":[]}'
-const url = new URL("https://test.beep.nl/api/sensors");
+const url = new URL("https://api.beep.nl/api/sensors");
let headers = {
"Content-Type": "application/json",
@@ -3468,7 +3424,7 @@ api/sensors POST
}
let body = {
- "key": "dignissimos",
+ "key": "dicta",
"data": [],
"payload_fields": []
}
@@ -3522,11 +3478,11 @@ api/lora_sensors POST
Example request:
-curl -X POST "https://test.beep.nl/api/lora_sensors" \
+curl -X POST "https://api.beep.nl/api/lora_sensors" \
-H "Content-Type: application/json" \
- -d '{"key":"facilis","payload_fields":[],"DevEUI_uplink":[]}'
+ -d '{"key":"recusandae","payload_fields":[],"DevEUI_uplink":[]}'
-const url = new URL("https://test.beep.nl/api/lora_sensors");
+const url = new URL("https://api.beep.nl/api/lora_sensors");
let headers = {
"Content-Type": "application/json",
@@ -3534,7 +3490,7 @@ api/lora_sensors POST
}
let body = {
- "key": "facilis",
+ "key": "recusandae",
"payload_fields": [],
"DevEUI_uplink": []
}
@@ -3586,11 +3542,11 @@ api/sensors POST
Example request:
-curl -X POST "https://test.beep.nl/api/unsecure_sensors" \
+curl -X POST "https://api.beep.nl/api/unsecure_sensors" \
-H "Content-Type: application/json" \
- -d '{"key":"vero","data":[],"payload_fields":[]}'
+ -d '{"key":"id","data":[],"payload_fields":[]}'
-const url = new URL("https://test.beep.nl/api/unsecure_sensors");
+const url = new URL("https://api.beep.nl/api/unsecure_sensors");
let headers = {
"Content-Type": "application/json",
@@ -3598,7 +3554,7 @@ api/sensors POST
}
let body = {
- "key": "vero",
+ "key": "id",
"data": [],
"payload_fields": []
}
@@ -3651,11 +3607,11 @@ api/sensors/measurements GET
Example request:
-curl -X GET -G "https://test.beep.nl/api/sensors/measurements" \
+curl -X GET -G "https://api.beep.nl/api/sensors/measurements" \
-H "Content-Type: application/json" \
- -d '{"key":"deserunt","id":5,"hive_id":4,"names":"nobis","interval":"blanditiis","index":16}'
+ -d '{"key":"deserunt","id":1,"hive_id":3,"names":"veritatis","interval":"quae","index":11}'
-const url = new URL("https://test.beep.nl/api/sensors/measurements");
+const url = new URL("https://api.beep.nl/api/sensors/measurements");
let headers = {
"Content-Type": "application/json",
@@ -3664,11 +3620,11 @@ api/sensors/measurements GET
let body = {
"key": "deserunt",
- "id": 5,
- "hive_id": 4,
- "names": "nobis",
- "interval": "blanditiis",
- "index": 16
+ "id": 1,
+ "hive_id": 3,
+ "names": "veritatis",
+ "interval": "quae",
+ "index": 11
}
fetch(url, {
@@ -3743,11 +3699,11 @@ api/sensors/lastvalues GET
Example request:
-curl -X GET -G "https://test.beep.nl/api/sensors/lastvalues" \
+curl -X GET -G "https://api.beep.nl/api/sensors/lastvalues" \
-H "Content-Type: application/json" \
- -d '{"key":"consectetur","id":5,"hive_id":2}'
+ -d '{"key":"magni","id":20,"hive_id":9}'
-const url = new URL("https://test.beep.nl/api/sensors/lastvalues");
+const url = new URL("https://api.beep.nl/api/sensors/lastvalues");
let headers = {
"Content-Type": "application/json",
@@ -3755,9 +3711,9 @@ api/sensors/lastvalues GET
}
let body = {
- "key": "consectetur",
- "id": 5,
- "hive_id": 2
+ "key": "magni",
+ "id": 20,
+ "hive_id": 9
}
fetch(url, {
@@ -3814,11 +3770,11 @@ api/sensors/lastweight GET
Example request:
-curl -X GET -G "https://test.beep.nl/api/sensors/lastweight" \
+curl -X GET -G "https://api.beep.nl/api/sensors/lastweight" \
-H "Content-Type: application/json" \
- -d '{"key":"numquam","id":3,"hive_id":19}'
+ -d '{"key":"molestiae","id":6,"hive_id":7}'
-const url = new URL("https://test.beep.nl/api/sensors/lastweight");
+const url = new URL("https://api.beep.nl/api/sensors/lastweight");
let headers = {
"Content-Type": "application/json",
@@ -3826,9 +3782,9 @@ api/sensors/lastweight GET
}
let body = {
- "key": "numquam",
- "id": 3,
- "hive_id": 19
+ "key": "molestiae",
+ "id": 6,
+ "hive_id": 7
}
fetch(url, {
@@ -3894,8 +3850,8 @@ api/sensors/calibrateweight
Example request:
-curl -X POST "https://test.beep.nl/api/sensors/calibrateweight"
-const url = new URL("https://test.beep.nl/api/sensors/calibrateweight");
+curl -X POST "https://api.beep.nl/api/sensors/calibrateweight"
+const url = new URL("https://api.beep.nl/api/sensors/calibrateweight");
let headers = {
"Accept": "application/json",
@@ -3916,8 +3872,8 @@ api/sensors/offsetweight
Example request:
-curl -X POST "https://test.beep.nl/api/sensors/offsetweight"
-const url = new URL("https://test.beep.nl/api/sensors/offsetweight");
+curl -X POST "https://api.beep.nl/api/sensors/offsetweight"
+const url = new URL("https://api.beep.nl/api/sensors/offsetweight");
let headers = {
"Accept": "application/json",
@@ -3938,8 +3894,8 @@ api/sensors/measurement_types_available
Example request:
-curl -X GET -G "https://test.beep.nl/api/sensors/measurement_types_available"
-const url = new URL("https://test.beep.nl/api/sensors/measurement_types_available");
+curl -X GET -G "https://api.beep.nl/api/sensors/measurement_types_available"
+const url = new URL("https://api.beep.nl/api/sensors/measurement_types_available");
let headers = {
"Accept": "application/json",
@@ -3969,11 +3925,11 @@ api/lora_sensors POST
Example request:
-curl -X POST "https://test.beep.nl/api/lora_sensors_auth" \
+curl -X POST "https://api.beep.nl/api/lora_sensors_auth" \
-H "Content-Type: application/json" \
- -d '{"key":"eum","payload_fields":[],"DevEUI_uplink":[]}'
+ -d '{"key":"totam","payload_fields":[],"DevEUI_uplink":[]}'
-const url = new URL("https://test.beep.nl/api/lora_sensors_auth");
+const url = new URL("https://api.beep.nl/api/lora_sensors_auth");
let headers = {
"Content-Type": "application/json",
@@ -3981,7 +3937,7 @@ api/lora_sensors POST
}
let body = {
- "key": "eum",
+ "key": "totam",
"payload_fields": [],
"DevEUI_uplink": []
}
@@ -4034,8 +3990,8 @@ Display a listing of the resource.
Example request:
-curl -X GET -G "https://test.beep.nl/api/productions"
-const url = new URL("https://test.beep.nl/api/productions");
+curl -X GET -G "https://api.beep.nl/api/productions"
+const url = new URL("https://api.beep.nl/api/productions");
let headers = {
"Accept": "application/json",
@@ -4062,8 +4018,8 @@ Store a newly created resource in storage.
Example request:
-curl -X POST "https://test.beep.nl/api/productions"
-const url = new URL("https://test.beep.nl/api/productions");
+curl -X POST "https://api.beep.nl/api/productions"
+const url = new URL("https://api.beep.nl/api/productions");
let headers = {
"Accept": "application/json",
@@ -4084,8 +4040,8 @@ Display the specified resource.
Example request:
-curl -X GET -G "https://test.beep.nl/api/productions/1"
-const url = new URL("https://test.beep.nl/api/productions/1");
+curl -X GET -G "https://api.beep.nl/api/productions/1"
+const url = new URL("https://api.beep.nl/api/productions/1");
let headers = {
"Accept": "application/json",
@@ -4112,8 +4068,8 @@ Update the specified resource in storage.
Example request:
-curl -X PUT "https://test.beep.nl/api/productions/1"
-const url = new URL("https://test.beep.nl/api/productions/1");
+