Astravue API
  1. Task Timer
Astravue API
  • Welcome to the Astravue API
  • Auth
    • Get Access and Refresh Token
      POST
    • Refresh Access Token
      POST
  • Personal Tasks
    • Get task by ID
      GET
    • Update a task
      PUT
    • Delete a task
      DELETE
    • Get all tasks
      GET
    • Create a task
      POST
  • Spaces
    • Get space by ID
      GET
    • Update a space
      PUT
    • Delete a space
      DELETE
    • Get all spaces
      GET
    • Create a new space
      POST
  • Projects
    • Get project details by ID
      GET
    • Update a project
      PUT
    • Delete a project
      DELETE
    • Get all projects in a space
      GET
    • Create a new project
      POST
  • Project Tasks
    • Get a project task by ID
    • Update a project task
    • Delete a project task
    • Get all tasks in a project
    • Create a project task
  • Task Timer
    • Get timers for a user in a task
      GET
    • Get active timers for a user
      GET
    • Update a timer
      PUT
    • Stop timer for a task
      PUT
    • Delete a timer entry
      DELETE
    • Start timer for a personal task
      POST
    • Add a time range entry for a personal task
      POST
    • Add manual time entry for a personal task
      POST
    • Start timer for a project task
      POST
    • Add range timer for a project task
      POST
    • Add manual time entry for a project task
      POST
  • Notifications and Mentions
    • Get all notifications and mentions
    • Mark notification/mentions as read
    • Delete multiple notifications
  1. Task Timer

Get timers for a user in a task

GET
https://api.astravue.com/v1/time-track/{taskId}/users/{userId}/timers
Fetch all timer entries and total tracked time for a user in the given task
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.astravue.com/v1/time-track//users//timers' \
--header 'X-Org-Id;'
Response Response Example
{
    "success": true,
    "message": "Operation completed successfully",
    "code": 200,
    "data": {
        "occupiedTime": 0,
        "timers": [
            {
                "tenantId": 0,
                "trackId": 0,
                "trackerType": "string",
                "startTime": "2019-08-24T14:15:22Z",
                "endTime": "2019-08-24T14:15:22Z",
                "timePeriod": 0,
                "taskId": 0,
                "parentTaskId": 0,
                "title": "string",
                "task": {},
                "projectId": 0,
                "spaceId": 0,
                "billingType": true,
                "notes": "string",
                "user": {},
                "createdTime": "2019-08-24T14:15:22Z",
                "when": "2019-08-24T14:15:22Z"
            }
        ]
    },
    "timestamp": "2023-01-01T12:00:00Z"
}

Request

Authorization
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Path Params

Header Params

Responses

🟢200OK
application/hal+json
Timers retrieved successfully
Body

Previous
Create a project task
Next
Get active timers for a user
Built with