You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 1, 2017. It is now read-only.
Copy file name to clipboardExpand all lines: content/v3/gists.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,11 +126,11 @@ The keys in the `files` object are the `string` filename. The value is another `
126
126
"delete_this_file.txt" => nil,
127
127
} %>
128
128
129
-
<divclass="alert">
130
-
<p>
131
-
<strong>Note</strong>: All files from the previous version of the gist are carried over by default if not included in the object. Deletes can be performed by including the filename with a <code>null</code> object.
132
-
</p>
133
-
</div>
129
+
{{#tip}}
130
+
131
+
<strong>Note</strong>: All files from the previous version of the gist are carried over by default if not included in the object. Deletes can be performed by including the filename with a <code>null</code> object.
Copy file name to clipboardExpand all lines: content/v3/repos/downloads.md
+7-9Lines changed: 7 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,15 +9,13 @@ title: Downloads | GitHub API
9
9
10
10
###Downloads API is Deprecated
11
11
12
-
<divclass="alert">
13
-
<p>
14
-
The Downloads API (described below) was
15
-
<a href="https://github.com/blog/1302-goodbye-uploads">deprecated on December 11, 2012</a>.
16
-
It will be removed at a future date.
17
-
18
-
We recommend using <a href="/v3/repos/releases/">Releases</a> instead.
19
-
</p>
20
-
</div>
12
+
{{#warning}}
13
+
14
+
The Downloads API (described below) was <ahref="https://github.com/blog/1302-goodbye-uploads">deprecated on December 11, 2012</a>. It will be removed at a future date.
15
+
16
+
We recommend using <ahref="/v3/repos/releases/">Releases</a> instead.
17
+
18
+
{{/warning}}
21
19
22
20
The downloads API is for package downloads only. If you want to get
23
21
source tarballs you should use[this](/v3/repos/contents/#get-archive-link)
Copy file name to clipboardExpand all lines: content/v3/search/legacy.md
+7-9Lines changed: 7 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,15 +12,13 @@ v3. There should be no changes, other than the new URL and JSON output format.
12
12
13
13
###Legacy Search API is Deprecated
14
14
15
-
<divclass="alert">
16
-
<p>
17
-
The Legacy Search API (described below) is <a href="/v3/versions/#v3-deprecations">deprecated</a>
18
-
and is scheduled for removal in the next major version of the API.
19
-
20
-
We recommend using the <a href="/v3/search/">v3 Search API</a> instead.
21
-
It contains new endpoints and much more functionality.
22
-
</p>
23
-
</div>
15
+
{{#warning}}
16
+
17
+
The Legacy Search API (described below) is <ahref="/v3/versions/#v3-deprecations">deprecated</a> and is scheduled for removal in the next major version of the API.
18
+
19
+
We recommend using the <ahref="/v3/search/">v3 Search API</a> instead. It contains new endpoints and much more functionality.
Copy file name to clipboardExpand all lines: content/v3/versions.md
+9-17Lines changed: 9 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,23 +125,15 @@ The recommendations below will help you prepare your application for the next ma
125
125
126
126
The[beta API](/v3) is deprecated. Its current functionality is stable, and we strive to ensure that any[changes](/changes) are backwards compatible. Please[file a support issue][support] if you have problems.
127
127
128
-
<divclass="alert">
129
-
<p>
130
-
<strong>Note</strong>: We recommend using the <a href="#v3">v3 API</a>
131
-
instead of the deprecated beta version of the API.
132
-
</p>
133
-
<p>
134
-
The beta media type differs from the v3 media type in
135
-
<a href="#differences-from-beta-version">just a few places</a>. In most
136
-
cases, migrating an application from the beta media type to the v3 media
137
-
type is smooth and painless.
138
-
</p>
139
-
<p>
140
-
We will eventually retire the beta version, but we have no official
141
-
retirement date to announce at the moment. When the time comes, rest assured
142
-
that we'll announce the retirement with plenty of notice.
143
-
</p>
144
-
</div>
128
+
{{#tip}}
129
+
130
+
<strong>Note</strong>: We recommend using the <ahref="#v3">v3 API</a> instead of the deprecated beta version of the API.
131
+
132
+
The beta media type differs from the v3 media type in <ahref="#differences-from-beta-version">just a few places</a>. In most cases, migrating an application from the beta media type to the v3 media type is smooth and painless.
133
+
134
+
We will eventually retire the beta version, but we have no official retirement date to announce at the moment. When the time comes, rest assured that we'll announce the retirement with plenty of notice.