diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-02-11 13:54:55 +0400 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-02-11 13:54:55 +0400 |
commit | 6875ccb6bfcc5ae62db26d38c3d5eac4c6f8706a (patch) | |
tree | dacb02d953473e3a0c6aeec58d86fb7fb1ed5886 /docs/API/admin_api.md | |
parent | 3c4a30c6db312aff2afbfcd423498be19c02c68c (diff) | |
parent | 5ebffd5224729413e53a55ddda9a1f86224d7d73 (diff) | |
download | pleroma-6875ccb6bfcc5ae62db26d38c3d5eac4c6f8706a.tar.gz pleroma-6875ccb6bfcc5ae62db26d38c3d5eac4c6f8706a.zip |
Merge branch 'develop' into feature/new-registrations-digest
Diffstat (limited to 'docs/API/admin_api.md')
-rw-r--r-- | docs/API/admin_api.md | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/docs/API/admin_api.md b/docs/API/admin_api.md index 07aa7ec3f..fb6dfcb08 100644 --- a/docs/API/admin_api.md +++ b/docs/API/admin_api.md @@ -665,11 +665,9 @@ 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/config/migrate_from_db` +## `GET /api/pleroma/admin/restart` -### Run mix task pleroma.config migrate_from_db - -Copies all settings from database to `config/{env}.exported_from_db.secret.exs` with deletion from the table. Where `{env}` is the environment in which `pleroma` is running. +### Restarts pleroma application - Params: none - Response: @@ -691,7 +689,6 @@ Copies all settings from database to `config/{env}.exported_from_db.secret.exs` - Response: - On failure: - 400 Bad Request `"To use this endpoint you need to enable configuration from database."` - - 400 Bad Request `"To use configuration from database migrate your settings to database."` ```json { |