mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-03-30 15:05:38 +08:00
41 lines
435 B
Markdown
41 lines
435 B
Markdown
## MongoDB Plugin API
|
|
|
|
### POST /plugin/mongodb/update_password
|
|
|
|
Request:
|
|
|
|
{
|
|
"password": "123123"
|
|
}
|
|
|
|
No Response.
|
|
|
|
Exception:
|
|
|
|
* invalid_password
|
|
* not_in_service
|
|
|
|
### POST /plugin/mongodb/create_database
|
|
|
|
Request:
|
|
|
|
{
|
|
"name": "jysperm_test"
|
|
}
|
|
|
|
Exception:
|
|
|
|
* invalid_name
|
|
|
|
### POST /plugin/mongodb/delete_database
|
|
|
|
Request:
|
|
|
|
{
|
|
"name": "jysperm_test"
|
|
}
|
|
|
|
Exception:
|
|
|
|
* invalid_name
|