dashboard
Get last activity for every workspace user
Dashboard's main purpose is to give an overview of what users in the workspace are doing and have been doing. The activity object holds the data of 20 latest actions in the workspace or latest activity for every workspace user. Activity object has the following properties
- user_id: user ID
- project_id: project ID (ID is 0 if time entry doesn't have project connected to it)
- duration: time entry duration in seconds. If the time entry is currently running, the duration attribute contains a negative value, denoting the start of the time entry in seconds since epoch (Jan 1 1970). The correct duration can be calculated as current_time + duration, where current_time is the current time in seconds since epoch.
- description: (Description property is not present if time entry description is empty)
- stop: time entry stop time (ISO 8601 date and time. Stop property is not present when time entry is still running)
- tid: task id, if applicable
get/workspaces/{workspace_id}/dashboard/all_activity
Request
- Base URLhttps://localhost:8080/api/v9
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
workspace_idinteger required
Numeric ID of the workspace
Request body application/x-www-form-urlencoded
Response
Successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.