diff options
| author | rr- | 2016-05-01 20:15:28 +0200 |
|---|---|---|
| committer | rr- | 2016-05-02 00:07:33 +0200 |
| commit | 067e438b8cf0483c12ecca4c2d5da3279f477f94 (patch) | |
| tree | 3e6d15d348aa6eefa5a5355f907902a83934a8a4 /API.md | |
| parent | ce095816d99acdcb642713719c775d463d238a91 (diff) | |
server/posts: add hasCustomThumbnail to post info
Diffstat (limited to 'API.md')
| -rw-r--r-- | API.md | 44 |
1 files changed, 23 insertions, 21 deletions
@@ -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** |