diff options
| author | rr- | 2016-05-30 23:23:22 +0200 |
|---|---|---|
| committer | rr- | 2016-05-30 23:23:22 +0200 |
| commit | 78612e1da1b2c0c7768d700d9a4ec360cd878945 (patch) | |
| tree | 247559ae4c10256bfb7b6eed042f822aab19d127 /API.md | |
| parent | 037fbc61ec3b661e9581152dd9344416915a6d7e (diff) | |
server/posts: add new fields
Diffstat (limited to 'API.md')
| -rw-r--r-- | API.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1523,6 +1523,10 @@ One file together with its metadata posted to the site. "user": <user>, "score": <score>, "ownScore": <own-score>, + "tagCount": <tag-count>, + "favoriteCount": <favorite-count>, + "commentCount": <comment-count>, + "noteCount": <note-count>, "featureCount": <feature-count>, "lastFeatureTime": <last-feature-time>, "favoritedBy": <favorited-by>, @@ -1582,6 +1586,10 @@ One file together with its metadata posted to the site. - `<score>`: the collective score (+1/-1 rating) of the given post. - `<own-score>`: the score (+1/-1 rating) of the given post by the authenticated user. +- `<tag-count>`: how many tags the post is tagged with +- `<favorite-count>`: how many users have the post in their favorites +- `<comment-count>`: how many comments are filed under that post +- `<note-count>`: how many notes the post has - `<feature-count>`: how many times has the post been featured. - `<last-feature-time>`: the last time the post was featured, formatted as per RFC 3339. |