API Guide > RESTful Resources > HTTP Methods
|
|
Developer Forum - Ask the LiquidPlanner development team questions. Note that the LP iPhone app uses this same API. |
|
API Sample Code – See the API in action then give it a try. |
Enter a search term or try the Dev Forums for more answers.
LiquidPlanner uses a RESTful web service API. You can download the API Guide (PDF) for offline reference. Most actions that you can perform within the application can be automated using the API -- for example, you can create a task, comment on the task, track time against it, and then mark it done.
NEED HELP? Please post API questions in the API forums
| If you want to … | Then you should … |
|---|---|
| fetch all instances of the resource | GET /api/resource |
| fetch an instance of the resource | GET /api/resource/:id |
| create a new resource | POST /api/resource |
| update an existing resource | PUT /api/resource/:id |
| delete an existing resource | DELETE /api/resource/:id |
If your HTTP client does not implement the PUT and DELETE methods, you can alternatively submit a POST with an additional parameter named _method and a value of either PUT or DELETE.
For example, to delete a task using the POST method rather than the DELETE method, do:
POST /api/workspaces/:id/tasks/:id?_method=DELETE


