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.

Commitd9a8dcd

Browse files
committed
Merge pull request#62 from editor/patch-1
Add reference to required scope for managing private Gists.
2 parents485aa6f +42cb648 commitd9a8dcd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎content/v3/gists.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ title: Gists | GitHub API
44

55
#Gists API
66

7+
##Authentication
8+
9+
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**gists**[oAuth scope][1] is required.
10+
11+
<!-- 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.
12+
13+
The API will return a 401 "Bad credentials" response if the gists scope was given to the application but the credentials are invalid.-->
14+
715
##List gists
816

917
List a user's gists:
@@ -152,3 +160,5 @@ including the filename with a null hash.
152160
###Response
153161

154162
<%= headers 204 %>
163+
164+
[1]http://developer.github.com/v3/oauth/#scopes

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp