diff options
author | rinpatch <rinpatch@sdf.org> | 2019-04-09 17:25:31 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-04-09 17:25:31 +0000 |
commit | 144648de92abea7330cf264b7608634a27bb6bdf (patch) | |
tree | 52b9b61ea678915fa3a7502c99373bc48382da6d /docs/api | |
parent | 0a02ed7a2f63abc80fbef70c1a3ad64c01516a75 (diff) | |
parent | 4a6855d9eedf07159520b2205c554c891e70c7d4 (diff) | |
download | pleroma-144648de92abea7330cf264b7608634a27bb6bdf.tar.gz |
Merge branch 'mastoapi/plaintext-statuses' into 'develop'
Provide plaintext representations of content/cw in MastoAPI
Closes #787
See merge request pleroma/pleroma!1035
Diffstat (limited to 'docs/api')
-rw-r--r-- | docs/api/differences_in_mastoapi_responses.md | 2 |
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 |