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 Workspace entity #10

Open
2 of 10 tasks
ivlevdenis opened this issue Nov 19, 2020 · 2 comments
Open
2 of 10 tasks

Implement Workspace entity #10

ivlevdenis opened this issue Nov 19, 2020 · 2 comments
Labels
v9 Relates to Toggl API V9

Comments

@ivlevdenis ivlevdenis added this to the Release 0.3.0 milestone Nov 19, 2020
@nifadyev nifadyev added the bug Something isn't working label May 17, 2024
@nifadyev
Copy link
Collaborator

According to migration guide, a lot of paths and endpoints are now under /workspaces path. That is why proper API V9 support requires deep refactoring.

@nifadyev nifadyev changed the title Check & fix Workspace entity and repository Adapt Workspace related logic to API V9 May 28, 2024
@nifadyev nifadyev moved this to To do in toggl-python tasks Jul 22, 2024
@nifadyev nifadyev added v9 Relates to Toggl API V9 and removed bug Something isn't working labels Jul 23, 2024
@nifadyev nifadyev moved this from To do to V9 Migration Backlog in toggl-python tasks Jul 23, 2024
@nifadyev nifadyev changed the title Adapt Workspace related logic to API V9 Implement Workspace entity Jul 23, 2024
@nifadyev
Copy link
Collaborator

Rough plan:

  • Necessary endpoints (available on free plan):
    • GET /me/workspaces
    • GET/PUT /workspaces/{workspace_id}
    • GET/POST /workspaces/{workspace_id}/preferences
    • POST/DELETE /workspaces/{workspace_id}/alerts
    • GET /workspaces/{workspace_id}/statistics
    • GET /organizations/{organization_id}/workspaces/statistics
    • PUT /organizations/{organization_id}/workspaces/{workspace_id}/assignments
    • POST /organizations/{organization_id}/workspaces
  • Cover new logic with tests and type annotations

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
Status: V9 Migration Backlog
Development

No branches or pull requests

2 participants