diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-02-05 20:36:21 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-02-05 20:36:21 +0300 |
commit | 5db6ac8ee405d89943a3669da4ea154ce004860f (patch) | |
tree | a991a6549ab24dd8de48f66792511bb2be46025c /docs/API | |
parent | 49e80a15377fe460d7ac644601609700fffea632 (diff) | |
download | pleroma-5db6ac8ee405d89943a3669da4ea154ce004860f.tar.gz |
removing migrate_from_db endpoint from admin api
Diffstat (limited to 'docs/API')
-rw-r--r-- | docs/API/admin_api.md | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/docs/API/admin_api.md b/docs/API/admin_api.md index 2c0c5f46b..e445583cb 100644 --- a/docs/API/admin_api.md +++ b/docs/API/admin_api.md @@ -678,21 +678,6 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret {} ``` -## `GET /api/pleroma/admin/config/migrate_from_db` - -### 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. - -- 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` ### Get list of merged default settings with saved in database. |