summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJakob L. Kreuze <zerodaysfordays@sdf.org>2020-06-06 19:11:26 -0400
committerJakob L. Kreuze <zerodaysfordays@sdf.org>2020-06-06 19:11:26 -0400
commitf71975e5a89b031248d848aa553e4810178e7279 (patch)
treef171022d7aae3ba101b05e355f49626040af45ca /README.md
parent8e89d43bdf35b2a1f69f3f7e3d87c57fb1e3f58a (diff)
Implement tag updates.
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 2cf8a74..069f8d9 100644
--- a/README.md
+++ b/README.md
@@ -108,6 +108,9 @@ GET /api/posts/[id]
ImageResult
```
+To add tags to an image, POST a comma-separated list of new tags to the same
+endpoint.
+
To upload an image to the database, post a multipart/form-data encoded message
to the following endpoint with the following fields: `tags`, a comma-separated
list of tags for the files, and `image`, the file to be uploaded.