Scoping and Nesting of Resources

Resources (except for your account and workspaces themselves) are scoped by or nested within a workspace. This scoping is represented in the request path, so e.g. to list the tasks in a given workspace, do:

GET /api/workspaces/:workspace_id/tasks

and to show a single task, do:

GET /api/workspaces/:workspace_id/tasks/:task_id

This nesting pattern may be repeated, e.g. with the comments for a task:

GET /api/workspaces/:workspace_id/tasks/:task_id/comments
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request