Loading
Sync routes for the secret detection raw-token validity checks API
What does this MR do and why?
Syncs the route snapshot for the new endpoint from gitlab-org/gitlab!268618 (merged): /api/:version/secret_detection/validity_checks_raw_token.
The endpoint requires authentication and is instance-level, with no project or group in the path. It matches the existing /api/* rule with no claim, like the other instance-level /api/v4/* routes. No routing change: generate-route-guards leaves src/generated_route_guards.ts as it is.
References
- Pairs with gitlab-org/gitlab!268618 (merged) (its
cells-routes:router-in-syncjob fails until this merges) - Implementation work item: https://gitlab.com/gitlab-org/gitlab/-/work_items/637856
- Adding GitLab routes to the HTTP Router
How to set up and validate locally
npm run download-gitlab-routes -- 637856-validity-checks-raw-token-api(1 added, 0 updated)npm run generate-route-guards.src/generated_route_guards.tsis unchanged.npm test -- routes.spec.ts. The snapshot shows both examples, with and without.json, matching/api/*.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.