Index by title
API¶
Password Recovery¶
Step 1 : Send an email¶
URL :
password/recovery/1 [POST]
Arguments
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
Contribute¶
Source Code¶
We are using Mercurial.
hg clone http://hg.afflux-project.org/client-services/
Fix a bug!¶
See Issue list and attach your patch on the ticket.
Installation¶
Requirement¶
Download¶
http://dev.afflux-project.org/projects/list_files/client-services
Web Server¶
WSGIPythonPath /home/user/client-services/src/
<VirtualHost *:80>
WSGIScriptAlias /afflux /home/user/client-services/src/wsgihandler.py
</VirtualHost>
Config¶
- Edit src/config.py
- Edit src/logging.conf
Verify
Go to http://server/setup
How to use ?¶
See API for more information about methods available.
Documentation¶