Milestones

Create a milestone in a project

Changed on

Member-only (role >= member). Normalizes the name (collapses internal whitespace, then trims) and enforces 1–100 chars; description is capped at 500 chars. The target date must be today or later and within 5 years of the write date — both server UTC. The name is unique per project (case-insensitive, whitespace-normalized); a duplicate returns 409. Non-members return 403.

post/api/v1/projects/{id}/milestones

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/api/v1/projects/{id}/milestones
  • Auth: one of:
    • API key in cookie sb-fmbpikzpkafptqximhxn-auth-token
    • HTTP bearer

Path parameters

idstring uuid required

Request body

namestring required

1–100 chars after normalize. Unique per project, case-insensitive.

target_datestring required

Calendar date (YYYY-MM-DD). Must be today or later, and within 5 years of today.

descriptionstring

0–500 chars. Defaults to empty.

Response

Milestone created.

Changes

    • warning

      added the new test_outside_plan_project enum value to the / response property for the response status

    • warning

      added the new test_outside_plan_project enum value to the / response property for the response status

    • warning

      added the new test_outside_plan_project enum value to the / response property for the response status

    • warning

      added the new test_outside_plan_project enum value to the / response property for the response status

    • warning

      added the new test_outside_plan_project enum value to the / response property for the response status

    • info

      removed the test_outside_plan_project enum value from the / response property for the response status

    • info

      removed the test_outside_plan_project enum value from the / response property for the response status

    • info

      removed the test_outside_plan_project enum value from the / response property for the response status

    • info

      removed the test_outside_plan_project enum value from the / response property for the response status

    • info

      removed the test_outside_plan_project enum value from the / response property for the response status