diff --git a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json index 9f18b9a27a63..e68010c1c0e7 100644 --- a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json @@ -11,6 +11,15 @@ "requestPath": "/orgs/{org}/copilot/usage", "additional-permissions": true, "access": "read" + }, + { + "category": "copilot", + "slug": "get-a-summary-of-copilot-usage-for-a-team", + "subcategory": "copilot-usage", + "verb": "get", + "requestPath": "/orgs/{org}/team/{team_slug}/copilot/usage", + "additional-permissions": true, + "access": "read" } ] }, @@ -477,6 +486,15 @@ "additional-permissions": false, "access": "read" }, + { + "category": "copilot", + "slug": "get-a-summary-of-copilot-usage-for-a-team", + "subcategory": "copilot-usage", + "verb": "get", + "requestPath": "/orgs/{org}/team/{team_slug}/copilot/usage", + "additional-permissions": true, + "access": "read" + }, { "category": "orgs", "slug": "enable-or-disable-a-security-feature-for-an-organization", @@ -713,6 +731,15 @@ "requestPath": "/orgs/{org}/members/{username}/copilot", "additional-permissions": true, "access": "read" + }, + { + "category": "copilot", + "slug": "get-a-summary-of-copilot-usage-for-a-team", + "subcategory": "copilot-usage", + "verb": "get", + "requestPath": "/orgs/{org}/team/{team_slug}/copilot/usage", + "additional-permissions": true, + "access": "read" } ] }, @@ -4602,6 +4629,15 @@ "additional-permissions": false, "access": "read" }, + { + "category": "secret-scanning", + "slug": "create-a-push-protection-bypass", + "subcategory": "secret-scanning", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses", + "additional-permissions": false, + "access": "write" + }, { "category": "repos", "slug": "download-a-repository-archive-tar", diff --git a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json index 884a7537821c..b1f56a001450 100644 --- a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json @@ -1957,6 +1957,12 @@ "subcategory": "copilot-user-management", "verb": "get", "requestPath": "/orgs/{org}/members/{username}/copilot" + }, + { + "slug": "get-a-summary-of-copilot-usage-for-a-team", + "subcategory": "copilot-usage", + "verb": "get", + "requestPath": "/orgs/{org}/team/{team_slug}/copilot/usage" } ], "dependabot": [ @@ -4577,6 +4583,12 @@ "subcategory": "secret-scanning", "verb": "get", "requestPath": "/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations" + }, + { + "slug": "create-a-push-protection-bypass", + "subcategory": "secret-scanning", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses" } ], "security-advisories": [ diff --git a/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json index 8de1226693b5..6d9bf5d8fa7d 100644 --- a/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json @@ -46,6 +46,17 @@ "user-to-server": true, "server-to-server": true, "additional-permissions": true + }, + { + "category": "copilot", + "slug": "get-a-summary-of-copilot-usage-for-a-team", + "subcategory": "copilot-usage", + "verb": "get", + "requestPath": "/orgs/{org}/team/{team_slug}/copilot/usage", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": true } ] }, @@ -614,6 +625,17 @@ "server-to-server": true, "additional-permissions": false }, + { + "category": "copilot", + "slug": "get-a-summary-of-copilot-usage-for-a-team", + "subcategory": "copilot-usage", + "verb": "get", + "requestPath": "/orgs/{org}/team/{team_slug}/copilot/usage", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": true + }, { "category": "orgs", "slug": "enable-or-disable-a-security-feature-for-an-organization", @@ -896,6 +918,17 @@ "user-to-server": true, "server-to-server": true, "additional-permissions": true + }, + { + "category": "copilot", + "slug": "get-a-summary-of-copilot-usage-for-a-team", + "subcategory": "copilot-usage", + "verb": "get", + "requestPath": "/orgs/{org}/team/{team_slug}/copilot/usage", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": true } ] }, @@ -5617,6 +5650,17 @@ "server-to-server": true, "additional-permissions": false }, + { + "category": "secret-scanning", + "slug": "create-a-push-protection-bypass", + "subcategory": "secret-scanning", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses", + "access": "write", + "user-to-server": true, + "server-to-server": false, + "additional-permissions": false + }, { "category": "repos", "slug": "download-a-repository-archive-tar", diff --git a/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json b/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json index d68183946326..4cd3be8dea32 100644 --- a/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json @@ -1685,6 +1685,12 @@ "subcategory": "copilot-user-management", "verb": "get", "requestPath": "/orgs/{org}/members/{username}/copilot" + }, + { + "slug": "get-a-summary-of-copilot-usage-for-a-team", + "subcategory": "copilot-usage", + "verb": "get", + "requestPath": "/orgs/{org}/team/{team_slug}/copilot/usage" } ], "dependabot": [ diff --git a/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json b/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json index 884a7537821c..b1f56a001450 100644 --- a/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json @@ -1957,6 +1957,12 @@ "subcategory": "copilot-user-management", "verb": "get", "requestPath": "/orgs/{org}/members/{username}/copilot" + }, + { + "slug": "get-a-summary-of-copilot-usage-for-a-team", + "subcategory": "copilot-usage", + "verb": "get", + "requestPath": "/orgs/{org}/team/{team_slug}/copilot/usage" } ], "dependabot": [ @@ -4577,6 +4583,12 @@ "subcategory": "secret-scanning", "verb": "get", "requestPath": "/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations" + }, + { + "slug": "create-a-push-protection-bypass", + "subcategory": "secret-scanning", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses" } ], "security-advisories": [ diff --git a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json index 53064ee85db2..49738c0a4a36 100644 --- a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json @@ -102,6 +102,15 @@ "additional-permissions": true, "access": "read" }, + { + "category": "copilot", + "slug": "get-a-summary-of-copilot-usage-for-a-team", + "subcategory": "copilot-usage", + "verb": "get", + "requestPath": "/orgs/{org}/team/{team_slug}/copilot/usage", + "additional-permissions": true, + "access": "read" + }, { "category": "enterprise-admin", "slug": "list-provisioned-scim-groups-for-an-enterprise", @@ -765,6 +774,15 @@ "additional-permissions": false, "access": "read" }, + { + "category": "copilot", + "slug": "get-a-summary-of-copilot-usage-for-a-team", + "subcategory": "copilot-usage", + "verb": "get", + "requestPath": "/orgs/{org}/team/{team_slug}/copilot/usage", + "additional-permissions": true, + "access": "read" + }, { "category": "orgs", "slug": "enable-or-disable-a-security-feature-for-an-organization", @@ -1151,6 +1169,15 @@ "requestPath": "/orgs/{org}/members/{username}/copilot", "additional-permissions": true, "access": "read" + }, + { + "category": "copilot", + "slug": "get-a-summary-of-copilot-usage-for-a-team", + "subcategory": "copilot-usage", + "verb": "get", + "requestPath": "/orgs/{org}/team/{team_slug}/copilot/usage", + "additional-permissions": true, + "access": "read" } ] }, @@ -5298,6 +5325,15 @@ "additional-permissions": false, "access": "read" }, + { + "category": "secret-scanning", + "slug": "create-a-push-protection-bypass", + "subcategory": "secret-scanning", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses", + "additional-permissions": false, + "access": "write" + }, { "category": "repos", "slug": "download-a-repository-archive-tar", diff --git a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json index 4ce1444eaf9c..c2effe4127ed 100644 --- a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json @@ -2073,6 +2073,12 @@ "subcategory": "copilot-user-management", "verb": "get", "requestPath": "/orgs/{org}/members/{username}/copilot" + }, + { + "slug": "get-a-summary-of-copilot-usage-for-a-team", + "subcategory": "copilot-usage", + "verb": "get", + "requestPath": "/orgs/{org}/team/{team_slug}/copilot/usage" } ], "dependabot": [ @@ -4967,6 +4973,12 @@ "subcategory": "secret-scanning", "verb": "get", "requestPath": "/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations" + }, + { + "slug": "create-a-push-protection-bypass", + "subcategory": "secret-scanning", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses" } ], "security-advisories": [ diff --git a/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json index cc39fba6bc47..39dfdeb27364 100644 --- a/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json @@ -201,6 +201,17 @@ "server-to-server": true, "additional-permissions": true }, + { + "category": "copilot", + "slug": "get-a-summary-of-copilot-usage-for-a-team", + "subcategory": "copilot-usage", + "verb": "get", + "requestPath": "/orgs/{org}/team/{team_slug}/copilot/usage", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": true + }, { "category": "enterprise-admin", "slug": "list-provisioned-scim-groups-for-an-enterprise", @@ -1010,6 +1021,17 @@ "server-to-server": true, "additional-permissions": false }, + { + "category": "copilot", + "slug": "get-a-summary-of-copilot-usage-for-a-team", + "subcategory": "copilot-usage", + "verb": "get", + "requestPath": "/orgs/{org}/team/{team_slug}/copilot/usage", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": true + }, { "category": "orgs", "slug": "enable-or-disable-a-security-feature-for-an-organization", @@ -1474,6 +1496,17 @@ "user-to-server": true, "server-to-server": true, "additional-permissions": true + }, + { + "category": "copilot", + "slug": "get-a-summary-of-copilot-usage-for-a-team", + "subcategory": "copilot-usage", + "verb": "get", + "requestPath": "/orgs/{org}/team/{team_slug}/copilot/usage", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": true } ] }, @@ -6509,6 +6542,17 @@ "server-to-server": true, "additional-permissions": false }, + { + "category": "secret-scanning", + "slug": "create-a-push-protection-bypass", + "subcategory": "secret-scanning", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses", + "access": "write", + "user-to-server": true, + "server-to-server": false, + "additional-permissions": false + }, { "category": "repos", "slug": "download-a-repository-archive-tar", diff --git a/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json b/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json index 5a94a4488a77..fae92d52dd0d 100644 --- a/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json @@ -1801,6 +1801,12 @@ "subcategory": "copilot-user-management", "verb": "get", "requestPath": "/orgs/{org}/members/{username}/copilot" + }, + { + "slug": "get-a-summary-of-copilot-usage-for-a-team", + "subcategory": "copilot-usage", + "verb": "get", + "requestPath": "/orgs/{org}/team/{team_slug}/copilot/usage" } ], "dependabot": [ diff --git a/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json b/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json index 4ce1444eaf9c..c2effe4127ed 100644 --- a/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json @@ -2073,6 +2073,12 @@ "subcategory": "copilot-user-management", "verb": "get", "requestPath": "/orgs/{org}/members/{username}/copilot" + }, + { + "slug": "get-a-summary-of-copilot-usage-for-a-team", + "subcategory": "copilot-usage", + "verb": "get", + "requestPath": "/orgs/{org}/team/{team_slug}/copilot/usage" } ], "dependabot": [ @@ -4967,6 +4973,12 @@ "subcategory": "secret-scanning", "verb": "get", "requestPath": "/repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations" + }, + { + "slug": "create-a-push-protection-bypass", + "subcategory": "secret-scanning", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses" } ], "security-advisories": [ diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json index 5803b41153eb..7e2db1bd3baa 100644 --- a/src/github-apps/lib/config.json +++ b/src/github-apps/lib/config.json @@ -60,5 +60,5 @@ "2022-11-28" ] }, - "sha": "0bb1cf439a7445ce2ad2375b82c47e7ac84dbfc3" + "sha": "50df97e41b8ccf81a93b7332bb83f59356726333" } \ No newline at end of file diff --git a/src/rest/data/fpt-2022-11-28/schema.json b/src/rest/data/fpt-2022-11-28/schema.json index 1f5729421278..2f7d5dfb744d 100644 --- a/src/rest/data/fpt-2022-11-28/schema.json +++ b/src/rest/data/fpt-2022-11-28/schema.json @@ -154275,6 +154275,10 @@ "description": "Suggested settings for Dependabot, secret scanning, and code scanning.", "advanced_security": "enabled", "dependency_graph": "enabled", + "dependency_graph_autosubmit_action": "not_set", + "dependency_graph_autosubmit_action_options": { + "labeled_runners": false + }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", @@ -154295,6 +154299,10 @@ "description": "This is a code security configuration for octo-org high risk repositories", "advanced_security": "enabled", "dependency_graph": "enabled", + "dependency_graph_autosubmit_action": "enabled", + "dependency_graph_autosubmit_action_options": { + "labeled_runners": false + }, "dependabot_alerts": "enabled", "dependabot_security_updates": "enabled", "code_scanning_default_setup": "enabled", @@ -154352,6 +154360,25 @@ "not_set" ] }, + "dependency_graph_autosubmit_action": { + "type": "string", + "description": "The enablement status of Automatic dependency submission", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependency_graph_autosubmit_action_options": { + "type": "object", + "description": "Feature options for Automatic dependency submission", + "properties": { + "labeled_runners": { + "type": "boolean", + "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners." + } + } + }, "dependabot_alerts": { "type": "string", "description": "The enablement status of Dependabot alerts", @@ -154520,6 +154547,32 @@ ], "default": "enabled" }, + { + "type": "string", + "name": "dependency_graph_autosubmit_action", + "in": "body", + "description": "
The enablement status of Automatic dependency submission
", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, + { + "type": "object", + "name": "dependency_graph_autosubmit_action_options", + "in": "body", + "description": "Feature options for Automatic dependency submission
", + "childParamsGroups": [ + { + "type": "boolean", + "name": "labeled_runners", + "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners.
", + "default": false + } + ] + }, { "type": "string", "name": "dependabot_alerts", @@ -154656,6 +154709,10 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", + "dependency_graph_autosubmit_action": "enabled", + "dependency_graph_autosubmit_action_options": { + "labeled_runners": false + }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", @@ -154710,6 +154767,25 @@ "not_set" ] }, + "dependency_graph_autosubmit_action": { + "type": "string", + "description": "The enablement status of Automatic dependency submission", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependency_graph_autosubmit_action_options": { + "type": "object", + "description": "Feature options for Automatic dependency submission", + "properties": { + "labeled_runners": { + "type": "boolean", + "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners." + } + } + }, "dependabot_alerts": { "type": "string", "description": "The enablement status of Dependabot alerts", @@ -154866,6 +154942,10 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", + "dependency_graph_autosubmit_action": "not_set", + "dependency_graph_autosubmit_action_options": { + "labeled_runners": false + }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", @@ -154889,6 +154969,10 @@ "description": "Suggested settings for Dependabot, secret scanning, and code scanning.", "advanced_security": "enabled", "dependency_graph": "enabled", + "dependency_graph_autosubmit_action": "not_set", + "dependency_graph_autosubmit_action_options": { + "labeled_runners": false + }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", @@ -154959,6 +155043,25 @@ "not_set" ] }, + "dependency_graph_autosubmit_action": { + "type": "string", + "description": "The enablement status of Automatic dependency submission", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependency_graph_autosubmit_action_options": { + "type": "object", + "description": "Feature options for Automatic dependency submission", + "properties": { + "labeled_runners": { + "type": "boolean", + "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners." + } + } + }, "dependabot_alerts": { "type": "string", "description": "The enablement status of Dependabot alerts", @@ -155221,6 +155324,10 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", + "dependency_graph_autosubmit_action": "enabled", + "dependency_graph_autosubmit_action_options": { + "labeled_runners": false + }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", @@ -155275,6 +155382,25 @@ "not_set" ] }, + "dependency_graph_autosubmit_action": { + "type": "string", + "description": "The enablement status of Automatic dependency submission", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependency_graph_autosubmit_action_options": { + "type": "object", + "description": "Feature options for Automatic dependency submission", + "properties": { + "labeled_runners": { + "type": "boolean", + "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners." + } + } + }, "dependabot_alerts": { "type": "string", "description": "The enablement status of Dependabot alerts", @@ -155451,6 +155577,30 @@ "not_set" ] }, + { + "type": "string", + "name": "dependency_graph_autosubmit_action", + "in": "body", + "description": "The enablement status of Automatic dependency submission
", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + { + "type": "object", + "name": "dependency_graph_autosubmit_action_options", + "in": "body", + "description": "Feature options for Automatic dependency submission
", + "childParamsGroups": [ + { + "type": "boolean", + "name": "labeled_runners", + "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners.
" + } + ] + }, { "type": "string", "name": "dependabot_alerts", @@ -155577,6 +155727,10 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", + "dependency_graph_autosubmit_action": "enabled", + "dependency_graph_autosubmit_action_options": { + "labeled_runners": false + }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", @@ -155631,6 +155785,25 @@ "not_set" ] }, + "dependency_graph_autosubmit_action": { + "type": "string", + "description": "The enablement status of Automatic dependency submission", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependency_graph_autosubmit_action_options": { + "type": "object", + "description": "Feature options for Automatic dependency submission", + "properties": { + "labeled_runners": { + "type": "boolean", + "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners." + } + } + }, "dependabot_alerts": { "type": "string", "description": "The enablement status of Dependabot alerts", @@ -155995,6 +156168,10 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", + "dependency_graph_autosubmit_action": "enabled", + "dependency_graph_autosubmit_action_options": { + "labeled_runners": false + }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", @@ -156064,6 +156241,25 @@ "not_set" ] }, + "dependency_graph_autosubmit_action": { + "type": "string", + "description": "The enablement status of Automatic dependency submission", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependency_graph_autosubmit_action_options": { + "type": "object", + "description": "Feature options for Automatic dependency submission", + "properties": { + "labeled_runners": { + "type": "boolean", + "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners." + } + } + }, "dependabot_alerts": { "type": "string", "description": "The enablement status of Dependabot alerts", @@ -217225,6 +217421,301 @@ "description": "Internal Error
" } ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/orgs/{org}/team/{team_slug}/copilot/usage", + "title": "Get a summary of Copilot usage for a team", + "category": "copilot", + "subcategory": "copilot-usage", + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.
", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_slug", + "description": "The slug of the team name.
", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "since", + "description": "Show usage metrics since this date. This is a timestamp in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ). Maximum value is 28 days ago.
Show usage metrics until this date. This is a timestamp in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ) and should not preceed the since date if it is passed.
The page number of the results to fetch. For more information, see \"Using pagination in the REST API.\"
", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "The number of days of metrics to display per page (max 28). For more information, see \"Using pagination in the REST API.\"
", + "in": "query", + "schema": { + "type": "integer", + "default": 28 + } + } + ], + "bodyParameters": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"GitHub Copilot Business\" organization permissions": "read", + "\"Administration\" organization permissions": "read", + "\"Enterprise administration\" business permissions": "read" + } + ] + }, + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "org": "ORG", + "team_slug": "TEAM_SLUG" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "Response
", + "example": [ + { + "day": "2023-10-15", + "total_suggestions_count": 1000, + "total_acceptances_count": 800, + "total_lines_suggested": 1800, + "total_lines_accepted": 1200, + "total_active_users": 10, + "total_chat_acceptances": 32, + "total_chat_turns": 200, + "total_active_chat_users": 4, + "breakdown": [ + { + "language": "python", + "editor": "vscode", + "suggestions_count": 300, + "acceptances_count": 250, + "lines_suggested": 900, + "lines_accepted": 700, + "active_users": 5 + }, + { + "language": "python", + "editor": "jetbrains", + "suggestions_count": 300, + "acceptances_count": 200, + "lines_suggested": 400, + "lines_accepted": 300, + "active_users": 2 + }, + { + "language": "ruby", + "editor": "vscode", + "suggestions_count": 400, + "acceptances_count": 350, + "lines_suggested": 500, + "lines_accepted": 200, + "active_users": 3 + } + ] + }, + { + "day": "2023-10-16", + "total_suggestions_count": 800, + "total_acceptances_count": 600, + "total_lines_suggested": 1100, + "total_lines_accepted": 700, + "total_active_users": 12, + "total_chat_acceptances": 57, + "total_chat_turns": 426, + "total_active_chat_users": 8, + "breakdown": [ + { + "language": "python", + "editor": "vscode", + "suggestions_count": 300, + "acceptances_count": 200, + "lines_suggested": 600, + "lines_accepted": 300, + "active_users": 2 + }, + { + "language": "python", + "editor": "jetbrains", + "suggestions_count": 300, + "acceptances_count": 150, + "lines_suggested": 300, + "lines_accepted": 250, + "active_users": 6 + }, + { + "language": "ruby", + "editor": "vscode", + "suggestions_count": 200, + "acceptances_count": 150, + "lines_suggested": 200, + "lines_accepted": 150, + "active_users": 3 + } + ] + } + ], + "schema": { + "type": "array", + "items": { + "title": "Copilot Usage Metrics", + "description": "Summary of Copilot usage.", + "type": "object", + "properties": { + "day": { + "type": "string", + "format": "date", + "description": "The date for which the usage metrics are reported, in `YYYY-MM-DD` format." + }, + "total_suggestions_count": { + "type": "integer", + "description": "The total number of Copilot code completion suggestions shown to users." + }, + "total_acceptances_count": { + "type": "integer", + "description": "The total number of Copilot code completion suggestions accepted by users." + }, + "total_lines_suggested": { + "type": "integer", + "description": "The total number of lines of code completions suggested by Copilot." + }, + "total_lines_accepted": { + "type": "integer", + "description": "The total number of lines of code completions accepted by users." + }, + "total_active_users": { + "type": "integer", + "description": "The total number of users who were shown Copilot code completion suggestions during the day specified." + }, + "total_chat_acceptances": { + "type": "integer", + "description": "The total instances of users who accepted code suggested by Copilot Chat in the IDE (panel and inline)." + }, + "total_chat_turns": { + "type": "integer", + "description": "The total number of chat turns (prompt and response pairs) sent between users and Copilot Chat in the IDE." + }, + "total_active_chat_users": { + "type": "integer", + "description": "The total number of users who interacted with Copilot Chat in the IDE during the day specified." + }, + "breakdown": { + "type": [ + "array", + "null" + ], + "description": "Breakdown of Copilot code completions usage by language and editor", + "items": { + "type": "object", + "description": "Breakdown of Copilot usage by editor for this language", + "additionalProperties": true, + "properties": { + "language": { + "type": "string", + "description": "The language in which Copilot suggestions were shown to users in the specified editor." + }, + "editor": { + "type": "string", + "description": "The editor in which Copilot suggestions were shown to users for the specified language." + }, + "suggestions_count": { + "type": "integer", + "description": "The number of Copilot suggestions shown to users in the editor specified during the day specified." + }, + "acceptances_count": { + "type": "integer", + "description": "The number of Copilot suggestions accepted by users in the editor specified during the day specified." + }, + "lines_suggested": { + "type": "integer", + "description": "The number of lines of code suggested by Copilot in the editor specified during the day specified." + }, + "lines_accepted": { + "type": "integer", + "description": "The number of lines of code accepted by users in the editor specified during the day specified." + }, + "active_users": { + "type": "integer", + "description": "The number of users who were shown Copilot completion suggestions in the editor specified during the day specified." + } + } + } + } + }, + "required": [ + "day", + "breakdown" + ], + "additionalProperties": false + } + } + } + } + ], + "previews": [], + "descriptionHTML": "Note
\n\nThis endpoint is in beta and is subject to change.
\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.
\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.
\nNote
\n\nThis endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day.
\nOrganization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team.
\nOAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot, read:org, or read:enterprise scopes to use this endpoint.
OK
" + }, + { + "httpStatusCode": "401", + "description": "Requires authentication
" + }, + { + "httpStatusCode": "403", + "description": "Forbidden
" + }, + { + "httpStatusCode": "404", + "description": "Resource not found
" + }, + { + "httpStatusCode": "500", + "description": "Internal Error
" + } + ] } ], "copilot-user-management": [ @@ -348993,6 +349484,7 @@ "example": [ { "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", "value_type": "single_select", "required": true, "default_value": "production", @@ -349005,10 +349497,12 @@ }, { "property_name": "service", + "url": "https://api.github.com/orgs/github/properties/schema/service", "value_type": "string" }, { "property_name": "team", + "url": "https://api.github.com/orgs/github/properties/schema/team", "value_type": "string", "description": "Team owning the repository" } @@ -349024,6 +349518,11 @@ "type": "string", "description": "The name of the property" }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, "value_type": { "type": "string", "enum": [ @@ -349153,6 +349652,11 @@ "description": "The name of the property
", "isRequired": true }, + { + "type": "string", + "name": "url", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API.
" + }, { "type": "string", "name": "value_type", @@ -349251,6 +349755,7 @@ "example": [ { "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", "value_type": "single_select", "required": true, "default_value": "production", @@ -349263,10 +349768,12 @@ }, { "property_name": "service", + "url": "https://api.github.com/orgs/github/properties/schema/service", "value_type": "string" }, { "property_name": "team", + "url": "https://api.github.com/orgs/github/properties/schema/team", "value_type": "string", "description": "Team owning the repository" } @@ -349282,6 +349789,11 @@ "type": "string", "description": "The name of the property" }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, "value_type": { "type": "string", "enum": [ @@ -349434,6 +349946,7 @@ "description": "Response
", "example": { "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", "value_type": "single_select", "required": true, "default_value": "production", @@ -349452,6 +349965,11 @@ "type": "string", "description": "The name of the property" }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, "value_type": { "type": "string", "enum": [ @@ -349652,6 +350170,7 @@ "description": "Response
", "example": { "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", "value_type": "single_select", "required": true, "default_value": "production", @@ -349670,6 +350189,11 @@ "type": "string", "description": "The name of the property" }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, "value_type": { "type": "string", "enum": [ @@ -361134,7 +361658,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -362375,7 +362900,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ] }, { @@ -363660,7 +364186,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -365014,7 +365541,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -366261,7 +366789,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ] }, { @@ -367547,7 +368076,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -489505,7 +490035,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -490755,7 +491286,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ] }, { @@ -491856,7 +492388,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -493221,7 +493754,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -494477,7 +495011,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ] }, { @@ -495579,7 +496114,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -511956,6 +512492,143 @@ "description": "Service unavailable
" } ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses", + "title": "Create a push protection bypass", + "category": "secret-scanning", + "subcategory": "secret-scanning", + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.
", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the .git extension. The name is not case sensitive.
The reason for bypassing push protection.
", + "isRequired": true, + "enum": [ + "false_positive", + "used_in_tests", + "will_fix_later" + ] + }, + { + "type": "string", + "name": "placeholder_id", + "in": "body", + "description": "The ID of the push protection bypass placeholder. This value is returned on any push protected routes.
", + "isRequired": true + } + ], + "progAccess": { + "userToServerRest": true, + "serverToServer": false, + "fineGrainedPat": true, + "permissions": [ + { + "\"Contents\" repository permissions": "write" + } + ] + }, + "codeExamples": [ + { + "key": "default", + "request": { + "contentType": "application/json", + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "reason": "will_fix_later", + "placeholder_id": "2k4dM4tseyC5lPIsjl5emX9sPNk" + }, + "parameters": { + "owner": "OWNER", + "repo": "REPO" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "Response
", + "example": { + "reason": "will_fix_later", + "expire_at": "2020-11-06T18:18:30Z", + "token_type": "mailchimp_api_key" + }, + "schema": { + "type": "object", + "properties": { + "reason": { + "description": "The reason for bypassing push protection.", + "type": "string", + "enum": [ + "false_positive", + "used_in_tests", + "will_fix_later" + ] + }, + "expire_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the bypass will expire in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "token_type": { + "type": "string", + "description": "The token type this bypass is for." + } + } + } + } + } + ], + "previews": [], + "descriptionHTML": "Creates a bypass for a previously push protected secret.
\nThe authenticated user must be the original author of the committed secret.
\nOAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
OK
" + }, + { + "httpStatusCode": "403", + "description": "User does not have enough permissions to perform this action.
" + }, + { + "httpStatusCode": "404", + "description": "Placeholder ID not found, or push protection is disabled on this repository.
" + }, + { + "httpStatusCode": "422", + "description": "Bad request, input data missing or incorrect.
" + }, + { + "httpStatusCode": "503", + "description": "Service unavailable
" + } + ] } ] }, @@ -564312,7 +564985,8 @@ "serverToServer": true, "fineGrainedPat": true, "permissions": [], - "allowPermissionlessAccess": true + "allowPermissionlessAccess": true, + "allowsPublicRead": true }, "codeExamples": [ { @@ -564569,7 +565243,8 @@ "serverToServer": true, "fineGrainedPat": true, "permissions": [], - "allowPermissionlessAccess": true + "allowPermissionlessAccess": true, + "allowsPublicRead": true }, "codeExamples": [ { @@ -564817,7 +565492,8 @@ "serverToServer": true, "fineGrainedPat": true, "permissions": [], - "allowPermissionlessAccess": true + "allowPermissionlessAccess": true, + "allowsPublicRead": true }, "codeExamples": [ { diff --git a/src/rest/data/ghec-2022-11-28/schema.json b/src/rest/data/ghec-2022-11-28/schema.json index 39b6a2d8bf6f..0a05a8a56fef 100644 --- a/src/rest/data/ghec-2022-11-28/schema.json +++ b/src/rest/data/ghec-2022-11-28/schema.json @@ -9111,6 +9111,7 @@ "selected_organizations_url": "https://api.github.com/enterprises/octo-corp/actions/runner-groups/2/organizations", "runners_url": "https://api.github.com/enterprises/octo-corp/actions/runner-groups/2/runners", "hosted_runners_url": "https://api.github.com/enterprises/octo-corp/actions/runner-groups/2/hosted-runners", + "network_configuration_id": "EC486D5D793175D7E3B29C27318D5C1AAE49A7833FC85F2E82C3D2C54AC7D3BA", "allows_public_repositories": false, "restricted_to_workflows": true, "selected_workflows": [ @@ -9245,6 +9246,7 @@ "selected_organizations_url": "https://api.github.com/enterprises/octo-corp/actions/runner-groups/2/organizations", "runners_url": "https://api.github.com/enterprises/octo-corp/actions/runner-groups/2/runners", "hosted_runners_url": "https://api.github.com/enterprises/octo-corp/actions/runner-groups/2/hosted-runners", + "network_configuration_id": "EC486D5D793175D7E3B29C27318D5C1AAE49A7833FC85F2E82C3D2C54AC7D3BA", "allows_public_repositories": false, "restricted_to_workflows": true, "selected_workflows": [ @@ -9422,6 +9424,7 @@ "selected_organizations_url": "https://api.github.com/enterprises/octo-corp/actions/runner-groups/2/organizations", "runners_url": "https://api.github.com/enterprises/octo-corp/actions/runner-groups/2/runners", "hosted_runners_url": "https://api.github.com/enterprises/octo-corp/actions/runner_groups/2/hosted-runners", + "network_configuration_id": "EC486D5D793175D7E3B29C27318D5C1AAE49A7833FC85F2E82C3D2C54AC7D3BA", "allows_public_repositories": true, "restricted_to_workflows": false, "selected_workflows": [ @@ -10760,6 +10763,7 @@ "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/runner-groups/2/repositories", "runners_url": "https://api.github.com/orgs/octo-org/actions/runner_groups/2/runners", "hosted_runners_url": "https://api.github.com/orgs/octo-org/actions/runner_groups/2/hosted-runners", + "network_configuration_id": "EC486D5D793175D7E3B29C27318D5C1AAE49A7833FC85F2E82C3D2C54AC7D3BA", "inherited": false, "allows_public_repositories": true, "restricted_to_workflows": true, @@ -10907,6 +10911,7 @@ "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/runner_groups/2/repositories", "runners_url": "https://api.github.com/orgs/octo-org/actions/runner_groups/2/runners", "hosted_runners_url": "https://api.github.com/orgs/octo-org/actions/runner_groups/2/hosted-runners", + "network_configuration_id": "EC486D5D793175D7E3B29C27318D5C1AAE49A7833FC85F2E82C3D2C54AC7D3BA", "inherited": false, "allows_public_repositories": true, "restricted_to_workflows": true, @@ -11098,6 +11103,7 @@ "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/runner-groups/2/repositories", "runners_url": "https://api.github.com/orgs/octo-org/actions/runner_groups/2/runners", "hosted_runners_url": "https://api.github.com/orgs/octo-org/actions/runner_groups/2/hosted-runners", + "network_configuration_id": "EC486D5D793175D7E3B29C27318D5C1AAE49A7833FC85F2E82C3D2C54AC7D3BA", "inherited": false, "allows_public_repositories": true, "restricted_to_workflows": true, @@ -165577,6 +165583,10 @@ "description": "Suggested settings for Dependabot, secret scanning, and code scanning.", "advanced_security": "enabled", "dependency_graph": "enabled", + "dependency_graph_autosubmit_action": "not_set", + "dependency_graph_autosubmit_action_options": { + "labeled_runners": false + }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", @@ -165597,6 +165607,10 @@ "description": "This is a code security configuration for octo-org high risk repositories", "advanced_security": "enabled", "dependency_graph": "enabled", + "dependency_graph_autosubmit_action": "enabled", + "dependency_graph_autosubmit_action_options": { + "labeled_runners": false + }, "dependabot_alerts": "enabled", "dependabot_security_updates": "enabled", "code_scanning_default_setup": "enabled", @@ -165654,6 +165668,25 @@ "not_set" ] }, + "dependency_graph_autosubmit_action": { + "type": "string", + "description": "The enablement status of Automatic dependency submission", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependency_graph_autosubmit_action_options": { + "type": "object", + "description": "Feature options for Automatic dependency submission", + "properties": { + "labeled_runners": { + "type": "boolean", + "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners." + } + } + }, "dependabot_alerts": { "type": "string", "description": "The enablement status of Dependabot alerts", @@ -165822,6 +165855,32 @@ ], "default": "enabled" }, + { + "type": "string", + "name": "dependency_graph_autosubmit_action", + "in": "body", + "description": "The enablement status of Automatic dependency submission
", + "enum": [ + "enabled", + "disabled", + "not_set" + ], + "default": "disabled" + }, + { + "type": "object", + "name": "dependency_graph_autosubmit_action_options", + "in": "body", + "description": "Feature options for Automatic dependency submission
", + "childParamsGroups": [ + { + "type": "boolean", + "name": "labeled_runners", + "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners.
", + "default": false + } + ] + }, { "type": "string", "name": "dependabot_alerts", @@ -165958,6 +166017,10 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", + "dependency_graph_autosubmit_action": "enabled", + "dependency_graph_autosubmit_action_options": { + "labeled_runners": false + }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", @@ -166012,6 +166075,25 @@ "not_set" ] }, + "dependency_graph_autosubmit_action": { + "type": "string", + "description": "The enablement status of Automatic dependency submission", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependency_graph_autosubmit_action_options": { + "type": "object", + "description": "Feature options for Automatic dependency submission", + "properties": { + "labeled_runners": { + "type": "boolean", + "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners." + } + } + }, "dependabot_alerts": { "type": "string", "description": "The enablement status of Dependabot alerts", @@ -166168,6 +166250,10 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", + "dependency_graph_autosubmit_action": "not_set", + "dependency_graph_autosubmit_action_options": { + "labeled_runners": false + }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", @@ -166191,6 +166277,10 @@ "description": "Suggested settings for Dependabot, secret scanning, and code scanning.", "advanced_security": "enabled", "dependency_graph": "enabled", + "dependency_graph_autosubmit_action": "not_set", + "dependency_graph_autosubmit_action_options": { + "labeled_runners": false + }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", @@ -166261,6 +166351,25 @@ "not_set" ] }, + "dependency_graph_autosubmit_action": { + "type": "string", + "description": "The enablement status of Automatic dependency submission", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependency_graph_autosubmit_action_options": { + "type": "object", + "description": "Feature options for Automatic dependency submission", + "properties": { + "labeled_runners": { + "type": "boolean", + "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners." + } + } + }, "dependabot_alerts": { "type": "string", "description": "The enablement status of Dependabot alerts", @@ -166523,6 +166632,10 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", + "dependency_graph_autosubmit_action": "enabled", + "dependency_graph_autosubmit_action_options": { + "labeled_runners": false + }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", @@ -166577,6 +166690,25 @@ "not_set" ] }, + "dependency_graph_autosubmit_action": { + "type": "string", + "description": "The enablement status of Automatic dependency submission", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependency_graph_autosubmit_action_options": { + "type": "object", + "description": "Feature options for Automatic dependency submission", + "properties": { + "labeled_runners": { + "type": "boolean", + "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners." + } + } + }, "dependabot_alerts": { "type": "string", "description": "The enablement status of Dependabot alerts", @@ -166753,6 +166885,30 @@ "not_set" ] }, + { + "type": "string", + "name": "dependency_graph_autosubmit_action", + "in": "body", + "description": "The enablement status of Automatic dependency submission
", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + { + "type": "object", + "name": "dependency_graph_autosubmit_action_options", + "in": "body", + "description": "Feature options for Automatic dependency submission
", + "childParamsGroups": [ + { + "type": "boolean", + "name": "labeled_runners", + "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners.
" + } + ] + }, { "type": "string", "name": "dependabot_alerts", @@ -166879,6 +167035,10 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", + "dependency_graph_autosubmit_action": "enabled", + "dependency_graph_autosubmit_action_options": { + "labeled_runners": false + }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", @@ -166933,6 +167093,25 @@ "not_set" ] }, + "dependency_graph_autosubmit_action": { + "type": "string", + "description": "The enablement status of Automatic dependency submission", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependency_graph_autosubmit_action_options": { + "type": "object", + "description": "Feature options for Automatic dependency submission", + "properties": { + "labeled_runners": { + "type": "boolean", + "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners." + } + } + }, "dependabot_alerts": { "type": "string", "description": "The enablement status of Dependabot alerts", @@ -167297,6 +167476,10 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", + "dependency_graph_autosubmit_action": "enabled", + "dependency_graph_autosubmit_action_options": { + "labeled_runners": false + }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", @@ -167366,6 +167549,25 @@ "not_set" ] }, + "dependency_graph_autosubmit_action": { + "type": "string", + "description": "The enablement status of Automatic dependency submission", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependency_graph_autosubmit_action_options": { + "type": "object", + "description": "Feature options for Automatic dependency submission", + "properties": { + "labeled_runners": { + "type": "boolean", + "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners." + } + } + }, "dependabot_alerts": { "type": "string", "description": "The enablement status of Dependabot alerts", @@ -228803,6 +229005,301 @@ "description": "Internal Error
" } ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/orgs/{org}/team/{team_slug}/copilot/usage", + "title": "Get a summary of Copilot usage for a team", + "category": "copilot", + "subcategory": "copilot-usage", + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.
", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_slug", + "description": "The slug of the team name.
", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "since", + "description": "Show usage metrics since this date. This is a timestamp in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ). Maximum value is 28 days ago.
Show usage metrics until this date. This is a timestamp in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ) and should not preceed the since date if it is passed.
The page number of the results to fetch. For more information, see \"Using pagination in the REST API.\"
", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "name": "per_page", + "description": "The number of days of metrics to display per page (max 28). For more information, see \"Using pagination in the REST API.\"
", + "in": "query", + "schema": { + "type": "integer", + "default": 28 + } + } + ], + "bodyParameters": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"GitHub Copilot Business\" organization permissions": "read", + "\"Administration\" organization permissions": "read", + "\"Enterprise administration\" business permissions": "read" + } + ] + }, + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "org": "ORG", + "team_slug": "TEAM_SLUG" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "Response
", + "example": [ + { + "day": "2023-10-15", + "total_suggestions_count": 1000, + "total_acceptances_count": 800, + "total_lines_suggested": 1800, + "total_lines_accepted": 1200, + "total_active_users": 10, + "total_chat_acceptances": 32, + "total_chat_turns": 200, + "total_active_chat_users": 4, + "breakdown": [ + { + "language": "python", + "editor": "vscode", + "suggestions_count": 300, + "acceptances_count": 250, + "lines_suggested": 900, + "lines_accepted": 700, + "active_users": 5 + }, + { + "language": "python", + "editor": "jetbrains", + "suggestions_count": 300, + "acceptances_count": 200, + "lines_suggested": 400, + "lines_accepted": 300, + "active_users": 2 + }, + { + "language": "ruby", + "editor": "vscode", + "suggestions_count": 400, + "acceptances_count": 350, + "lines_suggested": 500, + "lines_accepted": 200, + "active_users": 3 + } + ] + }, + { + "day": "2023-10-16", + "total_suggestions_count": 800, + "total_acceptances_count": 600, + "total_lines_suggested": 1100, + "total_lines_accepted": 700, + "total_active_users": 12, + "total_chat_acceptances": 57, + "total_chat_turns": 426, + "total_active_chat_users": 8, + "breakdown": [ + { + "language": "python", + "editor": "vscode", + "suggestions_count": 300, + "acceptances_count": 200, + "lines_suggested": 600, + "lines_accepted": 300, + "active_users": 2 + }, + { + "language": "python", + "editor": "jetbrains", + "suggestions_count": 300, + "acceptances_count": 150, + "lines_suggested": 300, + "lines_accepted": 250, + "active_users": 6 + }, + { + "language": "ruby", + "editor": "vscode", + "suggestions_count": 200, + "acceptances_count": 150, + "lines_suggested": 200, + "lines_accepted": 150, + "active_users": 3 + } + ] + } + ], + "schema": { + "type": "array", + "items": { + "title": "Copilot Usage Metrics", + "description": "Summary of Copilot usage.", + "type": "object", + "properties": { + "day": { + "type": "string", + "format": "date", + "description": "The date for which the usage metrics are reported, in `YYYY-MM-DD` format." + }, + "total_suggestions_count": { + "type": "integer", + "description": "The total number of Copilot code completion suggestions shown to users." + }, + "total_acceptances_count": { + "type": "integer", + "description": "The total number of Copilot code completion suggestions accepted by users." + }, + "total_lines_suggested": { + "type": "integer", + "description": "The total number of lines of code completions suggested by Copilot." + }, + "total_lines_accepted": { + "type": "integer", + "description": "The total number of lines of code completions accepted by users." + }, + "total_active_users": { + "type": "integer", + "description": "The total number of users who were shown Copilot code completion suggestions during the day specified." + }, + "total_chat_acceptances": { + "type": "integer", + "description": "The total instances of users who accepted code suggested by Copilot Chat in the IDE (panel and inline)." + }, + "total_chat_turns": { + "type": "integer", + "description": "The total number of chat turns (prompt and response pairs) sent between users and Copilot Chat in the IDE." + }, + "total_active_chat_users": { + "type": "integer", + "description": "The total number of users who interacted with Copilot Chat in the IDE during the day specified." + }, + "breakdown": { + "type": [ + "array", + "null" + ], + "description": "Breakdown of Copilot code completions usage by language and editor", + "items": { + "type": "object", + "description": "Breakdown of Copilot usage by editor for this language", + "additionalProperties": true, + "properties": { + "language": { + "type": "string", + "description": "The language in which Copilot suggestions were shown to users in the specified editor." + }, + "editor": { + "type": "string", + "description": "The editor in which Copilot suggestions were shown to users for the specified language." + }, + "suggestions_count": { + "type": "integer", + "description": "The number of Copilot suggestions shown to users in the editor specified during the day specified." + }, + "acceptances_count": { + "type": "integer", + "description": "The number of Copilot suggestions accepted by users in the editor specified during the day specified." + }, + "lines_suggested": { + "type": "integer", + "description": "The number of lines of code suggested by Copilot in the editor specified during the day specified." + }, + "lines_accepted": { + "type": "integer", + "description": "The number of lines of code accepted by users in the editor specified during the day specified." + }, + "active_users": { + "type": "integer", + "description": "The number of users who were shown Copilot completion suggestions in the editor specified during the day specified." + } + } + } + } + }, + "required": [ + "day", + "breakdown" + ], + "additionalProperties": false + } + } + } + } + ], + "previews": [], + "descriptionHTML": "Note
\n\nThis endpoint is in beta and is subject to change.
\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.
\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.
\nNote
\n\nThis endpoint will only return results for a given day if the team had five or more members with active Copilot licenses, as evaluated at the end of that day.
\nOrganization owners for the organization that contains this team, and owners and billing managers of the parent enterprise can view Copilot usage metrics for a team.
\nOAuth app tokens and personal access tokens (classic) need either the manage_billing:copilot, read:org, or read:enterprise scopes to use this endpoint.
OK
" + }, + { + "httpStatusCode": "401", + "description": "Requires authentication
" + }, + { + "httpStatusCode": "403", + "description": "Forbidden
" + }, + { + "httpStatusCode": "404", + "description": "Resource not found
" + }, + { + "httpStatusCode": "500", + "description": "Internal Error
" + } + ] } ], "copilot-user-management": [ @@ -369273,6 +369770,7 @@ "example": [ { "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", "value_type": "single_select", "required": true, "default_value": "production", @@ -369285,10 +369783,12 @@ }, { "property_name": "service", + "url": "https://api.github.com/orgs/github/properties/schema/service", "value_type": "string" }, { "property_name": "team", + "url": "https://api.github.com/orgs/github/properties/schema/team", "value_type": "string", "description": "Team owning the repository" } @@ -369304,6 +369804,11 @@ "type": "string", "description": "The name of the property" }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, "value_type": { "type": "string", "enum": [ @@ -369433,6 +369938,11 @@ "description": "The name of the property
", "isRequired": true }, + { + "type": "string", + "name": "url", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API.
" + }, { "type": "string", "name": "value_type", @@ -369531,6 +370041,7 @@ "example": [ { "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", "value_type": "single_select", "required": true, "default_value": "production", @@ -369543,10 +370054,12 @@ }, { "property_name": "service", + "url": "https://api.github.com/orgs/github/properties/schema/service", "value_type": "string" }, { "property_name": "team", + "url": "https://api.github.com/orgs/github/properties/schema/team", "value_type": "string", "description": "Team owning the repository" } @@ -369562,6 +370075,11 @@ "type": "string", "description": "The name of the property" }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, "value_type": { "type": "string", "enum": [ @@ -369714,6 +370232,7 @@ "description": "Response
", "example": { "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", "value_type": "single_select", "required": true, "default_value": "production", @@ -369732,6 +370251,11 @@ "type": "string", "description": "The name of the property" }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, "value_type": { "type": "string", "enum": [ @@ -369932,6 +370456,7 @@ "description": "Response
", "example": { "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", "value_type": "single_select", "required": true, "default_value": "production", @@ -369950,6 +370475,11 @@ "type": "string", "description": "The name of the property" }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, "value_type": { "type": "string", "enum": [ @@ -385317,7 +385847,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -386558,7 +387089,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ] }, { @@ -387843,7 +388375,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -389197,7 +389730,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -390444,7 +390978,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ] }, { @@ -391730,7 +392265,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -514083,7 +514619,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -515333,7 +515870,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ] }, { @@ -516434,7 +516972,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -517799,7 +518338,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -519055,7 +519595,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ] }, { @@ -520157,7 +520698,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -539098,6 +539640,143 @@ "description": "Service unavailable
" } ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "post", + "requestPath": "/repos/{owner}/{repo}/secret-scanning/push-protection-bypasses", + "title": "Create a push protection bypass", + "category": "secret-scanning", + "subcategory": "secret-scanning", + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.
", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the .git extension. The name is not case sensitive.
The reason for bypassing push protection.
", + "isRequired": true, + "enum": [ + "false_positive", + "used_in_tests", + "will_fix_later" + ] + }, + { + "type": "string", + "name": "placeholder_id", + "in": "body", + "description": "The ID of the push protection bypass placeholder. This value is returned on any push protected routes.
", + "isRequired": true + } + ], + "progAccess": { + "userToServerRest": true, + "serverToServer": false, + "fineGrainedPat": true, + "permissions": [ + { + "\"Contents\" repository permissions": "write" + } + ] + }, + "codeExamples": [ + { + "key": "default", + "request": { + "contentType": "application/json", + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "reason": "will_fix_later", + "placeholder_id": "2k4dM4tseyC5lPIsjl5emX9sPNk" + }, + "parameters": { + "owner": "OWNER", + "repo": "REPO" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "Response
", + "example": { + "reason": "will_fix_later", + "expire_at": "2020-11-06T18:18:30Z", + "token_type": "mailchimp_api_key" + }, + "schema": { + "type": "object", + "properties": { + "reason": { + "description": "The reason for bypassing push protection.", + "type": "string", + "enum": [ + "false_positive", + "used_in_tests", + "will_fix_later" + ] + }, + "expire_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the bypass will expire in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "token_type": { + "type": "string", + "description": "The token type this bypass is for." + } + } + } + } + } + ], + "previews": [], + "descriptionHTML": "Creates a bypass for a previously push protected secret.
\nThe authenticated user must be the original author of the committed secret.
\nOAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.
OK
" + }, + { + "httpStatusCode": "403", + "description": "User does not have enough permissions to perform this action.
" + }, + { + "httpStatusCode": "404", + "description": "Placeholder ID not found, or push protection is disabled on this repository.
" + }, + { + "httpStatusCode": "422", + "description": "Bad request, input data missing or incorrect.
" + }, + { + "httpStatusCode": "503", + "description": "Service unavailable
" + } + ] } ] }, @@ -582579,7 +583258,6 @@ "required": [ "member_id", "member_login", - "member_name", "member_email" ], "properties": { @@ -582599,7 +583277,10 @@ }, "member_name": { "description": "The user display name/profile name", - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "Mona Lisa" ] @@ -583094,7 +583775,6 @@ "required": [ "member_id", "member_login", - "member_name", "member_email" ], "properties": { @@ -583114,7 +583794,10 @@ }, "member_name": { "description": "The user display name/profile name", - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "Mona Lisa" ] @@ -593108,7 +593791,8 @@ "serverToServer": true, "fineGrainedPat": true, "permissions": [], - "allowPermissionlessAccess": true + "allowPermissionlessAccess": true, + "allowsPublicRead": true }, "codeExamples": [ { @@ -593365,7 +594049,8 @@ "serverToServer": true, "fineGrainedPat": true, "permissions": [], - "allowPermissionlessAccess": true + "allowPermissionlessAccess": true, + "allowsPublicRead": true }, "codeExamples": [ { @@ -593613,7 +594298,8 @@ "serverToServer": true, "fineGrainedPat": true, "permissions": [], - "allowPermissionlessAccess": true + "allowPermissionlessAccess": true, + "allowsPublicRead": true }, "codeExamples": [ { diff --git a/src/rest/data/ghes-3.10-2022-11-28/schema.json b/src/rest/data/ghes-3.10-2022-11-28/schema.json index c49f8ef11ff5..d82709b4c061 100644 --- a/src/rest/data/ghes-3.10-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.10-2022-11-28/schema.json @@ -481332,7 +481332,6 @@ "required": [ "member_id", "member_login", - "member_name", "member_email" ], "properties": { @@ -481352,7 +481351,10 @@ }, "member_name": { "description": "The user display name/profile name", - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "Mona Lisa" ] @@ -481847,7 +481849,6 @@ "required": [ "member_id", "member_login", - "member_name", "member_email" ], "properties": { @@ -481867,7 +481868,10 @@ }, "member_name": { "description": "The user display name/profile name", - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "Mona Lisa" ] @@ -489478,7 +489482,8 @@ "serverToServer": true, "fineGrainedPat": true, "permissions": [], - "allowPermissionlessAccess": true + "allowPermissionlessAccess": true, + "allowsPublicRead": true }, "codeExamples": [ { @@ -489735,7 +489740,8 @@ "serverToServer": true, "fineGrainedPat": true, "permissions": [], - "allowPermissionlessAccess": true + "allowPermissionlessAccess": true, + "allowsPublicRead": true }, "codeExamples": [ { @@ -489983,7 +489989,8 @@ "serverToServer": true, "fineGrainedPat": true, "permissions": [], - "allowPermissionlessAccess": true + "allowPermissionlessAccess": true, + "allowsPublicRead": true }, "codeExamples": [ { diff --git a/src/rest/data/ghes-3.11-2022-11-28/schema.json b/src/rest/data/ghes-3.11-2022-11-28/schema.json index 87e417309eee..a785d5a5f9ad 100644 --- a/src/rest/data/ghes-3.11-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.11-2022-11-28/schema.json @@ -495492,7 +495492,6 @@ "required": [ "member_id", "member_login", - "member_name", "member_email" ], "properties": { @@ -495512,7 +495511,10 @@ }, "member_name": { "description": "The user display name/profile name", - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "Mona Lisa" ] @@ -496007,7 +496009,6 @@ "required": [ "member_id", "member_login", - "member_name", "member_email" ], "properties": { @@ -496027,7 +496028,10 @@ }, "member_name": { "description": "The user display name/profile name", - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "Mona Lisa" ] @@ -503638,7 +503642,8 @@ "serverToServer": true, "fineGrainedPat": true, "permissions": [], - "allowPermissionlessAccess": true + "allowPermissionlessAccess": true, + "allowsPublicRead": true }, "codeExamples": [ { @@ -503895,7 +503900,8 @@ "serverToServer": true, "fineGrainedPat": true, "permissions": [], - "allowPermissionlessAccess": true + "allowPermissionlessAccess": true, + "allowsPublicRead": true }, "codeExamples": [ { @@ -504143,7 +504149,8 @@ "serverToServer": true, "fineGrainedPat": true, "permissions": [], - "allowPermissionlessAccess": true + "allowPermissionlessAccess": true, + "allowsPublicRead": true }, "codeExamples": [ { diff --git a/src/rest/data/ghes-3.12-2022-11-28/schema.json b/src/rest/data/ghes-3.12-2022-11-28/schema.json index 0d7630f8f410..5ec95a514e1a 100644 --- a/src/rest/data/ghes-3.12-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.12-2022-11-28/schema.json @@ -498962,7 +498962,6 @@ "required": [ "member_id", "member_login", - "member_name", "member_email" ], "properties": { @@ -498982,7 +498981,10 @@ }, "member_name": { "description": "The user display name/profile name", - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "Mona Lisa" ] @@ -499477,7 +499479,6 @@ "required": [ "member_id", "member_login", - "member_name", "member_email" ], "properties": { @@ -499497,7 +499498,10 @@ }, "member_name": { "description": "The user display name/profile name", - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "Mona Lisa" ] @@ -507108,7 +507112,8 @@ "serverToServer": true, "fineGrainedPat": true, "permissions": [], - "allowPermissionlessAccess": true + "allowPermissionlessAccess": true, + "allowsPublicRead": true }, "codeExamples": [ { @@ -507365,7 +507370,8 @@ "serverToServer": true, "fineGrainedPat": true, "permissions": [], - "allowPermissionlessAccess": true + "allowPermissionlessAccess": true, + "allowsPublicRead": true }, "codeExamples": [ { @@ -507613,7 +507619,8 @@ "serverToServer": true, "fineGrainedPat": true, "permissions": [], - "allowPermissionlessAccess": true + "allowPermissionlessAccess": true, + "allowsPublicRead": true }, "codeExamples": [ { diff --git a/src/rest/data/ghes-3.13-2022-11-28/schema.json b/src/rest/data/ghes-3.13-2022-11-28/schema.json index 04217d622b96..64015fc55e6c 100644 --- a/src/rest/data/ghes-3.13-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.13-2022-11-28/schema.json @@ -322482,6 +322482,7 @@ "example": [ { "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", "value_type": "single_select", "required": true, "default_value": "production", @@ -322494,10 +322495,12 @@ }, { "property_name": "service", + "url": "https://api.github.com/orgs/github/properties/schema/service", "value_type": "string" }, { "property_name": "team", + "url": "https://api.github.com/orgs/github/properties/schema/team", "value_type": "string", "description": "Team owning the repository" } @@ -322513,6 +322516,11 @@ "type": "string", "description": "The name of the property" }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, "value_type": { "type": "string", "enum": [ @@ -322642,6 +322650,11 @@ "description": "The name of the property
", "isRequired": true }, + { + "type": "string", + "name": "url", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API.
" + }, { "type": "string", "name": "value_type", @@ -322740,6 +322753,7 @@ "example": [ { "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", "value_type": "single_select", "required": true, "default_value": "production", @@ -322752,10 +322766,12 @@ }, { "property_name": "service", + "url": "https://api.github.com/orgs/github/properties/schema/service", "value_type": "string" }, { "property_name": "team", + "url": "https://api.github.com/orgs/github/properties/schema/team", "value_type": "string", "description": "Team owning the repository" } @@ -322771,6 +322787,11 @@ "type": "string", "description": "The name of the property" }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, "value_type": { "type": "string", "enum": [ @@ -322923,6 +322944,7 @@ "description": "Response
", "example": { "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", "value_type": "single_select", "required": true, "default_value": "production", @@ -322941,6 +322963,11 @@ "type": "string", "description": "The name of the property" }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, "value_type": { "type": "string", "enum": [ @@ -323141,6 +323168,7 @@ "description": "Response
", "example": { "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", "value_type": "single_select", "required": true, "default_value": "production", @@ -323159,6 +323187,11 @@ "type": "string", "description": "The name of the property" }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, "value_type": { "type": "string", "enum": [ @@ -502011,7 +502044,6 @@ "required": [ "member_id", "member_login", - "member_name", "member_email" ], "properties": { @@ -502031,7 +502063,10 @@ }, "member_name": { "description": "The user display name/profile name", - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "Mona Lisa" ] @@ -502526,7 +502561,6 @@ "required": [ "member_id", "member_login", - "member_name", "member_email" ], "properties": { @@ -502546,7 +502580,10 @@ }, "member_name": { "description": "The user display name/profile name", - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "Mona Lisa" ] @@ -510157,7 +510194,8 @@ "serverToServer": true, "fineGrainedPat": true, "permissions": [], - "allowPermissionlessAccess": true + "allowPermissionlessAccess": true, + "allowsPublicRead": true }, "codeExamples": [ { @@ -510414,7 +510452,8 @@ "serverToServer": true, "fineGrainedPat": true, "permissions": [], - "allowPermissionlessAccess": true + "allowPermissionlessAccess": true, + "allowsPublicRead": true }, "codeExamples": [ { @@ -510662,7 +510701,8 @@ "serverToServer": true, "fineGrainedPat": true, "permissions": [], - "allowPermissionlessAccess": true + "allowPermissionlessAccess": true, + "allowsPublicRead": true }, "codeExamples": [ { diff --git a/src/rest/data/ghes-3.14-2022-11-28/schema.json b/src/rest/data/ghes-3.14-2022-11-28/schema.json index 501045676ddc..2d8aeb920f23 100644 --- a/src/rest/data/ghes-3.14-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.14-2022-11-28/schema.json @@ -322494,6 +322494,7 @@ "example": [ { "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", "value_type": "single_select", "required": true, "default_value": "production", @@ -322506,10 +322507,12 @@ }, { "property_name": "service", + "url": "https://api.github.com/orgs/github/properties/schema/service", "value_type": "string" }, { "property_name": "team", + "url": "https://api.github.com/orgs/github/properties/schema/team", "value_type": "string", "description": "Team owning the repository" } @@ -322525,6 +322528,11 @@ "type": "string", "description": "The name of the property" }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, "value_type": { "type": "string", "enum": [ @@ -322654,6 +322662,11 @@ "description": "The name of the property
", "isRequired": true }, + { + "type": "string", + "name": "url", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API.
" + }, { "type": "string", "name": "value_type", @@ -322752,6 +322765,7 @@ "example": [ { "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", "value_type": "single_select", "required": true, "default_value": "production", @@ -322764,10 +322778,12 @@ }, { "property_name": "service", + "url": "https://api.github.com/orgs/github/properties/schema/service", "value_type": "string" }, { "property_name": "team", + "url": "https://api.github.com/orgs/github/properties/schema/team", "value_type": "string", "description": "Team owning the repository" } @@ -322783,6 +322799,11 @@ "type": "string", "description": "The name of the property" }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, "value_type": { "type": "string", "enum": [ @@ -322935,6 +322956,7 @@ "description": "Response
", "example": { "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", "value_type": "single_select", "required": true, "default_value": "production", @@ -322953,6 +322975,11 @@ "type": "string", "description": "The name of the property" }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, "value_type": { "type": "string", "enum": [ @@ -323153,6 +323180,7 @@ "description": "Response
", "example": { "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", "value_type": "single_select", "required": true, "default_value": "production", @@ -323171,6 +323199,11 @@ "type": "string", "description": "The name of the property" }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, "value_type": { "type": "string", "enum": [ @@ -335816,7 +335849,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -336980,7 +337014,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ] }, { @@ -338188,7 +338223,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -339465,7 +339501,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -340635,7 +340672,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ] }, { @@ -341844,7 +341882,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -462362,7 +462401,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -463535,7 +463575,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ] }, { @@ -464559,7 +464600,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -465847,7 +465889,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -467026,7 +467069,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ] }, { @@ -468051,7 +468095,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ], "description": "The type of actor that can bypass a ruleset.\n" }, @@ -507031,7 +507076,6 @@ "required": [ "member_id", "member_login", - "member_name", "member_email" ], "properties": { @@ -507051,7 +507095,10 @@ }, "member_name": { "description": "The user display name/profile name", - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "Mona Lisa" ] @@ -507546,7 +507593,6 @@ "required": [ "member_id", "member_login", - "member_name", "member_email" ], "properties": { @@ -507566,7 +507612,10 @@ }, "member_name": { "description": "The user display name/profile name", - "type": "string", + "type": [ + "string", + "null" + ], "examples": [ "Mona Lisa" ] @@ -515177,7 +515226,8 @@ "serverToServer": true, "fineGrainedPat": true, "permissions": [], - "allowPermissionlessAccess": true + "allowPermissionlessAccess": true, + "allowsPublicRead": true }, "codeExamples": [ { @@ -515434,7 +515484,8 @@ "serverToServer": true, "fineGrainedPat": true, "permissions": [], - "allowPermissionlessAccess": true + "allowPermissionlessAccess": true, + "allowsPublicRead": true }, "codeExamples": [ { @@ -515682,7 +515733,8 @@ "serverToServer": true, "fineGrainedPat": true, "permissions": [], - "allowPermissionlessAccess": true + "allowPermissionlessAccess": true, + "allowsPublicRead": true }, "codeExamples": [ { diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index f7406255d90d..e7f8c985ef42 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -47,5 +47,5 @@ ] } }, - "sha": "0bb1cf439a7445ce2ad2375b82c47e7ac84dbfc3" + "sha": "50df97e41b8ccf81a93b7332bb83f59356726333" } \ No newline at end of file diff --git a/src/webhooks/data/fpt/schema.json b/src/webhooks/data/fpt/schema.json index 4eeb2f886b25..6576f294b335 100644 --- a/src/webhooks/data/fpt/schema.json +++ b/src/webhooks/data/fpt/schema.json @@ -13079,6 +13079,11 @@ "description": "The name of the property
", "isRequired": true }, + { + "type": "string", + "name": "url", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API.
" + }, { "type": "string", "name": "value_type", @@ -13253,6 +13258,11 @@ "description": "The name of the property
", "isRequired": true }, + { + "type": "string", + "name": "url", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API.
" + }, { "type": "string", "name": "value_type", @@ -203324,7 +203334,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ] }, { @@ -204417,7 +204428,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ] }, { @@ -205510,7 +205522,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ] }, { diff --git a/src/webhooks/data/ghec/schema.json b/src/webhooks/data/ghec/schema.json index 8082517dfdbe..9bf8411328ef 100644 --- a/src/webhooks/data/ghec/schema.json +++ b/src/webhooks/data/ghec/schema.json @@ -15413,6 +15413,11 @@ "description": "The name of the property
", "isRequired": true }, + { + "type": "string", + "name": "url", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API.
" + }, { "type": "string", "name": "value_type", @@ -15587,6 +15592,11 @@ "description": "The name of the property
", "isRequired": true }, + { + "type": "string", + "name": "url", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API.
" + }, { "type": "string", "name": "value_type", @@ -205658,7 +205668,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ] }, { @@ -206751,7 +206762,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ] }, { @@ -207844,7 +207856,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ] }, { diff --git a/src/webhooks/data/ghes-3.14/schema.json b/src/webhooks/data/ghes-3.14/schema.json index 301ba3b65c19..ed6de3fedea8 100644 --- a/src/webhooks/data/ghes-3.14/schema.json +++ b/src/webhooks/data/ghes-3.14/schema.json @@ -191418,7 +191418,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ] }, { @@ -192434,7 +192435,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ] }, { @@ -193450,7 +193452,8 @@ "OrganizationAdmin", "RepositoryRole", "Team", - "DeployKey" + "DeployKey", + "EnterpriseTeam" ] }, { diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json index 3af8c1e479d6..611945a3f272 100644 --- a/src/webhooks/lib/config.json +++ b/src/webhooks/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "0bb1cf439a7445ce2ad2375b82c47e7ac84dbfc3" + "sha": "50df97e41b8ccf81a93b7332bb83f59356726333" } \ No newline at end of file