aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2020-05-18 22:01:38 +0400
committerEgor Kislitsyn <egor@kislitsyn.com>2020-05-18 22:01:38 +0400
commitd4a7577cdeeb86649dbab22a1addc57e6ed16e9c (patch)
treed3814e6d9cb7fafe9ea219f6ff65226c64f804a1
parentfe5d423b43d6d4c4cd63aaee27b8aa0966441e02 (diff)
downloadpleroma-d4a7577cdeeb86649dbab22a1addc57e6ed16e9c.tar.gz
Fix API documentation
-rw-r--r--docs/API/pleroma_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/API/pleroma_api.md b/docs/API/pleroma_api.md
index 5895613a3..867f59919 100644
--- a/docs/API/pleroma_api.md
+++ b/docs/API/pleroma_api.md
@@ -265,7 +265,7 @@ See [Admin-API](admin_api.md)
* Method `PUT`
* Authentication: required
* Params:
- * `image`: Multipart image
+ * `file`: Multipart image
* Response: JSON. Returns a mastodon media attachment entity
when successful, otherwise returns HTTP 415 `{"error": "error_msg"}`
* Example response: