Skip to content

serve: POST /tasks create endpoint (lands in backlog) #15

Description

@andreiRS

Part of the serve-board spec (docs/specs/serve-board.md), architecture in docs/adr/0016-board-server-reuses-core-in-process.md.

Effort

S — one endpoint reusing createTask.

What to build

POST /api/tasks that creates a Task via the existing createTask core (title required, optional body incl. acceptance criteria, effort low/med/high). Lands in backlog, attendance defaults to attended, exactly like tasks new. One commit.

Acceptance criteria

  • A create lands a new Task file in backlog/ with a freshly allocated Short ID and the given effort, producing one commit.
  • Missing/empty title is rejected with the correct error code.
  • The new task appears in the next GET /api/board snapshot.

Blocked by

#13

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestserve-boardVisual web board (tasks serve) v1size/SEffort: minutes, contained

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions