X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=docs%2FAPI%2Fpleroma_api.md;h=c1aa4d204148b536141cbf1ec11ef6f5de88e336;hb=1a5a7ba6e8a936d3138ca530d3466111e542aef6;hp=4e97d26c052d0e0969cbe33f21db507139a9880e;hpb=66ebd88634d2093fc6c4f9f90d5e32a4f2638696;p=akkoma diff --git a/docs/API/pleroma_api.md b/docs/API/pleroma_api.md index 4e97d26c0..c1aa4d204 100644 --- a/docs/API/pleroma_api.md +++ b/docs/API/pleroma_api.md @@ -570,3 +570,23 @@ Emoji reactions work a lot like favourites do. They make it possible to react to {"name": "😀", "count": 2, "me": true, "accounts": [{"id" => "xyz.."...}, {"id" => "zyx..."}]} ] ``` + +# Account aliases + +Set and delete ActivityPub aliases for follower move. + +## `POST /api/v1/pleroma/accounts/ap_aliases` +### Add account aliases +* Method: `POST` +* Authentication: required +* Params: + * `aliases`: array of ActivityPub IDs to add +* Response: JSON, the user's account + +## `DELETE /api/v1/pleroma/accounts/ap_aliases` +### Delete account aliases +* Method: `DELETE` +* Authentication: required +* Params: + * `aliases`: array of ActivityPub IDs to delete +* Response: JSON, the user's account