feat: add project complete and cancel endpoints#2
Open
ehippy wants to merge 2 commits into
Open
Conversation
- Add GET /search?q= for searching tasks across all collections - Add GET /deadlines for tasks with upcoming deadlines - Add GET /trash for trashed/deleted items - Add GET /canceled for canceled tasks - Add test suite with 20 tests covering auth, read, new endpoints, and writes - Update README with new endpoint documentation and examples - Add pytest and httpx as optional test dependencies
- POST /projects/{uuid}/complete - mark a project as completed
- POST /projects/{uuid}/cancel - cancel a project
- Tests for both endpoints (4 new tests)
- Updated README with new endpoints and examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
POST /projects/{uuid}/completeto mark a project as completedPOST /projects/{uuid}/cancelto cancel a projectMotivation
The API had full read/write support for tasks (create, update, complete, cancel) but was missing complete/cancel for projects — a clear feature parity gap. Things 3's URL scheme supports both operations for projects via
things://commands.Test Plan