tenseleyflow/shithub / b28757c

Browse files

changelog: note S50 §2 repos REST core

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
b28757c0a8fc3b8d93c629b91b3c3cd4b8daa0cc
Parents
924c6bf
Tree
17c98d2

1 changed file

StatusFile+-
M CHANGELOG.md 14 0
CHANGELOG.mdmodified
@@ -35,6 +35,20 @@ between minor releases.
3535
   mutations.
3636
 - **Capabilities:** `user-emails`, `ssh-keys` added to
3737
   `/api/v1/meta` response.
38
+- **REST: repos core (S50 §2).**
39
+  `GET /api/v1/user/repos`, `GET /api/v1/users/{username}/repos`,
40
+  `GET /api/v1/orgs/{org}/repos`,
41
+  `GET /api/v1/repos/{owner}/{repo}`,
42
+  `POST /api/v1/user/repos`,
43
+  `POST /api/v1/orgs/{org}/repos`,
44
+  `PATCH /api/v1/repos/{owner}/{repo}` (description, has_issues,
45
+  has_pulls, archived, visibility), and
46
+  `DELETE /api/v1/repos/{owner}/{repo}` (soft-delete).
47
+  Visibility-aware listing: a user's `/users/{u}/repos` shows
48
+  private rows only to that user; an org's `/orgs/{o}/repos`
49
+  shows private rows only to members. Single-repo GETs `404`
50
+  for callers who can't see the row (no existence leak).
51
+- **Capability:** `repos` added to `/api/v1/meta`.
3852
 
3953
 ### Changed
4054