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.

Commit47fe6ec

Browse files
committed
mention note_url too
1 parente31c97d commit47fe6ec

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

‎content/v3/oauth.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ scopes
167167
note
168168
:_Optional_**string** - A note to remind you what the OAuth token is for.
169169

170+
note_url
171+
:_Optional_**string** - A URL to remind you what app the OAuth token is for.
172+
170173
<%= json:scopes =>["public_repo"],:note => 'admin script' %>
171174

172175
###Response
@@ -194,6 +197,9 @@ authorization.
194197
note
195198
:_Optional_**string** - A note to remind you what the OAuth token is for.
196199

200+
note_url
201+
:_Optional_**string** - A URL to remind you what app the OAuth token is for.
202+
197203
You can only send one of these scope keys at a time.
198204

199205
<%= json:add_scopes =>['repo'],:note => 'admin script' %>

‎lib/resources.rb‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,7 @@ def json(key)
672672
"name"=>"my github app"
673673
},
674674
"note"=>"optional note",
675+
"note_url"=>"http://optional/note/url",
675676
"updated_at"=>"2011-09-06T20:39:23Z",
676677
"created_at"=>"2011-09-06T17:26:27Z"
677678
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp