API¶
Password Recovery¶
Step 1 : Send an email¶
URL :
password/recovery/1 [POST]
Arguments
- jabberId (Required) : jabberId of the user test@example.org
- email (Required) : email of the user set on vcard myemail@example.org
Response
Successful : 200 Ok
Error Code :
- 400 Bad Request : bad arguments
- 403 Forbidden : bad email
- 405 Method Not Allowed : bad http method
- 500 Internal Server Error : bad configuration
Step 2 : Change password¶
URL :
password/recovery/2 [POST]
Arguments
- jabberId (Required) : jabberId of the user test@example.org
- code (Required) : code sended by email
- password (Required) : new password
Response
Successful : 200 Ok
Error Code :
- 400 Bad Request : bad arguments
- 403 Forbidden : bad code
- 405 Method Not Allowed : bad http method
- 500 Internal Server Error : bad configuration
Accept Languages¶
URL¶
misc/languages [GET]
Response
Return content of http header Accept-Language like fr-fr,en-us;q=0.7,en;q=0.3