Update documentation
This commit is contained in:
parent
3010309a28
commit
897957f3a2
|
@ -232,7 +232,7 @@ Poll for new messages, new deletions and the current moderator list for multiple
|
|||
{
|
||||
room_id: String,
|
||||
status_code: u16,
|
||||
deletions: [
|
||||
deletions: [
|
||||
{
|
||||
deletion_server_id: i64,
|
||||
deleted_message_id: i64
|
||||
|
@ -435,6 +435,31 @@ Ban the given public key from the server.
|
|||
}
|
||||
```
|
||||
|
||||
### POST /ban_and_delete_all
|
||||
|
||||
| Header | Required | Notes |
|
||||
| ------------- | -------- | --------- |
|
||||
| Authorization | Yes | Moderator |
|
||||
| Room | Yes | |
|
||||
|
||||
Ban the given public key from the server and delete all messages sent by them.
|
||||
|
||||
**Expected body:**
|
||||
|
||||
```
|
||||
{
|
||||
public_key: String
|
||||
}
|
||||
```
|
||||
|
||||
**Response:**
|
||||
|
||||
```
|
||||
{
|
||||
status_code: u16
|
||||
}
|
||||
```
|
||||
|
||||
### DELETE /block_list/:public_key
|
||||
|
||||
| Header | Required | Notes |
|
||||
|
|
Loading…
Reference in New Issue