diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-01-27 19:48:20 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-01-27 19:48:20 +0300 |
commit | 7c6e5c541de808957be8a1948fa7a20eba8734df (patch) | |
tree | f7d141750c5becc2f837ea45a8140152341878ba /docs/API/admin_api.md | |
parent | ac97d01fb6c3eae653ee626e21a62f74362e07cc (diff) | |
download | pleroma-7c6e5c541de808957be8a1948fa7a20eba8734df.tar.gz pleroma-7c6e5c541de808957be8a1948fa7a20eba8734df.zip |
docs update
Diffstat (limited to 'docs/API/admin_api.md')
-rw-r--r-- | docs/API/admin_api.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/API/admin_api.md b/docs/API/admin_api.md index 07aa7ec3f..2c0c5f46b 100644 --- a/docs/API/admin_api.md +++ b/docs/API/admin_api.md @@ -665,6 +665,19 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret - 404 Not Found `"Not found"` - On success: 200 OK `{}` +## `GET /api/pleroma/admin/restart` + +### Restarts pleroma application + +- Params: none +- Response: + - On failure: + - 400 Bad Request `"To use this endpoint you need to enable configuration from database."` + +```json +{} +``` + ## `GET /api/pleroma/admin/config/migrate_from_db` ### Run mix task pleroma.config migrate_from_db |