diff options
author | rinpatch <rinpatch@sdf.org> | 2017-01-01 03:10:08 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2017-01-01 03:10:08 +0300 |
commit | 4a6855d9eedf07159520b2205c554c891e70c7d4 (patch) | |
tree | 1c4e2f4297845f3fc766fa1356928a99de933634 /docs/api/differences_in_mastoapi_responses.md | |
parent | 4977e96fa408e8148a355b3c759af34ae3ca312d (diff) | |
download | pleroma-4a6855d9eedf07159520b2205c554c891e70c7d4.tar.gz |
Provide plaintext representations of content/cw in MastoAPI
Diffstat (limited to 'docs/api/differences_in_mastoapi_responses.md')
-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 |