Fix API documentation
authorEgor Kislitsyn <egor@kislitsyn.com>
Mon, 18 May 2020 18:01:38 +0000 (22:01 +0400)
committerEgor Kislitsyn <egor@kislitsyn.com>
Mon, 18 May 2020 18:01:38 +0000 (22:01 +0400)
docs/API/pleroma_api.md

index 5895613a3d9d24317d4083f86ffdf0b8dca08796..867f599190568340a8b233fb8e61cfc69d3596f4 100644 (file)
@@ -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: