diff options
| author | rr- | 2016-07-03 13:15:41 +0200 |
|---|---|---|
| committer | rr- | 2016-07-03 18:30:32 +0200 |
| commit | 48d6fb6b433fdae5bdc5532d5a0968e656897968 (patch) | |
| tree | 27a064fcebcbd6638df5b8c2f6b6c50805121057 /API.md | |
| parent | 5800f0ebc7ab9702b3315d5aeb5c4ba4645cbb7f (diff) | |
server/posts: include thumbnail URLs in relations
Diffstat (limited to 'API.md')
| -rw-r--r-- | API.md | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -68,6 +68,7 @@ - [Tag category](#tag-category) - [Tag](#tag) - [Post](#post) + - [Micro post](#micro-post) - [Note](#note) - [Comment](#comment) - [Snapshot](#snapshot) @@ -1625,7 +1626,8 @@ One file together with its metadata posted to the site. - `<flags>`: various flags such as whether the post is looped, represented as array of plain strings. - `<tags>`: list of tag names the post is tagged with. -- `<relations>`: a list of related post IDs. Links to related posts are shown +- `<relations>`: a list of related posts, serialized as [micro post + resources](#micro-post). Links to related posts are shown to the user by the web client. - `<notes>`: a list of post annotations, serialized as list of [note resources](#note). @@ -1650,6 +1652,11 @@ One file together with its metadata posted to the site. earlier versions. - `<comment>`: a [comment resource](#comment) for given post. +## Micro post +**Description** + +A [post resource](#post) stripped down to `name` and `thumbnailUrl` fields. + ## Note **Description** |