diff --git a/cache/api.github.com.deref.json b/cache/api.github.com.deref.json index f8bdc632f..ec25897fd 100644 --- a/cache/api.github.com.deref.json +++ b/cache/api.github.com.deref.json @@ -20057,7 +20057,7 @@ "/enterprises/{enterprise}/consumed-licenses": { "get": { "summary": "List enterprise consumed licenses", - "description": "Lists the license consumption information for all users, including those from connected servers, associated with an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the `read:enterprise` scope.", + "description": "Lists the license consumption information for all users, including those from connected servers, associated with an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the `read:enterprise` scope.\n\n**Note:** The license consumption API endpoints for enterprise accounts are currently\nin Beta and are subject to change.", "tags": [ "enterprise-admin" ], @@ -20137,7 +20137,15 @@ }, "github_com_enterprise_role": { "type": "string", - "nullable": true + "nullable": true, + "description": "Deprecated: The most permissive enterprise role for a user." + }, + "github_com_enterprise_roles": { + "type": "array", + "description": "All enterprise roles for a user.", + "items": { + "type": "string" + } }, "visual_studio_subscription_user": { "type": "boolean" @@ -20208,6 +20216,9 @@ "org2:Owner" ], "github_com_enterprise_role": "owner", + "github_com_enterprise_roles": [ + "owner" + ], "visual_studio_subscription_user": false, "github_com_verified_domain_emails": [ "monalisa@github.com" @@ -20236,6 +20247,7 @@ "license_type": "enterprise", "github_com_member_roles": [], "github_com_enterprise_role": "", + "github_com_enterprise_roles": [], "visual_studio_subscription_user": false, "github_com_verified_domain_emails": [], "github_com_saml_name_id": "", @@ -218292,6 +218304,22 @@ "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" + ] + } + }, { "name": "per_page", "description": "The number of results per page (max 100).", @@ -239971,7 +239999,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -262912,7 +262940,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/cache/api.github.com.json b/cache/api.github.com.json index 2d3016b9e..29be58155 100644 --- a/cache/api.github.com.json +++ b/cache/api.github.com.json @@ -3507,7 +3507,7 @@ "/enterprises/{enterprise}/consumed-licenses": { "get": { "summary": "List enterprise consumed licenses", - "description": "Lists the license consumption information for all users, including those from connected servers, associated with an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the `read:enterprise` scope.", + "description": "Lists the license consumption information for all users, including those from connected servers, associated with an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the `read:enterprise` scope.\n\n**Note:** The license consumption API endpoints for enterprise accounts are currently\nin Beta and are subject to change.", "tags": [ "enterprise-admin" ], @@ -28974,6 +28974,22 @@ "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" }, @@ -30676,7 +30692,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -34060,7 +34076,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], @@ -62688,7 +62704,15 @@ }, "github_com_enterprise_role": { "type": "string", - "nullable": true + "nullable": true, + "description": "Deprecated: The most permissive enterprise role for a user." + }, + "github_com_enterprise_roles": { + "type": "array", + "description": "All enterprise roles for a user.", + "items": { + "type": "string" + } }, "visual_studio_subscription_user": { "type": "boolean" @@ -89573,6 +89597,9 @@ "org2:Owner" ], "github_com_enterprise_role": "owner", + "github_com_enterprise_roles": [ + "owner" + ], "visual_studio_subscription_user": false, "github_com_verified_domain_emails": [ "monalisa@github.com" @@ -89601,6 +89628,7 @@ "license_type": "enterprise", "github_com_member_roles": [], "github_com_enterprise_role": "", + "github_com_enterprise_roles": [], "visual_studio_subscription_user": false, "github_com_verified_domain_emails": [], "github_com_saml_name_id": "", diff --git a/cache/ghes-3.2.deref.json b/cache/ghes-3.2.deref.json index 0663288ea..47fa907de 100644 --- a/cache/ghes-3.2.deref.json +++ b/cache/ghes-3.2.deref.json @@ -170193,6 +170193,22 @@ "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" + ] + } + }, { "name": "per_page", "description": "The number of results per page (max 100).", @@ -191430,7 +191446,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -212818,7 +212834,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/cache/ghes-3.2.json b/cache/ghes-3.2.json index 28b6b7850..a2a5844f6 100644 --- a/cache/ghes-3.2.json +++ b/cache/ghes-3.2.json @@ -24968,6 +24968,22 @@ "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" }, @@ -26800,7 +26816,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -29811,7 +29827,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/cache/ghes-3.3.deref.json b/cache/ghes-3.3.deref.json index 4e021d7ce..213900ef4 100644 --- a/cache/ghes-3.3.deref.json +++ b/cache/ghes-3.3.deref.json @@ -172026,6 +172026,22 @@ "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" + ] + } + }, { "name": "per_page", "description": "The number of results per page (max 100).", @@ -193241,7 +193257,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -214633,7 +214649,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/cache/ghes-3.3.json b/cache/ghes-3.3.json index bd1a76679..c2b5aabfd 100644 --- a/cache/ghes-3.3.json +++ b/cache/ghes-3.3.json @@ -24893,6 +24893,22 @@ "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" }, @@ -26669,7 +26685,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -29618,7 +29634,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/cache/ghes-3.4.deref.json b/cache/ghes-3.4.deref.json index 72d15271a..825e52ae5 100644 --- a/cache/ghes-3.4.deref.json +++ b/cache/ghes-3.4.deref.json @@ -185883,6 +185883,22 @@ "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" + ] + } + }, { "name": "per_page", "description": "The number of results per page (max 100).", @@ -206791,7 +206807,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -228639,7 +228655,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/cache/ghes-3.4.json b/cache/ghes-3.4.json index 5beab8df8..e495d1864 100644 --- a/cache/ghes-3.4.json +++ b/cache/ghes-3.4.json @@ -26600,6 +26600,22 @@ "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" }, @@ -28257,7 +28273,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -31482,7 +31498,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/cache/ghes-3.5.deref.json b/cache/ghes-3.5.deref.json index 46300a8ae..836729ed5 100644 --- a/cache/ghes-3.5.deref.json +++ b/cache/ghes-3.5.deref.json @@ -194283,6 +194283,22 @@ "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" + ] + } + }, { "name": "per_page", "description": "The number of results per page (max 100).", @@ -215220,7 +215236,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -237072,7 +237088,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/cache/ghes-3.5.json b/cache/ghes-3.5.json index 6fd7ef918..362bd96ad 100644 --- a/cache/ghes-3.5.json +++ b/cache/ghes-3.5.json @@ -27659,6 +27659,22 @@ "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" }, @@ -29316,7 +29332,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -32541,7 +32557,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/cache/ghes-3.6.deref.json b/cache/ghes-3.6.deref.json index 9b2ec0d7e..651bbdd69 100644 --- a/cache/ghes-3.6.deref.json +++ b/cache/ghes-3.6.deref.json @@ -199027,6 +199027,22 @@ "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" + ] + } + }, { "name": "per_page", "description": "The number of results per page (max 100).", @@ -220386,7 +220402,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -242961,7 +242977,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/cache/ghes-3.6.json b/cache/ghes-3.6.json index c2fea69e2..c1b239f91 100644 --- a/cache/ghes-3.6.json +++ b/cache/ghes-3.6.json @@ -27890,6 +27890,22 @@ "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" }, @@ -29547,7 +29563,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -32839,7 +32855,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/cache/github.ae.deref.json b/cache/github.ae.deref.json index a842a8c56..6ff21ce95 100644 --- a/cache/github.ae.deref.json +++ b/cache/github.ae.deref.json @@ -159232,6 +159232,22 @@ "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" + ] + } + }, { "name": "per_page", "description": "The number of results per page (max 100).", @@ -180243,7 +180259,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -201678,7 +201694,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/cache/github.ae.json b/cache/github.ae.json index 382bd6b63..e70c9475d 100644 --- a/cache/github.ae.json +++ b/cache/github.ae.json @@ -22542,6 +22542,22 @@ "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" }, @@ -24220,7 +24236,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -27169,7 +27185,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/generated/api.github.com.deref.json b/generated/api.github.com.deref.json index 138405d2d..28f969f68 100644 --- a/generated/api.github.com.deref.json +++ b/generated/api.github.com.deref.json @@ -20129,7 +20129,7 @@ "/enterprises/{enterprise}/consumed-licenses": { "get": { "summary": "List enterprise consumed licenses", - "description": "Lists the license consumption information for all users, including those from connected servers, associated with an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the `read:enterprise` scope.", + "description": "Lists the license consumption information for all users, including those from connected servers, associated with an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the `read:enterprise` scope.\n\n**Note:** The license consumption API endpoints for enterprise accounts are currently\nin Beta and are subject to change.", "tags": [ "enterprise-admin" ], @@ -20209,7 +20209,15 @@ }, "github_com_enterprise_role": { "type": "string", - "nullable": true + "nullable": true, + "description": "Deprecated: The most permissive enterprise role for a user." + }, + "github_com_enterprise_roles": { + "type": "array", + "description": "All enterprise roles for a user.", + "items": { + "type": "string" + } }, "visual_studio_subscription_user": { "type": "boolean" @@ -20280,6 +20288,9 @@ "org2:Owner" ], "github_com_enterprise_role": "owner", + "github_com_enterprise_roles": [ + "owner" + ], "visual_studio_subscription_user": false, "github_com_verified_domain_emails": [ "monalisa@github.com" @@ -20308,6 +20319,7 @@ "license_type": "enterprise", "github_com_member_roles": [], "github_com_enterprise_role": "", + "github_com_enterprise_roles": [], "visual_studio_subscription_user": false, "github_com_verified_domain_emails": [], "github_com_saml_name_id": "", @@ -218757,6 +218769,22 @@ "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" + ] + } + }, { "name": "per_page", "description": "The number of results per page (max 100).", @@ -240461,7 +240489,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -263445,7 +263473,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/generated/api.github.com.json b/generated/api.github.com.json index 70d92618d..9343bcc0f 100644 --- a/generated/api.github.com.json +++ b/generated/api.github.com.json @@ -3579,7 +3579,7 @@ "/enterprises/{enterprise}/consumed-licenses": { "get": { "summary": "List enterprise consumed licenses", - "description": "Lists the license consumption information for all users, including those from connected servers, associated with an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the `read:enterprise` scope.", + "description": "Lists the license consumption information for all users, including those from connected servers, associated with an enterprise.\nTo use this endpoint, you must be an enterprise admin, and you must use an access\ntoken with the `read:enterprise` scope.\n\n**Note:** The license consumption API endpoints for enterprise accounts are currently\nin Beta and are subject to change.", "tags": [ "enterprise-admin" ], @@ -29439,6 +29439,22 @@ "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" }, @@ -31166,7 +31182,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -34593,7 +34609,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], @@ -63849,7 +63865,15 @@ }, "github_com_enterprise_role": { "type": "string", - "nullable": true + "nullable": true, + "description": "Deprecated: The most permissive enterprise role for a user." + }, + "github_com_enterprise_roles": { + "type": "array", + "description": "All enterprise roles for a user.", + "items": { + "type": "string" + } }, "visual_studio_subscription_user": { "type": "boolean" @@ -90734,6 +90758,9 @@ "org2:Owner" ], "github_com_enterprise_role": "owner", + "github_com_enterprise_roles": [ + "owner" + ], "visual_studio_subscription_user": false, "github_com_verified_domain_emails": [ "monalisa@github.com" @@ -90762,6 +90789,7 @@ "license_type": "enterprise", "github_com_member_roles": [], "github_com_enterprise_role": "", + "github_com_enterprise_roles": [], "visual_studio_subscription_user": false, "github_com_verified_domain_emails": [], "github_com_saml_name_id": "", diff --git a/generated/ghes-3.2.deref.json b/generated/ghes-3.2.deref.json index bc10089bc..bd8a52eed 100644 --- a/generated/ghes-3.2.deref.json +++ b/generated/ghes-3.2.deref.json @@ -170769,6 +170769,22 @@ "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" + ] + } + }, { "name": "per_page", "description": "The number of results per page (max 100).", @@ -192061,7 +192077,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -213503,7 +213519,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/generated/ghes-3.2.json b/generated/ghes-3.2.json index 0ba02ee11..107fdee95 100644 --- a/generated/ghes-3.2.json +++ b/generated/ghes-3.2.json @@ -25544,6 +25544,22 @@ "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" }, @@ -27431,7 +27447,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -30496,7 +30512,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/generated/ghes-3.3.deref.json b/generated/ghes-3.3.deref.json index a334fdabd..db238652c 100644 --- a/generated/ghes-3.3.deref.json +++ b/generated/ghes-3.3.deref.json @@ -172630,6 +172630,22 @@ "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" + ] + } + }, { "name": "per_page", "description": "The number of results per page (max 100).", @@ -193876,7 +193892,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -215304,7 +215320,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/generated/ghes-3.3.json b/generated/ghes-3.3.json index c48f267e8..96f05c058 100644 --- a/generated/ghes-3.3.json +++ b/generated/ghes-3.3.json @@ -25497,6 +25497,22 @@ "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" }, @@ -27304,7 +27320,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -30289,7 +30305,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/generated/ghes-3.4-diff-to-ghes-3.5.deref.json b/generated/ghes-3.4-diff-to-ghes-3.5.deref.json index dbd8919db..26baa090c 100644 --- a/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +++ b/generated/ghes-3.4-diff-to-ghes-3.5.deref.json @@ -40600,6 +40600,22 @@ "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" + ] + } + }, { "name": "per_page", "description": "The number of results per page (max 100).", diff --git a/generated/ghes-3.4-diff-to-ghes-3.5.json b/generated/ghes-3.4-diff-to-ghes-3.5.json index c7b40aeca..7e449c55c 100644 --- a/generated/ghes-3.4-diff-to-ghes-3.5.json +++ b/generated/ghes-3.4-diff-to-ghes-3.5.json @@ -2178,6 +2178,22 @@ "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" }, diff --git a/generated/ghes-3.4.deref.json b/generated/ghes-3.4.deref.json index aa4b63c5b..1283225f4 100644 --- a/generated/ghes-3.4.deref.json +++ b/generated/ghes-3.4.deref.json @@ -186444,6 +186444,22 @@ "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" + ] + } + }, { "name": "per_page", "description": "The number of results per page (max 100).", @@ -207406,7 +207422,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -229301,7 +229317,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/generated/ghes-3.4.json b/generated/ghes-3.4.json index 8820d8831..d0bdb88bc 100644 --- a/generated/ghes-3.4.json +++ b/generated/ghes-3.4.json @@ -27153,6 +27153,22 @@ "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" }, @@ -28864,7 +28880,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -32136,7 +32152,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/generated/ghes-3.5.deref.json b/generated/ghes-3.5.deref.json index 8c594f955..b899a158c 100644 --- a/generated/ghes-3.5.deref.json +++ b/generated/ghes-3.5.deref.json @@ -195011,6 +195011,22 @@ "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" + ] + } + }, { "name": "per_page", "description": "The number of results per page (max 100).", @@ -215996,7 +216012,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -237907,7 +237923,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/generated/ghes-3.5.json b/generated/ghes-3.5.json index 2225f2a81..e687cfa40 100644 --- a/generated/ghes-3.5.json +++ b/generated/ghes-3.5.json @@ -28379,6 +28379,22 @@ "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" }, @@ -30084,7 +30100,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -33368,7 +33384,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/generated/ghes-3.6-diff-to-api.github.com.deref.json b/generated/ghes-3.6-diff-to-api.github.com.deref.json index 765ed3e44..ba12b82be 100644 --- a/generated/ghes-3.6-diff-to-api.github.com.deref.json +++ b/generated/ghes-3.6-diff-to-api.github.com.deref.json @@ -37911,6 +37911,22 @@ "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" + ] + } + }, { "name": "per_page", "description": "The number of results per page (max 100).", diff --git a/generated/ghes-3.6-diff-to-api.github.com.json b/generated/ghes-3.6-diff-to-api.github.com.json index bb3b9d95e..e776941a1 100644 --- a/generated/ghes-3.6-diff-to-api.github.com.json +++ b/generated/ghes-3.6-diff-to-api.github.com.json @@ -6590,6 +6590,22 @@ "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" }, diff --git a/generated/ghes-3.6.deref.json b/generated/ghes-3.6.deref.json index a80f842d1..e3ddae93b 100644 --- a/generated/ghes-3.6.deref.json +++ b/generated/ghes-3.6.deref.json @@ -200016,6 +200016,22 @@ "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" + ] + } + }, { "name": "per_page", "description": "The number of results per page (max 100).", @@ -221411,7 +221427,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -244034,7 +244050,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/generated/ghes-3.6.json b/generated/ghes-3.6.json index 922d43876..c0c6fc000 100644 --- a/generated/ghes-3.6.json +++ b/generated/ghes-3.6.json @@ -28879,6 +28879,22 @@ "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" }, @@ -30572,7 +30588,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -33912,7 +33928,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/generated/github.ae-diff-to-api.github.com.deref.json b/generated/github.ae-diff-to-api.github.com.deref.json index ab7a5e427..970c9916c 100644 --- a/generated/github.ae-diff-to-api.github.com.deref.json +++ b/generated/github.ae-diff-to-api.github.com.deref.json @@ -89317,6 +89317,22 @@ "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" + ] + } + }, { "name": "per_page", "description": "The number of results per page (max 100).", diff --git a/generated/github.ae-diff-to-api.github.com.json b/generated/github.ae-diff-to-api.github.com.json index 37644b9dd..f120980f5 100644 --- a/generated/github.ae-diff-to-api.github.com.json +++ b/generated/github.ae-diff-to-api.github.com.json @@ -6972,6 +6972,22 @@ "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" }, diff --git a/generated/github.ae.deref.json b/generated/github.ae.deref.json index bcc3ef2a3..f6df00889 100644 --- a/generated/github.ae.deref.json +++ b/generated/github.ae.deref.json @@ -160115,6 +160115,22 @@ "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" + ] + } + }, { "name": "per_page", "description": "The number of results per page (max 100).", @@ -181192,7 +181208,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -202681,7 +202697,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ], diff --git a/generated/github.ae.json b/generated/github.ae.json index 5d461ecdd..9934ac734 100644 --- a/generated/github.ae.json +++ b/generated/github.ae.json @@ -23425,6 +23425,22 @@ "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" }, @@ -25169,7 +25185,7 @@ }, "put": { "summary": "Create or update file contents", - "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.", "tags": [ "repos" ], @@ -28172,7 +28188,7 @@ "/repos/{owner}/{repo}/hooks": { "get": { "summary": "List repository webhooks", - "description": "", + "description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.", "tags": [ "repos" ],