Skip to content

feat: add project complete and cancel endpoints#2

Open
ehippy wants to merge 2 commits into
mainfrom
feat/project-complete-cancel
Open

feat: add project complete and cancel endpoints#2
ehippy wants to merge 2 commits into
mainfrom
feat/project-complete-cancel

Conversation

@ehippy
Copy link
Copy Markdown
Owner

@ehippy ehippy commented May 30, 2026

Summary

  • Implements POST /projects/{uuid}/complete to mark a project as completed
  • Implements POST /projects/{uuid}/cancel to cancel a project
  • Adds 4 tests for the new endpoints
  • Updates README with new endpoints and usage example

Motivation

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

  • 24 tests pass locally (20 existing + 4 new)

crumb and others added 2 commits May 29, 2026 11:04
- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant