Task Timer

Get timers for a user in a task

Changed on

Fetch all timer entries and total tracked time for a user in the given task

get/v1/time-track/{taskId}/users/{userId}/timers

Request

  • Base URL
    https://api.astravue.com
  • Auth
    none declared. Required headers: X-Org-Id

Path parameters

taskIdinteger required
Example:101

Task ID

userIdinteger required
Example:5

User ID

Headers

X-Org-Idinteger required
Example:1

Organization ID (in header)

Response

Timers retrieved successfully

successboolean

Indicates if the operation was successful

messagestring

Message describing the result of the operation

codeinteger

HTTP status code of the response

timestampstring date-time

Timestamp of the response

Example response

{
  "success": true,
  "message": "Operation completed successfully",
  "code": 200,
  "timestamp": "2023-01-01T12:00:00Z"
}

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