Skip to content

Commit

Permalink
feat: GET /users/{username}/events/orgs/{org} requires `organizatio…
Browse files Browse the repository at this point in the history
…n_events:read` permission
  • Loading branch information
gr2m committed May 27, 2021
1 parent 430d95b commit 2934cc9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions generated/api.github.com.json
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,11 @@
"PUT /orgs/{org}/interaction-limits"
]
},
"organization_events": {
"url": "https://docs.github.com/en/free-pro-team@latest/rest/reference/permissions-required-for-github-apps/#permission-on-organization-events",
"read": ["GET /users/{username}/events/orgs/{org}"],
"write": []
},
"organization_hooks": {
"url": "https://docs.github.com/en/free-pro-team@latest/rest/reference/permissions-required-for-github-apps/#permission-on-organization-hooks",
"read": [
Expand Down Expand Up @@ -1540,6 +1545,9 @@
"access": "write"
}
},
"/users/{username}/events/orgs/{org}": {
"GET": { "permission": "organization_events", "access": "read" }
},
"/orgs/{org}/hooks": {
"GET": { "permission": "organization_hooks", "access": "read" },
"POST": { "permission": "organization_hooks", "access": "write" }
Expand Down

0 comments on commit 2934cc9

Please sign in to comment.