Clean up account aliases
This commit is contained in:
parent
1a5a7ba6e8
commit
4af1b80381
17 changed files with 47 additions and 222 deletions
|
|
@ -184,6 +184,7 @@ Additional parameters can be added to the JSON body/Form data:
|
|||
- `pleroma_settings_store` - Opaque user settings to be saved on the backend.
|
||||
- `skip_thread_containment` - if true, skip filtering out broken threads
|
||||
- `allow_following_move` - if true, allows automatically follow moved following accounts
|
||||
- `also_known_as` - array of ActivityPub IDs, needed for following move
|
||||
- `pleroma_background_image` - sets the background image of the user. Can be set to "" (an empty string) to reset.
|
||||
- `discoverable` - if true, discovery of this account in search results and other services is allowed.
|
||||
- `actor_type` - the type of this account.
|
||||
|
|
|
|||
|
|
@ -570,23 +570,3 @@ 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue