Skip to content

Commit 8d1db91

Browse files
committed
Update docs for gist fork, hook test name changes
1 parent f4889b9 commit 8d1db91

File tree

3 files changed

+18
-14
lines changed

3 files changed

+18
-14
lines changed

content/index.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,21 @@ if you have problems.
2828

2929
These changes are _not_ implemented, just planned for the next major API version.
3030

31-
* Standardize on existing `*_url` attributes for hypermedia. Remove all `_links`
31+
* `[ ]` Standardize on existing `*_url` attributes for hypermedia. Remove all `_links`
3232
objects.
33-
* The `/repos/:owner/:repo/hooks/:id/test` action becomes
34-
`/repos/:owner/:repo/hooks/:id/tests`.
35-
* The `/gists/:id/fork` action becomes `/gists/:id/forks`.
36-
* Gist forks/history objects become separate API calls.
37-
* Gist files object is not returned on Gist listings.
38-
* Commit schema will change to be [more consistent](https://gist.github.com/3a2e5779588e21b0c0f3).
39-
* `master_branch` becomes `default_branch`.
40-
* `integrate_branch` on the [repo API](/v3/repos/#get) will no longer be
33+
* `[✓]` <del>The '/repos/:owner/:repo/hooks/:id/test' action becomes
34+
'/repos/:owner/:repo/hooks/:id/tests'.</del>
35+
* `[✓]` <del>The '/gists/:id/fork' action becomes '/gists/:id/forks'.</del>
36+
* `[ ]` Gist forks/history objects become separate API calls.
37+
* `[ ]` Gist files object is not returned on Gist listings.
38+
* `[ ]` Commit schema will change to be [more consistent](https://gist.github.com/3a2e5779588e21b0c0f3).
39+
* `[ ]` `master_branch` becomes `default_branch`.
40+
* `[ ]` `integrate_branch` on the [repo API](/v3/repos/#get) will no longer be
4141
returned.
42-
* Use the `private` attribute when creating a private repository,
42+
* `[ ]` Use the `private` attribute when creating a private repository,
4343
instead of setting `public` to false.
44-
* Use JSON to POST to the "repos/:owner/:repo/forks" endpoint, instead of a query string.
45-
* User Emails come back as a hash instead of a string.
44+
* `[ ]` Use JSON to POST to the "repos/:owner/:repo/forks" endpoint, instead of a query string.
45+
* `[ ]` User Emails come back as a hash instead of a string.
4646

4747
{"email": "[email protected]", "state": "verified"}
4848

content/v3/gists.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,9 @@ including the filename with a null hash.
158158

159159
## Fork a gist
160160

161-
POST /gists/:id/fork
161+
POST /gists/:id/forks
162+
163+
**Note**: Previously `/gists/:id/fork`
162164

163165
### Response
164166

content/v3/repos/hooks.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,9 @@ legacy format):
177177
This will trigger the hook with the latest push to the current
178178
repository.
179179

180-
POST /repos/:owner/:repo/hooks/:id/test
180+
POST /repos/:owner/:repo/hooks/:id/tests
181+
182+
**Note**: Previously `/repos/:owner/:repo/hooks/:id/test`
181183

182184
### Response
183185

0 commit comments

Comments
 (0)