changelog: note S50 §13 forks REST
Authored by
mfwolffe <wolffemf@dukes.jmu.edu>
- SHA
0a3ddca421f25a9f38a779237dc95fc1a0d1b395- Parents
-
0390250 - Tree
e9c0593
0a3ddca
0a3ddca421f25a9f38a779237dc95fc1a0d1b3950390250
e9c0593| Status | File | + | - |
|---|---|---|---|
| M |
CHANGELOG.md
|
12 | 0 |
CHANGELOG.mdmodified@@ -184,6 +184,18 @@ between minor releases. | ||
| 184 | 184 | to the raw download path. Scope: `repo:read`. Empty `/contents` |
| 185 | 185 | path returns the repo root. |
| 186 | 186 | - **Capability:** `contents` added to `/api/v1/meta`. |
| 187 | +- **REST: forks (S50 §13).** | |
| 188 | + `GET /api/v1/repos/{o}/{r}/forks` (paginated; per-row | |
| 189 | + visibility filter so private forks of public repos only | |
| 190 | + surface to authorized viewers) and | |
| 191 | + `POST /api/v1/repos/{o}/{r}/forks` (fork into the | |
| 192 | + authenticated user's namespace; optional `name`/`visibility` | |
| 193 | + body). Reuses the existing `internal/repos/fork` orchestrator | |
| 194 | + and enqueues the on-disk clone via the | |
| 195 | + `repo:fork_clone` worker, so the response returns | |
| 196 | + immediately with `init_status: "init_pending"`. Org-target | |
| 197 | + forks land in a follow-up. | |
| 198 | +- **Capability:** `forks` added to `/api/v1/meta`. | |
| 187 | 199 | |
| 188 | 200 | ### Added (internal) |
| 189 | 201 | |