Skip to content

feat: add move task to collection endpoint#3

Open
ehippy wants to merge 1 commit into
mainfrom
feat/move-task-to-collection
Open

feat: add move task to collection endpoint#3
ehippy wants to merge 1 commit into
mainfrom
feat/move-task-to-collection

Conversation

@ehippy
Copy link
Copy Markdown
Owner

@ehippy ehippy commented May 31, 2026

Summary

  • Implements to move tasks between collections (inbox, today, upcoming, someday, anytime, projects)
  • Adds Pydantic model for request body validation
  • Adds 7 tests covering the move endpoint (auth, collection routing, project targets)
  • Updates README with feature list, endpoint docs, and usage example
  • Adds pytest/httpx as optional test dependencies

Motivation

The API had full read/write support for tasks but was missing a way to move tasks between collections — a key capability for automations and integrations. For example, an automation could receive a notification and move a task from inbox to today, or from today to a specific project.

Test Plan

  • 21 tests pass locally
  • CI checks (if applicable)

- Add POST /tasks/{uuid}/move endpoint to move tasks between collections
- Supports moving to inbox, today, upcoming, someday, anytime, or projects
- Adds TaskMove Pydantic model for request body
- Adds 7 tests covering move endpoint (auth, collection routing, project targets)
- Updates README with feature list, endpoint docs, and usage example
- Adds pytest/httpx as optional test dependencies
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