|
1 | 1 | --- |
2 | | -title: GitHub API |
| 2 | +title: GitHub Developer |
| 3 | +layout: clean |
3 | 4 | --- |
4 | 5 |
|
5 | | -# The GitHub API |
6 | | - |
7 | | -This describes the resources that make up the official GitHub API v3. If |
8 | | -you have any problems or requests please contact |
9 | | -[support](https://github.com/contact?form[subject]=APIv3). |
10 | | - |
11 | | -For the new API v3, start browsing the resources on the right >> |
12 | | - |
13 | | -View the [API Changelog](/changes) for information on existing and |
14 | | -planned changes to the API. |
15 | | - |
16 | | -## Current Version |
17 | | - |
18 | | - Accept: application/vnd.github.beta+json |
19 | | - |
20 | | -The GitHub API version is currently in beta. [The `beta` media type](/v3/media/) |
21 | | -property will be valid until sometime in 2013. A notice will be given closer |
22 | | -to the actual date. |
23 | | - |
24 | | -We consider the "beta" API unchangeable. [File a support issue](https://github.com/contact) |
25 | | -if you have problems. |
26 | | - |
27 | | -#### Expected Changes |
28 | | - |
29 | | -These changes are _not_ implemented, just planned for the next major API version. |
30 | | - |
31 | | -* `[ ]` Standardize on existing `*_url` attributes for hypermedia. Remove all `_links` |
32 | | -objects. |
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 |
41 | | - returned. |
42 | | -* `[ ]` `merge_commit_sha` on the [pull request API](/v3/pulls/#get-a-single-pull-request) |
43 | | - will no longer be returned. |
44 | | -* `[ ]` Use the `private` attribute when creating a private repository, |
45 | | - instead of setting `public` to false. |
46 | | -* `[ ]` Use JSON to POST to the "repos/:owner/:repo/forks" endpoint, instead of a query string. |
47 | | -* `[✓]` <del>User Emails come back [as a hash][v3-email] instead of a string.</del> |
48 | | -* `[ ]` Remove the unused "bio" field for Users. |
49 | | -* `[ ]` When listing the contents of a directory in the [Repository Contents API](/v3/repos/contents/#get-contents), fix the `type` value returned for submodules: change the value to `"submodule"` (instead of `"file"`). |
50 | | - |
51 | | -### Breaking Beta Changes |
52 | | - |
53 | | -##### June 12, 2012: |
54 | | -* Removed API v1 support |
55 | | -* Removed API v2 support |
56 | | - |
57 | | -##### June 15th, 2011: |
58 | | - |
59 | | -* `gravatar_url` is being deprecated in favor of `avatar_url` for all |
60 | | - responses that include users or orgs. A default size is no longer |
61 | | - included in the URL. |
62 | | -* Creating new gists (both anonymously and with an authenticated user) |
63 | | - should use `POST /gists` from now on. `POST /users/:user/gists` is no |
64 | | - longer supported. |
65 | | - |
66 | | -##### June 1st, 2011: |
67 | | - |
68 | | -* Removed support for PUT verb on update requests. Use POST or PATCH |
69 | | - instead. |
70 | | -* Removed `.json` extension from all URLs. |
71 | | -* No longer using the X-Next or X-Last headers. Pagination info is |
72 | | - returned in the Link header instead. |
73 | | -* JSON-P response has completely changed to a more consistent format. |
74 | | -* Starring gists now uses PUT verb (instead of POST) and returns 204. |
75 | | - |
76 | | -[v3-email]: /v3/users/emails/#future-response |
| 6 | +<div class="wrapper feature"> |
| 7 | + <h1>Leverage the power of<br />GitHub in your app</h1> |
| 8 | + <p class="intro">Get started with one of our guides, or jump straight into the API documentation.</p> |
| 9 | + <a href="/guides" class="button">Browse the Documentation</a> |
| 10 | + <img src="/shared/images/labtocat.png" class="labtocat" /> |
| 11 | +</div> |
|
0 commit comments