From 32376b33cf290c3cfedfc22fc91cec04218ce7de Mon Sep 17 00:00:00 2001 From: Aircoookie Date: Wed, 27 Mar 2019 08:39:51 +0100 Subject: [PATCH] Updated JSON API (markdown) --- JSON-API.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/JSON-API.md b/JSON-API.md index 8e9bd5f..016e6b5 100644 --- a/JSON-API.md +++ b/JSON-API.md @@ -10,7 +10,8 @@ The response consists of four objects: - `info` contains general information about the device. No value can be modified using this API. - `effects` contains an array of the effect mode names - `palettes` contains an array of the palette names -You may also obtain those objects individually using the URLs `/json/state` `/json/info` `/json/eff`, and ``/json/pal` + +You may also obtain those objects individually using the URLs `/json/state` `/json/info` `/json/eff`, and `/json/pal` ### Setting new values Sending a POST request to `/json` or `/json/state` with (parts of) the state object will update the respective values.