Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement TimeEntry entity #8

Closed
ivlevdenis opened this issue Nov 19, 2020 · 2 comments · Fixed by #52 or #62
Closed

Implement TimeEntry entity #8

ivlevdenis opened this issue Nov 19, 2020 · 2 comments · Fixed by #52 or #62
Assignees
Labels
v9 Relates to Toggl API V9

Comments

@ivlevdenis
Copy link
Contributor

https://github.com/toggl/toggl_api_docs/blob/master/chapters/time_entries.md

@ivlevdenis ivlevdenis added this to the Release 0.3.0 milestone Nov 19, 2020
@nifadyev
Copy link
Collaborator

Current state is:

  • Endpoint /me/time_entries does not support query parameters
  • No DELETE endpoints
  • No endpoints PUT/POST workspaces/{workspace_id}/time_entries, workspaces/{workspace_id}/time_entries/{time_entry_ids} (bulk editing), workspaces/{workspace_id}/time_entries/{time_entry_id}/stop
  • Deprecated fields tid, pid, wid in pydantic model
  • pydantic model does not support optional fields like project_color

@nifadyev nifadyev added the bug Something isn't working label May 17, 2024
@nifadyev nifadyev changed the title Check & fix Time entries entity and repository Adapt Time Entries related logic to API V9 May 28, 2024
@nifadyev nifadyev added v9 Relates to Toggl API V9 and removed bug Something isn't working labels Jul 23, 2024
@nifadyev
Copy link
Collaborator

nifadyev commented Jul 23, 2024

Rough plan:

  • Necessary endpoints (available on free plan):
    • GET /me/time_entries
    • GET /me/time_entries/current
    • GET /me/time_entries/{time_entry_id}
    • GET /me/web-timer
    • PATCH /{workspace_id}/time_entries/{time_entry_ids} - bulk editing
    • PUT/DELETE /{workspace_id}/time_entries/{time_entry_id}
    • PATCH /{workspace_id}/time_entries/{time_entry_id}/stop
    • GET /{workspace_id}/time_entry_constraints
  • Cover new logic with tests and type annotations

@nifadyev nifadyev changed the title Adapt Time Entries related logic to API V9 Implement TimeEntry entity Jul 23, 2024
@nifadyev nifadyev self-assigned this Jul 29, 2024
@nifadyev nifadyev linked a pull request Aug 22, 2024 that will close this issue
@nifadyev nifadyev linked a pull request Sep 3, 2024 that will close this issue
@nifadyev nifadyev closed this as completed Sep 3, 2024
nifadyev added a commit that referenced this issue Sep 16, 2024
* Remove factory-boy dev dependency
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v9 Relates to Toggl API V9
Projects
2 participants