From 488e8598ecb75442c9f2afe6f5ee17bc1e5e2fa3 Mon Sep 17 00:00:00 2001 From: Mark van Renswoude Date: Fri, 5 Jan 2018 20:17:39 +0100 Subject: [PATCH] Fixed API document internal links --- API.md | 21 +++++++-------------- src/assets/version.h | 4 ++-- 2 files changed, 9 insertions(+), 16 deletions(-) diff --git a/API.md b/API.md index c0f0088..7f89bca 100644 --- a/API.md +++ b/API.md @@ -1,14 +1,13 @@ # API -- [GET /api/version](#get-version) -- [GET /api/connection/status](#get-connection-status) -- [GET /api/connection](#get-connection) -- [POST /api/connection](#post-connection) -- [GET /api/steps](#get-steps) -- [POST /api/steps](#post-steps) -- [POST /api/firmware](#post-firmware) +- [GET /api/version](#get-apiversion) +- [GET /api/connection/status](#get-apiconnectionstatus) +- [GET /api/connection](#get-apiconnection) +- [POST /api/connection](#post-apiconnection) +- [GET /api/steps](#get-apisteps) +- [POST /api/steps](#post-apisteps) +- [POST /api/firmware](#post-apifirmware) - ## GET /api/version Returns the unique identifier of the chip and the version of the firmware. @@ -21,7 +20,6 @@ Returns the unique identifier of the chip and the version of the firmware. } ``` - ## GET /api/connection/status Returns the status of the WiFi connections. @@ -43,7 +41,6 @@ The value of the 'status' element corresponds to the ```wl_status_t``` enum as d } ``` - ## GET /api/connection Returns the settings of the WiFi connections. @@ -64,7 +61,6 @@ Returns the settings of the WiFi connections. ``` - ## POST /api/connection Updates the settings of the WiFi connections. The module will apply the new settings immediately and will break existing connections. @@ -85,7 +81,6 @@ Updates the settings of the WiFi connections. The module will apply the new sett ``` - ## GET /api/steps Returns the current brightness value for each step. The number of items in the array is equal to the number of configured steps. Each value has a range of 0 to 255. @@ -98,7 +93,6 @@ Returns the current brightness value for each step. The number of items in the a ] ``` - ## POST /api/steps Changes the brightness value for each step. If the number of values in the array is less than the number of configured steps, each subsequent step is considered to be off. @@ -122,7 +116,6 @@ An optional array 'startTime' can be included which specifies the delay, for eac } ``` - ## POST /api/firmware Uploads new firmware. The bin file should be posted as a multipart/form-data file attachment. Name is not relevant. \ No newline at end of file diff --git a/src/assets/version.h b/src/assets/version.h index 7949bcf..149b1f3 100644 --- a/src/assets/version.h +++ b/src/assets/version.h @@ -4,10 +4,10 @@ const uint8_t VersionMajor = 2; const uint8_t VersionMinor = 0; const uint8_t VersionPatch = 0; -const uint8_t VersionMetadata = 7; +const uint8_t VersionMetadata = 8; const char VersionBranch[] = "release/2.0"; const char VersionSemVer[] = "2.0.0-beta.1"; -const char VersionFullSemVer[] = "2.0.0-beta.1+7"; +const char VersionFullSemVer[] = "2.0.0-beta.1+8"; const char VersionCommitDate[] = "2018-01-05"; #endif