Skip to content

Commit 47fe6ec

Browse files
committed
mention note_url too
1 parent e31c97d commit 47fe6ec

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

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)