-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(docs): update docs to reflect that
repos.listCollaborators
(`GE…
…T /repos/{owner}/{repo}/collaborators`) can now be filtered by `permission` (#489) WIP octokit/openapi updated
- Loading branch information
1 parent
3cfd0e9
commit 3fb3080
Showing
10 changed files
with
80 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34341,7 +34341,7 @@ | |
"url": "/repos/{owner}/{repo}/contents/{path}", | ||
"isDeprecated": false, | ||
"deprecationDate": null, | ||
"description": "Creates a new file or replaces an existing file in a repository.", | ||
"description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.", | ||
"documentationUrl": "https://docs.github.com/[email protected]/rest/reference/repos#create-or-update-file-contents", | ||
"previews": [], | ||
"headers": [], | ||
|
@@ -39421,6 +39421,19 @@ | |
"alias": null, | ||
"deprecated": null | ||
}, | ||
{ | ||
"name": "permission", | ||
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.", | ||
"in": "QUERY", | ||
"type": "string", | ||
"required": false, | ||
"enum": ["pull", "triage", "push", "maintain", "admin"], | ||
"allowNull": false, | ||
"mapToData": null, | ||
"validation": null, | ||
"alias": null, | ||
"deprecated": null | ||
}, | ||
{ | ||
"name": "per_page", | ||
"description": "The number of results per page (max 100).", | ||
|
@@ -41673,7 +41686,7 @@ | |
"url": "/repos/{owner}/{repo}/hooks", | ||
"isDeprecated": false, | ||
"deprecationDate": null, | ||
"description": "", | ||
"description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", | ||
"documentationUrl": "https://docs.github.com/[email protected]/rest/webhooks/repos#list-repository-webhooks", | ||
"previews": [], | ||
"headers": [], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34518,7 +34518,7 @@ | |
"url": "/repos/{owner}/{repo}/contents/{path}", | ||
"isDeprecated": false, | ||
"deprecationDate": null, | ||
"description": "Creates a new file or replaces an existing file in a repository.", | ||
"description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.", | ||
"documentationUrl": "https://docs.github.com/[email protected]/rest/reference/repos#create-or-update-file-contents", | ||
"previews": [], | ||
"headers": [], | ||
|
@@ -39998,6 +39998,19 @@ | |
"alias": null, | ||
"deprecated": null | ||
}, | ||
{ | ||
"name": "permission", | ||
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.", | ||
"in": "QUERY", | ||
"type": "string", | ||
"required": false, | ||
"enum": ["pull", "triage", "push", "maintain", "admin"], | ||
"allowNull": false, | ||
"mapToData": null, | ||
"validation": null, | ||
"alias": null, | ||
"deprecated": null | ||
}, | ||
{ | ||
"name": "per_page", | ||
"description": "The number of results per page (max 100).", | ||
|
@@ -42250,7 +42263,7 @@ | |
"url": "/repos/{owner}/{repo}/hooks", | ||
"isDeprecated": false, | ||
"deprecationDate": null, | ||
"description": "", | ||
"description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", | ||
"documentationUrl": "https://docs.github.com/[email protected]/rest/webhooks/repos#list-repository-webhooks", | ||
"previews": [], | ||
"headers": [], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36912,7 +36912,7 @@ | |
"url": "/repos/{owner}/{repo}/contents/{path}", | ||
"isDeprecated": false, | ||
"deprecationDate": null, | ||
"description": "Creates a new file or replaces an existing file in a repository.", | ||
"description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.", | ||
"documentationUrl": "https://docs.github.com/[email protected]/rest/reference/repos#create-or-update-file-contents", | ||
"previews": [], | ||
"headers": [], | ||
|
@@ -42473,6 +42473,19 @@ | |
"alias": null, | ||
"deprecated": null | ||
}, | ||
{ | ||
"name": "permission", | ||
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.", | ||
"in": "QUERY", | ||
"type": "string", | ||
"required": false, | ||
"enum": ["pull", "triage", "push", "maintain", "admin"], | ||
"allowNull": false, | ||
"mapToData": null, | ||
"validation": null, | ||
"alias": null, | ||
"deprecated": null | ||
}, | ||
{ | ||
"name": "per_page", | ||
"description": "The number of results per page (max 100).", | ||
|
@@ -44725,7 +44738,7 @@ | |
"url": "/repos/{owner}/{repo}/hooks", | ||
"isDeprecated": false, | ||
"deprecationDate": null, | ||
"description": "", | ||
"description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", | ||
"documentationUrl": "https://docs.github.com/[email protected]/rest/webhooks/repos#list-repository-webhooks", | ||
"previews": [], | ||
"headers": [], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38129,7 +38129,7 @@ | |
"url": "/repos/{owner}/{repo}/contents/{path}", | ||
"isDeprecated": false, | ||
"deprecationDate": null, | ||
"description": "Creates a new file or replaces an existing file in a repository.", | ||
"description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.", | ||
"documentationUrl": "https://docs.github.com/[email protected]/rest/reference/repos#create-or-update-file-contents", | ||
"previews": [], | ||
"headers": [], | ||
|
@@ -43814,6 +43814,19 @@ | |
"alias": null, | ||
"deprecated": null | ||
}, | ||
{ | ||
"name": "permission", | ||
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.", | ||
"in": "QUERY", | ||
"type": "string", | ||
"required": false, | ||
"enum": ["pull", "triage", "push", "maintain", "admin"], | ||
"allowNull": false, | ||
"mapToData": null, | ||
"validation": null, | ||
"alias": null, | ||
"deprecated": null | ||
}, | ||
{ | ||
"name": "per_page", | ||
"description": "The number of results per page (max 100).", | ||
|
@@ -46117,7 +46130,7 @@ | |
"url": "/repos/{owner}/{repo}/hooks", | ||
"isDeprecated": false, | ||
"deprecationDate": null, | ||
"description": "", | ||
"description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", | ||
"documentationUrl": "https://docs.github.com/[email protected]/rest/webhooks/repos#list-repository-webhooks", | ||
"previews": [], | ||
"headers": [], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38502,7 +38502,7 @@ | |
"url": "/repos/{owner}/{repo}/contents/{path}", | ||
"isDeprecated": false, | ||
"deprecationDate": null, | ||
"description": "Creates a new file or replaces an existing file in a repository.", | ||
"description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.", | ||
"documentationUrl": "https://docs.github.com/[email protected]/rest/reference/repos#create-or-update-file-contents", | ||
"previews": [], | ||
"headers": [], | ||
|
@@ -44187,6 +44187,19 @@ | |
"alias": null, | ||
"deprecated": null | ||
}, | ||
{ | ||
"name": "permission", | ||
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.", | ||
"in": "QUERY", | ||
"type": "string", | ||
"required": false, | ||
"enum": ["pull", "triage", "push", "maintain", "admin"], | ||
"allowNull": false, | ||
"mapToData": null, | ||
"validation": null, | ||
"alias": null, | ||
"deprecated": null | ||
}, | ||
{ | ||
"name": "per_page", | ||
"description": "The number of results per page (max 100).", | ||
|
@@ -46490,7 +46503,7 @@ | |
"url": "/repos/{owner}/{repo}/hooks", | ||
"isDeprecated": false, | ||
"deprecationDate": null, | ||
"description": "", | ||
"description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", | ||
"documentationUrl": "https://docs.github.com/[email protected]/rest/webhooks/repos#list-repository-webhooks", | ||
"previews": [], | ||
"headers": [], | ||
|