diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2020-09-21 20:19:31 +0200 |
---|---|---|
committer | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2020-09-21 20:19:53 +0200 |
commit | 1761f0446bd34460fd1117f3a7fe88cd79647980 (patch) | |
tree | cf5f455fbfad4e2b1bcd2256811556896fb53fe1 | |
parent | 30b1e404b7630d55f1e20a0402e097b46c8e710d (diff) |
doc(README): correct api documentation for queue endpoint
-rw-r--r-- | README.adoc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/README.adoc b/README.adoc index fd8b333..933b274 100644 --- a/README.adoc +++ b/README.adoc @@ -55,19 +55,18 @@ following JSON format. `length` corresponds with the length of the queue array. `queue` is ordered by time of each item's addition, i. e. the first item is next up to be displayed. The supplied `id` -may be used to delete the entries via the `del` -endpoint. +may be used to delete the entries. ------------------------- { "queue": [ { - "id": 1, - "text": "world" - }, - { "id": 0, "text": "hello" + }, + { + "id": 1, + "text": "world" } ], "length": 2 |