diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2021-01-29 08:41:21 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2021-01-29 08:41:21 +0300 |
commit | c369d2b93028e4dc11f1f2c4cd7380ee0392ccac (patch) | |
tree | 5f302a0b98eae26b869bd8bc8336690ece87a9f8 /docs/development | |
parent | d7af0294e6a3a690524e0a08a35c9c6dafbb9f79 (diff) | |
download | pleroma-c369d2b93028e4dc11f1f2c4cd7380ee0392ccac.tar.gz |
support for with_relationships parameter
in /api/v1/mutes and /api/v1/accounts/:id endpoints
Diffstat (limited to 'docs/development')
-rw-r--r-- | docs/development/API/differences_in_mastoapi_responses.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/development/API/differences_in_mastoapi_responses.md b/docs/development/API/differences_in_mastoapi_responses.md index 84430408b..b532d14ed 100644 --- a/docs/development/API/differences_in_mastoapi_responses.md +++ b/docs/development/API/differences_in_mastoapi_responses.md @@ -54,6 +54,13 @@ The `id` parameter can also be the `nickname` of the user. This only works in th - `/api/v1/accounts/:id` - `/api/v1/accounts/:id/statuses` +Endpoints which accept `with_relationships` parameter: + +- `/api/v1/accounts/:id` +- `/api/v1/accounts/:id/followers` +- `/api/v1/accounts/:id/following` +- `/api/v1/mutes` + Has these additional fields under the `pleroma` object: - `ap_id`: nullable URL string, ActivityPub id of the user |