Make your virtualenv.
Install the python packages:
pip install -r dev-reqs.txt
Start the server:
paster serve etc/bipostal-dev.ini
paster serve etc/bipostal-dev.ini
GET /alias/ >>> 200 OK {"email": <email>, "aliases": [<alias>, <alias>, ...]} Retrieve all the aliases for the current user. Requires browserid auth.
POST /alias/ >>> 200 OK {"email": <email>, "alias": <alias>} Create a new alias for the current user. Optionally, an alias can be requested in the POST body: {"alias": <alias>} Requires browserid auth.
GET /alias/<alias> >>> 200 OK {"email": <email>} Get the real email address for the given alias. No auth required.
DELETE /alias/<alias> >>> 200 OK Forget about the given alias. Requires browserid auth.
PUT /alias/<alias> >>> 200 OK Modify the given alias by passing these properties in the body:: {"active": true|false} Requires browserid auth.