#We-List -- A to-do List web app
- Keep things to do for you.
- Automatically delete the things you put off over one week.
- You can use this app through command line by external API.
- Click here to see online app.
1.0.0
- Sign up user:
curl -H "Content-Type: application/json" -H "Accept: application/json" -X POST http://we-list-leichen.herokuapp.com/users -d '{"user" : {"email" : "youremail", "password": "yourpassword", "name": "Eastknight"}}'
- Sign in user:
curl -H "Content-Type: application/json" -H "Accept: application/json" -X POST http://we-list-leichen.herokuapp.com/users/sign_in -d '{"user" : {"email": "youremail", "password": "yourpassword"}}'
After signing in, you'll get an authentication token. This is your private key. Use it in your request header as well as your email address, and keep it safe!
- Create new list:
curl -H "Accept: application/json" -H "Content-type: application/json" -H "X-API-EMAIL: youremail" -H "X-API-TOKEN: your_authentication_token" -X POST http://we-list-leichen.herokuapp.com/api/v1/lists -d '{"list": {"title" : "New List"}}'
- Sign out user:
curl -H "Accept: application/json" -H "Content-type: application/json" -H "X-API-EMAIL: youremail" -H "X-API-TOKEN: your_authentication_token" -X DELETE http://we-list-leichen.herokuapp.com/users/sign_out
After signing out, your authentication token will expire.