Skip to content

Commit ca60ca4

Browse files
Add display_enabled param to docs (#415)
Co-authored-by: Felix Erdmann <[email protected]>
1 parent 1d637f4 commit ca60ca4

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

packages/api/lib/controllers/boxesController.js

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -409,15 +409,16 @@ const postNewBox = async function postNewBox (req, res, next) {
409409
* @api {get} /boxes/:senseBoxId/script Download the Arduino script for your senseBox
410410
* @apiName getSketch
411411
* @apiGroup Boxes
412-
* @apiParam {String="Serial1","Serial2"} serialPort the serial port the SDS011 sensor is connected to
413-
* @apiParam {String="A","B","C"} soilDigitalPort the digital port the SMT50 sensor is connected to
414-
* @apiParam {String="A","B","C"} soundMeterPort the digital port the soundlevelmeter sensor is connected to
415-
* @apiParam {String="A","B","C"} windSpeedPort the digital port the windspeed sensor is connected to
416-
* @apiParam {String} ssid the ssid of your wifi network
417-
* @apiParam {String} password the password of your wifi network
418-
* @apiParam {String} devEUI the devEUI of TTN device
419-
* @apiParam {String} appEUI the appEUI of TTN application
420-
* @apiParam {String} appKey the appKey of TTN application
412+
* @apiParam {String="Serial1","Serial2"} [serialPort] the serial port the SDS011 sensor is connected to
413+
* @apiParam {String="A","B","C"} [soilDigitalPort] the digital port the SMT50 sensor is connected to
414+
* @apiParam {String="A","B","C"} [soundMeterPort] the digital port the soundlevelmeter sensor is connected to
415+
* @apiParam {String="A","B","C"} [windSpeedPort] the digital port the windspeed sensor is connected to
416+
* @apiParam {String} [ssid] the ssid of your wifi network
417+
* @apiParam {String} [password] the password of your wifi network
418+
* @apiParam {String} [devEUI] the devEUI of TTN device
419+
* @apiParam {String} [appEUI] the appEUI of TTN application
420+
* @apiParam {String} [appKey] the appKey of TTN application
421+
* @apiParam {Boolean="true","false"} [display_enabled] include code for an attached oled display
421422
* @apiUse JWTokenAuth
422423
* @apiUse BoxIdParam
423424
*/

0 commit comments

Comments
 (0)