diff options
author | Maxim Filippov <colixer@gmail.com> | 2019-09-16 14:40:17 +0300 |
---|---|---|
committer | Maxim Filippov <colixer@gmail.com> | 2019-09-16 14:40:17 +0300 |
commit | 219dca1b00a60805545dd3de433de285cc944af5 (patch) | |
tree | f8ffd4f93bf3f7bcd7ce0b789a18fb425134781a /docs/api/differences_in_mastoapi_responses.md | |
parent | 736165c082d34ef4d52367ea8315c228a1df3944 (diff) | |
parent | 409e701ab849475c81073d80a973487d67cadaae (diff) | |
download | pleroma-219dca1b00a60805545dd3de433de285cc944af5.tar.gz |
Merge branch 'develop' into feature/return-total-for-reports
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: |