mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-01-03 05:48:42 +00:00
Correct response in AdminAPI docs
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
58f646bcda
commit
3419e2cbdd
2 changed files with 17 additions and 14 deletions
0
changelog.d/docs-fix.skip
Normal file
0
changelog.d/docs-fix.skip
Normal file
|
@ -433,7 +433,7 @@ Response:
|
||||||
* On success: URL of the unfollowed relay
|
* On success: URL of the unfollowed relay
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{"https://example.com/relay"}
|
"https://example.com/relay"
|
||||||
```
|
```
|
||||||
|
|
||||||
## `POST /api/v1/pleroma/admin/users/invite_token`
|
## `POST /api/v1/pleroma/admin/users/invite_token`
|
||||||
|
@ -1193,20 +1193,23 @@ Loads json generated from `config/descriptions.exs`.
|
||||||
- Response:
|
- Response:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
[
|
{
|
||||||
{
|
"items": [
|
||||||
"id": 1234,
|
{
|
||||||
"data": {
|
"id": 1234,
|
||||||
"actor": {
|
"data": {
|
||||||
"id": 1,
|
"actor": {
|
||||||
"nickname": "lain"
|
"id": 1,
|
||||||
|
"nickname": "lain"
|
||||||
|
},
|
||||||
|
"action": "relay_follow"
|
||||||
},
|
},
|
||||||
"action": "relay_follow"
|
"time": 1502812026, // timestamp
|
||||||
},
|
"message": "[2017-08-15 15:47:06] @nick0 followed relay: https://example.org/relay" // log message
|
||||||
"time": 1502812026, // timestamp
|
}
|
||||||
"message": "[2017-08-15 15:47:06] @nick0 followed relay: https://example.org/relay" // log message
|
],
|
||||||
}
|
"total": 1
|
||||||
]
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## `POST /api/v1/pleroma/admin/reload_emoji`
|
## `POST /api/v1/pleroma/admin/reload_emoji`
|
||||||
|
|
Loading…
Reference in a new issue