diff options
author | Maxim Filippov <colixer@gmail.com> | 2019-09-16 19:44:06 +0300 |
---|---|---|
committer | Maxim Filippov <colixer@gmail.com> | 2019-09-16 19:44:06 +0300 |
commit | df15ed13d15db5b5a371345fcb9968b5af4100af (patch) | |
tree | 02f8834a25733ed7ee02fa9aa4dd66b606f78030 /docs/api/differences_in_mastoapi_responses.md | |
parent | d1abf7a3585e4bc1ebea4f615ae2e149d5a56918 (diff) | |
parent | a58f29b826333c1ecb0907228f0e087a3ecd9778 (diff) | |
download | pleroma-df15ed13d15db5b5a371345fcb9968b5af4100af.tar.gz |
Merge branch 'develop' into feature/moderation-log-filters
Diffstat (limited to 'docs/api/differences_in_mastoapi_responses.md')
-rw-r--r-- | docs/api/differences_in_mastoapi_responses.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/api/differences_in_mastoapi_responses.md b/docs/api/differences_in_mastoapi_responses.md index 02f90f3e8..9b32baf3a 100644 --- a/docs/api/differences_in_mastoapi_responses.md +++ b/docs/api/differences_in_mastoapi_responses.md @@ -91,6 +91,20 @@ Additional parameters can be added to the JSON body/Form data: - `expires_in`: The number of seconds the posted activity should expire in. When a posted activity expires it will be deleted from the server, and a delete request for it will be federated. This needs to be longer than an hour. - `in_reply_to_conversation_id`: Will reply to a given conversation, addressing only the people who are part of the recipient set of that conversation. Sets the visibility to `direct`. +## GET `/api/v1/statuses` + +An endpoint to get multiple statuses by IDs. + +Required parameters: + +- `ids`: array of activity ids + +Usage example: `GET /api/v1/statuses/?ids[]=1&ids[]=2`. + +Returns: array of Status. + +The maximum number of statuses is limited to 100 per request. + ## PATCH `/api/v1/update_credentials` Additional parameters can be added to the JSON body/Form data: |