aboutsummaryrefslogtreecommitdiff
path: root/docs/Differences-in-MastodonAPI-Responses.md
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-03-15 11:58:12 +0300
committerrinpatch <rinpatch@sdf.org>2019-03-15 11:58:12 +0300
commitd7a34b604b15f9e7f73cda834f513d6f62643005 (patch)
treee41a0f929b4ae4a741fd8d43f81f11768bfbb101 /docs/Differences-in-MastodonAPI-Responses.md
parent7ecc201029a8c90cf5dc3313ff78d56eb0a2445c (diff)
downloadpleroma-d7a34b604b15f9e7f73cda834f513d6f62643005.tar.gz
Extend MastoAPI to provide attachment mimetypes
Diffstat (limited to 'docs/Differences-in-MastodonAPI-Responses.md')
-rw-r--r--docs/Differences-in-MastodonAPI-Responses.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/Differences-in-MastodonAPI-Responses.md b/docs/Differences-in-MastodonAPI-Responses.md
index 7b11fe90f..621de6603 100644
--- a/docs/Differences-in-MastodonAPI-Responses.md
+++ b/docs/Differences-in-MastodonAPI-Responses.md
@@ -20,6 +20,12 @@ Has these additional fields under the `pleroma` object:
- `local`: true if the post was made on the local instance.
+## Attachments
+
+Has these additional fields under the `pleroma` object:
+
+- `mime_type`: mime type of the attachment.
+
## Accounts
- `/api/v1/accounts/:id`: The `id` parameter can also be the `nickname` of the user. This only works in this endpoint, not the deeper nested ones for following etc.