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
Copy file name to clipboardExpand all lines: v3/gists/index.html
+11-1Lines changed: 11 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,14 @@
34
34
<divclass="content">
35
35
<h1id="gists-api">Gists API</h1>
36
36
37
+
<h2id="authentication">Authentication</h2>
38
+
39
+
<p>You can read public gists and create them for anonymous users without a token; however, to read or write gists on a user’s behalf the<strong>gists</strong> [oAuth scope][1] is required.</p>
40
+
41
+
<!-- When an oAuth client does not have the gists scope, the API will return a 404 "Not Found" response regardless of the validity of the credentials.
42
+
43
+
The API will return a 401 "Bad credentials" response if the gists scope was given to the application but the credentials are invalid. -->
is part of the<ahref="https://github.com/eclipse/egit-github">GitHub Mylyn Connector</a> and aims to support the entire
43
63
GitHub v3 API. Builds are available in<ahref="http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22org.eclipse.egit.github.core%22">Maven Central</a>.</p>