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 -X POST 
% curl -X POST
% curl -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