vikunja/pkg/routes/api/v2
kolaente 0a7750ee3d feat(api/v2): add Project CRUD on /api/v2
Add a simple /{id} CRUD resource for projects on the Huma-backed /api/v2,
mirroring labels.go. Exposes the expand query param (value "permissions")
which surfaces the caller's max permission per project on both list and read.
The handler stays standard (DoReadAll/DoReadOne/DoCreate/DoUpdate/DoDelete);
the model's ReadOne keeps handling the Favorites pseudo-project and
saved-filter-backed projects.

Self-registers via init() -> AddRouteRegistrar; no routes.go change.
projectusers is intentionally out of scope.
2026-06-05 07:40:07 +00:00
..
scalar feat(api-v2): vendor scalar api docs bundle 2026-05-31 15:23:32 +02:00
admin_projects.go docs(api/v2): keep registrar godoc attached; clarify registry concurrency + ordering 2026-06-03 13:14:13 +00:00
avatar.go docs(api/v2): keep registrar godoc attached; clarify registry concurrency + ordering 2026-06-03 13:14:13 +00:00
avatar_upload.go docs(api/v2): keep registrar godoc attached; clarify registry concurrency + ordering 2026-06-03 13:14:13 +00:00
docs.go feat(api/v2): serve Scalar docs UI at /api/v2/docs 2026-05-31 12:56:57 +00:00
errors.go docs(api/v2): mark error code field read-only 2026-05-31 15:29:46 +02:00
errors_test.go fix(api/v2): don't leak internal error detail in 5xx responses 2026-05-31 12:56:57 +00:00
huma.go docs(api/v2): add field and operation descriptions for labels 2026-05-31 12:56:57 +00:00
labels.go feat(api/v2): report max_permission on label and project-view reads 2026-06-04 21:16:51 +00:00
project_views.go feat(api/v2): report max_permission on label and project-view reads 2026-06-04 21:16:51 +00:00
projects.go feat(api/v2): add Project CRUD on /api/v2 2026-06-05 07:40:07 +00:00
registry.go docs(api/v2): keep registrar godoc attached; clarify registry concurrency + ordering 2026-06-03 13:14:13 +00:00
task_comments.go docs(task-comments): trim comments to the non-obvious why 2026-06-03 19:57:26 +00:00
task_duplicate.go docs(api/v2): keep registrar godoc attached; clarify registry concurrency + ordering 2026-06-03 13:14:13 +00:00
teams.go feat(api/v2): add team CRUD endpoints 2026-06-03 18:56:12 +00:00
types.go feat(api/v2): add shared conditional read helper and document list params 2026-06-04 21:16:51 +00:00