api: mount rulesets routes
Authored by
mfwolffe <wolffemf@dukes.jmu.edu>
- SHA
0369ec5fdc219b3aeeee4ef2c0e5af240fc19997- Parents
-
030de42 - Tree
af6c030
0369ec5
0369ec5fdc219b3aeeee4ef2c0e5af240fc19997030de42
af6c030| Status | File | + | - |
|---|---|---|---|
| M |
internal/web/handlers/api/api.go
|
3 | 0 |
internal/web/handlers/api/api.gomodified@@ -177,6 +177,9 @@ func (h *Handlers) Mount(r chi.Router) { | ||
| 177 | 177 | h.mountHooks(r) |
| 178 | 178 | // S50 §9 — branches + tags (read-only). |
| 179 | 179 | h.mountBranches(r) |
| 180 | + // S50 §9 — rulesets (read-only, synthesized from | |
| 181 | + // branch_protection_rules). | |
| 182 | + h.mountRulesets(r) | |
| 180 | 183 | // S50 §10 — repo collaborators CRUD. |
| 181 | 184 | h.mountCollaborators(r) |
| 182 | 185 | // S50 §11 — commits (read-only). |