Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commitf95f9f3

Browse files
committed
Sync changes from upstream repository
1 parentabf752c commitf95f9f3

File tree

3 files changed

+35
-11
lines changed

3 files changed

+35
-11
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
kind:change
3+
title:Deprecating the beta media type
4+
created_at:2014-04-22
5+
author_name:jasonrudolph
6+
---
7+
8+
Now that the GitHub API is[serving the v3 media type by default][v3-default], we are deprecating the legacy[beta media type][beta].
9+
10+
We will eventually remove support for the beta media type, but we have no official retirement date to annouce at the moment. When the time comes, rest assured that we'll announce the retirement with plenty of notice. In the meantime, existing API clients that rely on the beta media type should start making plans to migrate to v3. The beta media type differs from v3 in[just a few places][differences]. In most cases, migrating an application from the beta media type to the v3 media type is smooth and painless.
11+
12+
As always, if you have any questions, please[get in touch][contact].
13+
14+
[v3-default]:/changes/2014-01-07-upcoming-change-to-default-media-type/
15+
[beta]:/v3/versions/#beta
16+
[differences]:/v3/versions/#differences-from-beta-version
17+
[contact]:https://github.com/contact?form[subject]=API:+Deprecating+the+beta+media+type

‎content/v3.md‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ This describes the resources that make up the official GitHub API v3. If you hav
1212

1313
##Current Version
1414

15-
There are[two versions](/v3/versions) of the GitHub API:**v3** and**beta**. By default, all requests receive the v3 version:
15+
By default, all requests receive the**v3**[version](/v3/versions) of the API.
16+
We encourage you to[explicitly request this version via the`Accept` header](/v3/media/#request-specific-version).
1617

1718
Accept: application/vnd.github.v3+json
1819

19-
We encourage you to[request a specific version via the`Accept` header](/v3/media/#request-specific-version).
20-
2120
##Schema
2221

2322
All API access is over HTTPS, and accessed from the`api.github.com`

‎content/v3/versions.md‎

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Versions | GitHub API
33
---
44
#Versions
55

6-
There are two stable versions of the GitHub API: the[v3](#v3) version and thelegacy[beta](#beta) version. There are just a few[differences between these two versions](#differences-from-beta-version).
6+
There are two stable versions of the GitHub API: the[v3](#v3) version and thedeprecated[beta](#beta) version. There are just a few[differences between these two versions](#differences-from-beta-version).
77

88
By default, all requests receive the v3 version. We encourage you to[request a specific version via the`Accept` header](/v3/media/#request-specific-version).
99

@@ -92,20 +92,28 @@ The recommendations below will help you prepare your application for the next ma
9292
: Recommendation: Do not use this attribute. It is obsolete.
9393

9494

95-
#beta
95+
#beta (Deprecated) {#beta}
96+
97+
The[beta API](/v3) is deprecated. Its current functionality is stable and unchangeable. Please[file a support issue][support] if you have problems.
9698

9799
<divclass="alert">
98100
<p>
99101
<strong>Note</strong>: We recommend using the <a href="#v3">v3 API</a>
100-
instead of the legacy beta version of the API. We will eventually retire the
101-
beta version, but we have no official retirement date to annouce at the
102-
moment. When the time comes, rest assured that we'll announce the retirement
103-
with plenty of notice.
102+
instead of the deprecated beta version of the API.
103+
</p>
104+
<p>
105+
The beta media type differs from the v3 media type in
106+
<a href="#differences-from-beta-version">just a few places</a>. In most
107+
cases, migrating an application from the beta media type to the v3 media
108+
type is smooth and painless.
109+
</p>
110+
<p>
111+
We will eventually retire the beta version, but we have no official
112+
retirement date to annouce at the moment. When the time comes, rest assured
113+
that we'll announce the retirement with plenty of notice.
104114
</p>
105115
</div>
106116

107-
The[beta API](/v3) is stable and unchangeable. Please[file a support issue][support] if you have problems.
108-
109117
##Breaking beta changes
110118

111119
###June 15th, 2011:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp