aboutsummaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorrr-2016-07-03 13:15:41 +0200
committerrr-2016-07-03 18:30:32 +0200
commit48d6fb6b433fdae5bdc5532d5a0968e656897968 (patch)
tree27a064fcebcbd6638df5b8c2f6b6c50805121057 /API.md
parent5800f0ebc7ab9702b3315d5aeb5c4ba4645cbb7f (diff)
server/posts: include thumbnail URLs in relations
Diffstat (limited to 'API.md')
-rw-r--r--API.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/API.md b/API.md
index b230d75..56e5fe2 100644
--- a/API.md
+++ b/API.md
@@ -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**

© 2015 - 2026 Jakob L. Kreuze