diff options
| author | neobooru <50623835+neobooru@users.noreply.github.com> | 2020-09-18 18:23:56 +0200 |
|---|---|---|
| committer | neobooru <50623835+neobooru@users.noreply.github.com> | 2020-09-18 18:27:21 +0200 |
| commit | 802051399fc193eda7f06e534d7b3349cc41eb2e (patch) | |
| tree | f2665151ce961de6b7f19a83f4fec9cfc6fbc72a /doc | |
| parent | 0dd427755b601da8dadf9af1a34ecad03f8446f9 (diff) | |
doc/api: add pools to post resource
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/API.md | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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>, |