Document the new endpoint
This commit is contained in:
parent
8d7d6d85b4
commit
beb7d4dcf0
@ -63,6 +63,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
<details>
|
||||
<summary>API Changes</summary>
|
||||
- Admin API: (`GET /api/pleroma/admin/users`) filter users by `unconfirmed` status and `actor_type`.
|
||||
- Admin API: Add endpoint to provide a list of tabs for rendering the AdminFE Settings config section (`GET /api/pleroma/admin/config/tabs`)
|
||||
- Pleroma API: `GET /api/v2/pleroma/chats` added. It is exactly like `GET /api/v1/pleroma/chats` except supports pagination.
|
||||
- Pleroma API: Add `idempotency_key` to the chat message entity that can be used for optimistic message sending.
|
||||
- Pleroma API: (`GET /api/v1/pleroma/federation_status`) Add a way to get a list of unreachable instances.
|
||||
|
@ -1122,6 +1122,30 @@ Loads json generated from `config/descriptions.exs`.
|
||||
}]
|
||||
```
|
||||
|
||||
## ` GET /api/pleroma/admin/config/tabs`
|
||||
|
||||
### Get JSON formatted list of ConfigDB setting routes for AdminFE
|
||||
Also generated from `config/descriptions.exs`.
|
||||
|
||||
- Params: none
|
||||
- Response:
|
||||
|
||||
```json
|
||||
[
|
||||
{
|
||||
"label": "ActivityPub", // Text label of the setting
|
||||
"path": "activity-pub" // URL path for rendering that group of settings
|
||||
},
|
||||
{
|
||||
"label": "Authentication",
|
||||
"path": "authentication"
|
||||
},
|
||||
{
|
||||
"label": "Captcha",
|
||||
"path": "captcha"
|
||||
}
|
||||
```
|
||||
|
||||
## `GET /api/pleroma/admin/moderation_log`
|
||||
|
||||
### Get moderation log
|
||||
|
Loading…
Reference in New Issue
Block a user