From faabe7fd51b35c496b698fc33ea08caabab20de6 Mon Sep 17 00:00:00 2001 From: Pim van Gennip Date: Fri, 13 Nov 2020 17:49:38 +0100 Subject: [PATCH] Update API docs queryparams fix --- .../Controllers/Api/InspectionsController.php | 4 +- public/docs/collection.json | 2 +- public/docs/index.html | 216 +++++++++--------- public/docs/source/.compare.md | 212 ++++++++--------- public/docs/source/index.md | 212 ++++++++--------- 5 files changed, 323 insertions(+), 323 deletions(-) diff --git a/app/Http/Controllers/Api/InspectionsController.php b/app/Http/Controllers/Api/InspectionsController.php index a3f9e0ca..1b1d68ac 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 integer required The hive to request inspections from. + @queryParam 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 integer required The id of the inspection. + @queryParam id required The id of the inspection. **/ public function show(Request $request, $id) { diff --git a/public/docs/collection.json b/public/docs/collection.json index ba754e79..b9ca66e4 100644 --- a/public/docs/collection.json +++ b/public/docs/collection.json @@ -1 +1 @@ -{"variables":[],"info":{"name":"BEEP API","_postman_id":"ab9144de-78c3-41dc-8f27-8b148d79baba","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":3,"type":"text","enabled":true},{"key":"key","value":"non","type":"text","enabled":true},{"key":"hardware_id","value":"aperiam","type":"text","enabled":true},{"key":"name","value":"aspernatur","type":"text","enabled":true},{"key":"hive_id","value":11,"type":"text","enabled":true},{"key":"type","value":"aut","type":"text","enabled":true},{"key":"last_message_received","value":"velit","type":"text","enabled":true},{"key":"firmware_version","value":"in","type":"text","enabled":true},{"key":"hardware_version","value":"eaque","type":"text","enabled":true},{"key":"boot_count","value":7,"type":"text","enabled":true},{"key":"measurement_interval_min","value":245050901.31657,"type":"text","enabled":true},{"key":"measurement_transmission_ratio","value":39322680.6122712,"type":"text","enabled":true},{"key":"ble_pin","value":"ad","type":"text","enabled":true},{"key":"battery_voltage","value":81.853067,"type":"text","enabled":true},{"key":"next_downlink_message","value":"non","type":"text","enabled":true},{"key":"last_downlink_result","value":"odit","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":"sit","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":19,"type":"text","enabled":true},{"key":"key","value":"quos","type":"text","enabled":true},{"key":"hardware_id","value":"impedit","type":"text","enabled":true},{"key":"name","value":"et","type":"text","enabled":true},{"key":"hive_id","value":8,"type":"text","enabled":true},{"key":"type","value":"eos","type":"text","enabled":true},{"key":"last_message_received","value":"accusamus","type":"text","enabled":true},{"key":"firmware_version","value":"non","type":"text","enabled":true},{"key":"hardware_version","value":"vel","type":"text","enabled":true},{"key":"boot_count","value":4,"type":"text","enabled":true},{"key":"measurement_interval_min","value":1957.1175,"type":"text","enabled":true},{"key":"measurement_transmission_ratio","value":60180856.92302645,"type":"text","enabled":true},{"key":"ble_pin","value":"doloribus","type":"text","enabled":true},{"key":"battery_voltage","value":66006.620867987,"type":"text","enabled":true},{"key":"next_downlink_message","value":"debitis","type":"text","enabled":true},{"key":"last_downlink_result","value":"dolores","type":"text","enabled":true},{"key":"create_ttn_device","value":false,"type":"text","enabled":true},{"key":"app_key","value":"repellendus","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":"dolores","type":"text","enabled":true},{"key":"hardware_id","value":"sit","type":"text","enabled":true},{"key":"name","value":"beatae","type":"text","enabled":true},{"key":"hive_id","value":19,"type":"text","enabled":true},{"key":"type","value":"nostrum","type":"text","enabled":true},{"key":"delete","value":false,"type":"text","enabled":true},{"key":"last_message_received","value":"voluptatum","type":"text","enabled":true},{"key":"firmware_version","value":"facere","type":"text","enabled":true},{"key":"hardware_version","value":"eaque","type":"text","enabled":true},{"key":"boot_count","value":13,"type":"text","enabled":true},{"key":"measurement_interval_min","value":55.8281855,"type":"text","enabled":true},{"key":"measurement_transmission_ratio","value":1.837438913,"type":"text","enabled":true},{"key":"ble_pin","value":"non","type":"text","enabled":true},{"key":"battery_voltage","value":3352,"type":"text","enabled":true},{"key":"next_downlink_message","value":"soluta","type":"text","enabled":true},{"key":"last_downlink_result","value":"atque","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":7,"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=quos","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=ratione","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":"iusto","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":"aut","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":"hic","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":"qui","type":"text","enabled":true},{"key":"id","value":7,"type":"text","enabled":true},{"key":"hive_id","value":17,"type":"text","enabled":true},{"key":"names","value":"unde","type":"text","enabled":true},{"key":"interval","value":"rerum","type":"text","enabled":true},{"key":"index","value":2,"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":"id","type":"text","enabled":true},{"key":"id","value":5,"type":"text","enabled":true},{"key":"hive_id","value":18,"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":"itaque","type":"text","enabled":true},{"key":"id","value":14,"type":"text","enabled":true},{"key":"hive_id","value":17,"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":"hic","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=enim","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=tenetur&user_id=consequatur&item=repellat","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"date_start","value":"incidunt","type":"text","enabled":true},{"key":"date_until","value":"optio","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":13,"type":"text","enabled":true},{"key":"device_hardware_id","value":"amet","type":"text","enabled":true},{"key":"input_measurement_abbreviation","value":"qui","type":"text","enabled":true},{"key":"limit","value":4,"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":"quod","type":"text","enabled":true},{"key":"inside","value":true,"type":"text","enabled":true},{"key":"offset","value":23987.662,"type":"text","enabled":true},{"key":"multiplier","value":9011876.12,"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":5,"type":"text","enabled":true},{"key":"device_hardware_id","value":"labore","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 API","_postman_id":"27647be7-b3a4-496d-91ec-3961fe3dec9e","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":14,"type":"text","enabled":true},{"key":"key","value":"et","type":"text","enabled":true},{"key":"hardware_id","value":"et","type":"text","enabled":true},{"key":"name","value":"mollitia","type":"text","enabled":true},{"key":"hive_id","value":15,"type":"text","enabled":true},{"key":"type","value":"minima","type":"text","enabled":true},{"key":"last_message_received","value":"nostrum","type":"text","enabled":true},{"key":"firmware_version","value":"sed","type":"text","enabled":true},{"key":"hardware_version","value":"nihil","type":"text","enabled":true},{"key":"boot_count","value":13,"type":"text","enabled":true},{"key":"measurement_interval_min","value":52.3417,"type":"text","enabled":true},{"key":"measurement_transmission_ratio","value":8016076.11,"type":"text","enabled":true},{"key":"ble_pin","value":"nulla","type":"text","enabled":true},{"key":"battery_voltage","value":76488.0828556,"type":"text","enabled":true},{"key":"next_downlink_message","value":"modi","type":"text","enabled":true},{"key":"last_downlink_result","value":"veritatis","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":"qui","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":11,"type":"text","enabled":true},{"key":"key","value":"culpa","type":"text","enabled":true},{"key":"hardware_id","value":"dolor","type":"text","enabled":true},{"key":"name","value":"numquam","type":"text","enabled":true},{"key":"hive_id","value":2,"type":"text","enabled":true},{"key":"type","value":"eligendi","type":"text","enabled":true},{"key":"last_message_received","value":"voluptas","type":"text","enabled":true},{"key":"firmware_version","value":"eos","type":"text","enabled":true},{"key":"hardware_version","value":"numquam","type":"text","enabled":true},{"key":"boot_count","value":20,"type":"text","enabled":true},{"key":"measurement_interval_min","value":78.8,"type":"text","enabled":true},{"key":"measurement_transmission_ratio","value":322188.990181645,"type":"text","enabled":true},{"key":"ble_pin","value":"vero","type":"text","enabled":true},{"key":"battery_voltage","value":404861375.7698923,"type":"text","enabled":true},{"key":"next_downlink_message","value":"dolorum","type":"text","enabled":true},{"key":"last_downlink_result","value":"inventore","type":"text","enabled":true},{"key":"create_ttn_device","value":true,"type":"text","enabled":true},{"key":"app_key","value":"explicabo","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":1,"type":"text","enabled":true},{"key":"key","value":"omnis","type":"text","enabled":true},{"key":"hardware_id","value":"placeat","type":"text","enabled":true},{"key":"name","value":"aut","type":"text","enabled":true},{"key":"hive_id","value":18,"type":"text","enabled":true},{"key":"type","value":"modi","type":"text","enabled":true},{"key":"delete","value":false,"type":"text","enabled":true},{"key":"last_message_received","value":"ipsa","type":"text","enabled":true},{"key":"firmware_version","value":"minus","type":"text","enabled":true},{"key":"hardware_version","value":"harum","type":"text","enabled":true},{"key":"boot_count","value":2,"type":"text","enabled":true},{"key":"measurement_interval_min","value":455,"type":"text","enabled":true},{"key":"measurement_transmission_ratio","value":3368227.62,"type":"text","enabled":true},{"key":"ble_pin","value":"dolores","type":"text","enabled":true},{"key":"battery_voltage","value":110.8064444,"type":"text","enabled":true},{"key":"next_downlink_message","value":"ut","type":"text","enabled":true},{"key":"last_downlink_result","value":"quod","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":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:\/\/test.beep.nl\/api\/inspections\/{id}?id=accusantium","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=odio","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":"eligendi","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":"non","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":"animi","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":"eos","type":"text","enabled":true},{"key":"id","value":12,"type":"text","enabled":true},{"key":"hive_id","value":11,"type":"text","enabled":true},{"key":"names","value":"quis","type":"text","enabled":true},{"key":"interval","value":"non","type":"text","enabled":true},{"key":"index","value":5,"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":"quisquam","type":"text","enabled":true},{"key":"id","value":3,"type":"text","enabled":true},{"key":"hive_id","value":5,"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":"consequatur","type":"text","enabled":true},{"key":"id","value":16,"type":"text","enabled":true},{"key":"hive_id","value":14,"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":"ut","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=nihil","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=eius&user_id=laborum&item=optio","method":"GET","header":[{"key":"Accept","value":"application\/json"}],"body":{"mode":"formdata","formdata":[{"key":"date_start","value":"consequatur","type":"text","enabled":true},{"key":"date_until","value":"facere","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":11,"type":"text","enabled":true},{"key":"device_hardware_id","value":"sed","type":"text","enabled":true},{"key":"input_measurement_abbreviation","value":"perferendis","type":"text","enabled":true},{"key":"limit","value":15,"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":"exercitationem","type":"text","enabled":true},{"key":"inside","value":true,"type":"text","enabled":true},{"key":"offset","value":65304.387,"type":"text","enabled":true},{"key":"multiplier","value":3065.8794318,"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":13,"type":"text","enabled":true},{"key":"device_hardware_id","value":"sequi","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 diff --git a/public/docs/index.html b/public/docs/index.html index c4820a2a..07939814 100644 --- a/public/docs/index.html +++ b/public/docs/index.html @@ -1677,7 +1677,7 @@

api/devices/multiple POST

curl -X POST "https://test.beep.nl/api/devices/multiple" \
     -H "Content-Type: application/json" \
-    -d '{"id":3,"key":"non","hardware_id":"aperiam","name":"aspernatur","hive_id":11,"type":"aut","last_message_received":"velit","firmware_version":"in","hardware_version":"eaque","boot_count":7,"measurement_interval_min":245050901.31657,"measurement_transmission_ratio":39322680.6122712,"ble_pin":"ad","battery_voltage":81.853067,"next_downlink_message":"non","last_downlink_result":"odit"}'
+    -d '{"id":14,"key":"et","hardware_id":"et","name":"mollitia","hive_id":15,"type":"minima","last_message_received":"nostrum","firmware_version":"sed","hardware_version":"nihil","boot_count":13,"measurement_interval_min":52.3417,"measurement_transmission_ratio":8016076.11,"ble_pin":"nulla","battery_voltage":76488.0828556,"next_downlink_message":"modi","last_downlink_result":"veritatis"}'
 
const url = new URL("https://test.beep.nl/api/devices/multiple");
 
@@ -1687,22 +1687,22 @@ 

api/devices/multiple POST

} let body = { - "id": 3, - "key": "non", - "hardware_id": "aperiam", - "name": "aspernatur", - "hive_id": 11, - "type": "aut", - "last_message_received": "velit", - "firmware_version": "in", - "hardware_version": "eaque", - "boot_count": 7, - "measurement_interval_min": 245050901.31657, - "measurement_transmission_ratio": 39322680.6122712, - "ble_pin": "ad", - "battery_voltage": 81.853067, - "next_downlink_message": "non", - "last_downlink_result": "odit" + "id": 14, + "key": "et", + "hardware_id": "et", + "name": "mollitia", + "hive_id": 15, + "type": "minima", + "last_message_received": "nostrum", + "firmware_version": "sed", + "hardware_version": "nihil", + "boot_count": 13, + "measurement_interval_min": 52.3417, + "measurement_transmission_ratio": 8016076.11, + "ble_pin": "nulla", + "battery_voltage": 76488.0828556, + "next_downlink_message": "modi", + "last_downlink_result": "veritatis" } fetch(url, { @@ -1893,7 +1893,7 @@

api/devices GET

curl -X GET -G "https://test.beep.nl/api/devices" \
     -H "Content-Type: application/json" \
-    -d '{"hardware_id":"sit"}'
+    -d '{"hardware_id":"qui"}'
 
const url = new URL("https://test.beep.nl/api/devices");
 
@@ -1903,7 +1903,7 @@ 

api/devices GET

} let body = { - "hardware_id": "sit" + "hardware_id": "qui" } fetch(url, { @@ -1991,7 +1991,7 @@

api/devices POST

curl -X POST "https://test.beep.nl/api/devices" \
     -H "Content-Type: application/json" \
-    -d '{"id":19,"key":"quos","hardware_id":"impedit","name":"et","hive_id":8,"type":"eos","last_message_received":"accusamus","firmware_version":"non","hardware_version":"vel","boot_count":4,"measurement_interval_min":1957.1175,"measurement_transmission_ratio":60180856.92302645,"ble_pin":"doloribus","battery_voltage":66006.620867987,"next_downlink_message":"debitis","last_downlink_result":"dolores","create_ttn_device":false,"app_key":"repellendus"}'
+    -d '{"id":11,"key":"culpa","hardware_id":"dolor","name":"numquam","hive_id":2,"type":"eligendi","last_message_received":"voluptas","firmware_version":"eos","hardware_version":"numquam","boot_count":20,"measurement_interval_min":78.8,"measurement_transmission_ratio":322188.990181645,"ble_pin":"vero","battery_voltage":404861375.7698923,"next_downlink_message":"dolorum","last_downlink_result":"inventore","create_ttn_device":true,"app_key":"explicabo"}'
 
const url = new URL("https://test.beep.nl/api/devices");
 
@@ -2001,24 +2001,24 @@ 

api/devices POST

} let body = { - "id": 19, - "key": "quos", - "hardware_id": "impedit", - "name": "et", - "hive_id": 8, - "type": "eos", - "last_message_received": "accusamus", - "firmware_version": "non", - "hardware_version": "vel", - "boot_count": 4, - "measurement_interval_min": 1957.1175, - "measurement_transmission_ratio": 60180856.92302645, - "ble_pin": "doloribus", - "battery_voltage": 66006.620867987, - "next_downlink_message": "debitis", - "last_downlink_result": "dolores", - "create_ttn_device": false, - "app_key": "repellendus" + "id": 11, + "key": "culpa", + "hardware_id": "dolor", + "name": "numquam", + "hive_id": 2, + "type": "eligendi", + "last_message_received": "voluptas", + "firmware_version": "eos", + "hardware_version": "numquam", + "boot_count": 20, + "measurement_interval_min": 78.8, + "measurement_transmission_ratio": 322188.990181645, + "ble_pin": "vero", + "battery_voltage": 404861375.7698923, + "next_downlink_message": "dolorum", + "last_downlink_result": "inventore", + "create_ttn_device": true, + "app_key": "explicabo" } fetch(url, { @@ -2191,7 +2191,7 @@

api/devices PUT/PATCH

curl -X PUT "https://test.beep.nl/api/devices/1" \
     -H "Content-Type: application/json" \
-    -d '{"id":7,"key":"dolores","hardware_id":"sit","name":"beatae","hive_id":19,"type":"nostrum","delete":false,"last_message_received":"voluptatum","firmware_version":"facere","hardware_version":"eaque","boot_count":13,"measurement_interval_min":55.8281855,"measurement_transmission_ratio":1.837438913,"ble_pin":"non","battery_voltage":3352,"next_downlink_message":"soluta","last_downlink_result":"atque"}'
+    -d '{"id":1,"key":"omnis","hardware_id":"placeat","name":"aut","hive_id":18,"type":"modi","delete":false,"last_message_received":"ipsa","firmware_version":"minus","hardware_version":"harum","boot_count":2,"measurement_interval_min":455,"measurement_transmission_ratio":3368227.62,"ble_pin":"dolores","battery_voltage":110.8064444,"next_downlink_message":"ut","last_downlink_result":"quod"}'
 
const url = new URL("https://test.beep.nl/api/devices/1");
 
@@ -2201,23 +2201,23 @@ 

api/devices PUT/PATCH

} let body = { - "id": 7, - "key": "dolores", - "hardware_id": "sit", - "name": "beatae", - "hive_id": 19, - "type": "nostrum", + "id": 1, + "key": "omnis", + "hardware_id": "placeat", + "name": "aut", + "hive_id": 18, + "type": "modi", "delete": false, - "last_message_received": "voluptatum", - "firmware_version": "facere", - "hardware_version": "eaque", - "boot_count": 13, - "measurement_interval_min": 55.8281855, - "measurement_transmission_ratio": 1.837438913, - "ble_pin": "non", - "battery_voltage": 3352, - "next_downlink_message": "soluta", - "last_downlink_result": "atque" + "last_message_received": "ipsa", + "firmware_version": "minus", + "hardware_version": "harum", + "boot_count": 2, + "measurement_interval_min": 455, + "measurement_transmission_ratio": 3368227.62, + "ble_pin": "dolores", + "battery_voltage": 110.8064444, + "next_downlink_message": "ut", + "last_downlink_result": "quod" } fetch(url, { @@ -2916,7 +2916,7 @@

api/inspections/lists GET

curl -X GET -G "https://test.beep.nl/api/inspections/lists" \
     -H "Content-Type: application/json" \
-    -d '{"id":7}'
+    -d '{"id":15}'
 
const url = new URL("https://test.beep.nl/api/inspections/lists");
 
@@ -2926,7 +2926,7 @@ 

api/inspections/lists GET

} let body = { - "id": 7 + "id": 15 } fetch(url, { @@ -3001,11 +3001,11 @@

api/inspections/{id} GET

Example request:

-
curl -X GET -G "https://test.beep.nl/api/inspections/1?id=quos" 
+
curl -X GET -G "https://test.beep.nl/api/inspections/1?id=accusantium" 
const url = new URL("https://test.beep.nl/api/inspections/1");
 
     let params = {
-            "id": "quos",
+            "id": "accusantium",
         };
     Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));
 
@@ -3040,8 +3040,8 @@ 

Query Parameters

id -optional -integer required The id of the inspection. +required +The id of the inspection. @@ -3053,11 +3053,11 @@

api/inspections/hive/{hive_id} GET

Example request:

-
curl -X GET -G "https://test.beep.nl/api/inspections/hive/1?hive_id=ratione" 
+
curl -X GET -G "https://test.beep.nl/api/inspections/hive/1?hive_id=odio" 
const url = new URL("https://test.beep.nl/api/inspections/hive/1");
 
     let params = {
-            "hive_id": "ratione",
+            "hive_id": "odio",
         };
     Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));
 
@@ -3188,8 +3188,8 @@ 

Query Parameters

hive_id -optional -integer required The hive to request inspections from. +required +The hive to request inspections from. @@ -3458,7 +3458,7 @@

api/sensors POST

curl -X POST "https://test.beep.nl/api/sensors" \
     -H "Content-Type: application/json" \
-    -d '{"key":"iusto","data":[],"payload_fields":[]}'
+    -d '{"key":"eligendi","data":[],"payload_fields":[]}'
 
const url = new URL("https://test.beep.nl/api/sensors");
 
@@ -3468,7 +3468,7 @@ 

api/sensors POST

} let body = { - "key": "iusto", + "key": "eligendi", "data": [], "payload_fields": [] } @@ -3524,7 +3524,7 @@

api/lora_sensors POST

curl -X POST "https://test.beep.nl/api/lora_sensors" \
     -H "Content-Type: application/json" \
-    -d '{"key":"aut","payload_fields":[],"DevEUI_uplink":[]}'
+    -d '{"key":"non","payload_fields":[],"DevEUI_uplink":[]}'
 
const url = new URL("https://test.beep.nl/api/lora_sensors");
 
@@ -3534,7 +3534,7 @@ 

api/lora_sensors POST

} let body = { - "key": "aut", + "key": "non", "payload_fields": [], "DevEUI_uplink": [] } @@ -3588,7 +3588,7 @@

api/sensors POST

curl -X POST "https://test.beep.nl/api/unsecure_sensors" \
     -H "Content-Type: application/json" \
-    -d '{"key":"hic","data":[],"payload_fields":[]}'
+    -d '{"key":"animi","data":[],"payload_fields":[]}'
 
const url = new URL("https://test.beep.nl/api/unsecure_sensors");
 
@@ -3598,7 +3598,7 @@ 

api/sensors POST

} let body = { - "key": "hic", + "key": "animi", "data": [], "payload_fields": [] } @@ -3653,7 +3653,7 @@

api/sensors/measurements GET

curl -X GET -G "https://test.beep.nl/api/sensors/measurements" \
     -H "Content-Type: application/json" \
-    -d '{"key":"qui","id":7,"hive_id":17,"names":"unde","interval":"rerum","index":2}'
+    -d '{"key":"eos","id":12,"hive_id":11,"names":"quis","interval":"non","index":5}'
 
const url = new URL("https://test.beep.nl/api/sensors/measurements");
 
@@ -3663,12 +3663,12 @@ 

api/sensors/measurements GET

} let body = { - "key": "qui", - "id": 7, - "hive_id": 17, - "names": "unde", - "interval": "rerum", - "index": 2 + "key": "eos", + "id": 12, + "hive_id": 11, + "names": "quis", + "interval": "non", + "index": 5 } fetch(url, { @@ -3745,7 +3745,7 @@

api/sensors/lastvalues GET

curl -X GET -G "https://test.beep.nl/api/sensors/lastvalues" \
     -H "Content-Type: application/json" \
-    -d '{"key":"id","id":5,"hive_id":18}'
+    -d '{"key":"quisquam","id":3,"hive_id":5}'
 
const url = new URL("https://test.beep.nl/api/sensors/lastvalues");
 
@@ -3755,9 +3755,9 @@ 

api/sensors/lastvalues GET

} let body = { - "key": "id", - "id": 5, - "hive_id": 18 + "key": "quisquam", + "id": 3, + "hive_id": 5 } fetch(url, { @@ -3816,7 +3816,7 @@

api/sensors/lastweight GET

curl -X GET -G "https://test.beep.nl/api/sensors/lastweight" \
     -H "Content-Type: application/json" \
-    -d '{"key":"itaque","id":14,"hive_id":17}'
+    -d '{"key":"consequatur","id":16,"hive_id":14}'
 
const url = new URL("https://test.beep.nl/api/sensors/lastweight");
 
@@ -3826,9 +3826,9 @@ 

api/sensors/lastweight GET

} let body = { - "key": "itaque", - "id": 14, - "hive_id": 17 + "key": "consequatur", + "id": 16, + "hive_id": 14 } fetch(url, { @@ -3971,7 +3971,7 @@

api/lora_sensors POST

curl -X POST "https://test.beep.nl/api/lora_sensors_auth" \
     -H "Content-Type: application/json" \
-    -d '{"key":"hic","payload_fields":[],"DevEUI_uplink":[]}'
+    -d '{"key":"ut","payload_fields":[],"DevEUI_uplink":[]}'
 
const url = new URL("https://test.beep.nl/api/lora_sensors_auth");
 
@@ -3981,7 +3981,7 @@ 

api/lora_sensors POST

} let body = { - "key": "hic", + "key": "ut", "payload_fields": [], "DevEUI_uplink": [] } @@ -4433,11 +4433,11 @@

api/researchdata/{id} GET

Example request:

-
curl -X GET -G "https://test.beep.nl/api/researchdata/1?id=enim" 
+
curl -X GET -G "https://test.beep.nl/api/researchdata/1?id=nihil" 
const url = new URL("https://test.beep.nl/api/researchdata/1");
 
     let params = {
-            "id": "enim",
+            "id": "nihil",
         };
     Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));
 
@@ -4485,16 +4485,16 @@ 

api/researchdata/{id}/user/{user_id}/{item} GET

Example request:

-
curl -X GET -G "https://test.beep.nl/api/researchdata/1/user/1/1?id=tenetur&user_id=consequatur&item=repellat" \
+
curl -X GET -G "https://test.beep.nl/api/researchdata/1/user/1/1?id=eius&user_id=laborum&item=optio" \
     -H "Content-Type: application/json" \
-    -d '{"date_start":"incidunt","date_until":"optio"}'
+    -d '{"date_start":"consequatur","date_until":"facere"}'
 
const url = new URL("https://test.beep.nl/api/researchdata/1/user/1/1");
 
     let params = {
-            "id": "tenetur",
-            "user_id": "consequatur",
-            "item": "repellat",
+            "id": "eius",
+            "user_id": "laborum",
+            "item": "optio",
         };
     Object.keys(params).forEach(key => url.searchParams.append(key, params[key]));
 
@@ -4504,8 +4504,8 @@ 

api/researchdata/{id}/user/{user_id}/{item} GET

} let body = { - "date_start": "incidunt", - "date_until": "optio" + "date_start": "consequatur", + "date_until": "facere" } fetch(url, { @@ -4586,7 +4586,7 @@

api/sensordefinition GET

curl -X GET -G "https://test.beep.nl/api/sensordefinition" \
     -H "Content-Type: application/json" \
-    -d '{"device_id":13,"device_hardware_id":"amet","input_measurement_abbreviation":"qui","limit":4}'
+    -d '{"device_id":11,"device_hardware_id":"sed","input_measurement_abbreviation":"perferendis","limit":15}'
 
const url = new URL("https://test.beep.nl/api/sensordefinition");
 
@@ -4596,10 +4596,10 @@ 

api/sensordefinition GET

} let body = { - "device_id": 13, - "device_hardware_id": "amet", - "input_measurement_abbreviation": "qui", - "limit": 4 + "device_id": 11, + "device_hardware_id": "sed", + "input_measurement_abbreviation": "perferendis", + "limit": 15 } fetch(url, { @@ -4664,7 +4664,7 @@

api/sensordefinition POST

curl -X POST "https://test.beep.nl/api/sensordefinition" \
     -H "Content-Type: application/json" \
-    -d '{"name":"quod","inside":true,"offset":23987.662,"multiplier":9011876.12,"input_measurement_id":5,"input_measurement_abbreviation":"w_v","output_measurement_id":6,"output_measurement_abbreviation":"t_i","device_id":5,"device_hardware_id":"labore"}'
+    -d '{"name":"exercitationem","inside":true,"offset":65304.387,"multiplier":3065.8794318,"input_measurement_id":5,"input_measurement_abbreviation":"w_v","output_measurement_id":6,"output_measurement_abbreviation":"t_i","device_id":13,"device_hardware_id":"sequi"}'
 
const url = new URL("https://test.beep.nl/api/sensordefinition");
 
@@ -4674,16 +4674,16 @@ 

api/sensordefinition POST

} let body = { - "name": "quod", + "name": "exercitationem", "inside": true, - "offset": 23987.662, - "multiplier": 9011876.12, + "offset": 65304.387, + "multiplier": 3065.8794318, "input_measurement_id": 5, "input_measurement_abbreviation": "w_v", "output_measurement_id": 6, "output_measurement_abbreviation": "t_i", - "device_id": 5, - "device_hardware_id": "labore" + "device_id": 13, + "device_hardware_id": "sequi" } fetch(url, { diff --git a/public/docs/source/.compare.md b/public/docs/source/.compare.md index 7aacec2a..0e0df015 100644 --- a/public/docs/source/.compare.md +++ b/public/docs/source/.compare.md @@ -1733,7 +1733,7 @@ Store/update multiple Devices in an array of Device objects ```bash curl -X POST "https://test.beep.nl/api/devices/multiple" \ -H "Content-Type: application/json" \ - -d '{"id":3,"key":"non","hardware_id":"aperiam","name":"aspernatur","hive_id":11,"type":"aut","last_message_received":"velit","firmware_version":"in","hardware_version":"eaque","boot_count":7,"measurement_interval_min":245050901.31657,"measurement_transmission_ratio":39322680.6122712,"ble_pin":"ad","battery_voltage":81.853067,"next_downlink_message":"non","last_downlink_result":"odit"}' + -d '{"id":14,"key":"et","hardware_id":"et","name":"mollitia","hive_id":15,"type":"minima","last_message_received":"nostrum","firmware_version":"sed","hardware_version":"nihil","boot_count":13,"measurement_interval_min":52.3417,"measurement_transmission_ratio":8016076.11,"ble_pin":"nulla","battery_voltage":76488.0828556,"next_downlink_message":"modi","last_downlink_result":"veritatis"}' ``` @@ -1746,22 +1746,22 @@ let headers = { } let body = { - "id": 3, - "key": "non", - "hardware_id": "aperiam", - "name": "aspernatur", - "hive_id": 11, - "type": "aut", - "last_message_received": "velit", - "firmware_version": "in", - "hardware_version": "eaque", - "boot_count": 7, - "measurement_interval_min": 245050901.31657, - "measurement_transmission_ratio": 39322680.6122712, - "ble_pin": "ad", - "battery_voltage": 81.853067, - "next_downlink_message": "non", - "last_downlink_result": "odit" + "id": 14, + "key": "et", + "hardware_id": "et", + "name": "mollitia", + "hive_id": 15, + "type": "minima", + "last_message_received": "nostrum", + "firmware_version": "sed", + "hardware_version": "nihil", + "boot_count": 13, + "measurement_interval_min": 52.3417, + "measurement_transmission_ratio": 8016076.11, + "ble_pin": "nulla", + "battery_voltage": 76488.0828556, + "next_downlink_message": "modi", + "last_downlink_result": "veritatis" } fetch(url, { @@ -1894,7 +1894,7 @@ List all user Devices ```bash curl -X GET -G "https://test.beep.nl/api/devices" \ -H "Content-Type: application/json" \ - -d '{"hardware_id":"sit"}' + -d '{"hardware_id":"qui"}' ``` @@ -1907,7 +1907,7 @@ let headers = { } let body = { - "hardware_id": "sit" + "hardware_id": "qui" } fetch(url, { @@ -1991,7 +1991,7 @@ Create or Update a Device ```bash curl -X POST "https://test.beep.nl/api/devices" \ -H "Content-Type: application/json" \ - -d '{"id":19,"key":"quos","hardware_id":"impedit","name":"et","hive_id":8,"type":"eos","last_message_received":"accusamus","firmware_version":"non","hardware_version":"vel","boot_count":4,"measurement_interval_min":1957.1175,"measurement_transmission_ratio":60180856.92302645,"ble_pin":"doloribus","battery_voltage":66006.620867987,"next_downlink_message":"debitis","last_downlink_result":"dolores","create_ttn_device":false,"app_key":"repellendus"}' + -d '{"id":11,"key":"culpa","hardware_id":"dolor","name":"numquam","hive_id":2,"type":"eligendi","last_message_received":"voluptas","firmware_version":"eos","hardware_version":"numquam","boot_count":20,"measurement_interval_min":78.8,"measurement_transmission_ratio":322188.990181645,"ble_pin":"vero","battery_voltage":404861375.7698923,"next_downlink_message":"dolorum","last_downlink_result":"inventore","create_ttn_device":true,"app_key":"explicabo"}' ``` @@ -2004,24 +2004,24 @@ let headers = { } let body = { - "id": 19, - "key": "quos", - "hardware_id": "impedit", - "name": "et", - "hive_id": 8, - "type": "eos", - "last_message_received": "accusamus", - "firmware_version": "non", - "hardware_version": "vel", - "boot_count": 4, - "measurement_interval_min": 1957.1175, - "measurement_transmission_ratio": 60180856.92302645, - "ble_pin": "doloribus", - "battery_voltage": 66006.620867987, - "next_downlink_message": "debitis", - "last_downlink_result": "dolores", - "create_ttn_device": false, - "app_key": "repellendus" + "id": 11, + "key": "culpa", + "hardware_id": "dolor", + "name": "numquam", + "hive_id": 2, + "type": "eligendi", + "last_message_received": "voluptas", + "firmware_version": "eos", + "hardware_version": "numquam", + "boot_count": 20, + "measurement_interval_min": 78.8, + "measurement_transmission_ratio": 322188.990181645, + "ble_pin": "vero", + "battery_voltage": 404861375.7698923, + "next_downlink_message": "dolorum", + "last_downlink_result": "inventore", + "create_ttn_device": true, + "app_key": "explicabo" } fetch(url, { @@ -2115,7 +2115,7 @@ Update an existing Device ```bash curl -X PUT "https://test.beep.nl/api/devices/1" \ -H "Content-Type: application/json" \ - -d '{"id":7,"key":"dolores","hardware_id":"sit","name":"beatae","hive_id":19,"type":"nostrum","delete":false,"last_message_received":"voluptatum","firmware_version":"facere","hardware_version":"eaque","boot_count":13,"measurement_interval_min":55.8281855,"measurement_transmission_ratio":1.837438913,"ble_pin":"non","battery_voltage":3352,"next_downlink_message":"soluta","last_downlink_result":"atque"}' + -d '{"id":1,"key":"omnis","hardware_id":"placeat","name":"aut","hive_id":18,"type":"modi","delete":false,"last_message_received":"ipsa","firmware_version":"minus","hardware_version":"harum","boot_count":2,"measurement_interval_min":455,"measurement_transmission_ratio":3368227.62,"ble_pin":"dolores","battery_voltage":110.8064444,"next_downlink_message":"ut","last_downlink_result":"quod"}' ``` @@ -2128,23 +2128,23 @@ let headers = { } let body = { - "id": 7, - "key": "dolores", - "hardware_id": "sit", - "name": "beatae", - "hive_id": 19, - "type": "nostrum", + "id": 1, + "key": "omnis", + "hardware_id": "placeat", + "name": "aut", + "hive_id": 18, + "type": "modi", "delete": false, - "last_message_received": "voluptatum", - "firmware_version": "facere", - "hardware_version": "eaque", - "boot_count": 13, - "measurement_interval_min": 55.8281855, - "measurement_transmission_ratio": 1.837438913, - "ble_pin": "non", - "battery_voltage": 3352, - "next_downlink_message": "soluta", - "last_downlink_result": "atque" + "last_message_received": "ipsa", + "firmware_version": "minus", + "hardware_version": "harum", + "boot_count": 2, + "measurement_interval_min": 455, + "measurement_transmission_ratio": 3368227.62, + "ble_pin": "dolores", + "battery_voltage": 110.8064444, + "next_downlink_message": "ut", + "last_downlink_result": "quod" } fetch(url, { @@ -2989,7 +2989,7 @@ List checklists and its inspections linked to Hive id. The 'inspections� ```bash curl -X GET -G "https://test.beep.nl/api/inspections/lists" \ -H "Content-Type: application/json" \ - -d '{"id":7}' + -d '{"id":15}' ``` @@ -3002,7 +3002,7 @@ let headers = { } let body = { - "id": 7 + "id": 15 } fetch(url, { @@ -3073,14 +3073,14 @@ Show the 'inspection' object. The object reflects only the general ins > Example request: ```bash -curl -X GET -G "https://test.beep.nl/api/inspections/1?id=quos" +curl -X GET -G "https://test.beep.nl/api/inspections/1?id=accusantium" ``` ```javascript const url = new URL("https://test.beep.nl/api/inspections/1"); let params = { - "id": "quos", + "id": "accusantium", }; Object.keys(params).forEach(key => url.searchParams.append(key, params[key])); @@ -3113,7 +3113,7 @@ fetch(url, { Parameter | Status | Description --------- | ------- | ------- | ----------- - id | optional | integer required The id of the inspection. + id | required | The id of the inspection. @@ -3125,14 +3125,14 @@ List all inspections linked to Hive id. The 'inspections' object conta > Example request: ```bash -curl -X GET -G "https://test.beep.nl/api/inspections/hive/1?hive_id=ratione" +curl -X GET -G "https://test.beep.nl/api/inspections/hive/1?hive_id=odio" ``` ```javascript const url = new URL("https://test.beep.nl/api/inspections/hive/1"); let params = { - "hive_id": "ratione", + "hive_id": "odio", }; Object.keys(params).forEach(key => url.searchParams.append(key, params[key])); @@ -3262,7 +3262,7 @@ fetch(url, { Parameter | Status | Description --------- | ------- | ------- | ----------- - hive_id | optional | integer required The hive to request inspections from. + hive_id | required | The hive to request inspections from. @@ -3559,7 +3559,7 @@ Store sensor measurement data (see BEEP sensor data API definition) from API, or ```bash curl -X POST "https://test.beep.nl/api/sensors" \ -H "Content-Type: application/json" \ - -d '{"key":"iusto","data":[],"payload_fields":[]}' + -d '{"key":"eligendi","data":[],"payload_fields":[]}' ``` @@ -3572,7 +3572,7 @@ let headers = { } let body = { - "key": "iusto", + "key": "eligendi", "data": [], "payload_fields": [] } @@ -3612,7 +3612,7 @@ When TTN payload is supplied, the TTN HTTP integration decoder/converter is assu ```bash curl -X POST "https://test.beep.nl/api/lora_sensors" \ -H "Content-Type: application/json" \ - -d '{"key":"aut","payload_fields":[],"DevEUI_uplink":[]}' + -d '{"key":"non","payload_fields":[],"DevEUI_uplink":[]}' ``` @@ -3625,7 +3625,7 @@ let headers = { } let body = { - "key": "aut", + "key": "non", "payload_fields": [], "DevEUI_uplink": [] } @@ -3663,7 +3663,7 @@ Store sensor measurement data (see BEEP sensor data API definition) from API, or ```bash curl -X POST "https://test.beep.nl/api/unsecure_sensors" \ -H "Content-Type: application/json" \ - -d '{"key":"hic","data":[],"payload_fields":[]}' + -d '{"key":"animi","data":[],"payload_fields":[]}' ``` @@ -3676,7 +3676,7 @@ let headers = { } let body = { - "key": "hic", + "key": "animi", "data": [], "payload_fields": [] } @@ -3715,7 +3715,7 @@ Request all sensor measurements from a certain interval (hour, day, week, month, ```bash curl -X GET -G "https://test.beep.nl/api/sensors/measurements" \ -H "Content-Type: application/json" \ - -d '{"key":"qui","id":7,"hive_id":17,"names":"unde","interval":"rerum","index":2}' + -d '{"key":"eos","id":12,"hive_id":11,"names":"quis","interval":"non","index":5}' ``` @@ -3728,12 +3728,12 @@ let headers = { } let body = { - "key": "qui", - "id": 7, - "hive_id": 17, - "names": "unde", - "interval": "rerum", - "index": 2 + "key": "eos", + "id": 12, + "hive_id": 11, + "names": "quis", + "interval": "non", + "index": 5 } fetch(url, { @@ -3780,7 +3780,7 @@ Request last measurement values of all sensor measurements from a sensor (Device ```bash curl -X GET -G "https://test.beep.nl/api/sensors/lastvalues" \ -H "Content-Type: application/json" \ - -d '{"key":"id","id":5,"hive_id":18}' + -d '{"key":"quisquam","id":3,"hive_id":5}' ``` @@ -3793,9 +3793,9 @@ let headers = { } let body = { - "key": "id", - "id": 5, - "hive_id": 18 + "key": "quisquam", + "id": 3, + "hive_id": 5 } fetch(url, { @@ -3839,7 +3839,7 @@ Request last weight related measurement values from a sensor (Device), used by l ```bash curl -X GET -G "https://test.beep.nl/api/sensors/lastweight" \ -H "Content-Type: application/json" \ - -d '{"key":"itaque","id":14,"hive_id":17}' + -d '{"key":"consequatur","id":16,"hive_id":14}' ``` @@ -3852,9 +3852,9 @@ let headers = { } let body = { - "key": "itaque", - "id": 14, - "hive_id": 17 + "key": "consequatur", + "id": 16, + "hive_id": 14 } fetch(url, { @@ -4014,7 +4014,7 @@ When TTN payload is supplied, the TTN HTTP integration decoder/converter is assu ```bash curl -X POST "https://test.beep.nl/api/lora_sensors_auth" \ -H "Content-Type: application/json" \ - -d '{"key":"hic","payload_fields":[],"DevEUI_uplink":[]}' + -d '{"key":"ut","payload_fields":[],"DevEUI_uplink":[]}' ``` @@ -4027,7 +4027,7 @@ let headers = { } let body = { - "key": "hic", + "key": "ut", "payload_fields": [], "DevEUI_uplink": [] } @@ -4649,14 +4649,14 @@ List one Research by id with list of consent_users > Example request: ```bash -curl -X GET -G "https://test.beep.nl/api/researchdata/1?id=enim" +curl -X GET -G "https://test.beep.nl/api/researchdata/1?id=nihil" ``` ```javascript const url = new URL("https://test.beep.nl/api/researchdata/1"); let params = { - "id": "enim", + "id": "nihil", }; Object.keys(params).forEach(key => url.searchParams.append(key, params[key])); @@ -4701,9 +4701,9 @@ List all user 'item' data within the consent=1 periods of a specific u > Example request: ```bash -curl -X GET -G "https://test.beep.nl/api/researchdata/1/user/1/1?id=tenetur&user_id=consequatur&item=repellat" \ +curl -X GET -G "https://test.beep.nl/api/researchdata/1/user/1/1?id=eius&user_id=laborum&item=optio" \ -H "Content-Type: application/json" \ - -d '{"date_start":"incidunt","date_until":"optio"}' + -d '{"date_start":"consequatur","date_until":"facere"}' ``` @@ -4711,9 +4711,9 @@ curl -X GET -G "https://test.beep.nl/api/researchdata/1/user/1/1?id=tenetur&user const url = new URL("https://test.beep.nl/api/researchdata/1/user/1/1"); let params = { - "id": "tenetur", - "user_id": "consequatur", - "item": "repellat", + "id": "eius", + "user_id": "laborum", + "item": "optio", }; Object.keys(params).forEach(key => url.searchParams.append(key, params[key])); @@ -4723,8 +4723,8 @@ let headers = { } let body = { - "date_start": "incidunt", - "date_until": "optio" + "date_start": "consequatur", + "date_until": "facere" } fetch(url, { @@ -4777,7 +4777,7 @@ Display a listing of the resource. ```bash curl -X GET -G "https://test.beep.nl/api/sensordefinition" \ -H "Content-Type: application/json" \ - -d '{"device_id":13,"device_hardware_id":"amet","input_measurement_abbreviation":"qui","limit":4}' + -d '{"device_id":11,"device_hardware_id":"sed","input_measurement_abbreviation":"perferendis","limit":15}' ``` @@ -4790,10 +4790,10 @@ let headers = { } let body = { - "device_id": 13, - "device_hardware_id": "amet", - "input_measurement_abbreviation": "qui", - "limit": 4 + "device_id": 11, + "device_hardware_id": "sed", + "input_measurement_abbreviation": "perferendis", + "limit": 15 } fetch(url, { @@ -4838,7 +4838,7 @@ Store a newly created resource in storage. ```bash curl -X POST "https://test.beep.nl/api/sensordefinition" \ -H "Content-Type: application/json" \ - -d '{"name":"quod","inside":true,"offset":23987.662,"multiplier":9011876.12,"input_measurement_id":5,"input_measurement_abbreviation":"w_v","output_measurement_id":6,"output_measurement_abbreviation":"t_i","device_id":5,"device_hardware_id":"labore"}' + -d '{"name":"exercitationem","inside":true,"offset":65304.387,"multiplier":3065.8794318,"input_measurement_id":5,"input_measurement_abbreviation":"w_v","output_measurement_id":6,"output_measurement_abbreviation":"t_i","device_id":13,"device_hardware_id":"sequi"}' ``` @@ -4851,16 +4851,16 @@ let headers = { } let body = { - "name": "quod", + "name": "exercitationem", "inside": true, - "offset": 23987.662, - "multiplier": 9011876.12, + "offset": 65304.387, + "multiplier": 3065.8794318, "input_measurement_id": 5, "input_measurement_abbreviation": "w_v", "output_measurement_id": 6, "output_measurement_abbreviation": "t_i", - "device_id": 5, - "device_hardware_id": "labore" + "device_id": 13, + "device_hardware_id": "sequi" } fetch(url, { diff --git a/public/docs/source/index.md b/public/docs/source/index.md index 7aacec2a..0e0df015 100644 --- a/public/docs/source/index.md +++ b/public/docs/source/index.md @@ -1733,7 +1733,7 @@ Store/update multiple Devices in an array of Device objects ```bash curl -X POST "https://test.beep.nl/api/devices/multiple" \ -H "Content-Type: application/json" \ - -d '{"id":3,"key":"non","hardware_id":"aperiam","name":"aspernatur","hive_id":11,"type":"aut","last_message_received":"velit","firmware_version":"in","hardware_version":"eaque","boot_count":7,"measurement_interval_min":245050901.31657,"measurement_transmission_ratio":39322680.6122712,"ble_pin":"ad","battery_voltage":81.853067,"next_downlink_message":"non","last_downlink_result":"odit"}' + -d '{"id":14,"key":"et","hardware_id":"et","name":"mollitia","hive_id":15,"type":"minima","last_message_received":"nostrum","firmware_version":"sed","hardware_version":"nihil","boot_count":13,"measurement_interval_min":52.3417,"measurement_transmission_ratio":8016076.11,"ble_pin":"nulla","battery_voltage":76488.0828556,"next_downlink_message":"modi","last_downlink_result":"veritatis"}' ``` @@ -1746,22 +1746,22 @@ let headers = { } let body = { - "id": 3, - "key": "non", - "hardware_id": "aperiam", - "name": "aspernatur", - "hive_id": 11, - "type": "aut", - "last_message_received": "velit", - "firmware_version": "in", - "hardware_version": "eaque", - "boot_count": 7, - "measurement_interval_min": 245050901.31657, - "measurement_transmission_ratio": 39322680.6122712, - "ble_pin": "ad", - "battery_voltage": 81.853067, - "next_downlink_message": "non", - "last_downlink_result": "odit" + "id": 14, + "key": "et", + "hardware_id": "et", + "name": "mollitia", + "hive_id": 15, + "type": "minima", + "last_message_received": "nostrum", + "firmware_version": "sed", + "hardware_version": "nihil", + "boot_count": 13, + "measurement_interval_min": 52.3417, + "measurement_transmission_ratio": 8016076.11, + "ble_pin": "nulla", + "battery_voltage": 76488.0828556, + "next_downlink_message": "modi", + "last_downlink_result": "veritatis" } fetch(url, { @@ -1894,7 +1894,7 @@ List all user Devices ```bash curl -X GET -G "https://test.beep.nl/api/devices" \ -H "Content-Type: application/json" \ - -d '{"hardware_id":"sit"}' + -d '{"hardware_id":"qui"}' ``` @@ -1907,7 +1907,7 @@ let headers = { } let body = { - "hardware_id": "sit" + "hardware_id": "qui" } fetch(url, { @@ -1991,7 +1991,7 @@ Create or Update a Device ```bash curl -X POST "https://test.beep.nl/api/devices" \ -H "Content-Type: application/json" \ - -d '{"id":19,"key":"quos","hardware_id":"impedit","name":"et","hive_id":8,"type":"eos","last_message_received":"accusamus","firmware_version":"non","hardware_version":"vel","boot_count":4,"measurement_interval_min":1957.1175,"measurement_transmission_ratio":60180856.92302645,"ble_pin":"doloribus","battery_voltage":66006.620867987,"next_downlink_message":"debitis","last_downlink_result":"dolores","create_ttn_device":false,"app_key":"repellendus"}' + -d '{"id":11,"key":"culpa","hardware_id":"dolor","name":"numquam","hive_id":2,"type":"eligendi","last_message_received":"voluptas","firmware_version":"eos","hardware_version":"numquam","boot_count":20,"measurement_interval_min":78.8,"measurement_transmission_ratio":322188.990181645,"ble_pin":"vero","battery_voltage":404861375.7698923,"next_downlink_message":"dolorum","last_downlink_result":"inventore","create_ttn_device":true,"app_key":"explicabo"}' ``` @@ -2004,24 +2004,24 @@ let headers = { } let body = { - "id": 19, - "key": "quos", - "hardware_id": "impedit", - "name": "et", - "hive_id": 8, - "type": "eos", - "last_message_received": "accusamus", - "firmware_version": "non", - "hardware_version": "vel", - "boot_count": 4, - "measurement_interval_min": 1957.1175, - "measurement_transmission_ratio": 60180856.92302645, - "ble_pin": "doloribus", - "battery_voltage": 66006.620867987, - "next_downlink_message": "debitis", - "last_downlink_result": "dolores", - "create_ttn_device": false, - "app_key": "repellendus" + "id": 11, + "key": "culpa", + "hardware_id": "dolor", + "name": "numquam", + "hive_id": 2, + "type": "eligendi", + "last_message_received": "voluptas", + "firmware_version": "eos", + "hardware_version": "numquam", + "boot_count": 20, + "measurement_interval_min": 78.8, + "measurement_transmission_ratio": 322188.990181645, + "ble_pin": "vero", + "battery_voltage": 404861375.7698923, + "next_downlink_message": "dolorum", + "last_downlink_result": "inventore", + "create_ttn_device": true, + "app_key": "explicabo" } fetch(url, { @@ -2115,7 +2115,7 @@ Update an existing Device ```bash curl -X PUT "https://test.beep.nl/api/devices/1" \ -H "Content-Type: application/json" \ - -d '{"id":7,"key":"dolores","hardware_id":"sit","name":"beatae","hive_id":19,"type":"nostrum","delete":false,"last_message_received":"voluptatum","firmware_version":"facere","hardware_version":"eaque","boot_count":13,"measurement_interval_min":55.8281855,"measurement_transmission_ratio":1.837438913,"ble_pin":"non","battery_voltage":3352,"next_downlink_message":"soluta","last_downlink_result":"atque"}' + -d '{"id":1,"key":"omnis","hardware_id":"placeat","name":"aut","hive_id":18,"type":"modi","delete":false,"last_message_received":"ipsa","firmware_version":"minus","hardware_version":"harum","boot_count":2,"measurement_interval_min":455,"measurement_transmission_ratio":3368227.62,"ble_pin":"dolores","battery_voltage":110.8064444,"next_downlink_message":"ut","last_downlink_result":"quod"}' ``` @@ -2128,23 +2128,23 @@ let headers = { } let body = { - "id": 7, - "key": "dolores", - "hardware_id": "sit", - "name": "beatae", - "hive_id": 19, - "type": "nostrum", + "id": 1, + "key": "omnis", + "hardware_id": "placeat", + "name": "aut", + "hive_id": 18, + "type": "modi", "delete": false, - "last_message_received": "voluptatum", - "firmware_version": "facere", - "hardware_version": "eaque", - "boot_count": 13, - "measurement_interval_min": 55.8281855, - "measurement_transmission_ratio": 1.837438913, - "ble_pin": "non", - "battery_voltage": 3352, - "next_downlink_message": "soluta", - "last_downlink_result": "atque" + "last_message_received": "ipsa", + "firmware_version": "minus", + "hardware_version": "harum", + "boot_count": 2, + "measurement_interval_min": 455, + "measurement_transmission_ratio": 3368227.62, + "ble_pin": "dolores", + "battery_voltage": 110.8064444, + "next_downlink_message": "ut", + "last_downlink_result": "quod" } fetch(url, { @@ -2989,7 +2989,7 @@ List checklists and its inspections linked to Hive id. The 'inspections� ```bash curl -X GET -G "https://test.beep.nl/api/inspections/lists" \ -H "Content-Type: application/json" \ - -d '{"id":7}' + -d '{"id":15}' ``` @@ -3002,7 +3002,7 @@ let headers = { } let body = { - "id": 7 + "id": 15 } fetch(url, { @@ -3073,14 +3073,14 @@ Show the 'inspection' object. The object reflects only the general ins > Example request: ```bash -curl -X GET -G "https://test.beep.nl/api/inspections/1?id=quos" +curl -X GET -G "https://test.beep.nl/api/inspections/1?id=accusantium" ``` ```javascript const url = new URL("https://test.beep.nl/api/inspections/1"); let params = { - "id": "quos", + "id": "accusantium", }; Object.keys(params).forEach(key => url.searchParams.append(key, params[key])); @@ -3113,7 +3113,7 @@ fetch(url, { Parameter | Status | Description --------- | ------- | ------- | ----------- - id | optional | integer required The id of the inspection. + id | required | The id of the inspection. @@ -3125,14 +3125,14 @@ List all inspections linked to Hive id. The 'inspections' object conta > Example request: ```bash -curl -X GET -G "https://test.beep.nl/api/inspections/hive/1?hive_id=ratione" +curl -X GET -G "https://test.beep.nl/api/inspections/hive/1?hive_id=odio" ``` ```javascript const url = new URL("https://test.beep.nl/api/inspections/hive/1"); let params = { - "hive_id": "ratione", + "hive_id": "odio", }; Object.keys(params).forEach(key => url.searchParams.append(key, params[key])); @@ -3262,7 +3262,7 @@ fetch(url, { Parameter | Status | Description --------- | ------- | ------- | ----------- - hive_id | optional | integer required The hive to request inspections from. + hive_id | required | The hive to request inspections from. @@ -3559,7 +3559,7 @@ Store sensor measurement data (see BEEP sensor data API definition) from API, or ```bash curl -X POST "https://test.beep.nl/api/sensors" \ -H "Content-Type: application/json" \ - -d '{"key":"iusto","data":[],"payload_fields":[]}' + -d '{"key":"eligendi","data":[],"payload_fields":[]}' ``` @@ -3572,7 +3572,7 @@ let headers = { } let body = { - "key": "iusto", + "key": "eligendi", "data": [], "payload_fields": [] } @@ -3612,7 +3612,7 @@ When TTN payload is supplied, the TTN HTTP integration decoder/converter is assu ```bash curl -X POST "https://test.beep.nl/api/lora_sensors" \ -H "Content-Type: application/json" \ - -d '{"key":"aut","payload_fields":[],"DevEUI_uplink":[]}' + -d '{"key":"non","payload_fields":[],"DevEUI_uplink":[]}' ``` @@ -3625,7 +3625,7 @@ let headers = { } let body = { - "key": "aut", + "key": "non", "payload_fields": [], "DevEUI_uplink": [] } @@ -3663,7 +3663,7 @@ Store sensor measurement data (see BEEP sensor data API definition) from API, or ```bash curl -X POST "https://test.beep.nl/api/unsecure_sensors" \ -H "Content-Type: application/json" \ - -d '{"key":"hic","data":[],"payload_fields":[]}' + -d '{"key":"animi","data":[],"payload_fields":[]}' ``` @@ -3676,7 +3676,7 @@ let headers = { } let body = { - "key": "hic", + "key": "animi", "data": [], "payload_fields": [] } @@ -3715,7 +3715,7 @@ Request all sensor measurements from a certain interval (hour, day, week, month, ```bash curl -X GET -G "https://test.beep.nl/api/sensors/measurements" \ -H "Content-Type: application/json" \ - -d '{"key":"qui","id":7,"hive_id":17,"names":"unde","interval":"rerum","index":2}' + -d '{"key":"eos","id":12,"hive_id":11,"names":"quis","interval":"non","index":5}' ``` @@ -3728,12 +3728,12 @@ let headers = { } let body = { - "key": "qui", - "id": 7, - "hive_id": 17, - "names": "unde", - "interval": "rerum", - "index": 2 + "key": "eos", + "id": 12, + "hive_id": 11, + "names": "quis", + "interval": "non", + "index": 5 } fetch(url, { @@ -3780,7 +3780,7 @@ Request last measurement values of all sensor measurements from a sensor (Device ```bash curl -X GET -G "https://test.beep.nl/api/sensors/lastvalues" \ -H "Content-Type: application/json" \ - -d '{"key":"id","id":5,"hive_id":18}' + -d '{"key":"quisquam","id":3,"hive_id":5}' ``` @@ -3793,9 +3793,9 @@ let headers = { } let body = { - "key": "id", - "id": 5, - "hive_id": 18 + "key": "quisquam", + "id": 3, + "hive_id": 5 } fetch(url, { @@ -3839,7 +3839,7 @@ Request last weight related measurement values from a sensor (Device), used by l ```bash curl -X GET -G "https://test.beep.nl/api/sensors/lastweight" \ -H "Content-Type: application/json" \ - -d '{"key":"itaque","id":14,"hive_id":17}' + -d '{"key":"consequatur","id":16,"hive_id":14}' ``` @@ -3852,9 +3852,9 @@ let headers = { } let body = { - "key": "itaque", - "id": 14, - "hive_id": 17 + "key": "consequatur", + "id": 16, + "hive_id": 14 } fetch(url, { @@ -4014,7 +4014,7 @@ When TTN payload is supplied, the TTN HTTP integration decoder/converter is assu ```bash curl -X POST "https://test.beep.nl/api/lora_sensors_auth" \ -H "Content-Type: application/json" \ - -d '{"key":"hic","payload_fields":[],"DevEUI_uplink":[]}' + -d '{"key":"ut","payload_fields":[],"DevEUI_uplink":[]}' ``` @@ -4027,7 +4027,7 @@ let headers = { } let body = { - "key": "hic", + "key": "ut", "payload_fields": [], "DevEUI_uplink": [] } @@ -4649,14 +4649,14 @@ List one Research by id with list of consent_users > Example request: ```bash -curl -X GET -G "https://test.beep.nl/api/researchdata/1?id=enim" +curl -X GET -G "https://test.beep.nl/api/researchdata/1?id=nihil" ``` ```javascript const url = new URL("https://test.beep.nl/api/researchdata/1"); let params = { - "id": "enim", + "id": "nihil", }; Object.keys(params).forEach(key => url.searchParams.append(key, params[key])); @@ -4701,9 +4701,9 @@ List all user 'item' data within the consent=1 periods of a specific u > Example request: ```bash -curl -X GET -G "https://test.beep.nl/api/researchdata/1/user/1/1?id=tenetur&user_id=consequatur&item=repellat" \ +curl -X GET -G "https://test.beep.nl/api/researchdata/1/user/1/1?id=eius&user_id=laborum&item=optio" \ -H "Content-Type: application/json" \ - -d '{"date_start":"incidunt","date_until":"optio"}' + -d '{"date_start":"consequatur","date_until":"facere"}' ``` @@ -4711,9 +4711,9 @@ curl -X GET -G "https://test.beep.nl/api/researchdata/1/user/1/1?id=tenetur&user const url = new URL("https://test.beep.nl/api/researchdata/1/user/1/1"); let params = { - "id": "tenetur", - "user_id": "consequatur", - "item": "repellat", + "id": "eius", + "user_id": "laborum", + "item": "optio", }; Object.keys(params).forEach(key => url.searchParams.append(key, params[key])); @@ -4723,8 +4723,8 @@ let headers = { } let body = { - "date_start": "incidunt", - "date_until": "optio" + "date_start": "consequatur", + "date_until": "facere" } fetch(url, { @@ -4777,7 +4777,7 @@ Display a listing of the resource. ```bash curl -X GET -G "https://test.beep.nl/api/sensordefinition" \ -H "Content-Type: application/json" \ - -d '{"device_id":13,"device_hardware_id":"amet","input_measurement_abbreviation":"qui","limit":4}' + -d '{"device_id":11,"device_hardware_id":"sed","input_measurement_abbreviation":"perferendis","limit":15}' ``` @@ -4790,10 +4790,10 @@ let headers = { } let body = { - "device_id": 13, - "device_hardware_id": "amet", - "input_measurement_abbreviation": "qui", - "limit": 4 + "device_id": 11, + "device_hardware_id": "sed", + "input_measurement_abbreviation": "perferendis", + "limit": 15 } fetch(url, { @@ -4838,7 +4838,7 @@ Store a newly created resource in storage. ```bash curl -X POST "https://test.beep.nl/api/sensordefinition" \ -H "Content-Type: application/json" \ - -d '{"name":"quod","inside":true,"offset":23987.662,"multiplier":9011876.12,"input_measurement_id":5,"input_measurement_abbreviation":"w_v","output_measurement_id":6,"output_measurement_abbreviation":"t_i","device_id":5,"device_hardware_id":"labore"}' + -d '{"name":"exercitationem","inside":true,"offset":65304.387,"multiplier":3065.8794318,"input_measurement_id":5,"input_measurement_abbreviation":"w_v","output_measurement_id":6,"output_measurement_abbreviation":"t_i","device_id":13,"device_hardware_id":"sequi"}' ``` @@ -4851,16 +4851,16 @@ let headers = { } let body = { - "name": "quod", + "name": "exercitationem", "inside": true, - "offset": 23987.662, - "multiplier": 9011876.12, + "offset": 65304.387, + "multiplier": 3065.8794318, "input_measurement_id": 5, "input_measurement_abbreviation": "w_v", "output_measurement_id": 6, "output_measurement_abbreviation": "t_i", - "device_id": 5, - "device_hardware_id": "labore" + "device_id": 13, + "device_hardware_id": "sequi" } fetch(url, {