Skip to content

Releases: troii/timr-api

timr API 1.1.0

Choose a tag to compare

@daberni daberni released this 15 Oct 15:08
94a937c

DELETE /tasks/{id}

New endpoint:

DELETE /v1/tasks/{id}
  • Deletes the Task and all its subtasks.
  • Rejects deletion if the Task or any subtask has recorded or running Project Times.
  • Adds the corresponding deleteTask operation to generated SDKs; naming follows each language's conventions. SDK packages are published separately.

Responses

204 No Content
403 Forbidden
404 Not Found
409 Conflict
  • 204: Task and subtasks deleted; no response body.
  • 409: recorded or running Project Times prevent deletion; nothing is deleted.

Full comparison

timr API 1.0.1

Choose a tag to compare

@daberni daberni released this 15 Oct 15:08
5bc2b96

GET /users/{id}/working-time-accounts/{date}

  • Removed from the specification and generated SDKs (getUserWorkingTimeAccounts).
  • Use the account endpoint instead:
GET /v1/users/{id}/accounts/{date}

GET /users/{id}/accounts/{date}

Clarified balance calculation in the documentation:

  • On a balance date: returns the stored balance unchanged.
  • Between balance dates: recalculates from the most recent balance using recorded actual times and target working time.
  • Work Schedule Model: uses the User's current assignment. Request dates on or after the most recent model change; earlier dates may return incorrect balances.

Accounts.last_balance_date

Clarified the field description:

  • Identifies the preceding balance entry, always before the requested day.
  • null only for the initialization date itself.

Full comparison

timr API 1.0.0

Choose a tag to compare

@github-actions github-actions released this 12 Oct 17:03
ab66451

Release notes: https://developer.timr.com — the specification at this version is spec/openapi.yaml.