diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2020-11-24 22:04:22 +0100 |
---|---|---|
committer | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2020-11-24 22:04:22 +0100 |
commit | cac3ad5fb54f94a804397810fb2a2c5fbc7ffdfd (patch) | |
tree | 8a399a3603e7630a0eda075287ebf3dab7d10ac2 | |
parent | a8d02b58f401f26cb026bd8cad9169ab16569a10 (diff) |
doc(api): document 415 codes where possible
-rw-r--r-- | README.adoc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/README.adoc b/README.adoc index 800e811..13d2156 100644 --- a/README.adoc +++ b/README.adoc @@ -114,6 +114,7 @@ of its `text` and `id`: | HTTP Status | Meaning | 200 | Success, text added | 400 | Illegal method or malformed request +| 415 | Request body too big or text field longer allowed (usually 512 bytes) | 503 | The queue is full, i. e. the max id has been reached |============================================= @@ -141,6 +142,7 @@ authenticate itself: | 400 | Illegal method or malformed request | 401 | Unauthorized API token | 404 | No queue entry with given `id` +| 415 | Request body too big |============================================= API `v1` @@ -175,6 +177,7 @@ I sincerly hope that nobody scraped the resulting page. | HTTP Status | Meaning | 200 | Success, text added | 400 | Illegal method or malformed request +| 415 | Request body too big or text field longer allowed (usually 512 bytes) |============================================= DELETE `/api/v1/queue/del/<id>` |