summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorShyam Sunder <sgsunder1@gmail.com>2021-01-05 13:00:13 -0500
committerShyam Sunder <sgsunder1@gmail.com>2021-01-05 13:20:01 -0500
commit2bdb072296633e444ec63eee45eea33272dfaefc (patch)
tree62d0836fda527c8d95b6efbab563cedfc1ec6ce3 /doc
parent7515b8e605b0ec2b421cc8b9d23dd356d2bb591e (diff)
server/posts: store and provide MD5 checksums
Diffstat (limited to 'doc')
-rw-r--r--doc/API.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/API.md b/doc/API.md
index cccbc4e..3d280fd 100644
--- a/doc/API.md
+++ b/doc/API.md
@@ -2366,6 +2366,7 @@ One file together with its metadata posted to the site.
"source": <source>,
"type": <type>,
"checksum": <checksum>,
+ "checksumMD5": <checksum-MD5>,
"canvasWidth": <canvas-width>,
"canvasHeight": <canvas-height>,
"contentUrl": <content-url>,
@@ -2426,8 +2427,9 @@ One file together with its metadata posted to the site.
- `"flash"` - Flash animation / game.
- `"youtube"` - Youtube embed.
-- `<checksum>`: the file checksum. Used in snapshots to signify changes of the
+- `<checksum>`: the SHA1 file checksum. Used in snapshots to signify changes of the
post content.
+- `<checksum-MD5>`: the MD5 file checksum.
- `<canvas-width>` and `<canvas-height>`: the original width and height of the
post content.
- `<content-url>`: where the post content is located.