changelog: note S50 §11 commits REST
Authored by
mfwolffe <wolffemf@dukes.jmu.edu>
- SHA
c563d4b345e4dad167ddf849ef2a99a1a3fa1c3f- Parents
-
b750baa - Tree
7c80cc4
c563d4b
c563d4b345e4dad167ddf849ef2a99a1a3fa1c3fb750baa
7c80cc4| Status | File | + | - |
|---|---|---|---|
| M |
CHANGELOG.md
|
11 | 0 |
CHANGELOG.mdmodified@@ -163,6 +163,17 @@ between minor releases. | ||
| 163 | 163 | layer `ActionRepoAdmin` on top. Refuses (422) to enrol the |
| 164 | 164 | repo owner. |
| 165 | 165 | - **Capability:** `collaborators` added to `/api/v1/meta`. |
| 166 | +- **REST: commits (S50 §11).** Read-only git history surface: | |
| 167 | + `GET /api/v1/repos/{o}/{r}/commits` (paginated; honours | |
| 168 | + `?sha=`, `?path=`, `?author=`, `?since=`, `?until=`) and | |
| 169 | + `GET /api/v1/repos/{o}/{r}/commits/{sha}` (full commit detail | |
| 170 | + with committer/parents/tree + per-file `status` and | |
| 171 | + `additions`/`deletions`, plus a rollup `stats` object). Backed | |
| 172 | + by `internal/repos/git.Log` / `git.GetCommit` — the response | |
| 173 | + stays in lock-step with the bare repository. Scope: | |
| 174 | + `repo:read`. Empty repos return `[]`; the single-commit GET | |
| 175 | + accepts any unambiguous SHA prefix. | |
| 176 | +- **Capability:** `commits` added to `/api/v1/meta`. | |
| 166 | 177 | |
| 167 | 178 | ### Added (internal) |
| 168 | 179 | |