Skip to content

Conversation

@stunningpixels
Copy link
Contributor

@stunningpixels stunningpixels commented Nov 18, 2025

Projects

  • GET /projects: List projects (updated to new repository)
  • POST /projects: Create a project (updated payload)
  • GET /projects/:project_id: Get project details (updated to new repository)
  • PATCH /projects/:project_id: Update a project
  • DELETE /projects/:project_id: Delete a project

Sprints

  • GET /projects/:project_id/sprints: List sprints for a project
  • POST /projects/:project_id/sprints: Create a sprint
  • PATCH /sprints/:sprint_id: Update a sprint
  • DELETE /sprints/:sprint_id: Delete a sprint

Project Statuses

  • GET /projects/:project_id/statuses: List statuses for a project
  • POST /projects/:project_id/statuses: Create a status
  • PATCH /statuses/:status_id: Update a status
  • DELETE /statuses/:status_id: Delete a status

Tags

  • GET /projects/:project_id/tags: List tags for a project
  • POST /projects/:project_id/tags: Create a tag
  • PATCH /tags/:tag_id: Update a tag
  • DELETE /tags/:tag_id: Delete a tag

Task Comments

  • GET /tasks/:task_id/comments: List comments for a task
  • POST /tasks/:task_id/comments: Create a comment
  • PATCH /comments/:comment_id: Update a comment (author only)
  • DELETE /comments/:comment_id: Delete a comment (author only)

Task Comment Reactions

  • GET /comments/:comment_id/reactions: List reactions for a comment
  • POST /comments/:comment_id/reactions: Add a reaction
  • DELETE /reactions/:reaction_id: Remove a reaction (author only)

Project Members

  • GET /projects/:project_id/members: List members of a project
  • POST /projects/:project_id/members: Add a member to a project (must be org member)
  • DELETE /projects/:project_id/members/:user_id: Remove a member from a project

crates/remote/migrations/20251118175644_remote-projects.sql

Create new files in remote/src/db/* for each of the new tables in the migration.

Each file should contain the necessary structs, and a `get_by_id` method.

You can check your work using `pnpm run remote:prepare-db`
Some new files were created, including some new DB models in the crates/remote crate:

*   **Remote Projects** (`remote_projects`): CRUD for projects, managing settings like visibility and sprints.
*   **Project Tasks** (`tasks`): Creating, updating, moving, and deleting tasks within a project.
*   **Sprints** (`sprints`): Managing sprint cycles (create, start, complete).
*   **Project Statuses** (`project_statuses`): Customizing columns/statuses for a project (e.g., "To Do", "In Progress").
*   **Tags** (`tags`): Creating and managing project-level tags.
*   **Comments** (`task_comments`): Adding and reading comments on tasks.
*   **Reactions** (`task_comment_reactions`): Adding emoji reactions to comments.
*   **Project Members** (`project_members`): Managing team access to projects.

We want to enable authenticated clients, with the correct access permissions, to CRUD these objects.
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