@@ -49,6 +49,30 @@ between minor releases. |
| 49 | 49 | shows private rows only to members. Single-repo GETs `404` |
| 50 | 50 | for callers who can't see the row (no existence leak). |
| 51 | 51 | - **Capability:** `repos` added to `/api/v1/meta`. |
| 52 | +- **REST: issues + comments + lock (S50 §3).** |
| 53 | + `GET /api/v1/repos/{o}/{r}/issues` (with `?state=` filter and |
| 54 | + `Link:`-header pagination), |
| 55 | + `GET /api/v1/repos/{o}/{r}/issues/{number}`, |
| 56 | + `POST /api/v1/repos/{o}/{r}/issues`, |
| 57 | + `PATCH /api/v1/repos/{o}/{r}/issues/{number}` (title/body |
| 58 | + author-gated, state/state_reason policy-gated), |
| 59 | + `GET / POST /api/v1/repos/{o}/{r}/issues/{number}/comments`, |
| 60 | + `PATCH / DELETE /api/v1/repos/{o}/{r}/issues/comments/{cid}`, |
| 61 | + `PUT / DELETE /api/v1/repos/{o}/{r}/issues/{number}/lock`. |
| 62 | +- **REST: repo labels (S50 §3).** |
| 63 | + `GET / POST /api/v1/repos/{o}/{r}/labels` and |
| 64 | + `GET / PATCH / DELETE /api/v1/repos/{o}/{r}/labels/{name}`. |
| 65 | +- **Capabilities:** `issues`, `labels` added to `/api/v1/meta`. |
| 66 | +- **Reach:** `internal/web/handlers/api.resolveAPIRepo` now |
| 67 | + resolves both user-owner and org-owner repos — check-runs and |
| 68 | + every later batch implicitly gain org-repo support. |
| 69 | + |
| 70 | +### Added (internal) |
| 71 | + |
| 72 | +- `issues.Edit` orchestrator wraps `UpdateIssueTitleBody` with |
| 73 | + markdown re-render + cross-reference re-indexing. Used by the |
| 74 | + new PATCH-issue endpoint; available for the HTML edit flow when |
| 75 | + it lands. |
| 52 | 76 | |
| 53 | 77 | ### Changed |
| 54 | 78 | |