Task Timer

Start timer for a task

Changed on

Starts a new timer for the given task ID. Used to track task duration.

post/v1/time-track/{taskId}/start

Request

  • Base URL
    https://api.astravue.com
  • URL
    https://api.astravue.com/v1/time-track/{taskId}/start
  • Auth
    none declared. Required headers: X-Org-Id

Path parameters

taskIdinteger required
Example:101

Task ID for which the timer is to be started

Headers

X-Org-Idinteger required
Example:1

Organization ID (in header)

Request body

billingTypeboolean required

Whether the timer is billable.

notesstring

Optional notes about the timer.

Example request

{
  "billingType": true,
  "notes": "Worked on bug fixing."
}

Response

Timer started successfully

Changes

    • breaking

      removed the media type application/hal+json for the response with the status

    • info

      added the media type application/vnd.hal+json for the response with the status