vikunja/pkg/routes/api/v2
kolaente cf1f7c3309 feat(api/v2): add project webhooks CRUD on /api/v2
Port the project-webhook routes under /projects/{project}/webhooks to
the Huma /api/v2: list, create, update (events only), delete. There is
no ReadOne — webhooks carry secrets — so no max_permission and no
AutoPatch PATCH; update is PUT only, mirroring v1.

The resource self-registers and is gated by the webhooks.enabled config
flag inside the registrar (RegisterAll runs after config loads). The
write-only secret and basic-auth credentials are cleared from
create/update responses, matching how ReadAll masks them.
2026-06-06 19:50:41 +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
api_tokens.go feat(api/v2): add API token list/create/delete on /api/v2 2026-06-05 08:49:23 +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
bot_users.go feat(api/v2): add bot user CRUD on /api/v2 2026-06-05 08:51:39 +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 fix(api/v2): map ValidationHTTPError to its HTTP status 2026-06-06 19:50:41 +00: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
label_tasks.go feat(api/v2): add task labels (create/list/delete) on /api/v2 2026-06-05 08:33:47 +00:00
labels.go feat(api/v2): report max_permission on label and project-view reads 2026-06-04 21:16:51 +00:00
link_sharing.go feat(api/v2): add link sharing (create/read/list/delete) 2026-06-05 09:17:25 +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 refactor(api/v2): align project max_permission to the shared embed pattern 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
sessions.go feat(api/v2): add session list/delete on /api/v2 2026-06-05 08:21:48 +00:00
task_assignees.go feat(api/v2): add task assignees (create/list/delete) on /api/v2 2026-06-06 19:06:12 +00:00
task_comments.go feat(api/v2): report max_permission on task comment reads 2026-06-05 07:43:38 +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): report max_permission on team reads 2026-06-05 08:06:54 +00:00
types.go feat(api/v2): add shared conditional read helper and document list params 2026-06-04 21:16:51 +00:00
webhooks.go feat(api/v2): add project webhooks CRUD on /api/v2 2026-06-06 19:50:41 +00:00