Follow

The Resource Parameter

When creating or updating a resource, the API requires a request parameter with the same name as the resource (in the singular form), whose value is a hash of the resource's attributes.

Putting together the HTTP methods, resource nesting, and the resource parameter, we have the following:

If you want to… Then you should… To… With a parameter…
create a task POST /api/workspaces/:workspace_id/tasks task = …hash…
create a comment on a task POST /api/workspaces/:workspace_id/tasks/:task_id/comments comment = …hash…
update a folder PUT /api/workspaces/:workspace_id/folders/:folder_id folder = …hash…

You can reference the available resources at: https://app.liquidplanner.com/api/help/urls

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
Powered by Zendesk