summaryrefslogtreecommitdiffstats
path: root/descriptions/api.github.com
diff options
context:
space:
mode:
authorgithub-openapi-bot <security+github-openapi-bot@github.com>2022-09-12 07:19:16 -0700
committergithub-openapi-bot <security+github-openapi-bot@github.com>2022-09-12 07:19:16 -0700
commit30242eccf5d4381c856abc5591a7a7559af4396b (patch)
tree6a322239a5c121f44e300cf0bdbf44b21995199e /descriptions/api.github.com
parent27e66a80c4ac8525f26fab8b24783669d1ccec15 (diff)
downloadrest-api-description-30242eccf5d4381c856abc5591a7a7559af4396b.tar.gz
rest-api-description-30242eccf5d4381c856abc5591a7a7559af4396b.zip
Update OpenAPI 3.0 Descriptions
Diffstat (limited to 'descriptions/api.github.com')
-rw-r--r--descriptions/api.github.com/api.github.com.json16
-rw-r--r--descriptions/api.github.com/api.github.com.yaml13
-rw-r--r--descriptions/api.github.com/dereferenced/api.github.com.deref.json16
-rw-r--r--descriptions/api.github.com/dereferenced/api.github.com.deref.yaml13
4 files changed, 58 insertions, 0 deletions
diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json
index 3724debef..ba1c7dd70 100644
--- a/descriptions/api.github.com/api.github.com.json
+++ b/descriptions/api.github.com/api.github.com.json
@@ -29039,6 +29039,22 @@
}
},
{
+ "name": "permission",
+ "description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "enum": [
+ "pull",
+ "triage",
+ "push",
+ "maintain",
+ "admin"
+ ]
+ }
+ },
+ {
"$ref": "#/components/parameters/per-page"
},
{
diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml
index 60c7669b8..4bee81c7d 100644
--- a/descriptions/api.github.com/api.github.com.yaml
+++ b/descriptions/api.github.com/api.github.com.yaml
@@ -20989,6 +20989,19 @@ paths:
- direct
- all
default: all
+ - name: permission
+ description: Filter collaborators by the permissions they have on the repository.
+ If not specified, all collaborators will be returned.
+ in: query
+ required: false
+ schema:
+ type: string
+ enum:
+ - pull
+ - triage
+ - push
+ - maintain
+ - admin
- "$ref": "#/components/parameters/per-page"
- "$ref": "#/components/parameters/page"
responses:
diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json
index b5875d15d..29f34b992 100644
--- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json
+++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json
@@ -218455,6 +218455,22 @@
}
},
{
+ "name": "permission",
+ "description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
+ "in": "query",
+ "required": false,
+ "schema": {
+ "type": "string",
+ "enum": [
+ "pull",
+ "triage",
+ "push",
+ "maintain",
+ "admin"
+ ]
+ }
+ },
+ {
"name": "per_page",
"description": "The number of results per page (max 100).",
"in": "query",
diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml
index ba7f57886..ebcb1db69 100644
--- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml
+++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml
@@ -43526,6 +43526,19 @@ paths:
- direct
- all
default: all
+ - name: permission
+ description: Filter collaborators by the permissions they have on the repository.
+ If not specified, all collaborators will be returned.
+ in: query
+ required: false
+ schema:
+ type: string
+ enum:
+ - pull
+ - triage
+ - push
+ - maintain
+ - admin
- *12
- *32
responses: