summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2017-01-01 03:10:08 +0300
committerrinpatch <rinpatch@sdf.org>2017-01-01 03:10:08 +0300
commit4a6855d9eedf07159520b2205c554c891e70c7d4 (patch)
tree1c4e2f4297845f3fc766fa1356928a99de933634 /docs/api
parent4977e96fa408e8148a355b3c759af34ae3ca312d (diff)
downloadpleroma-4a6855d9eedf07159520b2205c554c891e70c7d4.tar.gz
pleroma-4a6855d9eedf07159520b2205c554c891e70c7d4.zip
Provide plaintext representations of content/cw in MastoAPI
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/differences_in_mastoapi_responses.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/api/differences_in_mastoapi_responses.md b/docs/api/differences_in_mastoapi_responses.md
index 215f43155..923d94db2 100644
--- a/docs/api/differences_in_mastoapi_responses.md
+++ b/docs/api/differences_in_mastoapi_responses.md
@@ -20,6 +20,8 @@ Has these additional fields under the `pleroma` object:
- `local`: true if the post was made on the local instance.
- `conversation_id`: the ID of the conversation the status is associated with (if any)
+- `content`: a map consisting of alternate representations of the `content` property with the key being it's mimetype. Currently the only alternate representation supported is `text/plain`
+- `spoiler_text`: a map consisting of alternate representations of the `spoiler_text` property with the key being it's mimetype. Currently the only alternate representation supported is `text/plain`
## Attachments