Follow

Starting and Stopping Timers

You can request a list of your timers in a given workspace:

GET /api/workspaces/:workspace_id/my_timers

and to access your timer for a particular task:

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

This will always return a timer object (either a running/stopped timer, or a newly created “stub” timer – but never nil).

To start, stop, or clear a timer:

% curl https://app.liquidplanner.com/api/workspaces/:id/tasks/:task_id/timer/start -X POST 
% curl https://app.liquidplanner.com/api/workspaces/:id/tasks/:task_id/timer/stop -X POST
% curl https://app.liquidplanner.com/api/workspaces/:id/tasks/:task_id/timer/clear -X POST

On success, each of these calls returns the affected timer.

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