diff options
author | rinpatch <rinpatch@sdf.org> | 2020-02-05 21:03:56 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-02-05 21:03:56 +0000 |
commit | 72d767998c389ea4c9896d8748b0529d134bd8a6 (patch) | |
tree | 8156607874503bdc47464fb3070b1b73ad1e5b4c /docs/API/admin_api.md | |
parent | b21e59da5f69505d276ddfa6b00c67a838dcc149 (diff) | |
parent | 2a3e06eb709966204c1723258b82644a7ac8d11e (diff) | |
download | pleroma-72d767998c389ea4c9896d8748b0529d134bd8a6.tar.gz |
Merge branch 'removing-admin-api-endpoint' into 'develop'
Removing migrate_from_db endpoint from admin api
See merge request pleroma/pleroma!2177
Diffstat (limited to 'docs/API/admin_api.md')
-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. |