mirror of
https://github.com/mjl-/mox.git
synced 2025-07-17 06:06:07 +03:00
mox!
This commit is contained in:
25
http/accountapi.json
Normal file
25
http/accountapi.json
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"Name": "Account",
|
||||
"Docs": "Account exports web API functions for the account web interface. All its\nmethods are exported under /account/api/. Function calls require valid HTTP\nAuthentication credentials of a user.",
|
||||
"Functions": [
|
||||
{
|
||||
"Name": "SetPassword",
|
||||
"Docs": "SetPassword saves a new password for the account, invalidating the previous password.\nSessions are not interrupted, and will keep working. New login attempts must use the new password.\nPassword must be at least 8 characters.",
|
||||
"Params": [
|
||||
{
|
||||
"Name": "password",
|
||||
"Typewords": [
|
||||
"string"
|
||||
]
|
||||
}
|
||||
],
|
||||
"Returns": []
|
||||
}
|
||||
],
|
||||
"Sections": [],
|
||||
"Structs": [],
|
||||
"Ints": [],
|
||||
"Strings": [],
|
||||
"SherpaVersion": 0,
|
||||
"SherpadocVersion": 1
|
||||
}
|
Reference in New Issue
Block a user