Updated JSON API (markdown)

master
Aircoookie 2019-03-27 11:02:38 +01:00
rodzic af5d0ac59f
commit 98e5541cfa
1 zmienionych plików z 3 dodań i 4 usunięć

@ -1,5 +1,3 @@
Check back soon! This documentation is scheduled to be completed before the 3rd of April 2019
Starting from version 0.8.4, WLED implements a powerful JSON API over HTTP.
It is accessable using the `/json` subpage.
@ -125,8 +123,9 @@ seg | Array of segment objects | Segments are individual parts of the LED strip.
#### Contents of the segment object
Notice: _start_, _stop_, and _len_ are not changeable in 0.8.4. Any segment with _id_ > 0 is ignored.
Unless stated otherwise, every other value may be changed via an HTTP POST request.
**Notice:** _start_, _stop_, and _len_ are not changeable in 0.8.4. Any segment with _id_ > 0 is ignored.
Unless stated otherwise, every value may be changed via an HTTP POST request.
The tertiary color is not gamma-corrected in 0.8.4, but will be in subsequent releases.
| JSON key | Value range | Description
| --- | --- | --- |