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.

Commit8009dff

Browse files
committed
Merge pull request#91 from github/hook-scopes
Document new hooks scopes
2 parentsc71cfea +64e8a8f commit8009dff

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
kind:change
3+
title:New scopes for managing repository hooks
4+
created_at:2014-02-10
5+
author_name:pengwynn
6+
---
7+
8+
Many third party services need to set up[hooks][] in order to act upon events
9+
in your repositories. Today, we've introduced three new[scopes][] that provide
10+
more granular access to your repository hooks without allowing access to your
11+
repository contents:
12+
13+
*`read:repo_hook` grants read access to hooks in public or private repositories.
14+
*`write:repo_hook` grants read and write access to hooks in public or private repositories.
15+
*`admin:repo_hook` grants read, write, and delete access to hooks in public or private repositories.
16+
17+
As always, if you have any questions or feedback,[get in touch][contact].
18+
19+
[hooks]:http://developer.github.com/v3/repos/hooks/
20+
[scopes]:http://developer.github.com/v3/oauth/#scopes
21+
[contact]:https://github.com/contact?form%5Bsubject%5D=API+repo+hook+scopes
22+

‎content/v3/oauth.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ Name | Description
171171
`delete_repo`| Grants access to delete adminable repositories.
172172
`notifications`| Grants read access to a user's notifications.`repo` also provides this access.
173173
`gist`| Grants write access to gists.
174+
`read:repo_hook`| Grants read access to hooks in public or private repositories.
175+
`write:repo_hook`| Grants read and write access to hooks in public or private repositories.
176+
`admin:repo_hook`| Grants read, write, and delete access to hooks in public or private repositories.
174177

175178
NOTE: Your application can request the scopes in the initial redirection. You
176179
can specify multiple scopes by separating them with a comma:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp