-
Notifications
You must be signed in to change notification settings - Fork 4
Anatolij Zelenin edited this page Apr 26, 2013
·
3 revisions
Mirakel uses a RESTful API. That means, you send data via the HTTP. You should send a valid HTTP-Header with a Method (see below) and the answer will be a JSON String.
URI | Method | Parameter | Description |
---|---|---|---|
users | |||
/users/sign_in.json | POST | Log In | |
/users/sign_out.json | DELETE | Log Out | |
/users/password.json | POST | Updates Password | |
/users.json | POST | Registers a new user | |
/users.json | GET | Gets an user-profile | |
/users.json | PUT | Updates an user-profile | |
/users.json | DELETE | Deletes an user | |
lists | |||
/lists.json | POST | Creates a new list | |
/lists.json | GET | Get all lists | |
/lists/:id.json | GET | Get a list | |
/lists/:id.json | PUT | Update a list | |
/lists/:id.json | DELETE | Delete a list | |
/lists/:list_id/changesort.json | PUT | Changes the sorting of a list | |
/lists/:list_id/move_in.json | POST | Moves a list under another list as a doughter-element | |
/lists/:list_id/move_after.json | POST | Moves a list under another list as a sibling-element | |
tasks | |||
/lists/:list_id/tasks.json | GET | Get all tasks | |
/lists/:list_id/tasks.json | POST | Create a task | |
/lists/:list_id/tasks/:id.json | GET | Get a task | |
/lists/:list_id/tasks/:id.json | PUT | Update a task | |
/lists/:list_id/tasks/:id.json | DELETE | Delete a task | |
/lists/:list_id/tasks/:task_id/toggle_done.json | POST | Toggle done of a task |