aboutsummaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorrr-2016-05-01 20:15:28 +0200
committerrr-2016-05-02 00:07:33 +0200
commit067e438b8cf0483c12ecca4c2d5da3279f477f94 (patch)
tree3e6d15d348aa6eefa5a5355f907902a83934a8a4 /API.md
parentce095816d99acdcb642713719c775d463d238a91 (diff)
server/posts: add hasCustomThumbnail to post info
Diffstat (limited to 'API.md')
-rw-r--r--API.md44
1 files changed, 23 insertions, 21 deletions
diff --git a/API.md b/API.md
index 05df63d..4d52409 100644
--- a/API.md
+++ b/API.md
@@ -1334,27 +1334,28 @@ One file together with its metadata posted to the site.
```json5
{
- "id": <id>,
- "creationTime": <creation-time>,
- "lastEditTime": <last-edit-time>,
- "safety": <safety>,
- "source": <source>,
- "type": <type>,
- "checksum": <checksum>,
- "canvasWidth": <canvas-width>,
- "canvasHeight": <canvas-height>,
- "contentUrl": <content-url>,
- "thumbnailUrl": <thumbnail-url>,
- "flags": <flags>,
- "tags": <tags>,
- "relations": <relations>,
- "notes": <notes>,
- "user": <user>,
- "score": <score>,
- "ownScore": <own-score>,
- "featureCount": <feature-count>,
- "lastFeatureTime": <last-feature-time>,
- "favoritedBy": <favorited-by>
+ "id": <id>,
+ "creationTime": <creation-time>,
+ "lastEditTime": <last-edit-time>,
+ "safety": <safety>,
+ "source": <source>,
+ "type": <type>,
+ "checksum": <checksum>,
+ "canvasWidth": <canvas-width>,
+ "canvasHeight": <canvas-height>,
+ "contentUrl": <content-url>,
+ "thumbnailUrl": <thumbnail-url>,
+ "flags": <flags>,
+ "tags": <tags>,
+ "relations": <relations>,
+ "notes": <notes>,
+ "user": <user>,
+ "score": <score>,
+ "ownScore": <own-score>,
+ "featureCount": <feature-count>,
+ "lastFeatureTime": <last-feature-time>,
+ "favoritedBy": <favorited-by>,
+ "hasCustomThumbnail": <has-custom-thumbnail>
}
```
@@ -1403,6 +1404,7 @@ One file together with its metadata posted to the site.
- `<last-feature-time>`: the last time the post was featured, formatted as per
RFC 3339.
- `<favorited-by>`: list of users, serialized as [user resources](#user).
+- `<has-custom-thumbnail>`: whether the post uses custom thumbnail.
## Detailed post
**Description**

© 2015 - 2026 Jakob L. Kreuze