From ca60ca4acd6988c6e8c33faea10f416dadf94ddf Mon Sep 17 00:00:00 2001 From: Gerald Pape Date: Wed, 20 Jan 2021 14:53:40 +0100 Subject: [PATCH] Add display_enabled param to docs (#415) Co-authored-by: Felix Erdmann --- .../api/lib/controllers/boxesController.js | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/api/lib/controllers/boxesController.js b/packages/api/lib/controllers/boxesController.js index 17b2529f..37e331ea 100644 --- a/packages/api/lib/controllers/boxesController.js +++ b/packages/api/lib/controllers/boxesController.js @@ -409,15 +409,16 @@ const postNewBox = async function postNewBox (req, res, next) { * @api {get} /boxes/:senseBoxId/script Download the Arduino script for your senseBox * @apiName getSketch * @apiGroup Boxes - * @apiParam {String="Serial1","Serial2"} serialPort the serial port the SDS011 sensor is connected to - * @apiParam {String="A","B","C"} soilDigitalPort the digital port the SMT50 sensor is connected to - * @apiParam {String="A","B","C"} soundMeterPort the digital port the soundlevelmeter sensor is connected to - * @apiParam {String="A","B","C"} windSpeedPort the digital port the windspeed sensor is connected to - * @apiParam {String} ssid the ssid of your wifi network - * @apiParam {String} password the password of your wifi network - * @apiParam {String} devEUI the devEUI of TTN device - * @apiParam {String} appEUI the appEUI of TTN application - * @apiParam {String} appKey the appKey of TTN application + * @apiParam {String="Serial1","Serial2"} [serialPort] the serial port the SDS011 sensor is connected to + * @apiParam {String="A","B","C"} [soilDigitalPort] the digital port the SMT50 sensor is connected to + * @apiParam {String="A","B","C"} [soundMeterPort] the digital port the soundlevelmeter sensor is connected to + * @apiParam {String="A","B","C"} [windSpeedPort] the digital port the windspeed sensor is connected to + * @apiParam {String} [ssid] the ssid of your wifi network + * @apiParam {String} [password] the password of your wifi network + * @apiParam {String} [devEUI] the devEUI of TTN device + * @apiParam {String} [appEUI] the appEUI of TTN application + * @apiParam {String} [appKey] the appKey of TTN application + * @apiParam {Boolean="true","false"} [display_enabled] include code for an attached oled display * @apiUse JWTokenAuth * @apiUse BoxIdParam */