summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorneobooru <50623835+neobooru@users.noreply.github.com>2020-09-18 18:23:56 +0200
committerneobooru <50623835+neobooru@users.noreply.github.com>2020-09-18 18:27:21 +0200
commit802051399fc193eda7f06e534d7b3349cc41eb2e (patch)
treef2665151ce961de6b7f19a83f4fec9cfc6fbc72a /doc
parent0dd427755b601da8dadf9af1a34ecad03f8446f9 (diff)
doc/api: add pools to post resource
Diffstat (limited to 'doc')
-rw-r--r--doc/API.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/API.md b/doc/API.md
index db96bb1..e75b993 100644
--- a/doc/API.md
+++ b/doc/API.md
@@ -2387,6 +2387,11 @@ One file together with its metadata posted to the site.
<comment>,
<comment>,
<comment>
+ ],
+ "pools": [
+ <pool>,
+ <pool>,
+ <pool>
]
}
```
@@ -2450,6 +2455,7 @@ One file together with its metadata posted to the site.
- `<mime-type>`: subsidiary to `<type>`, used to tell exact content format;
useful for `<video>` tags for instance.
- `<comment>`: a [comment resource](#comment) for given post.
+- `<pool>`: a [pool resource](#pool) for given post.
## Micro post
**Description**
@@ -2514,7 +2520,7 @@ An ordered list of posts, with a description and category.
```json5
{
"version": <version>,
- "id": <id>
+ "id": <id>,
"names": <names>,
"category": <category>,
"posts": <suggestions>,
@@ -2551,7 +2557,7 @@ A comment under a post.
"version": <version>,
"id": <id>,
"postId": <post-id>,
- "user": <author>
+ "user": <author>,
"text": <text>,
"creationTime": <creation-time>,
"lastEditTime": <last-edit-time>,