gitdataai/libs/api/project
ZhenYi 5351df773b
Some checks are pending
CI / Rust Lint & Check (push) Waiting to run
CI / Rust Tests (push) Waiting to run
CI / Frontend Lint & Type Check (push) Waiting to run
CI / Frontend Build (push) Blocked by required conditions
fix(api): register skill routes inside project scope to fix 404
In actix-web, separate web::scope() trees don't merge. The /projects
scope was intercepting /api/projects/{name}/skills before the separate
skill scope could match, causing 404 on all skill endpoints.

Move skill routes into init_project_routes as /{project_name}/skills/*
and remove the standalone configure(skill::init_skill_routes) call.
2026-04-28 22:58:57 +08:00
..
activity.rs init 2026-04-15 09:08:09 +08:00
audit.rs init 2026-04-15 09:08:09 +08:00
avatar.rs fix(avatar): add upload API routes and fix URL path prefix 2026-04-25 23:19:22 +08:00
billing.rs init 2026-04-15 09:08:09 +08:00
board.rs init 2026-04-15 09:08:09 +08:00
info.rs init 2026-04-15 09:08:09 +08:00
init.rs init 2026-04-15 09:08:09 +08:00
invitation.rs init 2026-04-15 09:08:09 +08:00
join_answers.rs init 2026-04-15 09:08:09 +08:00
join_request.rs init 2026-04-15 09:08:09 +08:00
join_settings.rs init 2026-04-15 09:08:09 +08:00
labels.rs init 2026-04-15 09:08:09 +08:00
like.rs init 2026-04-15 09:08:09 +08:00
members.rs init 2026-04-15 09:08:09 +08:00
mod.rs fix(api): register skill routes inside project scope to fix 404 2026-04-28 22:58:57 +08:00
repo.rs init 2026-04-15 09:08:09 +08:00
settings.rs init 2026-04-15 09:08:09 +08:00
transfer_repo.rs init 2026-04-15 09:08:09 +08:00
watch.rs init 2026-04-15 09:08:09 +08:00