diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index ff1086cc41..62de96b2ca 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -3778,6 +3778,262 @@ } } }, + "/enterprises/{enterprise}/copilot/policies/coding_agent": { + "put": { + "summary": "Set the coding agent policy for an enterprise", + "description": "Sets the policy for Copilot coding agent usage across an enterprise.\n\nEnterprise owners can configure whether Copilot coding agent is enabled for all\norganizations, disabled for all organizations, configured by individual organization\nadmins, or enabled for selected organizations only.\n\nOnly enterprise owners can set the coding agent policy for their enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "description": "The coding agent policy configuration", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "policy_state": { + "type": "string", + "description": "The policy state for Copilot coding agent in the enterprise. Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, `enabled_for_selected_orgs`, or `configured_by_org_admins`.", + "enum": [ + "enabled_for_all_orgs", + "disabled_for_all_orgs", + "enabled_for_selected_orgs", + "configured_by_org_admins" + ] + } + }, + "required": [ + "policy_state" + ] + }, + "examples": { + "default": { + "summary": "Enable coding agent for all organizations", + "value": { + "policy_state": "enabled_for_all_orgs" + } + } + } + } + } + }, + "responses": { + "204": { + "$ref": "#/components/responses/no_content" + }, + "400": { + "$ref": "#/components/responses/bad_request" + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/enterprises/{enterprise}/copilot/policies/coding_agent/organizations": { + "post": { + "summary": "Add organizations to the enterprise coding agent policy", + "description": "Enables Copilot coding agent for the specified organizations within the enterprise.\n\nThe enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before\nusing this endpoint. Organizations can be specified by login or matched via custom properties.\n\nOnly organizations that have Copilot enabled and belong to the enterprise will be affected.\n\nOnly enterprise owners can add organizations to the coding agent policy.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/add-organizations-to-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "description": "The organizations to enable Copilot coding agent for", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "organizations": { + "type": "array", + "description": "List of organization logins within the enterprise to enable Copilot coding agent for.", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "array", + "description": "List of custom property filters to match organizations. Organizations matching any of the specified property name/value pairs will be included. This is a one-time operation, setting the property on an organization in the future will not automatically update its coding agent policy.", + "items": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the custom property to filter by." + }, + "values": { + "type": "array", + "description": "The values of the custom property to match.", + "items": { + "type": "string" + } + } + }, + "required": [ + "property_name", + "values" + ] + } + } + } + }, + "examples": { + "default": { + "summary": "Add organizations that match a login or have a custom property", + "value": { + "organizations": [ + "my-org-1", + "my-org-2" + ], + "custom_properties": [ + { + "property_name": "department", + "values": [ + "engineering", + "security" + ] + } + ] + } + } + } + } + } + }, + "responses": { + "204": { + "$ref": "#/components/responses/no_content" + }, + "400": { + "$ref": "#/components/responses/bad_request" + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "delete": { + "summary": "Remove organizations from the enterprise coding agent policy", + "description": "Disables Copilot coding agent for the specified organizations within the enterprise.\n\nThe enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before\nusing this endpoint. Organizations can be specified by login or matched via custom properties.\n\nOnly organizations that have Copilot enabled and belong to the enterprise will be affected.\n\nOnly enterprise owners can remove organizations from the coding agent policy.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/remove-organizations-from-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "description": "The organizations to disable Copilot coding agent for", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "organizations": { + "type": "array", + "description": "List of organization logins within the enterprise to disable Copilot coding agent for.", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "array", + "description": "List of custom property filters to match organizations. Organizations matching any of the specified property name/value pairs will be included. This is a one-time operation, setting the property on an organization in the future will not automatically update its coding agent policy.", + "items": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the custom property to filter by." + }, + "values": { + "type": "array", + "description": "The values of the custom property to match.", + "items": { + "type": "string" + } + } + }, + "required": [ + "property_name", + "values" + ] + } + } + } + }, + "examples": { + "default": { + "summary": "Remove organizations that match a login or have a custom property", + "value": { + "organizations": [ + "my-org-1", + "my-org-2" + ], + "custom_properties": [ + { + "property_name": "department", + "values": [ + "engineering", + "security" + ] + } + ] + } + } + } + } + } + }, + "responses": { + "204": { + "$ref": "#/components/responses/no_content" + }, + "400": { + "$ref": "#/components/responses/bad_request" + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -8148,238 +8404,6 @@ } } }, - "/organizations/{org}/dependabot/repository-access": { - "get": { - "summary": "Lists the repositories Dependabot can access in an organization", - "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", - "tags": [ - "dependabot" - ], - "operationId": "dependabot/repository-access-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "name": "page", - "in": "query", - "description": "The page number of results to fetch.", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "default": 1 - } - }, - { - "name": "per_page", - "in": "query", - "description": "Number of results per page.", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/dependabot-repository-access-details" - }, - "examples": { - "default": { - "$ref": "#/components/examples/dependabot-repository-access-details" - } - } - } - } - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" - } - }, - "patch": { - "summary": "Updates Dependabot's repository access list for an organization", - "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", - "tags": [ - "dependabot" - ], - "operationId": "dependabot/update-repository-access-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "repository_ids_to_add": { - "type": "array", - "items": { - "type": "integer" - }, - "description": "List of repository IDs to add." - }, - "repository_ids_to_remove": { - "type": "array", - "items": { - "type": "integer" - }, - "description": "List of repository IDs to remove." - } - }, - "example": { - "repository_ids_to_add": [ - 123, - 456 - ], - "repository_ids_to_remove": [ - 789 - ] - } - }, - "examples": { - "204": { - "summary": "Example with a 'succeeded' status." - }, - "add-example": { - "summary": "Add repositories", - "value": { - "repository_ids_to_add": [ - 123, - 456 - ] - } - }, - "remove-example": { - "summary": "Remove repositories", - "value": { - "repository_ids_to_remove": [ - 789 - ] - } - } - } - } - } - }, - "responses": { - "204": { - "description": "Response" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" - } - } - }, - "/organizations/{org}/dependabot/repository-access/default-level": { - "put": { - "summary": "Set the default repository access level for Dependabot", - "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", - "tags": [ - "dependabot" - ], - "operationId": "dependabot/set-repository-access-default-level", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "default_level": { - "type": "string", - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal" - ], - "examples": [ - "internal" - ] - } - }, - "required": [ - "default_level" - ] - }, - "examples": { - "204": { - "summary": "Example with a 'succeeded' status.", - "value": { - "default_level": "public" - } - } - } - } - } - }, - "responses": { - "204": { - "description": "Response" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" - } - } - }, "/organizations/{org}/settings/billing/budgets": { "get": { "summary": "Get all budgets for an organization", @@ -20074,6 +20098,238 @@ } } }, + "/orgs/{org}/dependabot/repository-access": { + "get": { + "summary": "Lists the repositories Dependabot can access in an organization", + "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/repository-access-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/dependabot-repository-access-details" + }, + "examples": { + "default": { + "$ref": "#/components/examples/dependabot-repository-access-details" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "repository-access" + } + }, + "patch": { + "summary": "Updates Dependabot's repository access list for an organization", + "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/update-repository-access-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_ids_to_add": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to add." + }, + "repository_ids_to_remove": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to remove." + } + }, + "example": { + "repository_ids_to_add": [ + 123, + 456 + ], + "repository_ids_to_remove": [ + 789 + ] + } + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status." + }, + "add-example": { + "summary": "Add repositories", + "value": { + "repository_ids_to_add": [ + 123, + 456 + ] + } + }, + "remove-example": { + "summary": "Remove repositories", + "value": { + "repository_ids_to_remove": [ + 789 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, + "/orgs/{org}/dependabot/repository-access/default-level": { + "put": { + "summary": "Set the default repository access level for Dependabot", + "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/set-repository-access-default-level", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "examples": [ + "internal" + ] + } + }, + "required": [ + "default_level" + ] + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status.", + "value": { + "default_level": "public" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, "/orgs/{org}/dependabot/secrets": { "get": { "summary": "List organization secrets", @@ -113187,42 +113443,6 @@ } } }, - "dependabot-repository-access-details": { - "title": "Dependabot Repository Access Details", - "description": "Information about repositories that Dependabot is able to access in an organization", - "type": "object", - "properties": { - "default_level": { - "type": [ - "string", - "null" - ], - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal", - null - ], - "examples": [ - "internal" - ] - }, - "accessible_repositories": { - "type": "array", - "items": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-repository" - } - ] - } - } - }, - "additionalProperties": false - }, "budget": { "type": "object", "properties": { @@ -117225,6 +117445,42 @@ ], "additionalProperties": true }, + "dependabot-repository-access-details": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": [ + "string", + "null" + ], + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal", + null + ], + "examples": [ + "internal" + ] + }, + "accessible_repositories": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-repository" + } + ] + } + } + }, + "additionalProperties": false + }, "organization-dependabot-secret": { "title": "Dependabot Secret for an Organization", "description": "Secrets for GitHub Dependabot for an organization.", @@ -299091,84 +299347,6 @@ "octocat": { "value": " MMM. .MMM\n MMMMMMMMMMMMMMMMMMM\n MMMMMMMMMMMMMMMMMMM ___________________________________\n MMMMMMMMMMMMMMMMMMMMM | |\n MMMMMMMMMMMMMMMMMMMMMMM | Avoid administrative distraction. |\n MMMMMMMMMMMMMMMMMMMMMMMM |_ _______________________________|\n MMMM::- -:::::::- -::MMMM |/\n MM~:~ 00~:::::~ 00~:~MM\n .. MMMMM::.00:::+:::.00::MMMMM ..\n .MM::::: ._. :::::MM.\n MMMM;:::::;MMMM\n -MM MMMMMMM\n ^ M+ MMMMMMMMM\n MMMMMMM MM MM MM\n MM MM MM MM\n MM MM MM MM\n .~~MM~MM~MM~MM~~.\n ~~~~MM:~MM~~~MM~:MM~~~~\n ~~~~~~==~==~~~==~==~~~~~~\n ~~~~~~==~==~==~==~~~~~~\n :~==~==~==~==~~\n" }, - "dependabot-repository-access-details": { - "value": { - "default_level": "public", - "accessible_repositories": [ - { - "id": 123456, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", - "name": "example-repo", - "full_name": "octocat/example-repo", - "owner": { - "name": "octocat", - "email": "octo@github.com", - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", - "gravatar_id": 1, - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat/example-repo", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false, - "starred_at": "\"2020-07-09T00:17:55Z\"", - "user_view_type": "default" - }, - "private": false, - "html_url": "https://github.com/octocat/example-repo", - "description": "This is an example repository.", - "fork": false, - "url": "https://api.github.com/repos/octocat/example-repo", - "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", - "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", - "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", - "events_url": "https://api.github.com/repos/octocat/example-repo/events", - "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", - "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", - "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", - "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", - "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", - "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", - "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" - } - ] - } - }, "get_all_budgets": { "value": { "budgets": [ @@ -301964,6 +302142,84 @@ } ] }, + "dependabot-repository-access-details": { + "value": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", + "owner": { + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" + }, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", + "fork": false, + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + } + ] + } + }, "organization-dependabot-secret-paginated": { "value": { "total_count": 3, diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index a866e2fede..c7900c0cd0 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -2727,6 +2727,217 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/policies/coding_agent": + put: + summary: Set the coding agent policy for an enterprise + description: |- + Sets the policy for Copilot coding agent usage across an enterprise. + + Enterprise owners can configure whether Copilot coding agent is enabled for all + organizations, disabled for all organizations, configured by individual organization + admins, or enabled for selected organizations only. + + Only enterprise owners can set the coding agent policy for their enterprise. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/set-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + description: The coding agent policy configuration + required: true + content: + application/json: + schema: + type: object + properties: + policy_state: + type: string + description: The policy state for Copilot coding agent in the enterprise. + Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, + `enabled_for_selected_orgs`, or `configured_by_org_admins`. + enum: + - enabled_for_all_orgs + - disabled_for_all_orgs + - enabled_for_selected_orgs + - configured_by_org_admins + required: + - policy_state + examples: + default: + summary: Enable coding agent for all organizations + value: + policy_state: enabled_for_all_orgs + responses: + '204': + "$ref": "#/components/responses/no_content" + '400': + "$ref": "#/components/responses/bad_request" + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management + "/enterprises/{enterprise}/copilot/policies/coding_agent/organizations": + post: + summary: Add organizations to the enterprise coding agent policy + description: |- + Enables Copilot coding agent for the specified organizations within the enterprise. + + The enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before + using this endpoint. Organizations can be specified by login or matched via custom properties. + + Only organizations that have Copilot enabled and belong to the enterprise will be affected. + + Only enterprise owners can add organizations to the coding agent policy. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/add-organizations-to-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + description: The organizations to enable Copilot coding agent for + required: true + content: + application/json: + schema: + type: object + properties: + organizations: + type: array + description: List of organization logins within the enterprise to + enable Copilot coding agent for. + items: + type: string + custom_properties: + type: array + description: List of custom property filters to match organizations. + Organizations matching any of the specified property name/value + pairs will be included. This is a one-time operation, setting + the property on an organization in the future will not automatically + update its coding agent policy. + items: + type: object + properties: + property_name: + type: string + description: The name of the custom property to filter by. + values: + type: array + description: The values of the custom property to match. + items: + type: string + required: + - property_name + - values + examples: + default: + summary: Add organizations that match a login or have a custom property + value: + organizations: + - my-org-1 + - my-org-2 + custom_properties: + - property_name: department + values: + - engineering + - security + responses: + '204': + "$ref": "#/components/responses/no_content" + '400': + "$ref": "#/components/responses/bad_request" + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management + delete: + summary: Remove organizations from the enterprise coding agent policy + description: |- + Disables Copilot coding agent for the specified organizations within the enterprise. + + The enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before + using this endpoint. Organizations can be specified by login or matched via custom properties. + + Only organizations that have Copilot enabled and belong to the enterprise will be affected. + + Only enterprise owners can remove organizations from the coding agent policy. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/remove-organizations-from-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + description: The organizations to disable Copilot coding agent for + required: true + content: + application/json: + schema: + type: object + properties: + organizations: + type: array + description: List of organization logins within the enterprise to + disable Copilot coding agent for. + items: + type: string + custom_properties: + type: array + description: List of custom property filters to match organizations. + Organizations matching any of the specified property name/value + pairs will be included. This is a one-time operation, setting + the property on an organization in the future will not automatically + update its coding agent policy. + items: + type: object + properties: + property_name: + type: string + description: The name of the custom property to filter by. + values: + type: array + description: The values of the custom property to match. + items: + type: string + required: + - property_name + - values + examples: + default: + summary: Remove organizations that match a login or have a custom + property + value: + organizations: + - my-org-1 + - my-org-2 + custom_properties: + - property_name: department + values: + - engineering + - security + responses: + '204': + "$ref": "#/components/responses/no_content" + '400': + "$ref": "#/components/responses/bad_request" + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -5724,185 +5935,6 @@ paths: enabledForGitHubApps: true category: actions subcategory: cache - "/organizations/{org}/dependabot/repository-access": - get: - summary: Lists the repositories Dependabot can access in an organization - description: |- - Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. - Unauthorized users will not see the existence of this endpoint. - tags: - - dependabot - operationId: dependabot/repository-access-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization - parameters: - - "$ref": "#/components/parameters/org" - - name: page - in: query - description: The page number of results to fetch. - required: false - schema: - type: integer - minimum: 1 - default: 1 - - name: per_page - in: query - description: Number of results per page. - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/dependabot-repository-access-details" - examples: - default: - "$ref": "#/components/examples/dependabot-repository-access-details" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access - patch: - summary: Updates Dependabot's repository access list for an organization - description: |- - Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. - - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. - Unauthorized users will not see the existence of this endpoint. - - **Example request body:** - ```json - { - "repository_ids_to_add": [123, 456], - "repository_ids_to_remove": [789] - } - ``` - tags: - - dependabot - operationId: dependabot/update-repository-access-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - repository_ids_to_add: - type: array - items: - type: integer - description: List of repository IDs to add. - repository_ids_to_remove: - type: array - items: - type: integer - description: List of repository IDs to remove. - example: - repository_ids_to_add: - - 123 - - 456 - repository_ids_to_remove: - - 789 - examples: - '204': - summary: Example with a 'succeeded' status. - add-example: - summary: Add repositories - value: - repository_ids_to_add: - - 123 - - 456 - remove-example: - summary: Remove repositories - value: - repository_ids_to_remove: - - 789 - responses: - '204': - description: Response - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access - "/organizations/{org}/dependabot/repository-access/default-level": - put: - summary: Set the default repository access level for Dependabot - description: |- - Sets the default level of repository access Dependabot will have while performing an update. Available values are: - - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. - - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. - - Unauthorized users will not see the existence of this endpoint. - - This operation supports both server-to-server and user-to-server access. - tags: - - dependabot - operationId: dependabot/set-repository-access-default-level - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot - parameters: - - "$ref": "#/components/parameters/org" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - default_level: - type: string - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - examples: - - internal - required: - - default_level - examples: - '204': - summary: Example with a 'succeeded' status. - value: - default_level: public - responses: - '204': - description: Response - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access "/organizations/{org}/settings/billing/budgets": get: summary: Get all budgets for an organization @@ -14659,6 +14691,185 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: alerts + "/orgs/{org}/dependabot/repository-access": + get: + summary: Lists the repositories Dependabot can access in an organization + description: |- + Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. + > [!NOTE] + > This operation supports both server-to-server and user-to-server access. + Unauthorized users will not see the existence of this endpoint. + tags: + - dependabot + operationId: dependabot/repository-access-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/dependabot-repository-access-details" + examples: + default: + "$ref": "#/components/examples/dependabot-repository-access-details" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access + patch: + summary: Updates Dependabot's repository access list for an organization + description: |- + Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. + + > [!NOTE] + > This operation supports both server-to-server and user-to-server access. + Unauthorized users will not see the existence of this endpoint. + + **Example request body:** + ```json + { + "repository_ids_to_add": [123, 456], + "repository_ids_to_remove": [789] + } + ``` + tags: + - dependabot + operationId: dependabot/update-repository-access-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_ids_to_add: + type: array + items: + type: integer + description: List of repository IDs to add. + repository_ids_to_remove: + type: array + items: + type: integer + description: List of repository IDs to remove. + example: + repository_ids_to_add: + - 123 + - 456 + repository_ids_to_remove: + - 789 + examples: + '204': + summary: Example with a 'succeeded' status. + add-example: + summary: Add repositories + value: + repository_ids_to_add: + - 123 + - 456 + remove-example: + summary: Remove repositories + value: + repository_ids_to_remove: + - 789 + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access + "/orgs/{org}/dependabot/repository-access/default-level": + put: + summary: Set the default repository access level for Dependabot + description: |- + Sets the default level of repository access Dependabot will have while performing an update. Available values are: + - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. + - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. + + Unauthorized users will not see the existence of this endpoint. + + This operation supports both server-to-server and user-to-server access. + tags: + - dependabot + operationId: dependabot/set-repository-access-default-level + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + examples: + - internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access "/orgs/{org}/dependabot/secrets": get: summary: List organization secrets @@ -81860,30 +82071,6 @@ components: type: integer examples: - 10 - dependabot-repository-access-details: - title: Dependabot Repository Access Details - description: Information about repositories that Dependabot is able to access - in an organization - type: object - properties: - default_level: - type: - - string - - 'null' - description: The default repository access level for Dependabot updates. - enum: - - public - - internal - - - examples: - - internal - accessible_repositories: - type: array - items: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-repository" - additionalProperties: false budget: type: object properties: @@ -84982,6 +85169,30 @@ components: required: - date additionalProperties: true + dependabot-repository-access-details: + title: Dependabot Repository Access Details + description: Information about repositories that Dependabot is able to access + in an organization + type: object + properties: + default_level: + type: + - string + - 'null' + description: The default repository access level for Dependabot updates. + enum: + - public + - internal + - + examples: + - internal + accessible_repositories: + type: array + items: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-repository" + additionalProperties: false organization-dependabot-secret: title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. @@ -220462,78 +220673,6 @@ components: ~~~~~~==~==~~~==~==~~~~~~ ~~~~~~==~==~==~==~~~~~~ :~==~==~==~==~~ - dependabot-repository-access-details: - value: - default_level: public - accessible_repositories: - - id: 123456 - node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= - name: example-repo - full_name: octocat/example-repo - owner: - name: octocat - email: octo@github.com - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://avatars.githubusercontent.com/u/1?v=4 - gravatar_id: 1 - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat/example-repo - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - starred_at: '"2020-07-09T00:17:55Z"' - user_view_type: default - private: false - html_url: https://github.com/octocat/example-repo - description: This is an example repository. - fork: false - url: https://api.github.com/repos/octocat/example-repo - archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} - commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} - compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/example-repo/contributors - deployments_url: https://api.github.com/repos/octocat/example-repo/deployments - downloads_url: https://api.github.com/repos/octocat/example-repo/downloads - events_url: https://api.github.com/repos/octocat/example-repo/events - forks_url: https://api.github.com/repos/octocat/example-repo/forks - git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} - keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} - languages_url: https://api.github.com/repos/octocat/example-repo/languages - merges_url: https://api.github.com/repos/octocat/example-repo/merges - milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} - releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers - statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers - subscription_url: https://api.github.com/repos/octocat/example-repo/subscription - tags_url: https://api.github.com/repos/octocat/example-repo/tags - teams_url: https://api.github.com/repos/octocat/example-repo/teams - trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/example-repo/hooks get_all_budgets: value: budgets: @@ -222817,6 +222956,78 @@ components: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 + dependabot-repository-access-details: + value: + default_level: public + accessible_repositories: + - id: 123456 + node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= + name: example-repo + full_name: octocat/example-repo + owner: + name: octocat + email: octo@github.com + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://avatars.githubusercontent.com/u/1?v=4 + gravatar_id: 1 + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat/example-repo + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + starred_at: '"2020-07-09T00:17:55Z"' + user_view_type: default + private: false + html_url: https://github.com/octocat/example-repo + description: This is an example repository. + fork: false + url: https://api.github.com/repos/octocat/example-repo + archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} + commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} + compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/example-repo/contributors + deployments_url: https://api.github.com/repos/octocat/example-repo/deployments + downloads_url: https://api.github.com/repos/octocat/example-repo/downloads + events_url: https://api.github.com/repos/octocat/example-repo/events + forks_url: https://api.github.com/repos/octocat/example-repo/forks + git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} + keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} + languages_url: https://api.github.com/repos/octocat/example-repo/languages + merges_url: https://api.github.com/repos/octocat/example-repo/merges + milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} + releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers + statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers + subscription_url: https://api.github.com/repos/octocat/example-repo/subscription + tags_url: https://api.github.com/repos/octocat/example-repo/tags + teams_url: https://api.github.com/repos/octocat/example-repo/teams + trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/example-repo/hooks organization-dependabot-secret-paginated: value: total_count: 3 diff --git a/descriptions-next/api.github.com/api.github.com.2026-03-10.json b/descriptions-next/api.github.com/api.github.com.2026-03-10.json index 679fff26c6..c0e3412860 100644 --- a/descriptions-next/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions-next/api.github.com/api.github.com.2026-03-10.json @@ -3778,6 +3778,262 @@ } } }, + "/enterprises/{enterprise}/copilot/policies/coding_agent": { + "put": { + "summary": "Set the coding agent policy for an enterprise", + "description": "Sets the policy for Copilot coding agent usage across an enterprise.\n\nEnterprise owners can configure whether Copilot coding agent is enabled for all\norganizations, disabled for all organizations, configured by individual organization\nadmins, or enabled for selected organizations only.\n\nOnly enterprise owners can set the coding agent policy for their enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "description": "The coding agent policy configuration", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "policy_state": { + "type": "string", + "description": "The policy state for Copilot coding agent in the enterprise. Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, `enabled_for_selected_orgs`, or `configured_by_org_admins`.", + "enum": [ + "enabled_for_all_orgs", + "disabled_for_all_orgs", + "enabled_for_selected_orgs", + "configured_by_org_admins" + ] + } + }, + "required": [ + "policy_state" + ] + }, + "examples": { + "default": { + "summary": "Enable coding agent for all organizations", + "value": { + "policy_state": "enabled_for_all_orgs" + } + } + } + } + } + }, + "responses": { + "204": { + "$ref": "#/components/responses/no_content" + }, + "400": { + "$ref": "#/components/responses/bad_request" + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/enterprises/{enterprise}/copilot/policies/coding_agent/organizations": { + "post": { + "summary": "Add organizations to the enterprise coding agent policy", + "description": "Enables Copilot coding agent for the specified organizations within the enterprise.\n\nThe enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before\nusing this endpoint. Organizations can be specified by login or matched via custom properties.\n\nOnly organizations that have Copilot enabled and belong to the enterprise will be affected.\n\nOnly enterprise owners can add organizations to the coding agent policy.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/add-organizations-to-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "description": "The organizations to enable Copilot coding agent for", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "organizations": { + "type": "array", + "description": "List of organization logins within the enterprise to enable Copilot coding agent for.", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "array", + "description": "List of custom property filters to match organizations. Organizations matching any of the specified property name/value pairs will be included. This is a one-time operation, setting the property on an organization in the future will not automatically update its coding agent policy.", + "items": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the custom property to filter by." + }, + "values": { + "type": "array", + "description": "The values of the custom property to match.", + "items": { + "type": "string" + } + } + }, + "required": [ + "property_name", + "values" + ] + } + } + } + }, + "examples": { + "default": { + "summary": "Add organizations that match a login or have a custom property", + "value": { + "organizations": [ + "my-org-1", + "my-org-2" + ], + "custom_properties": [ + { + "property_name": "department", + "values": [ + "engineering", + "security" + ] + } + ] + } + } + } + } + } + }, + "responses": { + "204": { + "$ref": "#/components/responses/no_content" + }, + "400": { + "$ref": "#/components/responses/bad_request" + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "delete": { + "summary": "Remove organizations from the enterprise coding agent policy", + "description": "Disables Copilot coding agent for the specified organizations within the enterprise.\n\nThe enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before\nusing this endpoint. Organizations can be specified by login or matched via custom properties.\n\nOnly organizations that have Copilot enabled and belong to the enterprise will be affected.\n\nOnly enterprise owners can remove organizations from the coding agent policy.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/remove-organizations-from-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "description": "The organizations to disable Copilot coding agent for", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "organizations": { + "type": "array", + "description": "List of organization logins within the enterprise to disable Copilot coding agent for.", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "array", + "description": "List of custom property filters to match organizations. Organizations matching any of the specified property name/value pairs will be included. This is a one-time operation, setting the property on an organization in the future will not automatically update its coding agent policy.", + "items": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the custom property to filter by." + }, + "values": { + "type": "array", + "description": "The values of the custom property to match.", + "items": { + "type": "string" + } + } + }, + "required": [ + "property_name", + "values" + ] + } + } + } + }, + "examples": { + "default": { + "summary": "Remove organizations that match a login or have a custom property", + "value": { + "organizations": [ + "my-org-1", + "my-org-2" + ], + "custom_properties": [ + { + "property_name": "department", + "values": [ + "engineering", + "security" + ] + } + ] + } + } + } + } + } + }, + "responses": { + "204": { + "$ref": "#/components/responses/no_content" + }, + "400": { + "$ref": "#/components/responses/bad_request" + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -8148,238 +8404,6 @@ } } }, - "/organizations/{org}/dependabot/repository-access": { - "get": { - "summary": "Lists the repositories Dependabot can access in an organization", - "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", - "tags": [ - "dependabot" - ], - "operationId": "dependabot/repository-access-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "name": "page", - "in": "query", - "description": "The page number of results to fetch.", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "default": 1 - } - }, - { - "name": "per_page", - "in": "query", - "description": "Number of results per page.", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/dependabot-repository-access-details" - }, - "examples": { - "default": { - "$ref": "#/components/examples/dependabot-repository-access-details" - } - } - } - } - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" - } - }, - "patch": { - "summary": "Updates Dependabot's repository access list for an organization", - "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", - "tags": [ - "dependabot" - ], - "operationId": "dependabot/update-repository-access-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "repository_ids_to_add": { - "type": "array", - "items": { - "type": "integer" - }, - "description": "List of repository IDs to add." - }, - "repository_ids_to_remove": { - "type": "array", - "items": { - "type": "integer" - }, - "description": "List of repository IDs to remove." - } - }, - "example": { - "repository_ids_to_add": [ - 123, - 456 - ], - "repository_ids_to_remove": [ - 789 - ] - } - }, - "examples": { - "204": { - "summary": "Example with a 'succeeded' status." - }, - "add-example": { - "summary": "Add repositories", - "value": { - "repository_ids_to_add": [ - 123, - 456 - ] - } - }, - "remove-example": { - "summary": "Remove repositories", - "value": { - "repository_ids_to_remove": [ - 789 - ] - } - } - } - } - } - }, - "responses": { - "204": { - "description": "Response" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" - } - } - }, - "/organizations/{org}/dependabot/repository-access/default-level": { - "put": { - "summary": "Set the default repository access level for Dependabot", - "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", - "tags": [ - "dependabot" - ], - "operationId": "dependabot/set-repository-access-default-level", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "default_level": { - "type": "string", - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal" - ], - "examples": [ - "internal" - ] - } - }, - "required": [ - "default_level" - ] - }, - "examples": { - "204": { - "summary": "Example with a 'succeeded' status.", - "value": { - "default_level": "public" - } - } - } - } - } - }, - "responses": { - "204": { - "description": "Response" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" - } - } - }, "/organizations/{org}/settings/billing/budgets": { "get": { "summary": "Get all budgets for an organization", @@ -20032,6 +20056,238 @@ } } }, + "/orgs/{org}/dependabot/repository-access": { + "get": { + "summary": "Lists the repositories Dependabot can access in an organization", + "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/repository-access-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/dependabot-repository-access-details" + }, + "examples": { + "default": { + "$ref": "#/components/examples/dependabot-repository-access-details" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "repository-access" + } + }, + "patch": { + "summary": "Updates Dependabot's repository access list for an organization", + "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/update-repository-access-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_ids_to_add": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to add." + }, + "repository_ids_to_remove": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to remove." + } + }, + "example": { + "repository_ids_to_add": [ + 123, + 456 + ], + "repository_ids_to_remove": [ + 789 + ] + } + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status." + }, + "add-example": { + "summary": "Add repositories", + "value": { + "repository_ids_to_add": [ + 123, + 456 + ] + } + }, + "remove-example": { + "summary": "Remove repositories", + "value": { + "repository_ids_to_remove": [ + 789 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, + "/orgs/{org}/dependabot/repository-access/default-level": { + "put": { + "summary": "Set the default repository access level for Dependabot", + "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/set-repository-access-default-level", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "examples": [ + "internal" + ] + } + }, + "required": [ + "default_level" + ] + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status.", + "value": { + "default_level": "public" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, "/orgs/{org}/dependabot/secrets": { "get": { "summary": "List organization secrets", @@ -24086,6 +24342,11 @@ "items": { "$ref": "#/components/schemas/simple-repository" } + }, + "examples": { + "default": { + "$ref": "#/components/examples/minimal-repository-items" + } } } }, @@ -72637,6 +72898,11 @@ "items": { "$ref": "#/components/schemas/simple-repository" } + }, + "examples": { + "default": { + "$ref": "#/components/examples/minimal-repository-items" + } } } }, @@ -112620,42 +112886,6 @@ } } }, - "dependabot-repository-access-details": { - "title": "Dependabot Repository Access Details", - "description": "Information about repositories that Dependabot is able to access in an organization", - "type": "object", - "properties": { - "default_level": { - "type": [ - "string", - "null" - ], - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal", - null - ], - "examples": [ - "internal" - ] - }, - "accessible_repositories": { - "type": "array", - "items": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-repository" - } - ] - } - } - }, - "additionalProperties": false - }, "budget": { "type": "object", "properties": { @@ -116651,6 +116881,42 @@ ], "additionalProperties": true }, + "dependabot-repository-access-details": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": [ + "string", + "null" + ], + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal", + null + ], + "examples": [ + "internal" + ] + }, + "accessible_repositories": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-repository" + } + ] + } + } + }, + "additionalProperties": false + }, "organization-dependabot-secret": { "title": "Dependabot Secret for an Organization", "description": "Secrets for GitHub Dependabot for an organization.", @@ -298241,84 +298507,6 @@ "octocat": { "value": " MMM. .MMM\n MMMMMMMMMMMMMMMMMMM\n MMMMMMMMMMMMMMMMMMM ___________________________________\n MMMMMMMMMMMMMMMMMMMMM | |\n MMMMMMMMMMMMMMMMMMMMMMM | Avoid administrative distraction. |\n MMMMMMMMMMMMMMMMMMMMMMMM |_ _______________________________|\n MMMM::- -:::::::- -::MMMM |/\n MM~:~ 00~:::::~ 00~:~MM\n .. MMMMM::.00:::+:::.00::MMMMM ..\n .MM::::: ._. :::::MM.\n MMMM;:::::;MMMM\n -MM MMMMMMM\n ^ M+ MMMMMMMMM\n MMMMMMM MM MM MM\n MM MM MM MM\n MM MM MM MM\n .~~MM~MM~MM~MM~~.\n ~~~~MM:~MM~~~MM~:MM~~~~\n ~~~~~~==~==~~~==~==~~~~~~\n ~~~~~~==~==~==~==~~~~~~\n :~==~==~==~==~~\n" }, - "dependabot-repository-access-details": { - "value": { - "default_level": "public", - "accessible_repositories": [ - { - "id": 123456, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", - "name": "example-repo", - "full_name": "octocat/example-repo", - "owner": { - "name": "octocat", - "email": "octo@github.com", - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", - "gravatar_id": 1, - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat/example-repo", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false, - "starred_at": "\"2020-07-09T00:17:55Z\"", - "user_view_type": "default" - }, - "private": false, - "html_url": "https://github.com/octocat/example-repo", - "description": "This is an example repository.", - "fork": false, - "url": "https://api.github.com/repos/octocat/example-repo", - "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", - "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", - "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", - "events_url": "https://api.github.com/repos/octocat/example-repo/events", - "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", - "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", - "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", - "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", - "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", - "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", - "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" - } - ] - } - }, "get_all_budgets": { "value": { "budgets": [ @@ -301113,6 +301301,84 @@ } ] }, + "dependabot-repository-access-details": { + "value": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", + "owner": { + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" + }, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", + "fork": false, + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + } + ] + } + }, "organization-dependabot-secret-paginated": { "value": { "total_count": 3, @@ -302470,6 +302736,131 @@ "updated_at": "2015-07-06T15:33:38-07:00" } }, + "minimal-repository-items": { + "value": [ + { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "git_url": "git:github.com/octocat/Hello-World.git", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "ssh_url": "git@github.com:octocat/Hello-World.git", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "clone_url": "https://github.com/octocat/Hello-World.git", + "mirror_url": "git:git.example.com/octocat/Hello-World", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", + "svn_url": "https://svn.github.com/octocat/Hello-World", + "homepage": "https://github.com", + "language": null, + "forks_count": 9, + "stargazers_count": 80, + "watchers_count": 80, + "size": 108, + "default_branch": "master", + "open_issues_count": 0, + "is_template": false, + "topics": [ + "octocat", + "atom", + "electron", + "api" + ], + "has_issues": true, + "has_projects": true, + "has_wiki": true, + "has_pages": false, + "has_downloads": true, + "has_discussions": false, + "archived": false, + "disabled": false, + "visibility": "public", + "pushed_at": "2011-01-26T19:06:43Z", + "created_at": "2011-01-26T19:01:12Z", + "updated_at": "2011-01-26T19:14:43Z", + "permissions": { + "admin": false, + "push": false, + "pull": true + }, + "security_and_analysis": { + "advanced_security": { + "status": "enabled" + }, + "secret_scanning": { + "status": "enabled" + }, + "secret_scanning_push_protection": { + "status": "disabled" + }, + "secret_scanning_non_provider_patterns": { + "status": "disabled" + }, + "secret_scanning_delegated_alert_dismissal": { + "status": "disabled" + } + } + } + ] + }, "organization-role-list": { "value": { "total_count": 2, @@ -302693,131 +303084,6 @@ } ] }, - "minimal-repository-items": { - "value": [ - { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "git_url": "git:github.com/octocat/Hello-World.git", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "ssh_url": "git@github.com:octocat/Hello-World.git", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "clone_url": "https://github.com/octocat/Hello-World.git", - "mirror_url": "git:git.example.com/octocat/Hello-World", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks", - "svn_url": "https://svn.github.com/octocat/Hello-World", - "homepage": "https://github.com", - "language": null, - "forks_count": 9, - "stargazers_count": 80, - "watchers_count": 80, - "size": 108, - "default_branch": "master", - "open_issues_count": 0, - "is_template": false, - "topics": [ - "octocat", - "atom", - "electron", - "api" - ], - "has_issues": true, - "has_projects": true, - "has_wiki": true, - "has_pages": false, - "has_downloads": true, - "has_discussions": false, - "archived": false, - "disabled": false, - "visibility": "public", - "pushed_at": "2011-01-26T19:06:43Z", - "created_at": "2011-01-26T19:01:12Z", - "updated_at": "2011-01-26T19:14:43Z", - "permissions": { - "admin": false, - "push": false, - "pull": true - }, - "security_and_analysis": { - "advanced_security": { - "status": "enabled" - }, - "secret_scanning": { - "status": "enabled" - }, - "secret_scanning_push_protection": { - "status": "disabled" - }, - "secret_scanning_non_provider_patterns": { - "status": "disabled" - }, - "secret_scanning_delegated_alert_dismissal": { - "status": "disabled" - } - } - } - ] - }, "org-pat-grant-paginated": { "value": [ { diff --git a/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml b/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml index 17fd8e7887..d9b4b39691 100644 --- a/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml @@ -2727,6 +2727,217 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/policies/coding_agent": + put: + summary: Set the coding agent policy for an enterprise + description: |- + Sets the policy for Copilot coding agent usage across an enterprise. + + Enterprise owners can configure whether Copilot coding agent is enabled for all + organizations, disabled for all organizations, configured by individual organization + admins, or enabled for selected organizations only. + + Only enterprise owners can set the coding agent policy for their enterprise. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/set-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + description: The coding agent policy configuration + required: true + content: + application/json: + schema: + type: object + properties: + policy_state: + type: string + description: The policy state for Copilot coding agent in the enterprise. + Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, + `enabled_for_selected_orgs`, or `configured_by_org_admins`. + enum: + - enabled_for_all_orgs + - disabled_for_all_orgs + - enabled_for_selected_orgs + - configured_by_org_admins + required: + - policy_state + examples: + default: + summary: Enable coding agent for all organizations + value: + policy_state: enabled_for_all_orgs + responses: + '204': + "$ref": "#/components/responses/no_content" + '400': + "$ref": "#/components/responses/bad_request" + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management + "/enterprises/{enterprise}/copilot/policies/coding_agent/organizations": + post: + summary: Add organizations to the enterprise coding agent policy + description: |- + Enables Copilot coding agent for the specified organizations within the enterprise. + + The enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before + using this endpoint. Organizations can be specified by login or matched via custom properties. + + Only organizations that have Copilot enabled and belong to the enterprise will be affected. + + Only enterprise owners can add organizations to the coding agent policy. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/add-organizations-to-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + description: The organizations to enable Copilot coding agent for + required: true + content: + application/json: + schema: + type: object + properties: + organizations: + type: array + description: List of organization logins within the enterprise to + enable Copilot coding agent for. + items: + type: string + custom_properties: + type: array + description: List of custom property filters to match organizations. + Organizations matching any of the specified property name/value + pairs will be included. This is a one-time operation, setting + the property on an organization in the future will not automatically + update its coding agent policy. + items: + type: object + properties: + property_name: + type: string + description: The name of the custom property to filter by. + values: + type: array + description: The values of the custom property to match. + items: + type: string + required: + - property_name + - values + examples: + default: + summary: Add organizations that match a login or have a custom property + value: + organizations: + - my-org-1 + - my-org-2 + custom_properties: + - property_name: department + values: + - engineering + - security + responses: + '204': + "$ref": "#/components/responses/no_content" + '400': + "$ref": "#/components/responses/bad_request" + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management + delete: + summary: Remove organizations from the enterprise coding agent policy + description: |- + Disables Copilot coding agent for the specified organizations within the enterprise. + + The enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before + using this endpoint. Organizations can be specified by login or matched via custom properties. + + Only organizations that have Copilot enabled and belong to the enterprise will be affected. + + Only enterprise owners can remove organizations from the coding agent policy. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/remove-organizations-from-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + description: The organizations to disable Copilot coding agent for + required: true + content: + application/json: + schema: + type: object + properties: + organizations: + type: array + description: List of organization logins within the enterprise to + disable Copilot coding agent for. + items: + type: string + custom_properties: + type: array + description: List of custom property filters to match organizations. + Organizations matching any of the specified property name/value + pairs will be included. This is a one-time operation, setting + the property on an organization in the future will not automatically + update its coding agent policy. + items: + type: object + properties: + property_name: + type: string + description: The name of the custom property to filter by. + values: + type: array + description: The values of the custom property to match. + items: + type: string + required: + - property_name + - values + examples: + default: + summary: Remove organizations that match a login or have a custom + property + value: + organizations: + - my-org-1 + - my-org-2 + custom_properties: + - property_name: department + values: + - engineering + - security + responses: + '204': + "$ref": "#/components/responses/no_content" + '400': + "$ref": "#/components/responses/bad_request" + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -5724,185 +5935,6 @@ paths: enabledForGitHubApps: true category: actions subcategory: cache - "/organizations/{org}/dependabot/repository-access": - get: - summary: Lists the repositories Dependabot can access in an organization - description: |- - Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. - Unauthorized users will not see the existence of this endpoint. - tags: - - dependabot - operationId: dependabot/repository-access-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization - parameters: - - "$ref": "#/components/parameters/org" - - name: page - in: query - description: The page number of results to fetch. - required: false - schema: - type: integer - minimum: 1 - default: 1 - - name: per_page - in: query - description: Number of results per page. - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/dependabot-repository-access-details" - examples: - default: - "$ref": "#/components/examples/dependabot-repository-access-details" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access - patch: - summary: Updates Dependabot's repository access list for an organization - description: |- - Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. - - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. - Unauthorized users will not see the existence of this endpoint. - - **Example request body:** - ```json - { - "repository_ids_to_add": [123, 456], - "repository_ids_to_remove": [789] - } - ``` - tags: - - dependabot - operationId: dependabot/update-repository-access-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - repository_ids_to_add: - type: array - items: - type: integer - description: List of repository IDs to add. - repository_ids_to_remove: - type: array - items: - type: integer - description: List of repository IDs to remove. - example: - repository_ids_to_add: - - 123 - - 456 - repository_ids_to_remove: - - 789 - examples: - '204': - summary: Example with a 'succeeded' status. - add-example: - summary: Add repositories - value: - repository_ids_to_add: - - 123 - - 456 - remove-example: - summary: Remove repositories - value: - repository_ids_to_remove: - - 789 - responses: - '204': - description: Response - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access - "/organizations/{org}/dependabot/repository-access/default-level": - put: - summary: Set the default repository access level for Dependabot - description: |- - Sets the default level of repository access Dependabot will have while performing an update. Available values are: - - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. - - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. - - Unauthorized users will not see the existence of this endpoint. - - This operation supports both server-to-server and user-to-server access. - tags: - - dependabot - operationId: dependabot/set-repository-access-default-level - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot - parameters: - - "$ref": "#/components/parameters/org" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - default_level: - type: string - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - examples: - - internal - required: - - default_level - examples: - '204': - summary: Example with a 'succeeded' status. - value: - default_level: public - responses: - '204': - description: Response - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access "/organizations/{org}/settings/billing/budgets": get: summary: Get all budgets for an organization @@ -14625,6 +14657,185 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: alerts + "/orgs/{org}/dependabot/repository-access": + get: + summary: Lists the repositories Dependabot can access in an organization + description: |- + Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. + > [!NOTE] + > This operation supports both server-to-server and user-to-server access. + Unauthorized users will not see the existence of this endpoint. + tags: + - dependabot + operationId: dependabot/repository-access-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/dependabot-repository-access-details" + examples: + default: + "$ref": "#/components/examples/dependabot-repository-access-details" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access + patch: + summary: Updates Dependabot's repository access list for an organization + description: |- + Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. + + > [!NOTE] + > This operation supports both server-to-server and user-to-server access. + Unauthorized users will not see the existence of this endpoint. + + **Example request body:** + ```json + { + "repository_ids_to_add": [123, 456], + "repository_ids_to_remove": [789] + } + ``` + tags: + - dependabot + operationId: dependabot/update-repository-access-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_ids_to_add: + type: array + items: + type: integer + description: List of repository IDs to add. + repository_ids_to_remove: + type: array + items: + type: integer + description: List of repository IDs to remove. + example: + repository_ids_to_add: + - 123 + - 456 + repository_ids_to_remove: + - 789 + examples: + '204': + summary: Example with a 'succeeded' status. + add-example: + summary: Add repositories + value: + repository_ids_to_add: + - 123 + - 456 + remove-example: + summary: Remove repositories + value: + repository_ids_to_remove: + - 789 + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access + "/orgs/{org}/dependabot/repository-access/default-level": + put: + summary: Set the default repository access level for Dependabot + description: |- + Sets the default level of repository access Dependabot will have while performing an update. Available values are: + - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. + - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. + + Unauthorized users will not see the existence of this endpoint. + + This operation supports both server-to-server and user-to-server access. + tags: + - dependabot + operationId: dependabot/set-repository-access-default-level + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + examples: + - internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access "/orgs/{org}/dependabot/secrets": get: summary: List organization secrets @@ -17500,6 +17711,9 @@ paths: type: array items: "$ref": "#/components/schemas/simple-repository" + examples: + default: + "$ref": "#/components/examples/minimal-repository-items" headers: Link: "$ref": "#/components/headers/link" @@ -52734,6 +52948,9 @@ paths: type: array items: "$ref": "#/components/schemas/simple-repository" + examples: + default: + "$ref": "#/components/examples/minimal-repository-items" headers: Link: "$ref": "#/components/headers/link" @@ -81442,30 +81659,6 @@ components: type: integer examples: - 10 - dependabot-repository-access-details: - title: Dependabot Repository Access Details - description: Information about repositories that Dependabot is able to access - in an organization - type: object - properties: - default_level: - type: - - string - - 'null' - description: The default repository access level for Dependabot updates. - enum: - - public - - internal - - - examples: - - internal - accessible_repositories: - type: array - items: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-repository" - additionalProperties: false budget: type: object properties: @@ -84558,6 +84751,30 @@ components: required: - date additionalProperties: true + dependabot-repository-access-details: + title: Dependabot Repository Access Details + description: Information about repositories that Dependabot is able to access + in an organization + type: object + properties: + default_level: + type: + - string + - 'null' + description: The default repository access level for Dependabot updates. + enum: + - public + - internal + - + examples: + - internal + accessible_repositories: + type: array + items: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-repository" + additionalProperties: false organization-dependabot-secret: title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. @@ -219763,78 +219980,6 @@ components: ~~~~~~==~==~~~==~==~~~~~~ ~~~~~~==~==~==~==~~~~~~ :~==~==~==~==~~ - dependabot-repository-access-details: - value: - default_level: public - accessible_repositories: - - id: 123456 - node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= - name: example-repo - full_name: octocat/example-repo - owner: - name: octocat - email: octo@github.com - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://avatars.githubusercontent.com/u/1?v=4 - gravatar_id: 1 - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat/example-repo - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - starred_at: '"2020-07-09T00:17:55Z"' - user_view_type: default - private: false - html_url: https://github.com/octocat/example-repo - description: This is an example repository. - fork: false - url: https://api.github.com/repos/octocat/example-repo - archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} - commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} - compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/example-repo/contributors - deployments_url: https://api.github.com/repos/octocat/example-repo/deployments - downloads_url: https://api.github.com/repos/octocat/example-repo/downloads - events_url: https://api.github.com/repos/octocat/example-repo/events - forks_url: https://api.github.com/repos/octocat/example-repo/forks - git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} - keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} - languages_url: https://api.github.com/repos/octocat/example-repo/languages - merges_url: https://api.github.com/repos/octocat/example-repo/merges - milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} - releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers - statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers - subscription_url: https://api.github.com/repos/octocat/example-repo/subscription - tags_url: https://api.github.com/repos/octocat/example-repo/tags - teams_url: https://api.github.com/repos/octocat/example-repo/teams - trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/example-repo/hooks get_all_budgets: value: budgets: @@ -222117,6 +222262,78 @@ components: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 + dependabot-repository-access-details: + value: + default_level: public + accessible_repositories: + - id: 123456 + node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= + name: example-repo + full_name: octocat/example-repo + owner: + name: octocat + email: octo@github.com + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://avatars.githubusercontent.com/u/1?v=4 + gravatar_id: 1 + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat/example-repo + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + starred_at: '"2020-07-09T00:17:55Z"' + user_view_type: default + private: false + html_url: https://github.com/octocat/example-repo + description: This is an example repository. + fork: false + url: https://api.github.com/repos/octocat/example-repo + archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} + commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} + compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/example-repo/contributors + deployments_url: https://api.github.com/repos/octocat/example-repo/deployments + downloads_url: https://api.github.com/repos/octocat/example-repo/downloads + events_url: https://api.github.com/repos/octocat/example-repo/events + forks_url: https://api.github.com/repos/octocat/example-repo/forks + git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} + keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} + languages_url: https://api.github.com/repos/octocat/example-repo/languages + merges_url: https://api.github.com/repos/octocat/example-repo/merges + milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} + releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers + statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers + subscription_url: https://api.github.com/repos/octocat/example-repo/subscription + tags_url: https://api.github.com/repos/octocat/example-repo/tags + teams_url: https://api.github.com/repos/octocat/example-repo/teams + trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/example-repo/hooks organization-dependabot-secret-paginated: value: total_count: 3 @@ -223289,6 +223506,118 @@ components: url: https://api.github.com/orgs/octo-org/migrations/79 created_at: '2015-07-06T15:33:38-07:00' updated_at: '2015-07-06T15:33:38-07:00' + minimal-repository-items: + value: + - id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + git_url: git:github.com/octocat/Hello-World.git + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + ssh_url: git@github.com:octocat/Hello-World.git + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + clone_url: https://github.com/octocat/Hello-World.git + mirror_url: git:git.example.com/octocat/Hello-World + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + svn_url: https://svn.github.com/octocat/Hello-World + homepage: https://github.com + language: + forks_count: 9 + stargazers_count: 80 + watchers_count: 80 + size: 108 + default_branch: master + open_issues_count: 0 + is_template: false + topics: + - octocat + - atom + - electron + - api + has_issues: true + has_projects: true + has_wiki: true + has_pages: false + has_downloads: true + has_discussions: false + archived: false + disabled: false + visibility: public + pushed_at: '2011-01-26T19:06:43Z' + created_at: '2011-01-26T19:01:12Z' + updated_at: '2011-01-26T19:14:43Z' + permissions: + admin: false + push: false + pull: true + security_and_analysis: + advanced_security: + status: enabled + secret_scanning: + status: enabled + secret_scanning_push_protection: + status: disabled + secret_scanning_non_provider_patterns: + status: disabled + secret_scanning_delegated_alert_dismissal: + status: disabled organization-role-list: value: total_count: 2 @@ -223473,118 +223802,6 @@ components: token_expired: false token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: - minimal-repository-items: - value: - - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - git_url: git:github.com/octocat/Hello-World.git - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - ssh_url: git@github.com:octocat/Hello-World.git - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - clone_url: https://github.com/octocat/Hello-World.git - mirror_url: git:git.example.com/octocat/Hello-World - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - svn_url: https://svn.github.com/octocat/Hello-World - homepage: https://github.com - language: - forks_count: 9 - stargazers_count: 80 - watchers_count: 80 - size: 108 - default_branch: master - open_issues_count: 0 - is_template: false - topics: - - octocat - - atom - - electron - - api - has_issues: true - has_projects: true - has_wiki: true - has_pages: false - has_downloads: true - has_discussions: false - archived: false - disabled: false - visibility: public - pushed_at: '2011-01-26T19:06:43Z' - created_at: '2011-01-26T19:01:12Z' - updated_at: '2011-01-26T19:14:43Z' - permissions: - admin: false - push: false - pull: true - security_and_analysis: - advanced_security: - status: enabled - secret_scanning: - status: enabled - secret_scanning_push_protection: - status: disabled - secret_scanning_non_provider_patterns: - status: disabled - secret_scanning_delegated_alert_dismissal: - status: disabled org-pat-grant-paginated: value: - id: 25381 diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index f020daa3f4..386019d0f2 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -3792,6 +3792,262 @@ } } }, + "/enterprises/{enterprise}/copilot/policies/coding_agent": { + "put": { + "summary": "Set the coding agent policy for an enterprise", + "description": "Sets the policy for Copilot coding agent usage across an enterprise.\n\nEnterprise owners can configure whether Copilot coding agent is enabled for all\norganizations, disabled for all organizations, configured by individual organization\nadmins, or enabled for selected organizations only.\n\nOnly enterprise owners can set the coding agent policy for their enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "description": "The coding agent policy configuration", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "policy_state": { + "type": "string", + "description": "The policy state for Copilot coding agent in the enterprise. Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, `enabled_for_selected_orgs`, or `configured_by_org_admins`.", + "enum": [ + "enabled_for_all_orgs", + "disabled_for_all_orgs", + "enabled_for_selected_orgs", + "configured_by_org_admins" + ] + } + }, + "required": [ + "policy_state" + ] + }, + "examples": { + "default": { + "summary": "Enable coding agent for all organizations", + "value": { + "policy_state": "enabled_for_all_orgs" + } + } + } + } + } + }, + "responses": { + "204": { + "$ref": "#/components/responses/no_content" + }, + "400": { + "$ref": "#/components/responses/bad_request" + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/enterprises/{enterprise}/copilot/policies/coding_agent/organizations": { + "post": { + "summary": "Add organizations to the enterprise coding agent policy", + "description": "Enables Copilot coding agent for the specified organizations within the enterprise.\n\nThe enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before\nusing this endpoint. Organizations can be specified by login or matched via custom properties.\n\nOnly organizations that have Copilot enabled and belong to the enterprise will be affected.\n\nOnly enterprise owners can add organizations to the coding agent policy.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/add-organizations-to-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "description": "The organizations to enable Copilot coding agent for", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "organizations": { + "type": "array", + "description": "List of organization logins within the enterprise to enable Copilot coding agent for.", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "array", + "description": "List of custom property filters to match organizations. Organizations matching any of the specified property name/value pairs will be included. This is a one-time operation, setting the property on an organization in the future will not automatically update its coding agent policy.", + "items": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the custom property to filter by." + }, + "values": { + "type": "array", + "description": "The values of the custom property to match.", + "items": { + "type": "string" + } + } + }, + "required": [ + "property_name", + "values" + ] + } + } + } + }, + "examples": { + "default": { + "summary": "Add organizations that match a login or have a custom property", + "value": { + "organizations": [ + "my-org-1", + "my-org-2" + ], + "custom_properties": [ + { + "property_name": "department", + "values": [ + "engineering", + "security" + ] + } + ] + } + } + } + } + } + }, + "responses": { + "204": { + "$ref": "#/components/responses/no_content" + }, + "400": { + "$ref": "#/components/responses/bad_request" + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "delete": { + "summary": "Remove organizations from the enterprise coding agent policy", + "description": "Disables Copilot coding agent for the specified organizations within the enterprise.\n\nThe enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before\nusing this endpoint. Organizations can be specified by login or matched via custom properties.\n\nOnly organizations that have Copilot enabled and belong to the enterprise will be affected.\n\nOnly enterprise owners can remove organizations from the coding agent policy.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/remove-organizations-from-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "description": "The organizations to disable Copilot coding agent for", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "organizations": { + "type": "array", + "description": "List of organization logins within the enterprise to disable Copilot coding agent for.", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "array", + "description": "List of custom property filters to match organizations. Organizations matching any of the specified property name/value pairs will be included. This is a one-time operation, setting the property on an organization in the future will not automatically update its coding agent policy.", + "items": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the custom property to filter by." + }, + "values": { + "type": "array", + "description": "The values of the custom property to match.", + "items": { + "type": "string" + } + } + }, + "required": [ + "property_name", + "values" + ] + } + } + } + }, + "examples": { + "default": { + "summary": "Remove organizations that match a login or have a custom property", + "value": { + "organizations": [ + "my-org-1", + "my-org-2" + ], + "custom_properties": [ + { + "property_name": "department", + "values": [ + "engineering", + "security" + ] + } + ] + } + } + } + } + } + }, + "responses": { + "204": { + "$ref": "#/components/responses/no_content" + }, + "400": { + "$ref": "#/components/responses/bad_request" + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -8162,238 +8418,6 @@ } } }, - "/organizations/{org}/dependabot/repository-access": { - "get": { - "summary": "Lists the repositories Dependabot can access in an organization", - "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", - "tags": [ - "dependabot" - ], - "operationId": "dependabot/repository-access-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "name": "page", - "in": "query", - "description": "The page number of results to fetch.", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "default": 1 - } - }, - { - "name": "per_page", - "in": "query", - "description": "Number of results per page.", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/dependabot-repository-access-details" - }, - "examples": { - "default": { - "$ref": "#/components/examples/dependabot-repository-access-details" - } - } - } - } - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" - } - }, - "patch": { - "summary": "Updates Dependabot's repository access list for an organization", - "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", - "tags": [ - "dependabot" - ], - "operationId": "dependabot/update-repository-access-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "repository_ids_to_add": { - "type": "array", - "items": { - "type": "integer" - }, - "description": "List of repository IDs to add." - }, - "repository_ids_to_remove": { - "type": "array", - "items": { - "type": "integer" - }, - "description": "List of repository IDs to remove." - } - }, - "example": { - "repository_ids_to_add": [ - 123, - 456 - ], - "repository_ids_to_remove": [ - 789 - ] - } - }, - "examples": { - "204": { - "summary": "Example with a 'succeeded' status." - }, - "add-example": { - "summary": "Add repositories", - "value": { - "repository_ids_to_add": [ - 123, - 456 - ] - } - }, - "remove-example": { - "summary": "Remove repositories", - "value": { - "repository_ids_to_remove": [ - 789 - ] - } - } - } - } - } - }, - "responses": { - "204": { - "description": "Response" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" - } - } - }, - "/organizations/{org}/dependabot/repository-access/default-level": { - "put": { - "summary": "Set the default repository access level for Dependabot", - "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", - "tags": [ - "dependabot" - ], - "operationId": "dependabot/set-repository-access-default-level", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "default_level": { - "type": "string", - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal" - ], - "examples": [ - "internal" - ] - } - }, - "required": [ - "default_level" - ] - }, - "examples": { - "204": { - "summary": "Example with a 'succeeded' status.", - "value": { - "default_level": "public" - } - } - } - } - } - }, - "responses": { - "204": { - "description": "Response" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "$ref": "#/components/responses/not_found" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" - } - } - }, "/organizations/{org}/settings/billing/budgets": { "get": { "summary": "Get all budgets for an organization", @@ -20176,6 +20200,238 @@ } } }, + "/orgs/{org}/dependabot/repository-access": { + "get": { + "summary": "Lists the repositories Dependabot can access in an organization", + "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/repository-access-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/dependabot-repository-access-details" + }, + "examples": { + "default": { + "$ref": "#/components/examples/dependabot-repository-access-details" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "repository-access" + } + }, + "patch": { + "summary": "Updates Dependabot's repository access list for an organization", + "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/update-repository-access-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_ids_to_add": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to add." + }, + "repository_ids_to_remove": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to remove." + } + }, + "example": { + "repository_ids_to_add": [ + 123, + 456 + ], + "repository_ids_to_remove": [ + 789 + ] + } + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status." + }, + "add-example": { + "summary": "Add repositories", + "value": { + "repository_ids_to_add": [ + 123, + 456 + ] + } + }, + "remove-example": { + "summary": "Remove repositories", + "value": { + "repository_ids_to_remove": [ + 789 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, + "/orgs/{org}/dependabot/repository-access/default-level": { + "put": { + "summary": "Set the default repository access level for Dependabot", + "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/set-repository-access-default-level", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "examples": [ + "internal" + ] + } + }, + "required": [ + "default_level" + ] + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status.", + "value": { + "default_level": "public" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, "/orgs/{org}/dependabot/secrets": { "get": { "summary": "List organization secrets", @@ -113922,42 +114178,6 @@ } } }, - "dependabot-repository-access-details": { - "title": "Dependabot Repository Access Details", - "description": "Information about repositories that Dependabot is able to access in an organization", - "type": "object", - "properties": { - "default_level": { - "type": [ - "string", - "null" - ], - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal", - null - ], - "examples": [ - "internal" - ] - }, - "accessible_repositories": { - "type": "array", - "items": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-repository" - } - ] - } - } - }, - "additionalProperties": false - }, "budget": { "type": "object", "properties": { @@ -117972,6 +118192,42 @@ ], "additionalProperties": true }, + "dependabot-repository-access-details": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": [ + "string", + "null" + ], + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal", + null + ], + "examples": [ + "internal" + ] + }, + "accessible_repositories": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-repository" + } + ] + } + } + }, + "additionalProperties": false + }, "organization-dependabot-secret": { "title": "Dependabot Secret for an Organization", "description": "Secrets for GitHub Dependabot for an organization.", @@ -301010,84 +301266,6 @@ "octocat": { "value": " MMM. .MMM\n MMMMMMMMMMMMMMMMMMM\n MMMMMMMMMMMMMMMMMMM ___________________________________\n MMMMMMMMMMMMMMMMMMMMM | |\n MMMMMMMMMMMMMMMMMMMMMMM | Avoid administrative distraction. |\n MMMMMMMMMMMMMMMMMMMMMMMM |_ _______________________________|\n MMMM::- -:::::::- -::MMMM |/\n MM~:~ 00~:::::~ 00~:~MM\n .. MMMMM::.00:::+:::.00::MMMMM ..\n .MM::::: ._. :::::MM.\n MMMM;:::::;MMMM\n -MM MMMMMMM\n ^ M+ MMMMMMMMM\n MMMMMMM MM MM MM\n MM MM MM MM\n MM MM MM MM\n .~~MM~MM~MM~MM~~.\n ~~~~MM:~MM~~~MM~:MM~~~~\n ~~~~~~==~==~~~==~==~~~~~~\n ~~~~~~==~==~==~==~~~~~~\n :~==~==~==~==~~\n" }, - "dependabot-repository-access-details": { - "value": { - "default_level": "public", - "accessible_repositories": [ - { - "id": 123456, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", - "name": "example-repo", - "full_name": "octocat/example-repo", - "owner": { - "name": "octocat", - "email": "octo@github.com", - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", - "gravatar_id": 1, - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat/example-repo", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false, - "starred_at": "\"2020-07-09T00:17:55Z\"", - "user_view_type": "default" - }, - "private": false, - "html_url": "https://github.com/octocat/example-repo", - "description": "This is an example repository.", - "fork": false, - "url": "https://api.github.com/repos/octocat/example-repo", - "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", - "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", - "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", - "events_url": "https://api.github.com/repos/octocat/example-repo/events", - "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", - "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", - "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", - "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", - "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", - "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", - "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" - } - ] - } - }, "get_all_budgets": { "value": { "budgets": [ @@ -303895,6 +304073,84 @@ } ] }, + "dependabot-repository-access-details": { + "value": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", + "owner": { + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" + }, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", + "fork": false, + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + } + ] + } + }, "organization-dependabot-secret-paginated": { "value": { "total_count": 3, diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 1d24bdf7da..121dbdf0ab 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -2735,6 +2735,217 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/policies/coding_agent": + put: + summary: Set the coding agent policy for an enterprise + description: |- + Sets the policy for Copilot coding agent usage across an enterprise. + + Enterprise owners can configure whether Copilot coding agent is enabled for all + organizations, disabled for all organizations, configured by individual organization + admins, or enabled for selected organizations only. + + Only enterprise owners can set the coding agent policy for their enterprise. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/set-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + description: The coding agent policy configuration + required: true + content: + application/json: + schema: + type: object + properties: + policy_state: + type: string + description: The policy state for Copilot coding agent in the enterprise. + Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, + `enabled_for_selected_orgs`, or `configured_by_org_admins`. + enum: + - enabled_for_all_orgs + - disabled_for_all_orgs + - enabled_for_selected_orgs + - configured_by_org_admins + required: + - policy_state + examples: + default: + summary: Enable coding agent for all organizations + value: + policy_state: enabled_for_all_orgs + responses: + '204': + "$ref": "#/components/responses/no_content" + '400': + "$ref": "#/components/responses/bad_request" + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management + "/enterprises/{enterprise}/copilot/policies/coding_agent/organizations": + post: + summary: Add organizations to the enterprise coding agent policy + description: |- + Enables Copilot coding agent for the specified organizations within the enterprise. + + The enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before + using this endpoint. Organizations can be specified by login or matched via custom properties. + + Only organizations that have Copilot enabled and belong to the enterprise will be affected. + + Only enterprise owners can add organizations to the coding agent policy. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/add-organizations-to-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + description: The organizations to enable Copilot coding agent for + required: true + content: + application/json: + schema: + type: object + properties: + organizations: + type: array + description: List of organization logins within the enterprise to + enable Copilot coding agent for. + items: + type: string + custom_properties: + type: array + description: List of custom property filters to match organizations. + Organizations matching any of the specified property name/value + pairs will be included. This is a one-time operation, setting + the property on an organization in the future will not automatically + update its coding agent policy. + items: + type: object + properties: + property_name: + type: string + description: The name of the custom property to filter by. + values: + type: array + description: The values of the custom property to match. + items: + type: string + required: + - property_name + - values + examples: + default: + summary: Add organizations that match a login or have a custom property + value: + organizations: + - my-org-1 + - my-org-2 + custom_properties: + - property_name: department + values: + - engineering + - security + responses: + '204': + "$ref": "#/components/responses/no_content" + '400': + "$ref": "#/components/responses/bad_request" + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management + delete: + summary: Remove organizations from the enterprise coding agent policy + description: |- + Disables Copilot coding agent for the specified organizations within the enterprise. + + The enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before + using this endpoint. Organizations can be specified by login or matched via custom properties. + + Only organizations that have Copilot enabled and belong to the enterprise will be affected. + + Only enterprise owners can remove organizations from the coding agent policy. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/remove-organizations-from-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + description: The organizations to disable Copilot coding agent for + required: true + content: + application/json: + schema: + type: object + properties: + organizations: + type: array + description: List of organization logins within the enterprise to + disable Copilot coding agent for. + items: + type: string + custom_properties: + type: array + description: List of custom property filters to match organizations. + Organizations matching any of the specified property name/value + pairs will be included. This is a one-time operation, setting + the property on an organization in the future will not automatically + update its coding agent policy. + items: + type: object + properties: + property_name: + type: string + description: The name of the custom property to filter by. + values: + type: array + description: The values of the custom property to match. + items: + type: string + required: + - property_name + - values + examples: + default: + summary: Remove organizations that match a login or have a custom + property + value: + organizations: + - my-org-1 + - my-org-2 + custom_properties: + - property_name: department + values: + - engineering + - security + responses: + '204': + "$ref": "#/components/responses/no_content" + '400': + "$ref": "#/components/responses/bad_request" + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -5732,185 +5943,6 @@ paths: enabledForGitHubApps: true category: actions subcategory: cache - "/organizations/{org}/dependabot/repository-access": - get: - summary: Lists the repositories Dependabot can access in an organization - description: |- - Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. - Unauthorized users will not see the existence of this endpoint. - tags: - - dependabot - operationId: dependabot/repository-access-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization - parameters: - - "$ref": "#/components/parameters/org" - - name: page - in: query - description: The page number of results to fetch. - required: false - schema: - type: integer - minimum: 1 - default: 1 - - name: per_page - in: query - description: Number of results per page. - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/dependabot-repository-access-details" - examples: - default: - "$ref": "#/components/examples/dependabot-repository-access-details" - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access - patch: - summary: Updates Dependabot's repository access list for an organization - description: |- - Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. - - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. - Unauthorized users will not see the existence of this endpoint. - - **Example request body:** - ```json - { - "repository_ids_to_add": [123, 456], - "repository_ids_to_remove": [789] - } - ``` - tags: - - dependabot - operationId: dependabot/update-repository-access-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - repository_ids_to_add: - type: array - items: - type: integer - description: List of repository IDs to add. - repository_ids_to_remove: - type: array - items: - type: integer - description: List of repository IDs to remove. - example: - repository_ids_to_add: - - 123 - - 456 - repository_ids_to_remove: - - 789 - examples: - '204': - summary: Example with a 'succeeded' status. - add-example: - summary: Add repositories - value: - repository_ids_to_add: - - 123 - - 456 - remove-example: - summary: Remove repositories - value: - repository_ids_to_remove: - - 789 - responses: - '204': - description: Response - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access - "/organizations/{org}/dependabot/repository-access/default-level": - put: - summary: Set the default repository access level for Dependabot - description: |- - Sets the default level of repository access Dependabot will have while performing an update. Available values are: - - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. - - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. - - Unauthorized users will not see the existence of this endpoint. - - This operation supports both server-to-server and user-to-server access. - tags: - - dependabot - operationId: dependabot/set-repository-access-default-level - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot - parameters: - - "$ref": "#/components/parameters/org" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - default_level: - type: string - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - examples: - - internal - required: - - default_level - examples: - '204': - summary: Example with a 'succeeded' status. - value: - default_level: public - responses: - '204': - description: Response - '403': - "$ref": "#/components/responses/forbidden" - '404': - "$ref": "#/components/responses/not_found" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access "/organizations/{org}/settings/billing/budgets": get: summary: Get all budgets for an organization @@ -14713,6 +14745,185 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: alerts + "/orgs/{org}/dependabot/repository-access": + get: + summary: Lists the repositories Dependabot can access in an organization + description: |- + Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. + > [!NOTE] + > This operation supports both server-to-server and user-to-server access. + Unauthorized users will not see the existence of this endpoint. + tags: + - dependabot + operationId: dependabot/repository-access-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/dependabot-repository-access-details" + examples: + default: + "$ref": "#/components/examples/dependabot-repository-access-details" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access + patch: + summary: Updates Dependabot's repository access list for an organization + description: |- + Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. + + > [!NOTE] + > This operation supports both server-to-server and user-to-server access. + Unauthorized users will not see the existence of this endpoint. + + **Example request body:** + ```json + { + "repository_ids_to_add": [123, 456], + "repository_ids_to_remove": [789] + } + ``` + tags: + - dependabot + operationId: dependabot/update-repository-access-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_ids_to_add: + type: array + items: + type: integer + description: List of repository IDs to add. + repository_ids_to_remove: + type: array + items: + type: integer + description: List of repository IDs to remove. + example: + repository_ids_to_add: + - 123 + - 456 + repository_ids_to_remove: + - 789 + examples: + '204': + summary: Example with a 'succeeded' status. + add-example: + summary: Add repositories + value: + repository_ids_to_add: + - 123 + - 456 + remove-example: + summary: Remove repositories + value: + repository_ids_to_remove: + - 789 + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access + "/orgs/{org}/dependabot/repository-access/default-level": + put: + summary: Set the default repository access level for Dependabot + description: |- + Sets the default level of repository access Dependabot will have while performing an update. Available values are: + - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. + - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. + + Unauthorized users will not see the existence of this endpoint. + + This operation supports both server-to-server and user-to-server access. + tags: + - dependabot + operationId: dependabot/set-repository-access-default-level + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + examples: + - internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access "/orgs/{org}/dependabot/secrets": get: summary: List organization secrets @@ -82341,30 +82552,6 @@ components: type: integer examples: - 10 - dependabot-repository-access-details: - title: Dependabot Repository Access Details - description: Information about repositories that Dependabot is able to access - in an organization - type: object - properties: - default_level: - type: - - string - - 'null' - description: The default repository access level for Dependabot updates. - enum: - - public - - internal - - - examples: - - internal - accessible_repositories: - type: array - items: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-repository" - additionalProperties: false budget: type: object properties: @@ -85469,6 +85656,30 @@ components: required: - date additionalProperties: true + dependabot-repository-access-details: + title: Dependabot Repository Access Details + description: Information about repositories that Dependabot is able to access + in an organization + type: object + properties: + default_level: + type: + - string + - 'null' + description: The default repository access level for Dependabot updates. + enum: + - public + - internal + - + examples: + - internal + accessible_repositories: + type: array + items: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-repository" + additionalProperties: false organization-dependabot-secret: title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. @@ -221703,78 +221914,6 @@ components: ~~~~~~==~==~~~==~==~~~~~~ ~~~~~~==~==~==~==~~~~~~ :~==~==~==~==~~ - dependabot-repository-access-details: - value: - default_level: public - accessible_repositories: - - id: 123456 - node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= - name: example-repo - full_name: octocat/example-repo - owner: - name: octocat - email: octo@github.com - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://avatars.githubusercontent.com/u/1?v=4 - gravatar_id: 1 - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat/example-repo - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - starred_at: '"2020-07-09T00:17:55Z"' - user_view_type: default - private: false - html_url: https://github.com/octocat/example-repo - description: This is an example repository. - fork: false - url: https://api.github.com/repos/octocat/example-repo - archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} - commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} - compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/example-repo/contributors - deployments_url: https://api.github.com/repos/octocat/example-repo/deployments - downloads_url: https://api.github.com/repos/octocat/example-repo/downloads - events_url: https://api.github.com/repos/octocat/example-repo/events - forks_url: https://api.github.com/repos/octocat/example-repo/forks - git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} - keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} - languages_url: https://api.github.com/repos/octocat/example-repo/languages - merges_url: https://api.github.com/repos/octocat/example-repo/merges - milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} - releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers - statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers - subscription_url: https://api.github.com/repos/octocat/example-repo/subscription - tags_url: https://api.github.com/repos/octocat/example-repo/tags - teams_url: https://api.github.com/repos/octocat/example-repo/teams - trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/example-repo/hooks get_all_budgets: value: budgets: @@ -224064,6 +224203,78 @@ components: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 + dependabot-repository-access-details: + value: + default_level: public + accessible_repositories: + - id: 123456 + node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= + name: example-repo + full_name: octocat/example-repo + owner: + name: octocat + email: octo@github.com + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://avatars.githubusercontent.com/u/1?v=4 + gravatar_id: 1 + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat/example-repo + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + starred_at: '"2020-07-09T00:17:55Z"' + user_view_type: default + private: false + html_url: https://github.com/octocat/example-repo + description: This is an example repository. + fork: false + url: https://api.github.com/repos/octocat/example-repo + archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} + commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} + compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/example-repo/contributors + deployments_url: https://api.github.com/repos/octocat/example-repo/deployments + downloads_url: https://api.github.com/repos/octocat/example-repo/downloads + events_url: https://api.github.com/repos/octocat/example-repo/events + forks_url: https://api.github.com/repos/octocat/example-repo/forks + git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} + keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} + languages_url: https://api.github.com/repos/octocat/example-repo/languages + merges_url: https://api.github.com/repos/octocat/example-repo/merges + milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} + releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers + statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers + subscription_url: https://api.github.com/repos/octocat/example-repo/subscription + tags_url: https://api.github.com/repos/octocat/example-repo/tags + teams_url: https://api.github.com/repos/octocat/example-repo/teams + trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/example-repo/hooks organization-dependabot-secret-paginated: value: total_count: 3 diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index c75992598e..c76df20b15 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -24735,6 +24735,475 @@ } } }, + "/enterprises/{enterprise}/copilot/policies/coding_agent": { + "put": { + "summary": "Set the coding agent policy for an enterprise", + "description": "Sets the policy for Copilot coding agent usage across an enterprise.\n\nEnterprise owners can configure whether Copilot coding agent is enabled for all\norganizations, disabled for all organizations, configured by individual organization\nadmins, or enabled for selected organizations only.\n\nOnly enterprise owners can set the coding agent policy for their enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The coding agent policy configuration", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "policy_state": { + "type": "string", + "description": "The policy state for Copilot coding agent in the enterprise. Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, `enabled_for_selected_orgs`, or `configured_by_org_admins`.", + "enum": [ + "enabled_for_all_orgs", + "disabled_for_all_orgs", + "enabled_for_selected_orgs", + "configured_by_org_admins" + ] + } + }, + "required": [ + "policy_state" + ] + }, + "examples": { + "default": { + "summary": "Enable coding agent for all organizations", + "value": { + "policy_state": "enabled_for_all_orgs" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/enterprises/{enterprise}/copilot/policies/coding_agent/organizations": { + "post": { + "summary": "Add organizations to the enterprise coding agent policy", + "description": "Enables Copilot coding agent for the specified organizations within the enterprise.\n\nThe enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before\nusing this endpoint. Organizations can be specified by login or matched via custom properties.\n\nOnly organizations that have Copilot enabled and belong to the enterprise will be affected.\n\nOnly enterprise owners can add organizations to the coding agent policy.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/add-organizations-to-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The organizations to enable Copilot coding agent for", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "organizations": { + "type": "array", + "description": "List of organization logins within the enterprise to enable Copilot coding agent for.", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "array", + "description": "List of custom property filters to match organizations. Organizations matching any of the specified property name/value pairs will be included. This is a one-time operation, setting the property on an organization in the future will not automatically update its coding agent policy.", + "items": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the custom property to filter by." + }, + "values": { + "type": "array", + "description": "The values of the custom property to match.", + "items": { + "type": "string" + } + } + }, + "required": [ + "property_name", + "values" + ] + } + } + } + }, + "examples": { + "default": { + "summary": "Add organizations that match a login or have a custom property", + "value": { + "organizations": [ + "my-org-1", + "my-org-2" + ], + "custom_properties": [ + { + "property_name": "department", + "values": [ + "engineering", + "security" + ] + } + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "delete": { + "summary": "Remove organizations from the enterprise coding agent policy", + "description": "Disables Copilot coding agent for the specified organizations within the enterprise.\n\nThe enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before\nusing this endpoint. Organizations can be specified by login or matched via custom properties.\n\nOnly organizations that have Copilot enabled and belong to the enterprise will be affected.\n\nOnly enterprise owners can remove organizations from the coding agent policy.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/remove-organizations-from-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The organizations to disable Copilot coding agent for", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "organizations": { + "type": "array", + "description": "List of organization logins within the enterprise to disable Copilot coding agent for.", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "array", + "description": "List of custom property filters to match organizations. Organizations matching any of the specified property name/value pairs will be included. This is a one-time operation, setting the property on an organization in the future will not automatically update its coding agent policy.", + "items": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the custom property to filter by." + }, + "values": { + "type": "array", + "description": "The values of the custom property to match.", + "items": { + "type": "string" + } + } + }, + "required": [ + "property_name", + "values" + ] + } + } + } + }, + "examples": { + "default": { + "summary": "Remove organizations that match a login or have a custom property", + "value": { + "organizations": [ + "my-org-1", + "my-org-2" + ], + "custom_properties": [ + { + "property_name": "department", + "values": [ + "engineering", + "security" + ] + } + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -82458,17 +82927,17 @@ } } }, - "/organizations/{org}/dependabot/repository-access": { + "/organizations/{org}/settings/billing/budgets": { "get": { - "summary": "Lists the repositories Dependabot can access in an organization", - "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", + "summary": "Get all budgets for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets all budgets for an organization. The authenticated user must be an organization admin or billing manager.\nEach page returns up to 10 budgets.", "tags": [ - "dependabot" + "billing" ], - "operationId": "dependabot/repository-access-for-org", + "operationId": "billing/get-all-budgets-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization" }, "parameters": [ { @@ -82482,720 +82951,213 @@ }, { "name": "page", + "description": "The page number of the results to fetch.", "in": "query", - "description": "The page number of results to fetch.", - "required": false, "schema": { "type": "integer", - "minimum": 1, "default": 1 } }, { "name": "per_page", + "description": "The number of results per page (max 10).", "in": "query", - "description": "Number of results per page.", - "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 + "default": 10 + } + }, + { + "name": "scope", + "description": "Filter budgets by scope type.", + "in": "query", + "schema": { + "type": "string", + "enum": [ + "enterprise", + "organization", + "repository", + "cost_center" + ] } } ], "responses": { "200": { - "description": "Response", + "description": "Response when getting all budgets", "content": { "application/json": { "schema": { - "title": "Dependabot Repository Access Details", - "description": "Information about repositories that Dependabot is able to access in an organization", "type": "object", "properties": { - "default_level": { - "type": [ - "string", - "null" - ], - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal", - null - ], - "examples": [ - "internal" - ] - }, - "accessible_repositories": { + "budgets": { "type": "array", "items": { - "anyOf": [ - { - "type": "null" + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier for the budget", + "examples": [ + "2066deda-923f-43f9-88d2-62395a28c0cdd" + ] }, - { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "A unique identifier of the repository.", - "examples": [ - 1296269 - ] - }, - "node_id": { - "type": "string", - "description": "The GraphQL identifier of the repository.", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "type": "string", - "description": "The name of the repository.", - "examples": [ - "Hello-World" - ] - }, - "full_name": { + "budget_type": { + "description": "The type of pricing for the budget", + "oneOf": [ + { "type": "string", - "description": "The full, globally unique, name of the repository.", - "examples": [ - "octocat/Hello-World" - ] - }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" + "enum": [ + "SkuPricing" ] }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { + { "type": "string", - "format": "uri", - "description": "The URL to view the repository on GitHub.com.", - "examples": [ - "https://github.com/octocat/Hello-World" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The repository description.", - "examples": [ - "This your first repo!" + "enum": [ + "ProductPricing" ] - }, - "fork": { + } + ], + "examples": [ + "SkuPricing" + ] + }, + "budget_amount": { + "type": "integer", + "description": "The budget amount limit in whole dollars. For license-based products, this represents the number of licenses." + }, + "prevent_further_usage": { + "type": "boolean", + "description": "The type of limit enforcement for the budget", + "examples": [ + true + ] + }, + "budget_scope": { + "type": "string", + "description": "The scope of the budget (enterprise, organization, repository, cost center)", + "examples": [ + "enterprise" + ] + }, + "budget_entity_name": { + "type": "string", + "description": "The name of the entity for the budget (enterprise does not require a name).", + "examples": [ + "octocat/hello-world" + ] + }, + "budget_product_sku": { + "type": "string", + "description": "A single product or sku to apply the budget to." + }, + "budget_alerting": { + "type": "object", + "properties": { + "will_alert": { "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "description": "The URL to get more information about the repository from the GitHub API.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World" - ] - }, - "archive_url": { - "type": "string", - "description": "A template for the API URL to download the repository as an archive.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "description": "A template for the API URL to list the available assignees for issues in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "description": "A template for the API URL to get information about branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "description": "A template for the API URL to get information about collaborators of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "description": "A template for the API URL to get information about comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "description": "A template for the API URL to get information about commits on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "description": "A template for the API URL to compare two commits or refs.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "description": "A template for the API URL to get the contents of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "description": "A template for the API URL to list the contributors to the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the deployments of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the downloads on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the events of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the forks of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "description": "A template for the API URL to get information about Git commits of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "description": "A template for the API URL to get information about Git refs of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "description": "A template for the API URL to get information about Git tags of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "issue_comment_url": { - "type": "string", - "description": "A template for the API URL to get information about issue comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "description": "A template for the API URL to get information about issue events on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "description": "A template for the API URL to get information about issues on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "description": "A template for the API URL to get information about deploy keys on the repository.", + "description": "Whether alerts are enabled for this budget", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + true ] }, - "labels_url": { - "type": "string", - "description": "A template for the API URL to get information about labels of the repository.", + "alert_recipients": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of user login names who will receive alerts", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about the languages of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "description": "The API URL to merge branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "description": "A template for the API URL to get information about milestones of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "description": "A template for the API URL to get information about notifications on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "description": "A template for the API URL to get information about pull requests on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "description": "A template for the API URL to get information about releases on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the stargazers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "description": "A template for the API URL to get information about statuses of a commit.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the subscribers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "description": "The API URL to subscribe to notifications for this repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about tags on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/tags" - ] - }, - "teams_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the teams on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the hooks on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/hooks" + "mona", + "lisa" ] } }, "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" + "will_alert", + "alert_recipients" ] } + }, + "required": [ + "id", + "budget_type", + "budget_product_sku", + "budget_scope", + "budget_amount", + "prevent_further_usage", + "budget_alerting" ] - } + }, + "description": "Array of budget objects for the enterprise" + }, + "has_next_page": { + "type": "boolean", + "description": "Indicates if there are more pages of results available (maps to hasNextPage from billing platform)" + }, + "total_count": { + "type": "integer", + "description": "Total number of budgets matching the query" } }, - "additionalProperties": false + "required": [ + "budgets" + ] }, "examples": { "default": { "value": { - "default_level": "public", - "accessible_repositories": [ + "budgets": [ { - "id": 123456, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", - "name": "example-repo", - "full_name": "octocat/example-repo", - "owner": { - "name": "octocat", - "email": "octo@github.com", - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", - "gravatar_id": 1, - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat/example-repo", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false, - "starred_at": "\"2020-07-09T00:17:55Z\"", - "user_view_type": "default" - }, - "private": false, - "html_url": "https://github.com/octocat/example-repo", - "description": "This is an example repository.", - "fork": false, - "url": "https://api.github.com/repos/octocat/example-repo", - "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", - "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", - "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", - "events_url": "https://api.github.com/repos/octocat/example-repo/events", - "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", - "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", - "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", - "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", - "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", - "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", - "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", + "budget_type": "ProductPricing", + "budget_product_skus": [ + "actions" + ], + "budget_scope": "enterprise", + "budget_amount": 1000.0, + "prevent_further_usage": true, + "budget_alerting": { + "will_alert": true, + "alert_recipients": [ + "enterprise-admin", + "billing-manager" + ] + } + }, + { + "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479", + "budget_type": "SkuPricing", + "budget_product_skus": [ + "actions_linux" + ], + "budget_scope": "organization", + "budget_amount": 500.0, + "prevent_further_usage": false, + "budget_alerting": { + "will_alert": true, + "alert_recipients": [ + "org-owner" + ] + } + }, + { + "id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8", + "budget_type": "ProductPricing", + "budget_product_skus": [ + "packages" + ], + "budget_scope": "cost_center", + "budget_amount": 250.0, + "prevent_further_usage": true, + "budget_alerting": { + "will_alert": false, + "alert_recipients": [] + } } - ] - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" + ], + "has_next_page": false, + "total_count": 3 } } } @@ -83227,97 +83189,6 @@ } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" - } - }, - "patch": { - "summary": "Updates Dependabot's repository access list for an organization", - "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", - "tags": [ - "dependabot" - ], - "operationId": "dependabot/update-repository-access-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "repository_ids_to_add": { - "type": "array", - "items": { - "type": "integer" - }, - "description": "List of repository IDs to add." - }, - "repository_ids_to_remove": { - "type": "array", - "items": { - "type": "integer" - }, - "description": "List of repository IDs to remove." - } - }, - "example": { - "repository_ids_to_add": [ - 123, - 456 - ], - "repository_ids_to_remove": [ - 789 - ] - } - }, - "examples": { - "204": { - "summary": "Example with a 'succeeded' status." - }, - "add-example": { - "summary": "Add repositories", - "value": { - "repository_ids_to_add": [ - 123, - 456 - ] - } - }, - "remove-example": { - "summary": "Remove repositories", - "value": { - "repository_ids_to_remove": [ - 789 - ] - } - } - } - } - } - }, - "responses": { - "204": { - "description": "Response" }, "403": { "description": "Forbidden", @@ -83345,8 +83216,8 @@ } } }, - "404": { - "description": "Resource not found", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { @@ -83375,22 +83246,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" + "category": "billing", + "subcategory": "budgets" } } }, - "/organizations/{org}/dependabot/repository-access/default-level": { - "put": { - "summary": "Set the default repository access level for Dependabot", - "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", + "/organizations/{org}/settings/billing/budgets/{budget_id}": { + "get": { + "summary": "Get a budget by ID for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a budget by ID. The authenticated user must be an organization admin or billing manager.", "tags": [ - "dependabot" + "billing" ], - "operationId": "dependabot/set-repository-access-default-level", + "operationId": "billing/get-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot" + "url": "https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization" }, "parameters": [ { @@ -83401,487 +83272,41 @@ "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "default_level": { - "type": "string", - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal" - ], - "examples": [ - "internal" - ] - } - }, - "required": [ - "default_level" - ] - }, - "examples": { - "204": { - "summary": "Example with a 'succeeded' status.", - "value": { - "default_level": "public" - } - } - } + }, + { + "name": "budget_id", + "description": "The ID corresponding to the budget.", + "in": "path", + "required": true, + "schema": { + "type": "string" } } - }, + ], "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", + "200": { + "description": "Response when updating a budget", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", "type": "object", "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" + "id": { + "type": "string", + "description": "ID of the budget." }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" - } - } - }, - "/organizations/{org}/settings/billing/budgets": { - "get": { - "summary": "Get all budgets for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets all budgets for an organization. The authenticated user must be an organization admin or billing manager.\nEach page returns up to 10 budgets.", - "tags": [ - "billing" - ], - "operationId": "billing/get-all-budgets-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "description": "The page number of the results to fetch.", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 10).", - "in": "query", - "schema": { - "type": "integer", - "default": 10 - } - }, - { - "name": "scope", - "description": "Filter budgets by scope type.", - "in": "query", - "schema": { - "type": "string", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] - } - } - ], - "responses": { - "200": { - "description": "Response when getting all budgets", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "budgets": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier for the budget", - "examples": [ - "2066deda-923f-43f9-88d2-62395a28c0cdd" - ] - }, - "budget_type": { - "description": "The type of pricing for the budget", - "oneOf": [ - { - "type": "string", - "enum": [ - "SkuPricing" - ] - }, - { - "type": "string", - "enum": [ - "ProductPricing" - ] - } - ], - "examples": [ - "SkuPricing" - ] - }, - "budget_amount": { - "type": "integer", - "description": "The budget amount limit in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "The type of limit enforcement for the budget", - "examples": [ - true - ] - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget (enterprise, organization, repository, cost center)", - "examples": [ - "enterprise" - ] - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity for the budget (enterprise does not require a name).", - "examples": [ - "octocat/hello-world" - ] - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or sku to apply the budget to." - }, - "budget_alerting": { - "type": "object", - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget", - "examples": [ - true - ] - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts", - "examples": [ - "mona", - "lisa" - ] - } - }, - "required": [ - "will_alert", - "alert_recipients" - ] - } - }, - "required": [ - "id", - "budget_type", - "budget_product_sku", - "budget_scope", - "budget_amount", - "prevent_further_usage", - "budget_alerting" - ] - }, - "description": "Array of budget objects for the enterprise" - }, - "has_next_page": { - "type": "boolean", - "description": "Indicates if there are more pages of results available (maps to hasNextPage from billing platform)" - }, - "total_count": { - "type": "integer", - "description": "Total number of budgets matching the query" - } - }, - "required": [ - "budgets" - ] - }, - "examples": { - "default": { - "value": { - "budgets": [ - { - "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", - "budget_type": "ProductPricing", - "budget_product_skus": [ - "actions" - ], - "budget_scope": "enterprise", - "budget_amount": 1000.0, - "prevent_further_usage": true, - "budget_alerting": { - "will_alert": true, - "alert_recipients": [ - "enterprise-admin", - "billing-manager" - ] - } - }, - { - "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479", - "budget_type": "SkuPricing", - "budget_product_skus": [ - "actions_linux" - ], - "budget_scope": "organization", - "budget_amount": 500.0, - "prevent_further_usage": false, - "budget_alerting": { - "will_alert": true, - "alert_recipients": [ - "org-owner" - ] - } - }, - { - "id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8", - "budget_type": "ProductPricing", - "budget_product_skus": [ - "packages" - ], - "budget_scope": "cost_center", - "budget_amount": 250.0, - "prevent_further_usage": true, - "budget_alerting": { - "will_alert": false, - "alert_recipients": [] - } - } - ], - "has_next_page": false, - "total_count": 3 - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "budgets" - } - } - }, - "/organizations/{org}/settings/billing/budgets/{budget_id}": { - "get": { - "summary": "Get a budget by ID for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a budget by ID. The authenticated user must be an organization admin or billing manager.", - "tags": [ - "billing" - ], - "operationId": "billing/get-budget-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "budget_id", - "description": "The ID corresponding to the budget.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response when updating a budget", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "ID of the budget." - }, - "budget_scope": { - "type": "string", - "description": "The type of scope for the budget", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ], - "examples": [ - "enterprise" - ] + "budget_scope": { + "type": "string", + "description": "The type of scope for the budget", + "enum": [ + "enterprise", + "organization", + "repository", + "cost_center" + ], + "examples": [ + "enterprise" + ] }, "budget_entity_name": { "type": "string", @@ -132439,114 +131864,991 @@ { "url": "https://access.redhat.com/security/cve/cve-2021-20191" }, - { - "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1916813" - } - ], - "published_at": "2021-06-01T17:38:00Z", - "updated_at": "2021-08-12T23:06:00Z", - "withdrawn_at": null - }, - "security_vulnerability": { - "package": { - "ecosystem": "pip", - "name": "ansible" - }, - "severity": "medium", - "vulnerable_version_range": "< 2.8.19", - "first_patched_version": { - "identifier": "2.8.19" + { + "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1916813" + } + ], + "published_at": "2021-06-01T17:38:00Z", + "updated_at": "2021-08-12T23:06:00Z", + "withdrawn_at": null + }, + "security_vulnerability": { + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": "< 2.8.19", + "first_patched_version": { + "identifier": "2.8.19" + } + }, + "url": "https://api.github.com/repos/octo-org/hello-world/dependabot/alerts/1", + "html_url": "https://github.com/octo-org/hello-world/security/dependabot/1", + "created_at": "2022-06-14T15:21:52Z", + "updated_at": "2022-06-14T15:21:52Z", + "dismissed_at": null, + "dismissed_by": null, + "dismissed_reason": null, + "dismissed_comment": null, + "fixed_at": null, + "assignees": [], + "repository": { + "id": 664700648, + "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", + "name": "hello-world", + "full_name": "octo-org/hello-world", + "owner": { + "login": "octo-org", + "id": 6811672, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=", + "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/octo-org", + "html_url": "https://github.com/octo-org", + "followers_url": "https://api.github.com/users/octo-org/followers", + "following_url": "https://api.github.com/users/octo-org/following{/other_user}", + "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions", + "organizations_url": "https://api.github.com/users/octo-org/orgs", + "repos_url": "https://api.github.com/users/octo-org/repos", + "events_url": "https://api.github.com/users/octo-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/octo-org/received_events", + "type": "Organization", + "site_admin": false + }, + "private": true, + "html_url": "https://github.com/octo-org/hello-world", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/octo-org/hello-world", + "archive_url": "https://api.github.com/repos/octo-org/hello-world/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octo-org/hello-world/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octo-org/hello-world/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octo-org/hello-world/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octo-org/hello-world/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octo-org/hello-world/comments{/number}", + "commits_url": "https://api.github.com/repos/octo-org/hello-world/commits{/sha}", + "compare_url": "https://api.github.com/repos/octo-org/hello-world/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octo-org/hello-world/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octo-org/hello-world/contributors", + "deployments_url": "https://api.github.com/repos/octo-org/hello-world/deployments", + "downloads_url": "https://api.github.com/repos/octo-org/hello-world/downloads", + "events_url": "https://api.github.com/repos/octo-org/hello-world/events", + "forks_url": "https://api.github.com/repos/octo-org/hello-world/forks", + "git_commits_url": "https://api.github.com/repos/octo-org/hello-world/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octo-org/hello-world/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octo-org/hello-world/git/tags{/sha}", + "hooks_url": "https://api.github.com/repos/octo-org/hello-world/hooks", + "issue_comment_url": "https://api.github.com/repos/octo-org/hello-world/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octo-org/hello-world/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octo-org/hello-world/issues{/number}", + "keys_url": "https://api.github.com/repos/octo-org/hello-world/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octo-org/hello-world/labels{/name}", + "languages_url": "https://api.github.com/repos/octo-org/hello-world/languages", + "merges_url": "https://api.github.com/repos/octo-org/hello-world/merges", + "milestones_url": "https://api.github.com/repos/octo-org/hello-world/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octo-org/hello-world/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octo-org/hello-world/pulls{/number}", + "releases_url": "https://api.github.com/repos/octo-org/hello-world/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octo-org/hello-world/stargazers", + "statuses_url": "https://api.github.com/repos/octo-org/hello-world/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octo-org/hello-world/subscribers", + "subscription_url": "https://api.github.com/repos/octo-org/hello-world/subscription", + "tags_url": "https://api.github.com/repos/octo-org/hello-world/tags", + "teams_url": "https://api.github.com/repos/octo-org/hello-world/teams", + "trees_url": "https://api.github.com/repos/octo-org/hello-world/git/trees{/sha}" + } + } + ] + } + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "alerts" + } + } + }, + "/orgs/{org}/dependabot/repository-access": { + "get": { + "summary": "Lists the repositories Dependabot can access in an organization", + "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/repository-access-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": [ + "string", + "null" + ], + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal", + null + ], + "examples": [ + "internal" + ] + }, + "accessible_repositories": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "A unique identifier of the repository.", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "description": "The GraphQL identifier of the repository.", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "description": "The name of the repository.", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "description": "The full, globally unique, name of the repository.", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The URL to view the repository on GitHub.com.", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The repository description.", + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL to get more information about the repository from the GitHub API.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "description": "A template for the API URL to download the repository as an archive.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "description": "A template for the API URL to list the available assignees for issues in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "description": "A template for the API URL to get information about branches in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "description": "A template for the API URL to get information about collaborators of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "description": "A template for the API URL to get information about comments on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "description": "A template for the API URL to get information about commits on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "description": "A template for the API URL to compare two commits or refs.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "description": "A template for the API URL to get the contents of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "description": "A template for the API URL to list the contributors to the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the deployments of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the downloads on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the events of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the forks of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "description": "A template for the API URL to get information about Git commits of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "description": "A template for the API URL to get information about Git refs of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "description": "A template for the API URL to get information about Git tags of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "issue_comment_url": { + "type": "string", + "description": "A template for the API URL to get information about issue comments on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "description": "A template for the API URL to get information about issue events on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "description": "A template for the API URL to get information about issues on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "description": "A template for the API URL to get information about deploy keys on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "description": "A template for the API URL to get information about labels of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about the languages of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "description": "The API URL to merge branches in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "description": "A template for the API URL to get information about milestones of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "description": "A template for the API URL to get information about notifications on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "description": "A template for the API URL to get information about pull requests on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "description": "A template for the API URL to get information about releases on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the stargazers on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "description": "A template for the API URL to get information about statuses of a commit.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the subscribers on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "description": "The API URL to subscribe to notifications for this repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about tags on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the teams on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the hooks on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/hooks" + ] + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ] } - }, - "url": "https://api.github.com/repos/octo-org/hello-world/dependabot/alerts/1", - "html_url": "https://github.com/octo-org/hello-world/security/dependabot/1", - "created_at": "2022-06-14T15:21:52Z", - "updated_at": "2022-06-14T15:21:52Z", - "dismissed_at": null, - "dismissed_by": null, - "dismissed_reason": null, - "dismissed_comment": null, - "fixed_at": null, - "assignees": [], - "repository": { - "id": 664700648, - "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", - "name": "hello-world", - "full_name": "octo-org/hello-world", + ] + } + } + }, + "additionalProperties": false + }, + "examples": { + "default": { + "value": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", "owner": { - "login": "octo-org", - "id": 6811672, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=", - "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octo-org", - "html_url": "https://github.com/octo-org", - "followers_url": "https://api.github.com/users/octo-org/followers", - "following_url": "https://api.github.com/users/octo-org/following{/other_user}", - "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions", - "organizations_url": "https://api.github.com/users/octo-org/orgs", - "repos_url": "https://api.github.com/users/octo-org/repos", - "events_url": "https://api.github.com/users/octo-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/octo-org/received_events", - "type": "Organization", - "site_admin": false + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" }, - "private": true, - "html_url": "https://github.com/octo-org/hello-world", - "description": null, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", "fork": false, - "url": "https://api.github.com/repos/octo-org/hello-world", - "archive_url": "https://api.github.com/repos/octo-org/hello-world/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octo-org/hello-world/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octo-org/hello-world/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octo-org/hello-world/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octo-org/hello-world/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octo-org/hello-world/comments{/number}", - "commits_url": "https://api.github.com/repos/octo-org/hello-world/commits{/sha}", - "compare_url": "https://api.github.com/repos/octo-org/hello-world/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octo-org/hello-world/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octo-org/hello-world/contributors", - "deployments_url": "https://api.github.com/repos/octo-org/hello-world/deployments", - "downloads_url": "https://api.github.com/repos/octo-org/hello-world/downloads", - "events_url": "https://api.github.com/repos/octo-org/hello-world/events", - "forks_url": "https://api.github.com/repos/octo-org/hello-world/forks", - "git_commits_url": "https://api.github.com/repos/octo-org/hello-world/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octo-org/hello-world/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octo-org/hello-world/git/tags{/sha}", - "hooks_url": "https://api.github.com/repos/octo-org/hello-world/hooks", - "issue_comment_url": "https://api.github.com/repos/octo-org/hello-world/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octo-org/hello-world/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octo-org/hello-world/issues{/number}", - "keys_url": "https://api.github.com/repos/octo-org/hello-world/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octo-org/hello-world/labels{/name}", - "languages_url": "https://api.github.com/repos/octo-org/hello-world/languages", - "merges_url": "https://api.github.com/repos/octo-org/hello-world/merges", - "milestones_url": "https://api.github.com/repos/octo-org/hello-world/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octo-org/hello-world/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octo-org/hello-world/pulls{/number}", - "releases_url": "https://api.github.com/repos/octo-org/hello-world/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octo-org/hello-world/stargazers", - "statuses_url": "https://api.github.com/repos/octo-org/hello-world/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octo-org/hello-world/subscribers", - "subscription_url": "https://api.github.com/repos/octo-org/hello-world/subscription", - "tags_url": "https://api.github.com/repos/octo-org/hello-world/tags", - "teams_url": "https://api.github.com/repos/octo-org/hello-world/teams", - "trees_url": "https://api.github.com/repos/octo-org/hello-world/git/trees{/sha}" + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" } - } - ] + ] + } } } } } }, - "304": { - "description": "Not modified" - }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -132568,50 +132870,125 @@ } } } - }, - "application/scim+json": { + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { "schema": { - "title": "Scim Error", - "description": "Scim Error", + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { "message": { - "type": [ - "string", - "null" - ] + "type": "string" }, "documentation_url": { - "type": [ - "string", - "null" - ] + "type": "string" }, - "detail": { - "type": [ - "string", - "null" - ] + "url": { + "type": "string" }, "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "repository-access" + } + }, + "patch": { + "summary": "Updates Dependabot's repository access list for an organization", + "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/update-repository-access-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_ids_to_add": { + "type": "array", + "items": { "type": "integer" }, - "scimType": { - "type": [ - "string", - "null" - ] + "description": "List of repository IDs to add." + }, + "repository_ids_to_remove": { + "type": "array", + "items": { + "type": "integer" }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } + "description": "List of repository IDs to remove." + } + }, + "example": { + "repository_ids_to_add": [ + 123, + 456 + ], + "repository_ids_to_remove": [ + 789 + ] + } + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status." + }, + "add-example": { + "summary": "Add repositories", + "value": { + "repository_ids_to_add": [ + 123, + 456 + ] + } + }, + "remove-example": { + "summary": "Remove repositories", + "value": { + "repository_ids_to_remove": [ + 789 + ] } } } } + } + }, + "responses": { + "204": { + "description": "Response" }, "403": { "description": "Forbidden", @@ -132664,19 +133041,111 @@ } } } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, + "/orgs/{org}/dependabot/repository-access/default-level": { + "put": { + "summary": "Set the default repository access level for Dependabot", + "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/set-repository-access-default-level", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "examples": [ + "internal" + ] + } + }, + "required": [ + "default_level" + ] + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status.", + "value": { + "default_level": "public" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", + "title": "Basic Error", + "description": "Basic Error", "type": "object", - "required": [ - "message", - "documentation_url" - ], "properties": { "message": { "type": "string" @@ -132684,11 +133153,11 @@ "documentation_url": { "type": "string" }, - "errors": { - "type": "array", - "items": { - "type": "string" - } + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -132700,7 +133169,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "dependabot", - "subcategory": "alerts" + "subcategory": "repository-access" } } }, diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 48b67a0b86..777ca02896 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -458,7 +458,7 @@ paths: required: false schema: type: string - - &59 + - &60 name: direction description: The direction to sort the results by. in: query @@ -697,7 +697,7 @@ paths: required: - vector_string - score - cvss_severities: &61 + cvss_severities: &62 type: - object - 'null' @@ -744,7 +744,7 @@ paths: required: - vector_string - score - epss: &62 + epss: &63 type: - object - 'null' @@ -1040,7 +1040,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &122 + schema: &123 title: Validation Error Simple description: Validation Error Simple type: object @@ -1846,7 +1846,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &121 + schema: &122 title: Validation Error description: Validation Error type: object @@ -2257,7 +2257,7 @@ paths: parameters: - *17 - *19 - - &86 + - &87 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2853,7 +2853,7 @@ paths: suspended_at: suspended_by: headers: - Link: &65 + Link: &66 example: ; rel="next", ; rel="last" schema: @@ -3043,7 +3043,7 @@ paths: - selected repositories: type: array - items: &77 + items: &78 title: Repository description: A repository on GitHub. type: object @@ -3070,7 +3070,7 @@ paths: license: anyOf: - type: 'null' - - &83 + - &84 title: License Simple description: License Simple type: object @@ -7620,7 +7620,7 @@ paths: required: true content: application/json: - schema: &134 + schema: &135 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -8332,7 +8332,7 @@ paths: description: Response content: application/json: - schema: &181 + schema: &182 type: array description: A list of default code security configurations items: @@ -8348,7 +8348,7 @@ paths: default configuration: *47 examples: - default: &182 + default: &183 value: - default_for_new_repos: public configuration: @@ -8683,7 +8683,7 @@ paths: - *38 - *49 responses: - '204': &183 + '204': &59 description: A header with no content is returned. '400': *14 '403': *27 @@ -8810,7 +8810,7 @@ paths: default: value: default_for_new_repos: all - configuration: &180 + configuration: &181 value: id: 1325 target_type: organization @@ -8918,7 +8918,7 @@ paths: - failed - updating - removed_by_enterprise - repository: &64 + repository: &65 title: Simple Repository description: A GitHub repository. type: object @@ -9527,6 +9527,211 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/policies/coding_agent": + put: + summary: Set the coding agent policy for an enterprise + description: |- + Sets the policy for Copilot coding agent usage across an enterprise. + + Enterprise owners can configure whether Copilot coding agent is enabled for all + organizations, disabled for all organizations, configured by individual organization + admins, or enabled for selected organizations only. + + Only enterprise owners can set the coding agent policy for their enterprise. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/set-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise + parameters: + - *38 + requestBody: + description: The coding agent policy configuration + required: true + content: + application/json: + schema: + type: object + properties: + policy_state: + type: string + description: The policy state for Copilot coding agent in the enterprise. + Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, + `enabled_for_selected_orgs`, or `configured_by_org_admins`. + enum: + - enabled_for_all_orgs + - disabled_for_all_orgs + - enabled_for_selected_orgs + - configured_by_org_admins + required: + - policy_state + examples: + default: + summary: Enable coding agent for all organizations + value: + policy_state: enabled_for_all_orgs + responses: + '204': *59 + '400': *14 + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management + "/enterprises/{enterprise}/copilot/policies/coding_agent/organizations": + post: + summary: Add organizations to the enterprise coding agent policy + description: |- + Enables Copilot coding agent for the specified organizations within the enterprise. + + The enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before + using this endpoint. Organizations can be specified by login or matched via custom properties. + + Only organizations that have Copilot enabled and belong to the enterprise will be affected. + + Only enterprise owners can add organizations to the coding agent policy. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/add-organizations-to-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy + parameters: + - *38 + requestBody: + description: The organizations to enable Copilot coding agent for + required: true + content: + application/json: + schema: + type: object + properties: + organizations: + type: array + description: List of organization logins within the enterprise to + enable Copilot coding agent for. + items: + type: string + custom_properties: + type: array + description: List of custom property filters to match organizations. + Organizations matching any of the specified property name/value + pairs will be included. This is a one-time operation, setting + the property on an organization in the future will not automatically + update its coding agent policy. + items: + type: object + properties: + property_name: + type: string + description: The name of the custom property to filter by. + values: + type: array + description: The values of the custom property to match. + items: + type: string + required: + - property_name + - values + examples: + default: + summary: Add organizations that match a login or have a custom property + value: + organizations: + - my-org-1 + - my-org-2 + custom_properties: + - property_name: department + values: + - engineering + - security + responses: + '204': *59 + '400': *14 + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management + delete: + summary: Remove organizations from the enterprise coding agent policy + description: |- + Disables Copilot coding agent for the specified organizations within the enterprise. + + The enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before + using this endpoint. Organizations can be specified by login or matched via custom properties. + + Only organizations that have Copilot enabled and belong to the enterprise will be affected. + + Only enterprise owners can remove organizations from the coding agent policy. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/remove-organizations-from-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy + parameters: + - *38 + requestBody: + description: The organizations to disable Copilot coding agent for + required: true + content: + application/json: + schema: + type: object + properties: + organizations: + type: array + description: List of organization logins within the enterprise to + disable Copilot coding agent for. + items: + type: string + custom_properties: + type: array + description: List of custom property filters to match organizations. + Organizations matching any of the specified property name/value + pairs will be included. This is a one-time operation, setting + the property on an organization in the future will not automatically + update its coding agent policy. + items: + type: object + properties: + property_name: + type: string + description: The name of the custom property to filter by. + values: + type: array + description: The values of the custom property to match. + items: + type: string + required: + - property_name + - values + examples: + default: + summary: Remove organizations that match a login or have a custom + property + value: + organizations: + - my-org-1 + - my-org-2 + custom_properties: + - property_name: department + values: + - engineering + - security + responses: + '204': *59 + '400': *14 + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -9649,7 +9854,7 @@ paths: - updated - epss_percentage default: created - - *59 + - *60 - *45 - *46 - *17 @@ -9664,7 +9869,7 @@ paths: type: object description: A Dependabot alert. properties: - number: &170 + number: &171 type: integer description: The security alert number. readOnly: true @@ -9682,7 +9887,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &60 + package: &61 type: object description: Details for the vulnerable package. readOnly: true @@ -9762,13 +9967,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &63 + items: &64 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *60 + package: *61 severity: type: string description: The severity of the vulnerability. @@ -9843,8 +10048,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *61 - epss: *62 + cvss_severities: *62 + epss: *63 cwes: type: array description: Details for the advisory pertaining to Common @@ -9944,30 +10149,30 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *63 - url: &173 + security_vulnerability: *64 + url: &174 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &174 + html_url: &175 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &171 + created_at: &172 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &172 + updated_at: &173 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &176 + dismissed_at: &177 type: - string - 'null' @@ -9998,7 +10203,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &175 + fixed_at: &176 type: - string - 'null' @@ -10058,7 +10263,7 @@ paths: description: The users assigned to this alert. readOnly: true items: *4 - repository: *64 + repository: *65 required: - number - state @@ -10446,7 +10651,7 @@ paths: application/json: schema: type: array - items: &66 + items: &67 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10524,7 +10729,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *65 + Link: *66 '403': *27 x-github: githubCloudOnly: false @@ -10599,9 +10804,9 @@ paths: description: Response content: application/json: - schema: *66 + schema: *67 examples: - default: &74 + default: &75 value: id: 1 name: Justice League @@ -10630,7 +10835,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *38 - - &67 + - &68 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10649,7 +10854,7 @@ paths: type: array items: *4 examples: - default: &68 + default: &69 value: - login: octocat id: 1 @@ -10670,7 +10875,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10688,7 +10893,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *38 - - *67 + - *68 requestBody: required: true content: @@ -10719,7 +10924,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10737,7 +10942,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *38 - - *67 + - *68 requestBody: required: true content: @@ -10768,7 +10973,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10786,8 +10991,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *38 - - *67 - - &69 + - *68 + - &70 name: username description: The handle for the GitHub user account. in: path @@ -10801,7 +11006,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &70 + exampleKey1: &71 value: login: octocat id: 1 @@ -10837,8 +11042,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *38 - - *67 - - *69 + - *68 + - *70 responses: '201': description: Successfully added team member @@ -10846,7 +11051,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *70 + exampleKey1: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10864,8 +11069,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *38 - - *67 - - *69 + - *68 + - *70 responses: '204': description: Response @@ -10887,7 +11092,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *38 - - *67 + - *68 - *17 - *19 responses: @@ -10897,7 +11102,7 @@ paths: application/json: schema: type: array - items: &71 + items: &72 title: Organization Simple description: A GitHub organization. type: object @@ -10969,7 +11174,7 @@ paths: - avatar_url - description examples: - default: &72 + default: &73 value: login: github id: 1 @@ -11000,7 +11205,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *38 - - *67 + - *68 requestBody: required: true content: @@ -11028,9 +11233,9 @@ paths: application/json: schema: type: array - items: *71 + items: *72 examples: - default: &110 + default: &111 value: - login: github id: 1 @@ -11061,7 +11266,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *38 - - *67 + - *68 requestBody: required: true content: @@ -11102,8 +11307,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *38 - - *67 - - &73 + - *68 + - &74 name: org description: The organization name. The name is not case sensitive. in: path @@ -11115,9 +11320,9 @@ paths: description: The team is assigned to the organization content: application/json: - schema: *71 + schema: *72 examples: - default: *72 + default: *73 '404': description: The team is not assigned to the organization x-github: @@ -11136,16 +11341,16 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *38 - - *67 - - *73 + - *68 + - *74 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *71 + schema: *72 examples: - default: *72 + default: *73 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -11162,8 +11367,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *38 - - *67 - - *73 + - *68 + - *74 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -11187,7 +11392,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *38 - - &75 + - &76 name: team_slug description: The slug of the team name. in: path @@ -11199,11 +11404,11 @@ paths: description: Response content: application/json: - schema: *66 + schema: *67 examples: - default: *74 + default: *75 headers: - Link: *65 + Link: *66 '403': *27 x-github: githubCloudOnly: false @@ -11221,7 +11426,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *38 - - *75 + - *76 requestBody: required: true content: @@ -11279,11 +11484,11 @@ paths: description: Response content: application/json: - schema: *66 + schema: *67 examples: - default: *74 + default: *75 headers: - Link: *65 + Link: *66 '403': *27 x-github: githubCloudOnly: false @@ -11304,7 +11509,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *38 - - *75 + - *76 responses: '204': description: Response @@ -11342,7 +11547,7 @@ paths: application/json: schema: type: array - items: &105 + items: &106 title: Event description: Event type: object @@ -11353,7 +11558,7 @@ paths: type: - string - 'null' - actor: &76 + actor: &77 title: Actor description: Actor type: object @@ -11394,7 +11599,7 @@ paths: - id - name - url - org: *76 + org: *77 payload: oneOf: - title: CreateEvent @@ -11738,7 +11943,7 @@ paths: - id labels: type: array - items: &80 + items: &81 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11821,7 +12026,7 @@ paths: properties: action: type: string - issue: &81 + issue: &82 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -12168,12 +12373,12 @@ paths: - node_id - name - description - repository: *77 + repository: *78 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &78 + author_association: &79 title: author_association type: string description: How the author is associated with the @@ -12189,7 +12394,7 @@ paths: - OWNER examples: - OWNER - reactions: &79 + reactions: &80 title: Reaction Rollup type: object properties: @@ -12249,7 +12454,7 @@ paths: pinned_comment: anyOf: - type: 'null' - - &82 + - &83 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12300,12 +12505,12 @@ paths: issue_url: type: string format: uri - author_association: *78 + author_association: *79 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *79 + reactions: *80 pin: anyOf: - type: 'null' @@ -12455,10 +12660,10 @@ paths: assignees: type: array items: *4 - label: *80 + label: *81 labels: type: array - items: *80 + items: *81 required: - action - issue @@ -12467,8 +12672,8 @@ paths: properties: action: type: string - issue: *81 - comment: *82 + issue: *82 + comment: *83 required: - action - issue @@ -12647,7 +12852,7 @@ paths: license: anyOf: - type: 'null' - - *83 + - *84 allow_forking: type: boolean is_template: @@ -12738,7 +12943,7 @@ paths: type: string number: type: integer - pull_request: &84 + pull_request: &85 title: Pull Request Minimal type: object properties: @@ -12809,10 +13014,10 @@ paths: assignees: type: array items: *4 - label: *80 + label: *81 labels: type: array - items: *80 + items: *81 required: - action - number @@ -12822,7 +13027,7 @@ paths: properties: action: type: string - pull_request: *84 + pull_request: *85 comment: type: object properties: @@ -13076,7 +13281,7 @@ paths: - pull_request updated_at: type: string - pull_request: *84 + pull_request: *85 required: - action - review @@ -13125,7 +13330,7 @@ paths: updated_at: type: string format: date-time - reactions: *79 + reactions: *80 required: - action - comment @@ -13293,7 +13498,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *79 + reactions: *80 required: - assets_url - upload_url @@ -13386,7 +13591,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': &113 + '503': &114 description: Service unavailable content: application/json: @@ -13488,7 +13693,7 @@ paths: _links: type: object properties: - timeline: &85 + timeline: &86 title: Link With Type description: Hypermedia Link with Type type: object @@ -13500,17 +13705,17 @@ paths: required: - href - type - user: *85 - security_advisories: *85 - current_user: *85 - current_user_public: *85 - current_user_actor: *85 - current_user_organization: *85 + user: *86 + security_advisories: *86 + current_user: *86 + current_user_public: *86 + current_user_actor: *86 + current_user_organization: *86 current_user_organizations: type: array - items: *85 - repository_discussions: *85 - repository_discussions_category: *85 + items: *86 + repository_discussions: *86 + repository_discussions_category: *86 required: - timeline - user @@ -13572,7 +13777,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *86 + - *87 - *17 - *19 responses: @@ -13582,7 +13787,7 @@ paths: application/json: schema: type: array - items: &87 + items: &88 title: Base Gist description: Base Gist type: object @@ -13679,7 +13884,7 @@ paths: - created_at - updated_at examples: - default: &88 + default: &89 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -13724,7 +13929,7 @@ paths: site_admin: false truncated: false headers: - Link: *65 + Link: *66 '304': *35 '403': *27 x-github: @@ -13803,7 +14008,7 @@ paths: description: Response content: application/json: - schema: &89 + schema: &90 title: Gist Simple description: Gist Simple type: object @@ -14195,7 +14400,7 @@ paths: truncated: type: boolean examples: - default: &90 + default: &91 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -14299,7 +14504,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *86 + - *87 - *17 - *19 responses: @@ -14309,11 +14514,11 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: - default: *88 + default: *89 headers: - Link: *65 + Link: *66 '422': *15 '304': *35 '403': *27 @@ -14333,7 +14538,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *86 + - *87 - *17 - *19 responses: @@ -14343,11 +14548,11 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: - default: *88 + default: *89 headers: - Link: *65 + Link: *66 '401': *23 '304': *35 '403': *27 @@ -14372,7 +14577,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &91 + - &92 name: gist_id description: The unique identifier of the gist. in: path @@ -14384,10 +14589,10 @@ paths: description: Response content: application/json: - schema: *89 + schema: *90 examples: - default: *90 - '403': &94 + default: *91 + '403': &95 description: Forbidden Gist content: application/json: @@ -14435,7 +14640,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *91 + - *92 requestBody: required: true content: @@ -14499,9 +14704,9 @@ paths: description: Response content: application/json: - schema: *89 + schema: *90 examples: - updateGist: *90 + updateGist: *91 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -14659,7 +14864,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *91 + - *92 responses: '204': description: Response @@ -14687,7 +14892,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *91 + - *92 - *17 - *19 responses: @@ -14697,7 +14902,7 @@ paths: application/json: schema: type: array - items: &92 + items: &93 title: Gist Comment description: A comment made to a gist. type: object @@ -14735,7 +14940,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *78 + author_association: *79 required: - url - id @@ -14775,7 +14980,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -14799,7 +15004,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *91 + - *92 requestBody: required: true content: @@ -14825,9 +15030,9 @@ paths: description: Response content: application/json: - schema: *92 + schema: *93 examples: - default: &93 + default: &94 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14884,8 +15089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *91 - - &95 + - *92 + - &96 name: comment_id description: The unique identifier of the comment. in: path @@ -14898,12 +15103,12 @@ paths: description: Response content: application/json: - schema: *92 + schema: *93 examples: - default: *93 + default: *94 '304': *35 '404': *6 - '403': *94 + '403': *95 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14924,8 +15129,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *91 - - *95 + - *92 + - *96 requestBody: required: true content: @@ -14951,9 +15156,9 @@ paths: description: Response content: application/json: - schema: *92 + schema: *93 examples: - default: *93 + default: *94 '404': *6 x-github: githubCloudOnly: false @@ -14970,8 +15175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *91 - - *95 + - *92 + - *96 responses: '204': description: Response @@ -14994,7 +15199,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *91 + - *92 - *17 - *19 responses: @@ -15095,7 +15300,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *91 + - *92 - *17 - *19 responses: @@ -15105,7 +15310,7 @@ paths: application/json: schema: type: array - items: *89 + items: *90 examples: default: value: @@ -15151,7 +15356,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '404': *6 '304': *35 '403': *27 @@ -15170,13 +15375,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *91 + - *92 responses: '201': description: Response content: application/json: - schema: *87 + schema: *88 examples: default: value: @@ -15247,7 +15452,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *91 + - *92 responses: '204': description: Response if gist is starred @@ -15277,7 +15482,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *91 + - *92 responses: '204': description: Response @@ -15299,7 +15504,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *91 + - *92 responses: '204': description: Response @@ -15327,7 +15532,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *91 + - *92 - name: sha in: path required: true @@ -15338,9 +15543,9 @@ paths: description: Response content: application/json: - schema: *89 + schema: *90 examples: - default: *90 + default: *91 '422': *15 '404': *6 '403': *27 @@ -15503,7 +15708,7 @@ paths: type: array items: allOf: - - *77 + - *78 repository_selection: type: string examples: @@ -15627,7 +15832,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *65 + Link: *66 '403': *27 '304': *35 '401': *23 @@ -15729,8 +15934,8 @@ paths: - updated - comments default: created - - *59 - - *86 + - *60 + - *87 - name: collab in: query required: false @@ -15760,7 +15965,7 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: &234 value: @@ -16007,7 +16212,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *65 + Link: *66 '422': *15 '304': *35 '404': *6 @@ -16042,7 +16247,7 @@ paths: application/json: schema: type: array - items: *83 + items: *84 examples: default: value: @@ -16340,7 +16545,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &96 + X-CommonMarker-Version: &97 example: 0.17.4 schema: type: string @@ -16395,7 +16600,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *96 + X-CommonMarker-Version: *97 content: text/html: schema: @@ -16424,7 +16629,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &99 + - &100 name: account_id description: account_id parameter in: path @@ -16436,7 +16641,7 @@ paths: description: Response content: application/json: - schema: &98 + schema: &99 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -16470,7 +16675,7 @@ paths: - 'null' id: type: integer - plan: &97 + plan: &98 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -16573,7 +16778,7 @@ paths: - 'null' updated_at: type: string - plan: *97 + plan: *98 required: - url - id @@ -16581,7 +16786,7 @@ paths: - login - marketplace_purchase examples: - default: &100 + default: &101 value: url: https://api.github.com/orgs/github type: Organization @@ -16666,9 +16871,9 @@ paths: application/json: schema: type: array - items: *97 + items: *98 examples: - default: &101 + default: &102 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -16686,7 +16891,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *65 + Link: *66 '404': *6 '401': *23 x-github: @@ -16708,14 +16913,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &102 + - &103 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &103 + - &104 name: sort description: The property to sort the results by. in: query @@ -16745,9 +16950,9 @@ paths: application/json: schema: type: array - items: *98 + items: *99 examples: - default: &104 + default: &105 value: - url: https://api.github.com/orgs/github type: Organization @@ -16798,7 +17003,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *65 + Link: *66 '404': *6 '422': *15 '401': *23 @@ -16821,15 +17026,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *99 + - *100 responses: '200': description: Response content: application/json: - schema: *98 + schema: *99 examples: - default: *100 + default: *101 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -16861,11 +17066,11 @@ paths: application/json: schema: type: array - items: *97 + items: *98 examples: - default: *101 + default: *102 headers: - Link: *65 + Link: *66 '401': *23 x-github: githubCloudOnly: false @@ -16886,8 +17091,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *102 - *103 + - *104 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16907,11 +17112,11 @@ paths: application/json: schema: type: array - items: *98 + items: *99 examples: - default: *104 + default: *105 headers: - Link: *65 + Link: *66 '401': *23 x-github: githubCloudOnly: false @@ -17198,7 +17403,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: default: value: @@ -17282,7 +17487,7 @@ paths: schema: type: boolean default: false - - *86 + - *87 - &557 name: before description: 'Only show notifications updated before the given time. This @@ -17308,14 +17513,14 @@ paths: application/json: schema: type: array - items: &106 + items: &107 title: Thread description: Thread type: object properties: id: type: string - repository: &152 + repository: &153 title: Minimal Repository description: Minimal Repository type: object @@ -17958,7 +18163,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -18042,7 +18247,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &107 + - &108 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -18056,7 +18261,7 @@ paths: description: Response content: application/json: - schema: *106 + schema: *107 examples: default: value: @@ -18158,7 +18363,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *107 + - *108 responses: '205': description: Reset Content @@ -18180,7 +18385,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *107 + - *108 responses: '204': description: No content @@ -18203,13 +18408,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *107 + - *108 responses: '200': description: Response content: application/json: - schema: &108 + schema: &109 title: Thread Subscription description: Thread Subscription type: object @@ -18253,7 +18458,7 @@ paths: - url - subscribed examples: - default: &109 + default: &110 value: subscribed: true ignored: false @@ -18284,7 +18489,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *107 + - *108 requestBody: required: false content: @@ -18305,9 +18510,9 @@ paths: description: Response content: application/json: - schema: *108 + schema: *109 examples: - default: *109 + default: *110 '304': *35 '403': *27 '401': *23 @@ -18330,7 +18535,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *107 + - *108 responses: '204': description: Response @@ -18425,9 +18630,9 @@ paths: application/json: schema: type: array - items: *71 + items: *72 examples: - default: *110 + default: *111 headers: Link: example: ; rel="next" @@ -18454,13 +18659,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response content: application/json: - schema: &111 + schema: &112 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -18494,12 +18699,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: application/json: - schema: *111 + schema: *112 examples: selected_actions: *40 responses: @@ -18528,13 +18733,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response content: application/json: - schema: &112 + schema: &113 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -18568,12 +18773,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: application/json: - schema: *112 + schema: *113 examples: selected_actions: *42 responses: @@ -18587,272 +18792,6 @@ paths: enabledForGitHubApps: true category: actions subcategory: cache - "/organizations/{org}/dependabot/repository-access": - get: - summary: Lists the repositories Dependabot can access in an organization - description: |- - Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. - Unauthorized users will not see the existence of this endpoint. - tags: - - dependabot - operationId: dependabot/repository-access-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization - parameters: - - *73 - - name: page - in: query - description: The page number of results to fetch. - required: false - schema: - type: integer - minimum: 1 - default: 1 - - name: per_page - in: query - description: Number of results per page. - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - responses: - '200': - description: Response - content: - application/json: - schema: - title: Dependabot Repository Access Details - description: Information about repositories that Dependabot is able - to access in an organization - type: object - properties: - default_level: - type: - - string - - 'null' - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - - - examples: - - internal - accessible_repositories: - type: array - items: - anyOf: - - type: 'null' - - *64 - additionalProperties: false - examples: - default: - value: - default_level: public - accessible_repositories: - - id: 123456 - node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= - name: example-repo - full_name: octocat/example-repo - owner: - name: octocat - email: octo@github.com - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://avatars.githubusercontent.com/u/1?v=4 - gravatar_id: 1 - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat/example-repo - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - starred_at: '"2020-07-09T00:17:55Z"' - user_view_type: default - private: false - html_url: https://github.com/octocat/example-repo - description: This is an example repository. - fork: false - url: https://api.github.com/repos/octocat/example-repo - archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} - commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} - compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/example-repo/contributors - deployments_url: https://api.github.com/repos/octocat/example-repo/deployments - downloads_url: https://api.github.com/repos/octocat/example-repo/downloads - events_url: https://api.github.com/repos/octocat/example-repo/events - forks_url: https://api.github.com/repos/octocat/example-repo/forks - git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} - keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} - languages_url: https://api.github.com/repos/octocat/example-repo/languages - merges_url: https://api.github.com/repos/octocat/example-repo/merges - milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} - releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers - statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers - subscription_url: https://api.github.com/repos/octocat/example-repo/subscription - tags_url: https://api.github.com/repos/octocat/example-repo/tags - teams_url: https://api.github.com/repos/octocat/example-repo/teams - trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/example-repo/hooks - '403': *27 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access - patch: - summary: Updates Dependabot's repository access list for an organization - description: |- - Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. - - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. - Unauthorized users will not see the existence of this endpoint. - - **Example request body:** - ```json - { - "repository_ids_to_add": [123, 456], - "repository_ids_to_remove": [789] - } - ``` - tags: - - dependabot - operationId: dependabot/update-repository-access-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization - parameters: - - *73 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - repository_ids_to_add: - type: array - items: - type: integer - description: List of repository IDs to add. - repository_ids_to_remove: - type: array - items: - type: integer - description: List of repository IDs to remove. - example: - repository_ids_to_add: - - 123 - - 456 - repository_ids_to_remove: - - 789 - examples: - '204': - summary: Example with a 'succeeded' status. - add-example: - summary: Add repositories - value: - repository_ids_to_add: - - 123 - - 456 - remove-example: - summary: Remove repositories - value: - repository_ids_to_remove: - - 789 - responses: - '204': - description: Response - '403': *27 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access - "/organizations/{org}/dependabot/repository-access/default-level": - put: - summary: Set the default repository access level for Dependabot - description: |- - Sets the default level of repository access Dependabot will have while performing an update. Available values are: - - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. - - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. - - Unauthorized users will not see the existence of this endpoint. - - This operation supports both server-to-server and user-to-server access. - tags: - - dependabot - operationId: dependabot/set-repository-access-default-level - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot - parameters: - - *73 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - default_level: - type: string - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - examples: - - internal - required: - - default_level - examples: - '204': - summary: Example with a 'succeeded' status. - value: - default_level: public - responses: - '204': - description: Response - '403': *27 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access "/organizations/{org}/settings/billing/budgets": get: summary: Get all budgets for an organization @@ -18869,7 +18808,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - - *73 + - *74 - name: page description: The page number of the results to fetch. in: query @@ -19047,8 +18986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - - *73 - - &114 + - *74 + - &115 name: budget_id description: The ID corresponding to the budget. in: path @@ -19151,7 +19090,7 @@ paths: '404': *6 '403': *27 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19171,8 +19110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - - *73 - - *114 + - *74 + - *115 requestBody: required: true content: @@ -19364,8 +19303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - - *73 - - *114 + - *74 + - *115 responses: '200': description: Response when deleting a budget @@ -19392,7 +19331,7 @@ paths: '404': *6 '403': *27 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19412,8 +19351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - - *73 - - &115 + - *74 + - &116 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -19422,7 +19361,7 @@ paths: required: false schema: type: integer - - &117 + - &118 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -19431,7 +19370,7 @@ paths: required: false schema: type: integer - - &116 + - &117 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -19453,7 +19392,7 @@ paths: required: false schema: type: string - - &118 + - &119 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -19570,7 +19509,7 @@ paths: '403': *27 '404': *6 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19590,8 +19529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - - *73 - - *115 + - *74 + - *116 - &706 name: month description: If specified, only return results for a single month. The value @@ -19601,7 +19540,7 @@ paths: required: false schema: type: integer - - *116 + - *117 responses: '200': description: Billing usage report response for an organization @@ -19677,7 +19616,7 @@ paths: '400': *14 '403': *27 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19700,10 +19639,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - - *73 - - *115 - - *117 + - *74 - *116 + - *118 + - *117 - &707 name: repository description: The repository name to query for usage in the format owner/repository. @@ -19711,7 +19650,7 @@ paths: required: false schema: type: string - - *118 + - *119 - &708 name: sku description: The SKU to query for usage. @@ -19823,7 +19762,7 @@ paths: '400': *14 '403': *27 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19849,13 +19788,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *73 + - *74 responses: '200': description: Response content: application/json: - schema: &119 + schema: &120 title: Organization Full description: Organization Full type: object @@ -20250,7 +20189,7 @@ paths: - updated_at - archived_at examples: - default-response: &120 + default-response: &121 value: login: github id: 1 @@ -20350,7 +20289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *73 + - *74 requestBody: required: false content: @@ -20567,17 +20506,17 @@ paths: description: Response content: application/json: - schema: *119 + schema: *120 examples: - default: *120 + default: *121 '422': description: Validation failed content: application/json: schema: oneOf: - - *121 - *122 + - *123 '409': *52 x-github: githubCloudOnly: false @@ -20601,7 +20540,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *73 + - *74 responses: '202': *37 '404': *6 @@ -20626,7 +20565,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -20652,7 +20591,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20673,7 +20612,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -20729,7 +20668,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20749,7 +20688,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -20767,7 +20706,7 @@ paths: type: integer runners: type: array - items: &123 + items: &124 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -20830,7 +20769,7 @@ paths: - size_gb - display_name - source - machine_size_details: &131 + machine_size_details: &132 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -20939,7 +20878,7 @@ paths: - public_ip_enabled - platform examples: - default: &151 + default: &152 value: total_count: 2 runners: @@ -20981,7 +20920,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20999,7 +20938,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -21077,9 +21016,9 @@ paths: description: Response content: application/json: - schema: *123 + schema: *124 examples: - default: &132 + default: &133 value: id: 5 name: My hosted ubuntu runner @@ -21120,7 +21059,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -21136,7 +21075,7 @@ paths: type: integer images: type: array - items: &124 + items: &125 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -21195,7 +21134,7 @@ paths: - latest_version - state examples: - default: &126 + default: &127 value: total_count: 2 image_versions: @@ -21226,8 +21165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners parameters: - - *73 - - &125 + - *74 + - &126 name: image_definition_id description: Image definition ID of custom image in: path @@ -21239,7 +21178,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -21269,8 +21208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *73 - - *125 + - *74 + - *126 responses: '204': description: Response @@ -21293,8 +21232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization parameters: - - *125 - - *73 + - *126 + - *74 responses: '200': description: Response @@ -21310,7 +21249,7 @@ paths: type: integer image_versions: type: array - items: &127 + items: &128 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -21348,7 +21287,7 @@ paths: - created_on - state_details examples: - default: *126 + default: *127 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21368,9 +21307,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners parameters: - - *73 - - *125 - - &128 + - *74 + - *126 + - &129 name: version description: Version of a custom image in: path @@ -21383,7 +21322,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *128 examples: default: value: @@ -21409,9 +21348,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization parameters: - - *73 - - *125 - - *128 + - *74 + - *126 + - *129 responses: '204': description: Response @@ -21432,7 +21371,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -21448,7 +21387,7 @@ paths: type: integer images: type: array - items: &129 + items: &130 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -21488,7 +21427,7 @@ paths: - display_name - source examples: - default: &130 + default: &131 value: id: ubuntu-20.04 platform: linux-x64 @@ -21512,7 +21451,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -21528,9 +21467,9 @@ paths: type: integer images: type: array - items: *129 + items: *130 examples: - default: *130 + default: *131 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21547,7 +21486,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -21602,7 +21541,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -21618,7 +21557,7 @@ paths: type: integer machine_specs: type: array - items: *131 + items: *132 examples: default: value: @@ -21643,7 +21582,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -21687,8 +21626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *73 - - &133 + - *74 + - &134 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -21700,11 +21639,11 @@ paths: description: Response content: application/json: - schema: *123 + schema: *124 examples: - default: *132 + default: *133 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21722,8 +21661,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *73 - - *133 + - *74 + - *134 requestBody: required: true content: @@ -21776,9 +21715,9 @@ paths: description: Response content: application/json: - schema: *123 + schema: *124 examples: - default: *132 + default: *133 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21794,16 +21733,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *73 - - *133 + - *74 + - *134 responses: '202': description: Response content: application/json: - schema: *123 + schema: *124 examples: - default: *132 + default: *133 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21823,7 +21762,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization parameters: - - *73 + - *74 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -21856,12 +21795,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: application/json: - schema: *134 + schema: *135 examples: default: *44 responses: @@ -21895,7 +21834,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *73 + - *74 - name: custom_property_name in: path required: true @@ -21928,7 +21867,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *73 + - *74 responses: '200': description: A JSON serialized template for OIDC subject claim customization @@ -21948,7 +21887,7 @@ paths: required: - include_claim_keys examples: - default: &135 + default: &136 value: include_claim_keys: - repo @@ -21970,7 +21909,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -21987,13 +21926,13 @@ paths: items: type: string examples: - default: *135 + default: *136 responses: '201': description: Empty response content: application/json: - schema: &161 + schema: &162 title: Empty Object description: An object without any properties. type: object @@ -22023,7 +21962,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -22032,7 +21971,7 @@ paths: schema: type: object properties: - enabled_repositories: &136 + enabled_repositories: &137 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -22045,7 +21984,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &137 + allowed_actions: &138 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -22058,7 +21997,7 @@ paths: description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &138 + sha_pinning_required: &139 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -22089,7 +22028,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *73 + - *74 responses: '204': description: Response @@ -22100,9 +22039,9 @@ paths: schema: type: object properties: - enabled_repositories: *136 - allowed_actions: *137 - sha_pinning_required: *138 + enabled_repositories: *137 + allowed_actions: *138 + sha_pinning_required: *139 required: - enabled_repositories examples: @@ -22130,7 +22069,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -22173,7 +22112,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -22215,13 +22154,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response content: application/json: - schema: &139 + schema: &140 type: object properties: approval_policy: @@ -22256,7 +22195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *73 + - *74 responses: '204': description: Response @@ -22266,7 +22205,7 @@ paths: required: true content: application/json: - schema: *139 + schema: *140 examples: default: summary: Set approval policy to first time contributors @@ -22288,7 +22227,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -22320,7 +22259,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &140 + default: &141 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -22343,7 +22282,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -22371,7 +22310,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *140 + default: *141 responses: '204': description: Empty response for successful settings update @@ -22401,7 +22340,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -22419,9 +22358,9 @@ paths: type: number repositories: type: array - items: *77 + items: *78 examples: - default: &144 + default: &145 value: total_count: 1 repositories: @@ -22561,7 +22500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *73 + - *74 responses: '204': description: Response @@ -22605,8 +22544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *73 - - &141 + - *74 + - &142 name: repository_id description: The unique identifier of the repository. in: path @@ -22634,8 +22573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *73 - - *141 + - *74 + - *142 responses: '204': description: Response @@ -22658,13 +22597,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response content: application/json: - schema: &142 + schema: &143 type: object properties: github_owned_allowed: @@ -22686,7 +22625,7 @@ paths: items: type: string examples: - default: &143 + default: &144 value: github_owned_allowed: true verified_allowed: false @@ -22711,7 +22650,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *73 + - *74 responses: '204': description: Response @@ -22719,9 +22658,9 @@ paths: required: false content: application/json: - schema: *142 + schema: *143 examples: - selected_actions: *143 + selected_actions: *144 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22741,7 +22680,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -22789,7 +22728,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -22836,7 +22775,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -22851,9 +22790,9 @@ paths: type: integer repositories: type: array - items: *77 + items: *78 examples: - default: *144 + default: *145 '403': *27 '404': *6 x-github: @@ -22873,7 +22812,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -22921,8 +22860,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *73 - - *141 + - *74 + - *142 responses: '204': description: No content @@ -22948,8 +22887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *73 - - *141 + - *74 + - *142 responses: '204': description: No content @@ -22977,7 +22916,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -22986,14 +22925,14 @@ paths: schema: &351 type: object properties: - default_workflow_permissions: &145 + default_workflow_permissions: &146 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &146 + can_approve_pull_request_reviews: &147 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -23001,7 +22940,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &147 + default: &148 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -23026,7 +22965,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *73 + - *74 responses: '204': description: Success response @@ -23037,10 +22976,10 @@ paths: schema: &352 type: object properties: - default_workflow_permissions: *145 - can_approve_pull_request_reviews: *146 + default_workflow_permissions: *146 + can_approve_pull_request_reviews: *147 examples: - default: *147 + default: *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23060,7 +22999,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *73 + - *74 - *17 - *19 - name: visible_to_repository @@ -23085,7 +23024,7 @@ paths: type: number runner_groups: type: array - items: &148 + items: &149 type: object properties: id: @@ -23202,7 +23141,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -23275,9 +23214,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *149 examples: - default: &150 + default: &151 value: id: 2 name: octo-runner-group @@ -23312,8 +23251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *73 - - &149 + - *74 + - &150 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -23325,7 +23264,7 @@ paths: description: Response content: application/json: - schema: *148 + schema: *149 examples: default: value: @@ -23361,8 +23300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *73 - - *149 + - *74 + - *150 requestBody: required: true content: @@ -23418,9 +23357,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *149 examples: - default: *150 + default: *151 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -23439,8 +23378,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *73 - - *149 + - *74 + - *150 responses: '204': description: Response @@ -23463,8 +23402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *73 - - *149 + - *74 + - *150 - *17 - *19 responses: @@ -23482,11 +23421,11 @@ paths: type: number runners: type: array - items: *123 + items: *124 examples: - default: *151 + default: *152 headers: - Link: *65 + Link: *66 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -23506,8 +23445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *73 - - *149 + - *74 + - *150 - *19 - *17 responses: @@ -23525,7 +23464,7 @@ paths: type: number repositories: type: array - items: *152 + items: *153 examples: default: &188 value: @@ -23779,8 +23718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *73 - - *149 + - *74 + - *150 requestBody: required: true content: @@ -23824,9 +23763,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *73 - - *149 - - *141 + - *74 + - *150 + - *142 responses: '204': description: Response @@ -23848,9 +23787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *73 - - *149 - - *141 + - *74 + - *150 + - *142 responses: '204': description: Response @@ -23873,8 +23812,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *73 - - *149 + - *74 + - *150 - *17 - *19 responses: @@ -23892,7 +23831,7 @@ paths: type: number runners: type: array - items: &154 + items: &155 title: Self hosted runners description: A self hosted runner type: object @@ -23926,7 +23865,7 @@ paths: type: boolean labels: type: array - items: &157 + items: &158 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -23956,7 +23895,7 @@ paths: - busy - labels examples: - default: &155 + default: &156 value: total_count: 2 runners: @@ -23996,7 +23935,7 @@ paths: name: no-gpu type: custom headers: - Link: *65 + Link: *66 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -24015,8 +23954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *73 - - *149 + - *74 + - *150 requestBody: required: true content: @@ -24060,9 +23999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *73 - - *149 - - &153 + - *74 + - *150 + - &154 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -24090,9 +24029,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *73 - - *149 - - *153 + - *74 + - *150 + - *154 responses: '204': description: Response @@ -24122,7 +24061,7 @@ paths: in: query schema: type: string - - *73 + - *74 - *17 - *19 responses: @@ -24140,11 +24079,11 @@ paths: type: integer runners: type: array - items: *154 + items: *155 examples: - default: *155 + default: *156 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24166,7 +24105,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -24242,7 +24181,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -24295,7 +24234,7 @@ paths: - runner - encoded_jit_config properties: - runner: *154 + runner: *155 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -24352,13 +24291,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *73 + - *74 responses: '201': description: Response content: application/json: - schema: &156 + schema: &157 title: Authentication Token description: Authentication Token type: object @@ -24382,7 +24321,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *77 + items: *78 single_file: type: - string @@ -24431,13 +24370,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *73 + - *74 responses: '201': description: Response content: application/json: - schema: *156 + schema: *157 examples: default: &357 value: @@ -24464,14 +24403,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *73 - - *153 + - *74 + - *154 responses: '200': description: Response content: application/json: - schema: *154 + schema: *155 examples: default: &358 value: @@ -24514,8 +24453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *73 - - *153 + - *74 + - *154 responses: '204': description: Response @@ -24541,10 +24480,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *73 - - *153 + - *74 + - *154 responses: - '200': &158 + '200': &159 description: Response content: application/json: @@ -24558,7 +24497,7 @@ paths: type: integer labels: type: array - items: *157 + items: *158 examples: default: value: @@ -24597,8 +24536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *73 - - *153 + - *74 + - *154 requestBody: required: true content: @@ -24622,7 +24561,7 @@ paths: - gpu - accelerated responses: - '200': *158 + '200': *159 '404': *6 '422': *7 x-github: @@ -24646,8 +24585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *73 - - *153 + - *74 + - *154 requestBody: required: true content: @@ -24672,7 +24611,7 @@ paths: - gpu - accelerated responses: - '200': *158 + '200': *159 '404': *6 '422': *7 x-github: @@ -24696,8 +24635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *73 - - *153 + - *74 + - *154 responses: '200': &359 description: Response @@ -24713,7 +24652,7 @@ paths: type: integer labels: type: array - items: *157 + items: *158 examples: default: value: @@ -24754,8 +24693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *73 - - *153 + - *74 + - *154 - &360 name: name description: The name of a self-hosted runner's custom label. @@ -24764,7 +24703,7 @@ paths: schema: type: string responses: - '200': *158 + '200': *159 '404': *6 '422': *7 x-github: @@ -24789,7 +24728,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *73 + - *74 - *17 - *19 responses: @@ -24807,7 +24746,7 @@ paths: type: integer secrets: type: array - items: &159 + items: &160 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -24859,7 +24798,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24882,7 +24821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *73 + - *74 responses: '200': description: Response @@ -24948,8 +24887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *73 - - &160 + - *74 + - &161 name: secret_name description: The name of the secret. in: path @@ -24961,7 +24900,7 @@ paths: description: Response content: application/json: - schema: *159 + schema: *160 examples: default: value: @@ -24991,8 +24930,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 requestBody: required: true content: @@ -25049,7 +24988,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -25075,8 +25014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 responses: '204': description: Response @@ -25102,8 +25041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - *19 - *17 responses: @@ -25121,9 +25060,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *153 examples: - default: &164 + default: &165 value: total_count: 1 repositories: @@ -25215,8 +25154,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 requestBody: required: true content: @@ -25268,8 +25207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - name: repository_id in: path required: true @@ -25302,8 +25241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - name: repository_id in: path required: true @@ -25335,7 +25274,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *73 + - *74 - &341 name: per_page description: The number of results per page (max 30). For more information, @@ -25360,7 +25299,7 @@ paths: type: integer variables: type: array - items: &162 + items: &163 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -25429,7 +25368,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25450,7 +25389,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *73 + - *74 requestBody: required: true content: @@ -25498,7 +25437,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -25523,8 +25462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *73 - - &163 + - *74 + - &164 name: name description: The name of the variable. in: path @@ -25536,7 +25475,7 @@ paths: description: Response content: application/json: - schema: *162 + schema: *163 examples: default: value: @@ -25566,8 +25505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *73 - - *163 + - *74 + - *164 requestBody: required: true content: @@ -25629,8 +25568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *73 - - *163 + - *74 + - *164 responses: '204': description: Response @@ -25656,8 +25595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *73 - - *163 + - *74 + - *164 - *19 - *17 responses: @@ -25675,9 +25614,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *153 examples: - default: *164 + default: *165 '409': description: Response when the visibility of the variable is not set to `selected` @@ -25703,8 +25642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *73 - - *163 + - *74 + - *164 requestBody: required: true content: @@ -25753,8 +25692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *73 - - *163 + - *74 + - *164 - name: repository_id in: path required: true @@ -25788,8 +25727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *73 - - *163 + - *74 + - *164 - name: repository_id in: path required: true @@ -25830,7 +25769,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *73 + - *74 requestBody: required: true content: @@ -25956,7 +25895,7 @@ paths: type: integer deployment_records: type: array - items: &165 + items: &166 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -26003,7 +25942,7 @@ paths: required: - total_count examples: - default: &166 + default: &167 value: total_count: 1 deployment_records: @@ -26040,7 +25979,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *73 + - *74 - name: cluster in: path description: The cluster name. @@ -26185,11 +26124,11 @@ paths: type: integer deployment_records: type: array - items: *165 + items: *166 required: - total_count examples: - default: *166 + default: *167 '403': description: Forbidden content: @@ -26236,7 +26175,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *73 + - *74 requestBody: required: true content: @@ -26411,7 +26350,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *73 + - *74 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -26437,9 +26376,9 @@ paths: - 3 deployment_records: type: array - items: *165 + items: *166 examples: - default: *166 + default: *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26459,7 +26398,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *73 + - *74 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -26545,7 +26484,7 @@ paths: - *17 - *45 - *46 - - *73 + - *74 requestBody: required: true content: @@ -26742,7 +26681,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *73 + - *74 requestBody: required: true content: @@ -26807,7 +26746,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *73 + - *74 - name: subject_digest description: Subject Digest in: path @@ -26842,7 +26781,7 @@ paths: - *17 - *45 - *46 - - *73 + - *74 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -26890,7 +26829,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *73 + - *74 - name: attestation_id description: Attestation ID in: path @@ -26928,7 +26867,7 @@ paths: - *17 - *45 - *46 - - *73 + - *74 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -27091,7 +27030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -27103,7 +27042,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27122,8 +27061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: If the user is blocked @@ -27148,8 +27087,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -27169,8 +27108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -27195,15 +27134,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *73 + - *74 - *19 - *17 - - *59 + - *60 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &167 + schema: &168 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -27229,7 +27168,7 @@ paths: application/json: schema: type: array - items: &168 + items: &169 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -27473,7 +27412,7 @@ paths: - string - 'null' format: date-time - state: *167 + state: *168 contact_link: description: The contact link of the campaign. type: @@ -27569,9 +27508,9 @@ paths: closed_at: state: open headers: - Link: *65 + Link: *66 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27595,7 +27534,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -27696,9 +27635,9 @@ paths: description: Response content: application/json: - schema: *168 + schema: *169 examples: - default: &169 + default: &170 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -27747,7 +27686,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27769,7 +27708,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *73 + - *74 - name: campaign_number description: The campaign number. in: path @@ -27781,16 +27720,16 @@ paths: description: Response content: application/json: - schema: *168 + schema: *169 examples: - default: *169 + default: *170 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27811,7 +27750,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *73 + - *74 - name: campaign_number description: The campaign number. in: path @@ -27861,7 +27800,7 @@ paths: - string - 'null' format: uri - state: *167 + state: *168 examples: default: value: @@ -27871,9 +27810,9 @@ paths: description: Response content: application/json: - schema: *168 + schema: *169 examples: - default: *169 + default: *170 '400': description: Bad Request content: @@ -27885,7 +27824,7 @@ paths: content: application/json: schema: *3 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27906,7 +27845,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *73 + - *74 - name: campaign_number description: The campaign number. in: path @@ -27917,7 +27856,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27939,7 +27878,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *73 + - *74 - &410 name: tool_name description: The name of a code scanning tool. Only results by this tool will @@ -27947,7 +27886,7 @@ paths: but not both. in: query required: false - schema: &177 + schema: &178 type: string description: The name of the tool used to generate the code scanning analysis. - &411 @@ -27958,7 +27897,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &178 + schema: &179 type: - string - 'null' @@ -27968,7 +27907,7 @@ paths: - *46 - *19 - *17 - - *59 + - *60 - name: state description: If specified, only code scanning alerts with this state will be returned. @@ -28026,18 +27965,18 @@ paths: items: type: object properties: - number: *170 - created_at: *171 - updated_at: *172 - url: *173 - html_url: *174 + number: *171 + created_at: *172 + updated_at: *173 + url: *174 + html_url: *175 instances_url: &415 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &179 + state: &180 type: - string - 'null' @@ -28047,12 +27986,12 @@ paths: - dismissed - fixed - - fixed_at: *175 + fixed_at: *176 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *176 + dismissed_at: *177 dismissed_reason: &416 type: - string @@ -28135,14 +28074,14 @@ paths: tool: &419 type: object properties: - name: *177 + name: *178 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *178 + guid: *179 most_recent_instance: &420 type: object properties: @@ -28168,7 +28107,7 @@ paths: analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *179 + state: *180 commit_sha: type: string message: @@ -28215,7 +28154,7 @@ paths: - test - library - - repository: *64 + repository: *65 dismissal_approved_by: anyOf: - type: 'null' @@ -28467,9 +28406,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *65 + Link: *66 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28491,7 +28430,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *73 + - *74 - name: target_type in: query description: The target type of the code security configuration @@ -28597,7 +28536,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *73 + - *74 requestBody: required: true content: @@ -28841,7 +28780,7 @@ paths: application/json: schema: *47 examples: - default: *180 + default: *181 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28863,15 +28802,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *73 + - *74 responses: '200': description: Response content: application/json: - schema: *181 + schema: *182 examples: - default: *182 + default: *183 '304': *35 '403': *27 '404': *6 @@ -28897,7 +28836,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *73 + - *74 requestBody: required: true content: @@ -28923,7 +28862,7 @@ paths: - 32 - 91 responses: - '204': *183 + '204': *59 '400': *14 '403': *27 '404': *6 @@ -28949,7 +28888,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *73 + - *74 - *49 responses: '200': @@ -28958,7 +28897,7 @@ paths: application/json: schema: *47 examples: - default: *180 + default: *181 '304': *35 '403': *27 '404': *6 @@ -28982,7 +28921,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *73 + - *74 - *49 requestBody: required: true @@ -29262,10 +29201,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *73 + - *74 - *49 responses: - '204': *183 + '204': *59 '400': *14 '403': *27 '404': *6 @@ -29293,7 +29232,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *73 + - *74 - *49 requestBody: required: true @@ -29357,7 +29296,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *73 + - *74 - *49 requestBody: required: true @@ -29403,7 +29342,7 @@ paths: default: value: default_for_new_repos: all - configuration: *180 + configuration: *181 '403': *27 '404': *6 x-github: @@ -29427,7 +29366,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *73 + - *74 - *49 - name: per_page description: The number of results per page (max 100). For more information, @@ -29486,7 +29425,7 @@ paths: parameters: - *17 - *19 - - *73 + - *74 responses: '200': description: Response @@ -29533,7 +29472,7 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *152 + repository: *153 machine: anyOf: - type: 'null' @@ -30256,7 +30195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *73 + - *74 deprecated: true requestBody: required: true @@ -30323,7 +30262,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *73 + - *74 deprecated: true requestBody: required: true @@ -30378,7 +30317,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *73 + - *74 requestBody: required: true content: @@ -30430,7 +30369,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *73 + - *74 - *17 - *19 responses: @@ -30502,7 +30441,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30521,7 +30460,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *73 + - *74 responses: '200': description: Response @@ -30585,8 +30524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 responses: '200': description: Response @@ -30601,7 +30540,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30621,8 +30560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 requestBody: required: true content: @@ -30677,7 +30616,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -30703,8 +30642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 responses: '204': description: Response @@ -30729,8 +30668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - *19 - *17 responses: @@ -30748,9 +30687,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *153 examples: - default: *164 + default: *165 '404': *6 x-github: githubCloudOnly: false @@ -30772,8 +30711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 requestBody: required: true content: @@ -30823,8 +30762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - name: repository_id in: path required: true @@ -30857,8 +30796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - name: repository_id in: path required: true @@ -30897,7 +30836,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *73 + - *74 responses: '200': description: OK @@ -31038,7 +30977,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *73 + - *74 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -31074,13 +31013,13 @@ paths: organization: anyOf: - type: 'null' - - *71 + - *72 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - *187 - - *66 + - *67 type: - 'null' - object @@ -31210,7 +31149,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '500': *53 '401': *23 '403': *27 @@ -31244,7 +31183,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *73 + - *74 requestBody: content: application/json: @@ -31322,7 +31261,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *73 + - *74 requestBody: content: application/json: @@ -31402,7 +31341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *73 + - *74 requestBody: content: application/json: @@ -31479,7 +31418,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *73 + - *74 requestBody: content: application/json: @@ -31557,7 +31496,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -31622,7 +31561,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -31677,7 +31616,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -31692,7 +31631,7 @@ paths: type: integer repositories: type: array - items: *152 + items: *153 required: - total_count - repositories @@ -31726,7 +31665,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -31782,8 +31721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization parameters: - - *73 - - *141 + - *74 + - *142 responses: '204': description: No Content @@ -31816,8 +31755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization parameters: - - *73 - - *141 + - *74 + - *142 responses: '204': description: No Content @@ -31856,7 +31795,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization parameters: - - *73 + - *74 responses: '200': description: OK @@ -31909,7 +31848,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization parameters: - - *73 + - *74 requestBody: description: The content exclusion rules to set required: true @@ -32000,7 +31939,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *73 + - *74 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -32480,7 +32419,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day parameters: - - *73 + - *74 - *54 responses: '200': @@ -32490,7 +32429,7 @@ paths: schema: *55 examples: default: *56 - '204': *183 + '204': *59 '500': *53 '403': *27 '404': *6 @@ -32519,7 +32458,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics parameters: - - *73 + - *74 responses: '200': description: Response @@ -32556,7 +32495,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day parameters: - - *73 + - *74 - *54 responses: '200': @@ -32566,7 +32505,7 @@ paths: schema: *55 examples: default: *56 - '204': *183 + '204': *59 '500': *53 '403': *27 '404': *6 @@ -32595,7 +32534,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics parameters: - - *73 + - *74 responses: '200': description: Response @@ -32628,7 +32567,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *73 + - *74 - *189 - *190 - *191 @@ -32675,7 +32614,7 @@ paths: type: string - *196 - *197 - - *59 + - *60 - *45 - *46 - *17 @@ -32699,6 +32638,272 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: alerts + "/orgs/{org}/dependabot/repository-access": + get: + summary: Lists the repositories Dependabot can access in an organization + description: |- + Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. + > [!NOTE] + > This operation supports both server-to-server and user-to-server access. + Unauthorized users will not see the existence of this endpoint. + tags: + - dependabot + operationId: dependabot/repository-access-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization + parameters: + - *74 + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 + responses: + '200': + description: Response + content: + application/json: + schema: + title: Dependabot Repository Access Details + description: Information about repositories that Dependabot is able + to access in an organization + type: object + properties: + default_level: + type: + - string + - 'null' + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + - + examples: + - internal + accessible_repositories: + type: array + items: + anyOf: + - type: 'null' + - *65 + additionalProperties: false + examples: + default: + value: + default_level: public + accessible_repositories: + - id: 123456 + node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= + name: example-repo + full_name: octocat/example-repo + owner: + name: octocat + email: octo@github.com + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://avatars.githubusercontent.com/u/1?v=4 + gravatar_id: 1 + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat/example-repo + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + starred_at: '"2020-07-09T00:17:55Z"' + user_view_type: default + private: false + html_url: https://github.com/octocat/example-repo + description: This is an example repository. + fork: false + url: https://api.github.com/repos/octocat/example-repo + archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} + commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} + compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/example-repo/contributors + deployments_url: https://api.github.com/repos/octocat/example-repo/deployments + downloads_url: https://api.github.com/repos/octocat/example-repo/downloads + events_url: https://api.github.com/repos/octocat/example-repo/events + forks_url: https://api.github.com/repos/octocat/example-repo/forks + git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} + keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} + languages_url: https://api.github.com/repos/octocat/example-repo/languages + merges_url: https://api.github.com/repos/octocat/example-repo/merges + milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} + releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers + statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers + subscription_url: https://api.github.com/repos/octocat/example-repo/subscription + tags_url: https://api.github.com/repos/octocat/example-repo/tags + teams_url: https://api.github.com/repos/octocat/example-repo/teams + trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access + patch: + summary: Updates Dependabot's repository access list for an organization + description: |- + Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. + + > [!NOTE] + > This operation supports both server-to-server and user-to-server access. + Unauthorized users will not see the existence of this endpoint. + + **Example request body:** + ```json + { + "repository_ids_to_add": [123, 456], + "repository_ids_to_remove": [789] + } + ``` + tags: + - dependabot + operationId: dependabot/update-repository-access-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization + parameters: + - *74 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_ids_to_add: + type: array + items: + type: integer + description: List of repository IDs to add. + repository_ids_to_remove: + type: array + items: + type: integer + description: List of repository IDs to remove. + example: + repository_ids_to_add: + - 123 + - 456 + repository_ids_to_remove: + - 789 + examples: + '204': + summary: Example with a 'succeeded' status. + add-example: + summary: Add repositories + value: + repository_ids_to_add: + - 123 + - 456 + remove-example: + summary: Remove repositories + value: + repository_ids_to_remove: + - 789 + responses: + '204': + description: Response + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access + "/orgs/{org}/dependabot/repository-access/default-level": + put: + summary: Set the default repository access level for Dependabot + description: |- + Sets the default level of repository access Dependabot will have while performing an update. Available values are: + - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. + - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. + + Unauthorized users will not see the existence of this endpoint. + + This operation supports both server-to-server and user-to-server access. + tags: + - dependabot + operationId: dependabot/set-repository-access-default-level + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot + parameters: + - *74 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + examples: + - internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access "/orgs/{org}/dependabot/secrets": get: summary: List organization secrets @@ -32714,7 +32919,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *73 + - *74 - *17 - *19 responses: @@ -32784,7 +32989,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32805,7 +33010,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *73 + - *74 responses: '200': description: Response @@ -32853,8 +33058,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 responses: '200': description: Response @@ -32888,8 +33093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 requestBody: required: true content: @@ -32946,7 +33151,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -32970,8 +33175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 responses: '204': description: Response @@ -32995,8 +33200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - *19 - *17 responses: @@ -33014,9 +33219,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *153 examples: - default: *164 + default: *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33037,8 +33242,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 requestBody: required: true content: @@ -33088,8 +33293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - name: repository_id in: path required: true @@ -33120,8 +33325,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - name: repository_id in: path required: true @@ -33151,7 +33356,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -33212,7 +33417,7 @@ paths: repository: anyOf: - type: 'null' - - *152 + - *153 created_at: type: string format: date-time @@ -33308,7 +33513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *73 + - *74 - *17 - *19 responses: @@ -33318,7 +33523,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: 200-response: value: @@ -33390,7 +33595,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *73 + - *74 - *17 - *19 responses: @@ -33487,7 +33692,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -33511,7 +33716,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *73 + - *74 - *17 - *19 responses: @@ -33621,7 +33826,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -33644,7 +33849,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *73 + - *74 requestBody: required: true content: @@ -33755,7 +33960,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *73 + - *74 - &203 name: hook_id description: The unique identifier of the hook. You can find this value in @@ -33798,7 +34003,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *73 + - *74 - *203 requestBody: required: false @@ -33886,7 +34091,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *73 + - *74 - *203 responses: '204': @@ -33914,7 +34119,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *73 + - *74 - *203 responses: '200': @@ -33945,7 +34150,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *73 + - *74 - *203 requestBody: required: false @@ -33996,7 +34201,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *73 + - *74 - *203 - *17 - *204 @@ -34035,7 +34240,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *73 + - *74 - *203 - *16 responses: @@ -34070,7 +34275,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *73 + - *74 - *203 - *16 responses: @@ -34100,7 +34305,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *73 + - *74 - *203 responses: '204': @@ -34123,7 +34328,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *73 + - *74 - &214 name: actor_type in: path @@ -34163,7 +34368,7 @@ paths: type: string - *19 - *17 - - *59 + - *60 - name: sort description: The property to sort the results by. in: query @@ -34246,12 +34451,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *73 + - *74 - *210 - *211 - *19 - *17 - - *59 + - *60 - &220 name: sort description: The property to sort the results by. @@ -34330,7 +34535,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *73 + - *74 - *210 - *211 responses: @@ -34374,7 +34579,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *73 + - *74 - &216 name: user_id in: path @@ -34409,7 +34614,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *73 + - *74 - *210 - *211 - *214 @@ -34438,7 +34643,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *73 + - *74 - *210 - *211 - &217 @@ -34506,7 +34711,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *73 + - *74 - *216 - *210 - *211 @@ -34535,7 +34740,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *73 + - *74 - *214 - *215 - *210 @@ -34565,13 +34770,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *73 + - *74 - *216 - *210 - *211 - *19 - *17 - - *59 + - *60 - *220 - name: actor_name_substring in: query @@ -34648,7 +34853,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *73 + - *74 responses: '200': description: Response @@ -34725,7 +34930,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -34795,7 +35000,7 @@ paths: suspended_at: suspended_by: headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34814,7 +35019,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -34879,7 +35084,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -34935,7 +35140,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *73 + - *74 responses: '204': description: Response @@ -34959,7 +35164,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *73 + - *74 - *17 - *19 - name: role @@ -34997,7 +35202,7 @@ paths: examples: default: *225 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -35018,7 +35223,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *73 + - *74 requestBody: required: false content: @@ -35126,7 +35331,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *73 + - *74 - &226 name: invitation_id description: The unique identifier of the invitation. @@ -35157,7 +35362,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *73 + - *74 - *226 - *17 - *19 @@ -35186,7 +35391,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -35205,7 +35410,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#list-issue-fields-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -35363,7 +35568,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#create-issue-field-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -35513,7 +35718,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - - *73 + - *74 - &229 name: issue_field_id description: The unique identifier of the issue field. @@ -35650,10 +35855,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - - *73 + - *74 - *229 responses: - '204': *183 + '204': *59 '404': *6 '422': *7 x-github: @@ -35673,7 +35878,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -35719,7 +35924,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -35803,7 +36008,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *73 + - *74 - &232 name: issue_type_id description: The unique identifier of the issue type. @@ -35886,7 +36091,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *73 + - *74 - *232 responses: '204': @@ -35920,7 +36125,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *73 + - *74 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -35968,8 +36173,8 @@ paths: - updated - comments default: created - - *59 - - *86 + - *60 + - *87 - *17 - *19 responses: @@ -35979,11 +36184,11 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *234 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -36003,7 +36208,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *73 + - *74 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -36041,9 +36246,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 '422': *15 x-github: githubCloudOnly: false @@ -36061,8 +36266,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response if requester is an organization member and user is @@ -36096,8 +36301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -36123,8 +36328,8 @@ paths: parameters: - *17 - *19 - - *73 - - *69 + - *74 + - *70 responses: '200': description: Response @@ -36167,8 +36372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *73 - - *69 + - *74 + - *70 - &237 name: codespace_name in: path @@ -36202,8 +36407,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *73 - - *69 + - *74 + - *70 - *237 responses: '200': @@ -36385,8 +36590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -36461,8 +36666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '200': description: Response @@ -36517,7 +36722,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *71 + organization: *72 user: anyOf: - type: 'null' @@ -36609,8 +36814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *73 - - *69 + - *74 + - *70 requestBody: required: false content: @@ -36664,8 +36869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -36690,7 +36895,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *73 + - *74 - *17 - *19 - name: exclude @@ -36754,7 +36959,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *77 + items: *78 url: type: string format: uri @@ -36953,7 +37158,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -36969,7 +37174,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *73 + - *74 requestBody: required: true content: @@ -37228,7 +37433,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *73 + - *74 - &242 name: migration_id description: The unique identifier of the migration. @@ -37426,7 +37631,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *73 + - *74 - *242 responses: '302': @@ -37448,7 +37653,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *73 + - *74 - *242 responses: '204': @@ -37472,7 +37677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *73 + - *74 - *242 - &670 name: repo_name @@ -37501,7 +37706,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *73 + - *74 - *242 - *17 - *19 @@ -37512,7 +37717,7 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: &253 value: @@ -37627,7 +37832,7 @@ paths: secret_scanning_delegated_alert_dismissal: status: disabled headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -37653,7 +37858,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response - list of organization roles @@ -37818,8 +38023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *73 - - *75 + - *74 + - *76 responses: '204': description: Response @@ -37844,8 +38049,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *73 - - *75 + - *74 + - *76 - &243 name: role_id description: The unique identifier of the role. @@ -37881,8 +38086,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *73 - - *75 + - *74 + - *76 - *243 responses: '204': @@ -37908,8 +38113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -37934,8 +38139,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *73 - - *69 + - *74 + - *70 - *243 responses: '204': @@ -37966,8 +38171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *73 - - *69 + - *74 + - *70 - *243 responses: '204': @@ -37996,7 +38201,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *73 + - *74 - *243 responses: '200': @@ -38053,7 +38258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *73 + - *74 - *243 - *17 - *19 @@ -38168,7 +38373,7 @@ paths: examples: default: *246 headers: - Link: *65 + Link: *66 '404': description: Response if the organization or role does not exist. '422': @@ -38195,7 +38400,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *73 + - *74 - *243 - *17 - *19 @@ -38342,9 +38547,9 @@ paths: - type - url examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 '404': description: Response if the organization or role does not exist. '422': @@ -38366,7 +38571,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *73 + - *74 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -38393,9 +38598,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38418,8 +38623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *73 - - *69 + - *74 + - *70 requestBody: required: false content: @@ -38476,8 +38681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -38534,7 +38739,7 @@ paths: - docker - nuget - container - - *73 + - *74 - &671 name: visibility description: |- @@ -38623,7 +38828,7 @@ paths: required: true schema: type: string - - *73 + - *74 responses: '200': description: Response @@ -38683,7 +38888,7 @@ paths: parameters: - *249 - *250 - - *73 + - *74 responses: '204': description: Response @@ -38717,7 +38922,7 @@ paths: parameters: - *249 - *250 - - *73 + - *74 - name: token description: package token schema: @@ -38751,7 +38956,7 @@ paths: parameters: - *249 - *250 - - *73 + - *74 - *19 - *17 - name: state @@ -38908,7 +39113,7 @@ paths: parameters: - *249 - *250 - - *73 + - *74 - &252 name: package_version_id description: Unique identifier of the package version. @@ -38959,7 +39164,7 @@ paths: parameters: - *249 - *250 - - *73 + - *74 - *252 responses: '204': @@ -38994,7 +39199,7 @@ paths: parameters: - *249 - *250 - - *73 + - *74 - *252 responses: '204': @@ -39022,7 +39227,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *73 + - *74 - *17 - *19 - &254 @@ -39035,7 +39240,7 @@ paths: enum: - created_at default: created_at - - *59 + - *60 - &255 name: owner description: A list of owner usernames to use to filter the results. @@ -39234,7 +39439,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39254,7 +39459,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *73 + - *74 requestBody: required: true content: @@ -39321,7 +39526,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *73 + - *74 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -39362,7 +39567,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *183 + '204': *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39383,7 +39588,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *73 + - *74 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -39403,11 +39608,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *253 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39428,11 +39633,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *73 + - *74 - *17 - *19 - *254 - - *59 + - *60 - *255 - *256 - *257 @@ -39569,7 +39774,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39589,7 +39794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *73 + - *74 requestBody: required: true content: @@ -39649,7 +39854,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *73 + - *74 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -39679,7 +39884,7 @@ paths: responses: '500': *53 '404': *6 - '204': *183 + '204': *59 '403': *27 '422': *15 x-github: @@ -39701,7 +39906,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *73 + - *74 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -39720,11 +39925,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *253 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39746,7 +39951,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -39886,7 +40091,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *65 + Link: *66 '400': *14 '404': *6 x-github: @@ -39909,7 +40114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -40239,7 +40444,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -40267,7 +40472,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -40289,8 +40494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *73 - - *160 + - *74 + - *161 responses: '200': description: The specified private registry configuration for the organization @@ -40320,8 +40525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *73 - - *160 + - *74 + - *161 requestBody: required: true content: @@ -40485,8 +40690,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *73 - - *160 + - *74 + - *161 responses: '204': description: Response @@ -40509,7 +40714,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *73 + - *74 - name: q description: Limit results to projects of the specified type. in: query @@ -40768,7 +40973,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -40795,7 +41000,7 @@ paths: required: true schema: type: integer - - *73 + - *74 responses: '200': description: Response @@ -40805,7 +41010,7 @@ paths: examples: default: *264 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -40825,7 +41030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *73 + - *74 - *265 requestBody: required: true @@ -40873,7 +41078,7 @@ paths: description: The node ID of the project item. content: oneOf: - - *81 + - *82 - &460 title: Pull Request Simple description: Pull Request Simple @@ -41051,7 +41256,7 @@ paths: type: string ref: type: string - repo: *77 + repo: *78 sha: type: string user: @@ -41071,7 +41276,7 @@ paths: type: string ref: type: string - repo: *77 + repo: *78 sha: type: string user: @@ -41112,7 +41317,7 @@ paths: - review_comments - review_comment - self - author_association: *78 + author_association: *79 auto_merge: &565 title: Auto merge description: The status of auto merging a pull request. @@ -41334,7 +41539,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - *265 - - *73 + - *74 - *17 - *45 - *46 @@ -41609,7 +41814,7 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -41629,7 +41834,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - *265 - - *73 + - *74 requestBody: required: true content: @@ -41929,7 +42134,7 @@ paths: required: true schema: type: integer - - *73 + - *74 responses: '200': description: Response @@ -41972,7 +42177,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -41994,7 +42199,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - *265 - - *73 + - *74 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -42770,7 +42975,7 @@ paths: data_type: sub_issues_progress value: headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -42790,7 +42995,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *73 + - *74 - *265 requestBody: required: true @@ -42897,7 +43102,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - *265 - - *73 + - *74 - &274 name: item_id description: The unique identifier of the project item. @@ -42928,7 +43133,7 @@ paths: examples: default: *273 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -42948,7 +43153,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - *265 - - *73 + - *74 - *274 requestBody: required: true @@ -43049,7 +43254,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - *265 - - *73 + - *74 - *274 responses: '204': @@ -43073,7 +43278,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - - *73 + - *74 - *265 requestBody: required: true @@ -43330,7 +43535,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - *265 - - *73 + - *74 - &704 name: view_number description: The number that identifies the project view. @@ -43367,7 +43572,7 @@ paths: examples: default: *273 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -43390,7 +43595,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -43525,7 +43730,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -43589,7 +43794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *73 + - *74 - &278 name: custom_property_name description: The custom property name @@ -43638,7 +43843,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *73 + - *74 - *278 requestBody: required: true @@ -43744,10 +43949,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *73 + - *74 - *278 responses: - '204': *183 + '204': *59 '403': *27 '404': *6 x-github: @@ -43768,7 +43973,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *73 + - *74 - *17 - *19 - name: repository_query @@ -43851,7 +44056,7 @@ paths: - property_name: team value: octocat headers: - Link: *65 + Link: *66 '403': *27 '404': *6 x-github: @@ -43879,7 +44084,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *73 + - *74 requestBody: required: true content: @@ -43940,7 +44145,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *73 + - *74 - *17 - *19 responses: @@ -43952,9 +44157,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43971,8 +44176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response if user is a public member @@ -43996,8 +44201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -44018,8 +44223,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -44043,7 +44248,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *73 + - *74 - name: type description: Specifies the types of repositories you want returned. in: query @@ -44089,11 +44294,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *253 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44112,7 +44317,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *73 + - *74 requestBody: required: true content: @@ -44653,7 +44858,7 @@ paths: template_repository: anyOf: - type: 'null' - - *77 + - *78 temp_clone_token: type: - string @@ -44753,13 +44958,13 @@ paths: license: anyOf: - type: 'null' - - *83 + - *84 organization: anyOf: - type: 'null' - *4 - parent: *77 - source: *77 + parent: *78 + source: *78 forks: type: integer master_branch: @@ -45404,7 +45609,7 @@ paths: category: orgs subcategory: rules parameters: - - *73 + - *74 - *17 - *19 - &587 @@ -46506,7 +46711,7 @@ paths: category: orgs subcategory: rules parameters: - - *73 + - *74 requestBody: description: Request body required: true @@ -46656,7 +46861,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *73 + - *74 - &589 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally @@ -46814,7 +47019,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *73 + - *74 - &595 name: rule_suite_id description: |- @@ -46999,7 +47204,7 @@ paths: category: orgs subcategory: rules parameters: - - *73 + - *74 - name: ruleset_id description: The ID of the ruleset. in: path @@ -47031,7 +47236,7 @@ paths: category: orgs subcategory: rules parameters: - - *73 + - *74 - name: ruleset_id description: The ID of the ruleset. in: path @@ -47122,7 +47327,7 @@ paths: category: orgs subcategory: rules parameters: - - *73 + - *74 - name: ruleset_id description: The ID of the ruleset. in: path @@ -47145,7 +47350,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *73 + - *74 - *17 - *19 - name: ruleset_id @@ -47220,7 +47425,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *73 + - *74 - name: ruleset_id description: The ID of the ruleset. in: path @@ -47309,7 +47514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *73 + - *74 - &601 name: state in: query @@ -47404,7 +47609,7 @@ paths: - created - updated default: created - - *59 + - *60 - *19 - *17 - &609 @@ -47473,14 +47678,14 @@ paths: items: type: object properties: - number: *170 - created_at: *171 + number: *171 + created_at: *172 updated_at: anyOf: - type: 'null' - - *172 - url: *173 - html_url: *174 + - *173 + url: *174 + html_url: *175 locations_url: type: string format: uri @@ -47539,7 +47744,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *64 + repository: *65 push_protection_bypassed: type: - boolean @@ -48165,9 +48370,9 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48192,7 +48397,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *73 + - *74 responses: '200': description: Response @@ -48332,7 +48537,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *73 + - *74 requestBody: required: true content: @@ -48420,8 +48625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *73 - - *59 + - *74 + - *60 - name: sort description: The property to sort the results by. in: query @@ -48672,7 +48877,7 @@ paths: required: - vector_string - score - cvss_severities: *61 + cvss_severities: *62 cwes: type: - array @@ -48751,7 +48956,7 @@ paths: description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *64 + - *65 type: - 'null' required: @@ -49162,7 +49367,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *73 + - *74 responses: '200': description: Response @@ -49210,8 +49415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *73 - - *75 + - *74 + - *76 responses: '204': description: Response @@ -49236,8 +49441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *73 - - *75 + - *74 + - *76 responses: '204': description: Response @@ -49264,7 +49469,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Immutable releases settings response @@ -49314,7 +49519,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *73 + - *74 responses: '204': description: Response @@ -49372,7 +49577,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *73 + - *74 - *19 - *17 responses: @@ -49390,9 +49595,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *153 examples: - default: *164 + default: *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49411,7 +49616,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *73 + - *74 requestBody: required: true content: @@ -49460,8 +49665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *73 - - *141 + - *74 + - *142 responses: '204': description: Response @@ -49483,8 +49688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *73 - - *141 + - *74 + - *142 responses: '204': description: Response @@ -49507,7 +49712,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -49603,7 +49808,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49622,7 +49827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -49708,7 +49913,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *73 + - *74 - &317 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. @@ -49725,7 +49930,7 @@ paths: examples: default: *316 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49744,7 +49949,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *73 + - *74 - *317 requestBody: required: true @@ -49819,7 +50024,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *73 + - *74 - *317 responses: '204': @@ -49843,7 +50048,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *73 + - *74 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -49902,7 +50107,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49932,8 +50137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *73 - - *75 + - *74 + - *76 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -49989,7 +50194,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *73 + - *74 - *17 - *19 - name: team_type @@ -50015,7 +50220,7 @@ paths: examples: default: *246 headers: - Link: *65 + Link: *66 '403': *27 x-github: githubCloudOnly: false @@ -50035,7 +50240,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *73 + - *74 requestBody: required: true content: @@ -50576,8 +50781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *73 - - *75 + - *74 + - *76 responses: '200': description: Response @@ -50606,8 +50811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *73 - - *75 + - *74 + - *76 requestBody: required: false content: @@ -50704,8 +50909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *73 - - *75 + - *74 + - *76 responses: '204': description: Response @@ -50732,8 +50937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *73 - - *75 + - *74 + - *76 - *17 - *19 responses: @@ -50747,7 +50952,7 @@ paths: examples: default: *225 headers: - Link: *65 + Link: *66 '422': *323 x-github: githubCloudOnly: false @@ -50768,8 +50973,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *73 - - *75 + - *74 + - *76 - name: role description: Filters members returned by their role in the team. in: query @@ -50792,9 +50997,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50822,9 +51027,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *73 - - *75 - - *69 + - *74 + - *76 + - *70 responses: '200': description: Response @@ -50894,9 +51099,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *73 - - *75 - - *69 + - *74 + - *76 + - *70 requestBody: required: false content: @@ -50958,9 +51163,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *73 - - *75 - - *69 + - *74 + - *76 + - *70 responses: '204': description: Response @@ -50986,8 +51191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *73 - - *75 + - *74 + - *76 - *17 - *19 responses: @@ -50997,11 +51202,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *253 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51028,8 +51233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *73 - - *75 + - *74 + - *76 - *325 - *326 responses: @@ -51063,7 +51268,7 @@ paths: license: anyOf: - type: 'null' - - *83 + - *84 forks: type: integer permissions: @@ -51678,8 +51883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *73 - - *75 + - *74 + - *76 - *325 - *326 requestBody: @@ -51726,8 +51931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *73 - - *75 + - *74 + - *76 - *325 - *326 responses: @@ -51753,8 +51958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *73 - - *75 + - *74 + - *76 - *17 - *19 responses: @@ -51794,7 +51999,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51819,7 +52024,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *73 + - *74 - name: security_product in: path description: The security feature to enable or disable. @@ -53126,7 +53331,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53486,7 +53691,7 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *59 + - *60 responses: '200': description: Response @@ -53554,7 +53759,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54057,7 +54262,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -54167,7 +54372,7 @@ paths: description: Empty response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -54247,7 +54452,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54335,7 +54540,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54368,9 +54573,9 @@ paths: enabled: &343 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *137 + allowed_actions: *138 selected_actions_url: *342 - sha_pinning_required: *138 + sha_pinning_required: *139 required: - enabled examples: @@ -54411,8 +54616,8 @@ paths: type: object properties: enabled: *343 - allowed_actions: *137 - sha_pinning_required: *138 + allowed_actions: *138 + sha_pinning_required: *139 required: - enabled examples: @@ -54595,7 +54800,7 @@ paths: description: Response content: application/json: - schema: *139 + schema: *140 examples: default: *348 '404': *6 @@ -54627,7 +54832,7 @@ paths: required: true content: application/json: - schema: *139 + schema: *140 examples: default: summary: Set approval policy to first time contributors @@ -54660,7 +54865,7 @@ paths: application/json: schema: *349 examples: - default: *140 + default: *141 '403': *27 '404': *6 x-github: @@ -54688,7 +54893,7 @@ paths: application/json: schema: *350 examples: - default: *140 + default: *141 responses: '204': description: Empty response for successful settings update @@ -54719,9 +54924,9 @@ paths: description: Response content: application/json: - schema: *142 + schema: *143 examples: - default: *143 + default: *144 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -54749,9 +54954,9 @@ paths: required: false content: application/json: - schema: *142 + schema: *143 examples: - selected_actions: *143 + selected_actions: *144 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -54782,7 +54987,7 @@ paths: application/json: schema: *351 examples: - default: *147 + default: *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54817,7 +55022,7 @@ paths: application/json: schema: *352 examples: - default: *147 + default: *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54863,11 +55068,11 @@ paths: type: integer runners: type: array - items: *154 + items: *155 examples: - default: *155 + default: *156 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55004,7 +55209,7 @@ paths: description: Response content: application/json: - schema: *156 + schema: *157 examples: default: *356 x-github: @@ -55041,7 +55246,7 @@ paths: description: Response content: application/json: - schema: *156 + schema: *157 examples: default: *357 x-github: @@ -55067,13 +55272,13 @@ paths: parameters: - *325 - *326 - - *153 + - *154 responses: '200': description: Response content: application/json: - schema: *154 + schema: *155 examples: default: *358 x-github: @@ -55098,7 +55303,7 @@ paths: parameters: - *325 - *326 - - *153 + - *154 responses: '204': description: Response @@ -55126,9 +55331,9 @@ paths: parameters: - *325 - *326 - - *153 + - *154 responses: - '200': *158 + '200': *159 '404': *6 x-github: githubCloudOnly: false @@ -55152,7 +55357,7 @@ paths: parameters: - *325 - *326 - - *153 + - *154 requestBody: required: true content: @@ -55176,7 +55381,7 @@ paths: - gpu - accelerated responses: - '200': *158 + '200': *159 '404': *6 '422': *7 x-github: @@ -55202,7 +55407,7 @@ paths: parameters: - *325 - *326 - - *153 + - *154 requestBody: required: true content: @@ -55227,7 +55432,7 @@ paths: - gpu - accelerated responses: - '200': *158 + '200': *159 '404': *6 '422': *7 x-github: @@ -55253,7 +55458,7 @@ paths: parameters: - *325 - *326 - - *153 + - *154 responses: '200': *359 '404': *6 @@ -55284,10 +55489,10 @@ paths: parameters: - *325 - *326 - - *153 + - *154 - *360 responses: - '200': *158 + '200': *159 '404': *6 '422': *7 x-github: @@ -55531,7 +55736,7 @@ paths: type: - array - 'null' - items: *84 + items: *85 created_at: type: string format: date-time @@ -55666,8 +55871,8 @@ paths: - timestamp - author - committer - repository: *152 - head_repository: *152 + repository: *153 + head_repository: *153 head_repository_id: type: integer examples: @@ -55921,7 +56126,7 @@ paths: releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id} deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56364,7 +56569,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -56397,7 +56602,7 @@ paths: - *17 - *19 - *364 - - *59 + - *60 responses: '200': description: Response @@ -56417,7 +56622,7 @@ paths: examples: default: *365 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56592,7 +56797,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -56655,7 +56860,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -56759,7 +56964,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -56822,7 +57027,7 @@ paths: examples: default: *369 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57304,7 +57509,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -57351,7 +57556,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -57545,7 +57750,7 @@ paths: examples: default: *371 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57601,7 +57806,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 responses: '200': description: Response @@ -57637,7 +57842,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 requestBody: required: true content: @@ -57668,7 +57873,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -57696,7 +57901,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 responses: '204': description: Response @@ -57744,7 +57949,7 @@ paths: examples: default: *375 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57793,7 +57998,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -57820,7 +58025,7 @@ paths: parameters: - *325 - *326 - - *163 + - *164 responses: '200': description: Response @@ -57856,7 +58061,7 @@ paths: parameters: - *325 - *326 - - *163 + - *164 requestBody: required: true content: @@ -57900,7 +58105,7 @@ paths: parameters: - *325 - *326 - - *163 + - *164 responses: '204': description: Response @@ -58039,7 +58244,7 @@ paths: html_url: https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289 badge_url: https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58289,7 +58494,7 @@ paths: examples: default: *385 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58384,7 +58589,7 @@ paths: parameters: - *325 - *326 - - *59 + - *60 - *17 - *45 - *46 @@ -58532,7 +58737,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '422': *7 x-github: githubCloudOnly: false @@ -58564,9 +58769,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -59570,7 +59775,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -59732,14 +59937,14 @@ paths: author: oneOf: - *4 - - *161 + - *162 type: - 'null' - object committer: oneOf: - *4 - - *161 + - *162 type: - 'null' - object @@ -62172,7 +62377,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 '404': *6 x-github: githubCloudOnly: false @@ -62231,7 +62436,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 '422': *15 x-github: githubCloudOnly: false @@ -62291,7 +62496,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 '422': *15 x-github: githubCloudOnly: false @@ -62351,7 +62556,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 '422': *15 x-github: githubCloudOnly: false @@ -62933,7 +63138,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *84 + items: *85 deployment: &717 title: Deployment description: A deployment created as the result of an Actions @@ -63693,7 +63898,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63721,7 +63926,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -63864,12 +64069,12 @@ paths: type: - array - 'null' - items: *84 + items: *85 app: anyOf: - type: 'null' - *5 - repository: *152 + repository: *153 created_at: type: - string @@ -64282,7 +64487,7 @@ paths: required: - app_id - setting - repository: *152 + repository: *153 examples: default: value: @@ -64702,7 +64907,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64730,7 +64935,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -64778,7 +64983,7 @@ paths: required: false schema: type: integer - - *59 + - *60 - *45 - *46 - name: sort @@ -64821,19 +65026,19 @@ paths: items: type: object properties: - number: *170 - created_at: *171 - updated_at: *172 - url: *173 - html_url: *174 + number: *171 + created_at: *172 + updated_at: *173 + url: *174 + html_url: *175 instances_url: *415 - state: *179 - fixed_at: *175 + state: *180 + fixed_at: *176 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *176 + dismissed_at: *177 dismissed_reason: *416 dismissed_comment: *417 rule: *418 @@ -64968,7 +65173,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64998,7 +65203,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *170 + schema: *171 responses: '200': description: Response @@ -65007,19 +65212,19 @@ paths: schema: &423 type: object properties: - number: *170 - created_at: *171 - updated_at: *172 - url: *173 - html_url: *174 + number: *171 + created_at: *172 + updated_at: *173 + url: *174 + html_url: *175 instances_url: *415 - state: *179 - fixed_at: *175 + state: *180 + fixed_at: *176 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *176 + dismissed_at: *177 dismissed_reason: *416 dismissed_comment: *417 rule: @@ -65182,7 +65387,7 @@ paths: '304': *35 '403': *421 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65329,7 +65534,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65403,7 +65608,7 @@ paths: status: '400' '403': *421 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65458,7 +65663,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65533,7 +65738,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65637,7 +65842,7 @@ paths: - source '403': *421 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65692,7 +65897,7 @@ paths: description: An identifier for the upload. examples: - 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *59 + - *60 - name: sort description: The property by which to sort the results. in: query @@ -65815,7 +66020,7 @@ paths: warning: '' '403': *421 '404': *6 - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65924,7 +66129,7 @@ paths: content: application/json: schema: *3 - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -66063,7 +66268,7 @@ paths: '400': *14 '403': *427 '404': *6 - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -66206,7 +66411,7 @@ paths: commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c '403': *421 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66282,7 +66487,7 @@ paths: description: Found '403': *421 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66315,7 +66520,7 @@ paths: description: Response '403': *427 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66439,7 +66644,7 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *64 + controller_repo: *65 actor: *4 query_language: *438 query_pack_url: @@ -66774,7 +66979,7 @@ paths: content: application/json: schema: *3 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66812,7 +67017,7 @@ paths: examples: default: *441 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66867,7 +67072,7 @@ paths: schema: type: object properties: - repository: *64 + repository: *65 analysis_status: *443 artifact_size_in_bytes: type: integer @@ -66972,7 +67177,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67089,7 +67294,7 @@ paths: schedule: weekly '403': *421 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67178,7 +67383,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -67217,7 +67422,7 @@ paths: content: application/json: schema: *3 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67361,7 +67566,7 @@ paths: '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -67432,7 +67637,7 @@ paths: '403': *421 '404': description: Not Found if the sarif id does not match any upload - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -67511,7 +67716,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *183 + '204': *59 '304': *35 '403': *27 '404': *6 @@ -68060,7 +68265,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -68366,7 +68571,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68429,7 +68634,7 @@ paths: examples: default: *447 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68481,7 +68686,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 responses: '200': description: Response @@ -68511,7 +68716,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 requestBody: required: true content: @@ -68539,7 +68744,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -68565,7 +68770,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 responses: '204': description: Response @@ -68800,7 +69005,7 @@ paths: admin: false role_name: write headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -68827,7 +69032,7 @@ paths: parameters: - *325 - *326 - - *69 + - *70 responses: '204': description: Response if user is a collaborator @@ -68875,7 +69080,7 @@ paths: parameters: - *325 - *326 - - *69 + - *70 requestBody: required: false content: @@ -68913,7 +69118,7 @@ paths: format: int64 examples: - 42 - repository: *152 + repository: *153 invitee: anyOf: - type: 'null' @@ -69089,7 +69294,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *121 + schema: *122 '403': *27 x-github: triggersNotification: true @@ -69131,7 +69336,7 @@ paths: parameters: - *325 - *326 - - *69 + - *70 responses: '204': description: No Content when collaborator was removed from the repository. @@ -69164,7 +69369,7 @@ paths: parameters: - *325 - *326 - - *69 + - *70 responses: '200': description: if user has admin permissions @@ -69290,8 +69495,8 @@ paths: updated_at: type: string format: date-time - author_association: *78 - reactions: *79 + author_association: *79 + reactions: *80 required: - url - html_url @@ -69341,7 +69546,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69368,7 +69573,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '200': description: Response @@ -69435,7 +69640,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 requestBody: required: true content: @@ -69510,7 +69715,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '204': description: Response @@ -69533,7 +69738,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -69629,7 +69834,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -69650,7 +69855,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 requestBody: required: true content: @@ -69739,7 +69944,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 - &526 name: reaction_id description: The unique identifier of the reaction. @@ -69924,7 +70129,7 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *65 + Link: *66 '500': *53 '400': *14 '404': *6 @@ -70038,7 +70243,7 @@ paths: examples: default: *458 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70624,7 +70829,7 @@ paths: auto_merge: draft: false headers: - Link: *65 + Link: *66 '409': *52 x-github: githubCloudOnly: false @@ -70831,7 +71036,7 @@ paths: '422': *15 '404': *6 '500': *53 - '503': *113 + '503': *114 '409': *52 x-github: githubCloudOnly: false @@ -70899,7 +71104,7 @@ paths: examples: default: *464 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71125,7 +71330,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71223,7 +71428,7 @@ paths: type: string total_count: type: integer - repository: *152 + repository: *153 commit_url: type: string format: uri @@ -71446,7 +71651,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '301': *329 x-github: githubCloudOnly: false @@ -71529,7 +71734,7 @@ paths: license: anyOf: - type: 'null' - - *83 + - *84 contributing: anyOf: - type: 'null' @@ -72005,7 +72210,7 @@ paths: default: *469 '404': *6 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73121,7 +73326,7 @@ paths: '422': *15 '404': *6 '409': *52 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73243,7 +73448,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *65 + Link: *66 '204': description: Response if repository is empty '403': *27 @@ -73284,7 +73489,7 @@ paths: - *195 - *196 - *197 - - *59 + - *60 - *45 - *46 - *17 @@ -73299,7 +73504,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *170 + number: *171 state: type: string description: The state of the Dependabot alert. @@ -73314,7 +73519,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *60 + package: *61 manifest_path: type: string description: The full path to the dependency manifest file, @@ -73347,12 +73552,12 @@ paths: - inconclusive - security_advisory: *474 - security_vulnerability: *63 - url: *173 - html_url: *174 - created_at: *171 - updated_at: *172 - dismissed_at: *176 + security_vulnerability: *64 + url: *174 + html_url: *175 + created_at: *172 + updated_at: *173 + dismissed_at: *177 dismissed_by: anyOf: - type: 'null' @@ -73376,7 +73581,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *175 + fixed_at: *176 auto_dismissed_at: *475 dismissal_request: *476 assignees: @@ -73644,7 +73849,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *170 + schema: *171 responses: '200': description: Response @@ -74021,7 +74226,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74074,7 +74279,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 responses: '200': description: Response @@ -74108,7 +74313,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 requestBody: required: true content: @@ -74136,7 +74341,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -74162,7 +74367,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 responses: '204': description: Response @@ -74335,7 +74540,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *65 + Link: *66 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -74597,7 +74802,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *65 + Link: *66 '404': *6 '403': *27 x-github: @@ -75007,7 +75212,7 @@ paths: examples: default: *485 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75486,7 +75691,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -76863,7 +77068,7 @@ paths: examples: default: *371 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76921,7 +77126,7 @@ paths: - *325 - *326 - *491 - - *160 + - *161 responses: '200': description: Response @@ -76954,7 +77159,7 @@ paths: - *325 - *326 - *491 - - *160 + - *161 requestBody: required: true content: @@ -76985,7 +77190,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -77014,7 +77219,7 @@ paths: - *325 - *326 - *491 - - *160 + - *161 responses: '204': description: Default response @@ -77063,7 +77268,7 @@ paths: examples: default: *375 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77113,7 +77318,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -77141,7 +77346,7 @@ paths: - *325 - *326 - *491 - - *163 + - *164 responses: '200': description: Response @@ -77172,7 +77377,7 @@ paths: parameters: - *325 - *326 - - *163 + - *164 - *491 requestBody: required: true @@ -77217,7 +77422,7 @@ paths: parameters: - *325 - *326 - - *163 + - *164 - *491 responses: '204': @@ -77251,7 +77456,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: 200-response: value: @@ -77332,7 +77537,7 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: value: @@ -77445,7 +77650,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *65 + Link: *66 '400': *14 x-github: githubCloudOnly: false @@ -77586,7 +77791,7 @@ paths: application/json: schema: oneOf: - - *121 + - *122 - *504 x-github: githubCloudOnly: false @@ -78187,7 +78392,7 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *65 + Link: *66 '409': *52 x-github: githubCloudOnly: false @@ -79051,7 +79256,7 @@ paths: status: unused message: headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -79568,7 +79773,7 @@ paths: - *325 - *326 responses: - '204': *183 + '204': *59 '409': *52 x-github: githubCloudOnly: false @@ -79589,7 +79794,7 @@ paths: - *325 - *326 responses: - '204': *183 + '204': *59 '409': *52 x-github: githubCloudOnly: false @@ -80610,7 +80815,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80883,8 +81088,8 @@ paths: - updated - comments default: created - - *59 - - *86 + - *60 + - *87 - *17 - *19 responses: @@ -80894,7 +81099,7 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: &531 value: @@ -81044,7 +81249,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *65 + Link: *66 '301': *329 '422': *15 '404': *6 @@ -81165,7 +81370,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: &528 value: @@ -81322,7 +81527,7 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *113 + '503': *114 '404': *6 '410': *523 x-github: @@ -81354,7 +81559,7 @@ paths: parameters: - *325 - *326 - - *103 + - *104 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -81364,7 +81569,7 @@ paths: enum: - asc - desc - - *86 + - *87 - *17 - *19 responses: @@ -81374,7 +81579,7 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: default: &530 value: @@ -81407,7 +81612,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *65 + Link: *66 '422': *15 '404': *6 x-github: @@ -81436,13 +81641,13 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '200': description: Response content: application/json: - schema: *82 + schema: *83 examples: default: &524 value: @@ -81501,7 +81706,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 requestBody: required: true content: @@ -81523,7 +81728,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *524 '422': *15 @@ -81545,7 +81750,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '204': description: Response @@ -81575,13 +81780,13 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '200': description: Response content: application/json: - schema: *82 + schema: *83 examples: default: value: @@ -81656,7 +81861,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '204': description: Response @@ -81664,7 +81869,7 @@ paths: '403': *27 '404': *6 '410': *523 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81683,7 +81888,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -81713,7 +81918,7 @@ paths: examples: default: *525 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -81734,7 +81939,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 requestBody: required: true content: @@ -81799,7 +82004,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 - *526 responses: '204': @@ -81878,7 +82083,7 @@ paths: issue: anyOf: - type: 'null' - - *81 + - *82 label: title: Issue Event Label description: Issue Event Label @@ -81978,7 +82183,7 @@ paths: required: - from - to - author_association: *78 + author_association: *79 lock_reason: type: - string @@ -82153,7 +82358,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *65 + Link: *66 '422': *15 x-github: githubCloudOnly: false @@ -82424,7 +82629,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: summary: Issue @@ -82795,11 +83000,11 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 '422': *15 - '503': *113 + '503': *114 '403': *27 '301': *329 '404': *6 @@ -82849,7 +83054,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 x-github: @@ -82894,7 +83099,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 x-github: @@ -82963,7 +83168,7 @@ paths: - *325 - *326 - *529 - - *86 + - *87 - *17 - *19 responses: @@ -82973,11 +83178,11 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: default: *530 headers: - Link: *65 + Link: *66 '404': *6 '410': *523 x-github: @@ -83032,7 +83237,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *524 headers: @@ -83081,11 +83286,11 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *531 headers: - Link: *65 + Link: *66 '301': *329 '404': *6 '410': *523 @@ -83140,7 +83345,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 headers: @@ -83195,7 +83400,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 '301': *329 @@ -83241,11 +83446,11 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *531 headers: - Link: *65 + Link: *66 '301': *329 '404': *6 '410': *523 @@ -84059,7 +84264,7 @@ paths: name: label color: red headers: - Link: *65 + Link: *66 '410': *523 x-github: githubCloudOnly: false @@ -84114,7 +84319,7 @@ paths: data_type: date value: '2025-12-25' headers: - Link: *65 + Link: *66 '301': *329 '404': *6 '410': *523 @@ -84146,7 +84351,7 @@ paths: application/json: schema: type: array - items: *80 + items: *81 examples: default: &533 value: @@ -84165,7 +84370,7 @@ paths: color: a2eeef default: false headers: - Link: *65 + Link: *66 '301': *329 '404': *6 '410': *523 @@ -84229,7 +84434,7 @@ paths: application/json: schema: type: array - items: *80 + items: *81 examples: default: *533 '301': *329 @@ -84313,7 +84518,7 @@ paths: application/json: schema: type: array - items: *80 + items: *81 examples: default: *533 '301': *329 @@ -84377,7 +84582,7 @@ paths: application/json: schema: type: array - items: *80 + items: *81 examples: default: value: @@ -84499,7 +84704,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 '301': *329 @@ -84553,7 +84758,7 @@ paths: examples: default: *525 headers: - Link: *65 + Link: *66 '404': *6 '410': *523 x-github: @@ -84694,7 +84899,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 headers: @@ -84741,11 +84946,11 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *531 headers: - Link: *65 + Link: *66 '404': *6 '410': *523 x-github: @@ -84804,7 +85009,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 headers: @@ -84866,13 +85071,13 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 '403': *27 '404': *6 '422': *7 - '503': *113 + '503': *114 x-github: triggersNotification: true githubCloudOnly: false @@ -84967,12 +85172,12 @@ paths: issue_url: type: string format: uri - author_association: *78 + author_association: *79 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *79 + reactions: *80 pin: anyOf: - type: 'null' @@ -85007,7 +85212,7 @@ paths: properties: type: type: string - issue: *81 + issue: *82 required: - event - created_at @@ -85229,7 +85434,7 @@ paths: type: string body_text: type: string - author_association: *78 + author_association: *79 required: - event - id @@ -85360,7 +85565,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *78 + author_association: *79 _links: type: object properties: @@ -85455,7 +85660,7 @@ paths: enum: - line - file - reactions: *79 + reactions: *80 body_html: type: string examples: @@ -85766,7 +85971,7 @@ paths: type: User site_admin: true headers: - Link: *65 + Link: *66 '404': *6 '410': *523 x-github: @@ -85848,7 +86053,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86004,11 +86209,11 @@ paths: application/json: schema: type: array - items: *80 + items: *81 examples: default: *533 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -86064,7 +86269,7 @@ paths: description: Response content: application/json: - schema: *80 + schema: *81 examples: default: &551 value: @@ -86110,7 +86315,7 @@ paths: description: Response content: application/json: - schema: *80 + schema: *81 examples: default: *551 '404': *6 @@ -86169,7 +86374,7 @@ paths: description: Response content: application/json: - schema: *80 + schema: *81 examples: default: value: @@ -86330,7 +86535,7 @@ paths: license: anyOf: - type: 'null' - - *83 + - *84 required: - _links - git_url @@ -86620,7 +86825,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -86865,11 +87070,11 @@ paths: application/json: schema: type: array - items: *80 + items: *81 examples: default: *533 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86890,7 +87095,7 @@ paths: - *326 - *555 - *556 - - *86 + - *87 - *557 - *17 - *19 @@ -86901,11 +87106,11 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: default: *558 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -87471,7 +87676,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87802,7 +88007,7 @@ paths: - *326 - *563 responses: - '204': *183 + '204': *59 '404': *6 x-github: githubCloudOnly: false @@ -88096,7 +88301,7 @@ paths: description: Empty response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -88164,7 +88369,7 @@ paths: - *325 - *326 responses: - '204': *183 + '204': *59 '422': *14 x-github: githubCloudOnly: false @@ -88186,7 +88391,7 @@ paths: - *325 - *326 responses: - '204': *183 + '204': *59 '422': *14 x-github: githubCloudOnly: false @@ -88374,7 +88579,7 @@ paths: examples: default: *564 headers: - Link: *65 + Link: *66 '304': *35 '422': *15 x-github: @@ -88658,7 +88863,7 @@ paths: type: string ref: type: string - repo: *77 + repo: *78 sha: type: string user: *4 @@ -88675,7 +88880,7 @@ paths: type: string ref: type: string - repo: *77 + repo: *78 sha: type: string user: *4 @@ -88705,7 +88910,7 @@ paths: - review_comments - review_comment - self - author_association: *78 + author_association: *79 auto_merge: *565 draft: description: Indicates whether or not the pull request is a draft. @@ -89355,7 +89560,7 @@ paths: enum: - asc - desc - - *86 + - *87 - *17 - *19 responses: @@ -89419,7 +89624,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89446,7 +89651,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '200': description: Response @@ -89531,7 +89736,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 requestBody: required: true content: @@ -89573,7 +89778,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '204': description: Response @@ -89596,7 +89801,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -89626,7 +89831,7 @@ paths: examples: default: *525 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -89647,7 +89852,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 requestBody: required: true content: @@ -89712,7 +89917,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 - *526 responses: '204': @@ -89782,7 +89987,7 @@ paths: application/json: schema: *3 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89953,7 +90158,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -89982,7 +90187,7 @@ paths: - *325 - *326 - *570 - - *103 + - *104 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -89992,7 +90197,7 @@ paths: enum: - asc - desc - - *86 + - *87 - *17 - *19 responses: @@ -90006,7 +90211,7 @@ paths: examples: default: *571 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90236,7 +90441,7 @@ paths: - *325 - *326 - *570 - - *95 + - *96 requestBody: required: true content: @@ -90360,7 +90565,7 @@ paths: examples: default: *572 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90416,10 +90621,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *65 + Link: *66 '422': *15 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90636,7 +90841,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91856,7 +92061,7 @@ paths: type: string body_text: type: string - author_association: *78 + author_association: *79 required: - id - node_id @@ -91905,7 +92110,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92394,7 +92599,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *78 + author_association: *79 _links: type: object properties: @@ -92409,7 +92614,7 @@ paths: type: string body_html: type: string - reactions: *79 + reactions: *80 side: description: The side of the first line of the range for a multi-line comment. @@ -92529,7 +92734,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -92969,7 +93174,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -93665,7 +93870,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93822,7 +94027,7 @@ paths: examples: default: *525 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -94593,7 +94798,7 @@ paths: - *606 - *607 - *608 - - *59 + - *60 - *19 - *17 - *609 @@ -94612,14 +94817,14 @@ paths: items: &618 type: object properties: - number: *170 - created_at: *171 + number: *171 + created_at: *172 updated_at: anyOf: - type: 'null' - - *172 - url: *173 - html_url: *174 + - *173 + url: *174 + html_url: *175 locations_url: type: string format: uri @@ -94869,7 +95074,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94931,7 +95136,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95076,7 +95281,7 @@ paths: '422': description: State does not match the resolution or resolution comment, or assignee does not have write access to the repository - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -95210,11 +95415,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *65 + Link: *66 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95293,7 +95498,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -95322,7 +95527,7 @@ paths: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *113 + '503': *114 '200': description: Response content: @@ -95448,7 +95653,7 @@ paths: parameters: - *325 - *326 - - *59 + - *60 - name: sort description: The property to sort the results by. in: query @@ -96400,7 +96605,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *121 + schema: *122 examples: invalid_state_transition: value: @@ -96571,7 +96776,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '422': *15 x-github: githubCloudOnly: false @@ -96616,7 +96821,7 @@ paths: - 1124 - -435 '202': *37 - '204': *183 + '204': *59 '422': description: Repository contains more than 10,000 commits x-github: @@ -96688,7 +96893,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *183 + '204': *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96788,7 +96993,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *183 + '204': *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96989,7 +97194,7 @@ paths: - - 0 - 2 - 21 - '204': *183 + '204': *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97133,9 +97338,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97368,7 +97573,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97443,7 +97648,7 @@ paths: examples: default: *246 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -97976,7 +98181,7 @@ paths: description: Response content: application/json: - schema: *152 + schema: *153 examples: default: value: @@ -98424,7 +98629,7 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: value: @@ -98530,7 +98735,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *141 + - *142 - *529 requestBody: required: true @@ -98604,7 +98809,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *113 + '503': *114 x-github: triggersNotification: true githubCloudOnly: false @@ -98635,7 +98840,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *141 + - *142 - *529 requestBody: required: true @@ -98710,7 +98915,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *113 + '503': *114 x-github: triggersNotification: true githubCloudOnly: false @@ -98736,7 +98941,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *141 + - *142 - *529 - *229 responses: @@ -98745,7 +98950,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *113 + '503': *114 x-github: triggersNotification: true githubCloudOnly: false @@ -98862,7 +99067,7 @@ paths: html_url: type: string format: uri - repository: *152 + repository: *153 score: type: number file_size: @@ -98996,7 +99201,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *113 + '503': *114 '422': *15 '403': *27 x-github: @@ -99159,7 +99364,7 @@ paths: type: string sha: type: string - repository: *152 + repository: *153 score: type: number node_id: @@ -99540,10 +99745,10 @@ paths: type: string score: type: number - author_association: *78 + author_association: *79 draft: type: boolean - repository: *77 + repository: *78 body_html: type: string body_text: @@ -99559,8 +99764,8 @@ paths: pinned_comment: anyOf: - type: 'null' - - *82 - reactions: *79 + - *83 + reactions: *80 required: - assignee - closed_at @@ -99714,7 +99919,7 @@ paths: - quoted_text items: - "..." - '503': *113 + '503': *114 '422': *15 '304': *35 '403': *27 @@ -100126,7 +100331,7 @@ paths: license: anyOf: - type: 'null' - - *83 + - *84 permissions: type: object properties: @@ -100347,7 +100552,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *113 + '503': *114 '422': *15 '304': *35 x-github: @@ -100817,7 +101022,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *113 + '503': *114 '422': *15 x-github: githubCloudOnly: false @@ -101022,7 +101227,7 @@ paths: examples: default: *225 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101069,9 +101274,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -101098,7 +101303,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - *651 - - *69 + - *70 responses: '204': description: if user is a member @@ -101135,7 +101340,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - *651 - - *69 + - *70 responses: '204': description: Response @@ -101175,7 +101380,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - *651 - - *69 + - *70 responses: '204': description: Response @@ -101212,7 +101417,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *651 - - *69 + - *70 responses: '200': description: Response @@ -101254,7 +101459,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *651 - - *69 + - *70 requestBody: required: false content: @@ -101316,7 +101521,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *651 - - *69 + - *70 responses: '204': description: Response @@ -101353,11 +101558,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *253 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -101637,7 +101842,7 @@ paths: examples: response-if-child-teams-exist: *655 headers: - Link: *65 + Link: *66 '404': *6 '403': *27 '422': *15 @@ -102157,7 +102362,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 '304': *35 '404': *6 '403': *27 @@ -102180,7 +102385,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *69 + - *70 responses: '204': description: If the user is blocked @@ -102208,7 +102413,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *69 + - *70 responses: '204': description: Response @@ -102232,7 +102437,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *69 + - *70 responses: '204': description: Response @@ -102436,7 +102641,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102520,7 +102725,7 @@ paths: examples: default: *447 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102590,7 +102795,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *160 + - *161 responses: '200': description: Response @@ -102626,7 +102831,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *160 + - *161 requestBody: required: true content: @@ -102671,7 +102876,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -102699,7 +102904,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *160 + - *161 responses: '204': description: Response @@ -102724,7 +102929,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *160 + - *161 responses: '200': description: Response @@ -102740,7 +102945,7 @@ paths: type: integer repositories: type: array - items: *152 + items: *153 examples: default: *188 '401': *23 @@ -102767,7 +102972,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *160 + - *161 requestBody: required: true content: @@ -102821,7 +103026,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *160 + - *161 - name: repository_id in: path required: true @@ -102854,7 +103059,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *160 + - *161 - name: repository_id in: path required: true @@ -104294,7 +104499,7 @@ paths: primary: true visibility: public headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -104476,9 +104681,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -104509,9 +104714,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -104531,7 +104736,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *69 + - *70 responses: '204': description: if the person is followed by the authenticated user @@ -104561,7 +104766,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *69 + - *70 responses: '204': description: Response @@ -104586,7 +104791,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *69 + - *70 responses: '204': description: Response @@ -104799,7 +105004,7 @@ paths: revoked: false raw_key: string headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -105091,7 +105296,7 @@ paths: suspended_at: suspended_by: headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -105139,11 +105344,11 @@ paths: type: array items: allOf: - - *77 + - *78 examples: - default: *144 + default: *145 headers: - Link: *65 + Link: *66 '404': *6 '403': *27 '304': *35 @@ -105167,7 +105372,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *141 + - *142 responses: '204': description: Response @@ -105193,7 +105398,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *141 + - *142 responses: '204': description: Response @@ -105360,8 +105565,8 @@ paths: - updated - comments default: created - - *59 - - *86 + - *60 + - *87 - *17 - *19 responses: @@ -105371,11 +105576,11 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *234 headers: - Link: *65 + Link: *66 '404': *6 '304': *35 x-github: @@ -105458,7 +105663,7 @@ paths: verified: false read_only: false headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -105676,7 +105881,7 @@ paths: - id - type - login - plan: *97 + plan: *98 required: - billing_cycle - next_billing_date @@ -105720,7 +105925,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *65 + Link: *66 '304': *35 '401': *23 '404': *6 @@ -105753,7 +105958,7 @@ paths: examples: default: *669 headers: - Link: *65 + Link: *66 '304': *35 '401': *23 x-github: @@ -105874,7 +106079,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -105899,7 +106104,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *73 + - *74 responses: '200': description: Response @@ -105967,7 +106172,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *73 + - *74 requestBody: required: true content: @@ -106217,7 +106422,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -106803,11 +107008,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *253 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -106840,11 +107045,11 @@ paths: application/json: schema: type: array - items: *71 + items: *72 examples: - default: *110 + default: *111 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -107292,7 +107497,7 @@ paths: examples: default: *674 headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -107401,7 +107606,7 @@ paths: application/json: schema: type: array - items: *77 + items: *78 examples: default: &681 summary: Default response @@ -107524,7 +107729,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *65 + Link: *66 '422': *15 '304': *35 '403': *27 @@ -107765,7 +107970,7 @@ paths: examples: default: *675 headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -107864,7 +108069,7 @@ paths: - provider: twitter url: https://twitter.com/github headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -108043,7 +108248,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -108208,7 +108413,7 @@ paths: - created - updated default: created - - *59 + - *60 - *17 - *19 responses: @@ -108218,7 +108423,7 @@ paths: application/json: schema: type: array - items: *77 + items: *78 examples: default-response: *681 application/vnd.github.v3.star+json: @@ -108232,7 +108437,7 @@ paths: starred_at: type: string format: date-time - repo: *77 + repo: *78 required: - starred_at - repo @@ -108360,7 +108565,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -108468,11 +108673,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *253 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -108558,7 +108763,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -108585,7 +108790,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *99 + - *100 responses: '200': description: Response @@ -108765,7 +108970,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: Link: example: ; rel="next" @@ -108908,7 +109113,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *69 + - *70 responses: '200': description: Response @@ -108946,7 +109151,7 @@ paths: - *17 - *45 - *46 - - *69 + - *70 requestBody: required: true content: @@ -109043,7 +109248,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *69 + - *70 requestBody: required: true content: @@ -109108,7 +109313,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *69 + - *70 - name: subject_digest description: Subject Digest in: path @@ -109139,7 +109344,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *69 + - *70 - name: attestation_id description: Attestation ID in: path @@ -109177,7 +109382,7 @@ paths: - *17 - *45 - *46 - - *69 + - *70 - name: subject_digest description: Subject Digest in: path @@ -109235,7 +109440,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -109261,7 +109466,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *69 + - *70 responses: '200': description: Response @@ -109294,7 +109499,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -109304,7 +109509,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: default: value: @@ -109366,8 +109571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *69 - - *73 + - *70 + - *74 - *17 - *19 responses: @@ -109377,7 +109582,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: default: value: @@ -109454,7 +109659,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -109464,7 +109669,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: default: value: @@ -109522,7 +109727,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -109534,9 +109739,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109553,7 +109758,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *69 + - *70 - *17 - *19 responses: @@ -109565,9 +109770,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109584,7 +109789,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *69 + - *70 - name: target_user in: path required: true @@ -109611,8 +109816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *69 - - *86 + - *70 + - *87 - *17 - *19 responses: @@ -109622,11 +109827,11 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: - default: *88 + default: *89 headers: - Link: *65 + Link: *66 '422': *15 x-github: githubCloudOnly: false @@ -109645,7 +109850,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -109659,7 +109864,7 @@ paths: examples: default: *690 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109681,7 +109886,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *69 + - *70 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -109753,7 +109958,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *69 + - *70 responses: '200': description: Response @@ -109779,7 +109984,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -109815,7 +110020,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109835,7 +110040,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -109845,11 +110050,11 @@ paths: application/json: schema: type: array - items: *71 + items: *72 examples: - default: *110 + default: *111 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109887,7 +110092,7 @@ paths: - nuget - container - *671 - - *69 + - *70 - *19 - *17 responses: @@ -109924,7 +110129,7 @@ paths: parameters: - *249 - *250 - - *69 + - *70 responses: '200': description: Response @@ -109955,7 +110160,7 @@ paths: parameters: - *249 - *250 - - *69 + - *70 responses: '204': description: Response @@ -109989,7 +110194,7 @@ paths: parameters: - *249 - *250 - - *69 + - *70 - name: token description: package token schema: @@ -110023,7 +110228,7 @@ paths: parameters: - *249 - *250 - - *69 + - *70 responses: '200': description: Response @@ -110092,7 +110297,7 @@ paths: - *249 - *250 - *252 - - *69 + - *70 responses: '200': description: Response @@ -110135,7 +110340,7 @@ paths: parameters: - *249 - *250 - - *69 + - *70 - *252 responses: '204': @@ -110170,7 +110375,7 @@ paths: parameters: - *249 - *250 - - *69 + - *70 - *252 responses: '204': @@ -110195,7 +110400,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *69 + - *70 - name: q description: Limit results to projects of the specified type. in: query @@ -110216,7 +110421,7 @@ paths: examples: default: *264 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -110237,7 +110442,7 @@ paths: url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - *265 - - *69 + - *70 responses: '200': description: Response @@ -110247,7 +110452,7 @@ paths: examples: default: *264 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -110268,7 +110473,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - *265 - - *69 + - *70 - *17 - *45 - *46 @@ -110283,7 +110488,7 @@ paths: examples: default: *692 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -110302,7 +110507,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - - *69 + - *70 - *265 requestBody: required: true @@ -110415,7 +110620,7 @@ paths: parameters: - *265 - *702 - - *69 + - *70 responses: '200': description: Response @@ -110425,7 +110630,7 @@ paths: examples: default: *703 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -110447,7 +110652,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - *265 - - *69 + - *70 - *45 - *46 - *17 @@ -110483,7 +110688,7 @@ paths: examples: default: *273 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -110502,7 +110707,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *69 + - *70 - *265 requestBody: required: true @@ -110609,7 +110814,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *265 - - *69 + - *70 - *274 - name: fields description: |- @@ -110634,7 +110839,7 @@ paths: examples: default: *273 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -110654,7 +110859,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - *265 - - *69 + - *70 - *274 requestBody: required: true @@ -110755,7 +110960,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - *265 - - *69 + - *70 - *274 responses: '204': @@ -110779,7 +110984,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - *265 - - *69 + - *70 - *704 - name: fields description: |- @@ -110810,7 +111015,7 @@ paths: examples: default: *273 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -110836,7 +111041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -110846,7 +111051,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: default: value: @@ -110911,7 +111116,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -110921,7 +111126,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: default: value: @@ -110984,7 +111189,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *69 + - *70 - name: type description: Limit results to repositories of the specified type. in: query @@ -111027,11 +111232,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *253 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111051,12 +111256,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - - *69 - - *115 - - *117 + - *70 - *116 - - *705 - *118 + - *117 + - *705 + - *119 responses: '200': description: Response when getting a billing premium request usage report @@ -111164,7 +111369,7 @@ paths: '403': *27 '404': *6 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111184,10 +111389,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - - *69 - - *115 - - *706 + - *70 - *116 + - *706 + - *117 responses: '200': description: Response when getting a billing usage report @@ -111258,7 +111463,7 @@ paths: '400': *14 '403': *27 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111281,12 +111486,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - - *69 - - *115 - - *117 + - *70 - *116 - - *707 - *118 + - *117 + - *707 + - *119 - *708 responses: '200': @@ -111393,7 +111598,7 @@ paths: '403': *27 '404': *6 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111411,7 +111616,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -111425,7 +111630,7 @@ paths: examples: default: *677 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111443,7 +111648,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -111457,7 +111662,7 @@ paths: examples: default: *709 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111479,9 +111684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *69 + - *70 - *710 - - *59 + - *60 - *17 - *19 responses: @@ -111494,11 +111699,11 @@ paths: - type: array items: *711 - type: array - items: *77 + items: *78 examples: default-response: *681 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111515,7 +111720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -111525,11 +111730,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *253 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111848,7 +112053,7 @@ webhooks: license: anyOf: - type: 'null' - - *83 + - *84 organization: anyOf: - type: 'null' @@ -113396,8 +113601,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *84 - repository: *152 + items: *85 + repository: *153 status: type: string enum: @@ -113501,7 +113706,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *84 + items: *85 started_at: type: string format: date-time @@ -137217,12 +137422,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *81 + blocked_issue: *82 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *81 - blocking_issue_repo: *77 + blocking_issue: *82 + blocking_issue_repo: *78 installation: *713 organization: *714 repository: *715 @@ -137308,12 +137513,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *81 + blocked_issue: *82 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *81 - blocking_issue_repo: *77 + blocking_issue: *82 + blocking_issue_repo: *78 installation: *713 organization: *714 repository: *715 @@ -137398,12 +137603,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *81 - blocked_issue_repo: *77 + blocked_issue: *82 + blocked_issue_repo: *78 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *81 + blocking_issue: *82 installation: *713 organization: *714 repository: *715 @@ -137489,12 +137694,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *81 - blocked_issue_repo: *77 + blocked_issue: *82 + blocked_issue_repo: *78 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *81 + blocking_issue: *82 installation: *713 organization: *714 repository: *715 @@ -138390,7 +138595,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -139412,7 +139617,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -140567,7 +140772,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -141601,7 +141806,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -142758,7 +142963,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -143775,7 +143980,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -144817,7 +145022,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -145828,7 +146033,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -146850,7 +147055,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 user: title: User type: @@ -148255,7 +148460,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 user: title: User type: @@ -149237,7 +149442,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -150274,7 +150479,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -151265,7 +151470,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -153123,7 +153328,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -228562,14 +228767,14 @@ webhooks: alert: &767 type: object properties: - number: *170 - created_at: *171 + number: *171 + created_at: *172 updated_at: anyOf: - type: 'null' - - *172 - url: *173 - html_url: *174 + - *173 + url: *174 + html_url: *175 locations_url: type: string format: uri @@ -229672,7 +229877,7 @@ webhooks: required: - vector_string - score - cvss_severities: *61 + cvss_severities: *62 cwes: type: array items: @@ -229939,7 +230144,7 @@ webhooks: required: - vector_string - score - cvss_severities: *61 + cvss_severities: *62 cwes: type: array items: @@ -231607,12 +231812,12 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *81 - parent_issue_repo: *77 + parent_issue: *82 + parent_issue_repo: *78 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *81 + sub_issue: *82 installation: *713 organization: *714 repository: *715 @@ -231699,12 +231904,12 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *81 - parent_issue_repo: *77 + parent_issue: *82 + parent_issue_repo: *78 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *81 + sub_issue: *82 installation: *713 organization: *714 repository: *715 @@ -231791,12 +231996,12 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *81 - sub_issue_repo: *77 + sub_issue: *82 + sub_issue_repo: *78 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *81 + parent_issue: *82 installation: *713 organization: *714 repository: *715 @@ -231883,12 +232088,12 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *81 - sub_issue_repo: *77 + sub_issue: *82 + sub_issue_repo: *78 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *81 + parent_issue: *82 installation: *713 organization: *714 repository: *715 diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index a719bab36e..01affc89b4 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -24640,6 +24640,475 @@ } } }, + "/enterprises/{enterprise}/copilot/policies/coding_agent": { + "put": { + "summary": "Set the coding agent policy for an enterprise", + "description": "Sets the policy for Copilot coding agent usage across an enterprise.\n\nEnterprise owners can configure whether Copilot coding agent is enabled for all\norganizations, disabled for all organizations, configured by individual organization\nadmins, or enabled for selected organizations only.\n\nOnly enterprise owners can set the coding agent policy for their enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The coding agent policy configuration", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "policy_state": { + "type": "string", + "description": "The policy state for Copilot coding agent in the enterprise. Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, `enabled_for_selected_orgs`, or `configured_by_org_admins`.", + "enum": [ + "enabled_for_all_orgs", + "disabled_for_all_orgs", + "enabled_for_selected_orgs", + "configured_by_org_admins" + ] + } + }, + "required": [ + "policy_state" + ] + }, + "examples": { + "default": { + "summary": "Enable coding agent for all organizations", + "value": { + "policy_state": "enabled_for_all_orgs" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/enterprises/{enterprise}/copilot/policies/coding_agent/organizations": { + "post": { + "summary": "Add organizations to the enterprise coding agent policy", + "description": "Enables Copilot coding agent for the specified organizations within the enterprise.\n\nThe enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before\nusing this endpoint. Organizations can be specified by login or matched via custom properties.\n\nOnly organizations that have Copilot enabled and belong to the enterprise will be affected.\n\nOnly enterprise owners can add organizations to the coding agent policy.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/add-organizations-to-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The organizations to enable Copilot coding agent for", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "organizations": { + "type": "array", + "description": "List of organization logins within the enterprise to enable Copilot coding agent for.", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "array", + "description": "List of custom property filters to match organizations. Organizations matching any of the specified property name/value pairs will be included. This is a one-time operation, setting the property on an organization in the future will not automatically update its coding agent policy.", + "items": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the custom property to filter by." + }, + "values": { + "type": "array", + "description": "The values of the custom property to match.", + "items": { + "type": "string" + } + } + }, + "required": [ + "property_name", + "values" + ] + } + } + } + }, + "examples": { + "default": { + "summary": "Add organizations that match a login or have a custom property", + "value": { + "organizations": [ + "my-org-1", + "my-org-2" + ], + "custom_properties": [ + { + "property_name": "department", + "values": [ + "engineering", + "security" + ] + } + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "delete": { + "summary": "Remove organizations from the enterprise coding agent policy", + "description": "Disables Copilot coding agent for the specified organizations within the enterprise.\n\nThe enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before\nusing this endpoint. Organizations can be specified by login or matched via custom properties.\n\nOnly organizations that have Copilot enabled and belong to the enterprise will be affected.\n\nOnly enterprise owners can remove organizations from the coding agent policy.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/remove-organizations-from-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The organizations to disable Copilot coding agent for", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "organizations": { + "type": "array", + "description": "List of organization logins within the enterprise to disable Copilot coding agent for.", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "array", + "description": "List of custom property filters to match organizations. Organizations matching any of the specified property name/value pairs will be included. This is a one-time operation, setting the property on an organization in the future will not automatically update its coding agent policy.", + "items": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the custom property to filter by." + }, + "values": { + "type": "array", + "description": "The values of the custom property to match.", + "items": { + "type": "string" + } + } + }, + "required": [ + "property_name", + "values" + ] + } + } + } + }, + "examples": { + "default": { + "summary": "Remove organizations that match a login or have a custom property", + "value": { + "organizations": [ + "my-org-1", + "my-org-2" + ], + "custom_properties": [ + { + "property_name": "department", + "values": [ + "engineering", + "security" + ] + } + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -78223,17 +78692,17 @@ } } }, - "/organizations/{org}/dependabot/repository-access": { + "/organizations/{org}/settings/billing/budgets": { "get": { - "summary": "Lists the repositories Dependabot can access in an organization", - "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", + "summary": "Get all budgets for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets all budgets for an organization. The authenticated user must be an organization admin or billing manager.\nEach page returns up to 10 budgets.", "tags": [ - "dependabot" + "billing" ], - "operationId": "dependabot/repository-access-for-org", + "operationId": "billing/get-all-budgets-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization" }, "parameters": [ { @@ -78247,720 +78716,213 @@ }, { "name": "page", + "description": "The page number of the results to fetch.", "in": "query", - "description": "The page number of results to fetch.", - "required": false, "schema": { "type": "integer", - "minimum": 1, "default": 1 } }, { "name": "per_page", + "description": "The number of results per page (max 10).", "in": "query", - "description": "Number of results per page.", - "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 + "default": 10 + } + }, + { + "name": "scope", + "description": "Filter budgets by scope type.", + "in": "query", + "schema": { + "type": "string", + "enum": [ + "enterprise", + "organization", + "repository", + "cost_center" + ] } } ], "responses": { "200": { - "description": "Response", + "description": "Response when getting all budgets", "content": { "application/json": { "schema": { - "title": "Dependabot Repository Access Details", - "description": "Information about repositories that Dependabot is able to access in an organization", "type": "object", "properties": { - "default_level": { - "type": [ - "string", - "null" - ], - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal", - null - ], - "examples": [ - "internal" - ] - }, - "accessible_repositories": { + "budgets": { "type": "array", "items": { - "anyOf": [ - { - "type": "null" + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier for the budget", + "examples": [ + "2066deda-923f-43f9-88d2-62395a28c0cdd" + ] }, - { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "A unique identifier of the repository.", - "examples": [ - 1296269 - ] - }, - "node_id": { - "type": "string", - "description": "The GraphQL identifier of the repository.", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "type": "string", - "description": "The name of the repository.", - "examples": [ - "Hello-World" - ] - }, - "full_name": { + "budget_type": { + "description": "The type of pricing for the budget", + "oneOf": [ + { "type": "string", - "description": "The full, globally unique, name of the repository.", - "examples": [ - "octocat/Hello-World" - ] - }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" + "enum": [ + "SkuPricing" ] }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { + { "type": "string", - "format": "uri", - "description": "The URL to view the repository on GitHub.com.", - "examples": [ - "https://github.com/octocat/Hello-World" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The repository description.", - "examples": [ - "This your first repo!" + "enum": [ + "ProductPricing" ] - }, - "fork": { + } + ], + "examples": [ + "SkuPricing" + ] + }, + "budget_amount": { + "type": "integer", + "description": "The budget amount limit in whole dollars. For license-based products, this represents the number of licenses." + }, + "prevent_further_usage": { + "type": "boolean", + "description": "The type of limit enforcement for the budget", + "examples": [ + true + ] + }, + "budget_scope": { + "type": "string", + "description": "The scope of the budget (enterprise, organization, repository, cost center)", + "examples": [ + "enterprise" + ] + }, + "budget_entity_name": { + "type": "string", + "description": "The name of the entity for the budget (enterprise does not require a name).", + "examples": [ + "octocat/hello-world" + ] + }, + "budget_product_sku": { + "type": "string", + "description": "A single product or sku to apply the budget to." + }, + "budget_alerting": { + "type": "object", + "properties": { + "will_alert": { "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "description": "The URL to get more information about the repository from the GitHub API.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World" - ] - }, - "archive_url": { - "type": "string", - "description": "A template for the API URL to download the repository as an archive.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "description": "A template for the API URL to list the available assignees for issues in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "description": "A template for the API URL to get information about branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "description": "A template for the API URL to get information about collaborators of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "description": "A template for the API URL to get information about comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "description": "A template for the API URL to get information about commits on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "description": "A template for the API URL to compare two commits or refs.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "description": "A template for the API URL to get the contents of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "description": "A template for the API URL to list the contributors to the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the deployments of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the downloads on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the events of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the forks of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "description": "A template for the API URL to get information about Git commits of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "description": "A template for the API URL to get information about Git refs of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "description": "A template for the API URL to get information about Git tags of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "issue_comment_url": { - "type": "string", - "description": "A template for the API URL to get information about issue comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "description": "A template for the API URL to get information about issue events on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "description": "A template for the API URL to get information about issues on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "description": "A template for the API URL to get information about deploy keys on the repository.", + "description": "Whether alerts are enabled for this budget", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + true ] }, - "labels_url": { - "type": "string", - "description": "A template for the API URL to get information about labels of the repository.", + "alert_recipients": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of user login names who will receive alerts", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about the languages of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "description": "The API URL to merge branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "description": "A template for the API URL to get information about milestones of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "description": "A template for the API URL to get information about notifications on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "description": "A template for the API URL to get information about pull requests on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "description": "A template for the API URL to get information about releases on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the stargazers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "description": "A template for the API URL to get information about statuses of a commit.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the subscribers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "description": "The API URL to subscribe to notifications for this repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about tags on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/tags" - ] - }, - "teams_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the teams on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the hooks on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/hooks" + "mona", + "lisa" ] } }, "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" + "will_alert", + "alert_recipients" ] } + }, + "required": [ + "id", + "budget_type", + "budget_product_sku", + "budget_scope", + "budget_amount", + "prevent_further_usage", + "budget_alerting" ] - } + }, + "description": "Array of budget objects for the enterprise" + }, + "has_next_page": { + "type": "boolean", + "description": "Indicates if there are more pages of results available (maps to hasNextPage from billing platform)" + }, + "total_count": { + "type": "integer", + "description": "Total number of budgets matching the query" } }, - "additionalProperties": false + "required": [ + "budgets" + ] }, "examples": { "default": { "value": { - "default_level": "public", - "accessible_repositories": [ + "budgets": [ { - "id": 123456, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", - "name": "example-repo", - "full_name": "octocat/example-repo", - "owner": { - "name": "octocat", - "email": "octo@github.com", - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", - "gravatar_id": 1, - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat/example-repo", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false, - "starred_at": "\"2020-07-09T00:17:55Z\"", - "user_view_type": "default" - }, - "private": false, - "html_url": "https://github.com/octocat/example-repo", - "description": "This is an example repository.", - "fork": false, - "url": "https://api.github.com/repos/octocat/example-repo", - "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", - "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", - "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", - "events_url": "https://api.github.com/repos/octocat/example-repo/events", - "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", - "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", - "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", - "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", - "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", - "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", - "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", + "budget_type": "ProductPricing", + "budget_product_skus": [ + "actions" + ], + "budget_scope": "enterprise", + "budget_amount": 1000.0, + "prevent_further_usage": true, + "budget_alerting": { + "will_alert": true, + "alert_recipients": [ + "enterprise-admin", + "billing-manager" + ] + } + }, + { + "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479", + "budget_type": "SkuPricing", + "budget_product_skus": [ + "actions_linux" + ], + "budget_scope": "organization", + "budget_amount": 500.0, + "prevent_further_usage": false, + "budget_alerting": { + "will_alert": true, + "alert_recipients": [ + "org-owner" + ] + } + }, + { + "id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8", + "budget_type": "ProductPricing", + "budget_product_skus": [ + "packages" + ], + "budget_scope": "cost_center", + "budget_amount": 250.0, + "prevent_further_usage": true, + "budget_alerting": { + "will_alert": false, + "alert_recipients": [] + } } - ] - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" + ], + "has_next_page": false, + "total_count": 3 } } } @@ -78992,97 +78954,6 @@ } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" - } - }, - "patch": { - "summary": "Updates Dependabot's repository access list for an organization", - "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", - "tags": [ - "dependabot" - ], - "operationId": "dependabot/update-repository-access-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "repository_ids_to_add": { - "type": "array", - "items": { - "type": "integer" - }, - "description": "List of repository IDs to add." - }, - "repository_ids_to_remove": { - "type": "array", - "items": { - "type": "integer" - }, - "description": "List of repository IDs to remove." - } - }, - "example": { - "repository_ids_to_add": [ - 123, - 456 - ], - "repository_ids_to_remove": [ - 789 - ] - } - }, - "examples": { - "204": { - "summary": "Example with a 'succeeded' status." - }, - "add-example": { - "summary": "Add repositories", - "value": { - "repository_ids_to_add": [ - 123, - 456 - ] - } - }, - "remove-example": { - "summary": "Remove repositories", - "value": { - "repository_ids_to_remove": [ - 789 - ] - } - } - } - } - } - }, - "responses": { - "204": { - "description": "Response" }, "403": { "description": "Forbidden", @@ -79110,8 +78981,8 @@ } } }, - "404": { - "description": "Resource not found", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { @@ -79140,22 +79011,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" + "category": "billing", + "subcategory": "budgets" } } }, - "/organizations/{org}/dependabot/repository-access/default-level": { - "put": { - "summary": "Set the default repository access level for Dependabot", - "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", + "/organizations/{org}/settings/billing/budgets/{budget_id}": { + "get": { + "summary": "Get a budget by ID for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a budget by ID. The authenticated user must be an organization admin or billing manager.", "tags": [ - "dependabot" + "billing" ], - "operationId": "dependabot/set-repository-access-default-level", + "operationId": "billing/get-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot" + "url": "https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization" }, "parameters": [ { @@ -79166,487 +79037,41 @@ "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "default_level": { - "type": "string", - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal" - ], - "examples": [ - "internal" - ] - } - }, - "required": [ - "default_level" - ] - }, - "examples": { - "204": { - "summary": "Example with a 'succeeded' status.", - "value": { - "default_level": "public" - } - } - } + }, + { + "name": "budget_id", + "description": "The ID corresponding to the budget.", + "in": "path", + "required": true, + "schema": { + "type": "string" } } - }, + ], "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", + "200": { + "description": "Response when updating a budget", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", "type": "object", "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" + "id": { + "type": "string", + "description": "ID of the budget." }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" - } - } - }, - "/organizations/{org}/settings/billing/budgets": { - "get": { - "summary": "Get all budgets for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets all budgets for an organization. The authenticated user must be an organization admin or billing manager.\nEach page returns up to 10 budgets.", - "tags": [ - "billing" - ], - "operationId": "billing/get-all-budgets-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "description": "The page number of the results to fetch.", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 10).", - "in": "query", - "schema": { - "type": "integer", - "default": 10 - } - }, - { - "name": "scope", - "description": "Filter budgets by scope type.", - "in": "query", - "schema": { - "type": "string", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] - } - } - ], - "responses": { - "200": { - "description": "Response when getting all budgets", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "budgets": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier for the budget", - "examples": [ - "2066deda-923f-43f9-88d2-62395a28c0cdd" - ] - }, - "budget_type": { - "description": "The type of pricing for the budget", - "oneOf": [ - { - "type": "string", - "enum": [ - "SkuPricing" - ] - }, - { - "type": "string", - "enum": [ - "ProductPricing" - ] - } - ], - "examples": [ - "SkuPricing" - ] - }, - "budget_amount": { - "type": "integer", - "description": "The budget amount limit in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "The type of limit enforcement for the budget", - "examples": [ - true - ] - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget (enterprise, organization, repository, cost center)", - "examples": [ - "enterprise" - ] - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity for the budget (enterprise does not require a name).", - "examples": [ - "octocat/hello-world" - ] - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or sku to apply the budget to." - }, - "budget_alerting": { - "type": "object", - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget", - "examples": [ - true - ] - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts", - "examples": [ - "mona", - "lisa" - ] - } - }, - "required": [ - "will_alert", - "alert_recipients" - ] - } - }, - "required": [ - "id", - "budget_type", - "budget_product_sku", - "budget_scope", - "budget_amount", - "prevent_further_usage", - "budget_alerting" - ] - }, - "description": "Array of budget objects for the enterprise" - }, - "has_next_page": { - "type": "boolean", - "description": "Indicates if there are more pages of results available (maps to hasNextPage from billing platform)" - }, - "total_count": { - "type": "integer", - "description": "Total number of budgets matching the query" - } - }, - "required": [ - "budgets" - ] - }, - "examples": { - "default": { - "value": { - "budgets": [ - { - "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", - "budget_type": "ProductPricing", - "budget_product_skus": [ - "actions" - ], - "budget_scope": "enterprise", - "budget_amount": 1000.0, - "prevent_further_usage": true, - "budget_alerting": { - "will_alert": true, - "alert_recipients": [ - "enterprise-admin", - "billing-manager" - ] - } - }, - { - "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479", - "budget_type": "SkuPricing", - "budget_product_skus": [ - "actions_linux" - ], - "budget_scope": "organization", - "budget_amount": 500.0, - "prevent_further_usage": false, - "budget_alerting": { - "will_alert": true, - "alert_recipients": [ - "org-owner" - ] - } - }, - { - "id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8", - "budget_type": "ProductPricing", - "budget_product_skus": [ - "packages" - ], - "budget_scope": "cost_center", - "budget_amount": 250.0, - "prevent_further_usage": true, - "budget_alerting": { - "will_alert": false, - "alert_recipients": [] - } - } - ], - "has_next_page": false, - "total_count": 3 - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "budgets" - } - } - }, - "/organizations/{org}/settings/billing/budgets/{budget_id}": { - "get": { - "summary": "Get a budget by ID for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a budget by ID. The authenticated user must be an organization admin or billing manager.", - "tags": [ - "billing" - ], - "operationId": "billing/get-budget-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "budget_id", - "description": "The ID corresponding to the budget.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response when updating a budget", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "ID of the budget." - }, - "budget_scope": { - "type": "string", - "description": "The type of scope for the budget", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ], - "examples": [ - "enterprise" - ] + "budget_scope": { + "type": "string", + "description": "The type of scope for the budget", + "enum": [ + "enterprise", + "organization", + "repository", + "cost_center" + ], + "examples": [ + "enterprise" + ] }, "budget_entity_name": { "type": "string", @@ -128096,114 +127521,991 @@ { "url": "https://access.redhat.com/security/cve/cve-2021-20191" }, - { - "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1916813" - } - ], - "published_at": "2021-06-01T17:38:00Z", - "updated_at": "2021-08-12T23:06:00Z", - "withdrawn_at": null - }, - "security_vulnerability": { - "package": { - "ecosystem": "pip", - "name": "ansible" - }, - "severity": "medium", - "vulnerable_version_range": "< 2.8.19", - "first_patched_version": { - "identifier": "2.8.19" + { + "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1916813" + } + ], + "published_at": "2021-06-01T17:38:00Z", + "updated_at": "2021-08-12T23:06:00Z", + "withdrawn_at": null + }, + "security_vulnerability": { + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": "< 2.8.19", + "first_patched_version": { + "identifier": "2.8.19" + } + }, + "url": "https://api.github.com/repos/octo-org/hello-world/dependabot/alerts/1", + "html_url": "https://github.com/octo-org/hello-world/security/dependabot/1", + "created_at": "2022-06-14T15:21:52Z", + "updated_at": "2022-06-14T15:21:52Z", + "dismissed_at": null, + "dismissed_by": null, + "dismissed_reason": null, + "dismissed_comment": null, + "fixed_at": null, + "assignees": [], + "repository": { + "id": 664700648, + "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", + "name": "hello-world", + "full_name": "octo-org/hello-world", + "owner": { + "login": "octo-org", + "id": 6811672, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=", + "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/octo-org", + "html_url": "https://github.com/octo-org", + "followers_url": "https://api.github.com/users/octo-org/followers", + "following_url": "https://api.github.com/users/octo-org/following{/other_user}", + "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions", + "organizations_url": "https://api.github.com/users/octo-org/orgs", + "repos_url": "https://api.github.com/users/octo-org/repos", + "events_url": "https://api.github.com/users/octo-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/octo-org/received_events", + "type": "Organization", + "site_admin": false + }, + "private": true, + "html_url": "https://github.com/octo-org/hello-world", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/octo-org/hello-world", + "archive_url": "https://api.github.com/repos/octo-org/hello-world/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octo-org/hello-world/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octo-org/hello-world/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octo-org/hello-world/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octo-org/hello-world/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octo-org/hello-world/comments{/number}", + "commits_url": "https://api.github.com/repos/octo-org/hello-world/commits{/sha}", + "compare_url": "https://api.github.com/repos/octo-org/hello-world/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octo-org/hello-world/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octo-org/hello-world/contributors", + "deployments_url": "https://api.github.com/repos/octo-org/hello-world/deployments", + "downloads_url": "https://api.github.com/repos/octo-org/hello-world/downloads", + "events_url": "https://api.github.com/repos/octo-org/hello-world/events", + "forks_url": "https://api.github.com/repos/octo-org/hello-world/forks", + "git_commits_url": "https://api.github.com/repos/octo-org/hello-world/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octo-org/hello-world/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octo-org/hello-world/git/tags{/sha}", + "hooks_url": "https://api.github.com/repos/octo-org/hello-world/hooks", + "issue_comment_url": "https://api.github.com/repos/octo-org/hello-world/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octo-org/hello-world/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octo-org/hello-world/issues{/number}", + "keys_url": "https://api.github.com/repos/octo-org/hello-world/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octo-org/hello-world/labels{/name}", + "languages_url": "https://api.github.com/repos/octo-org/hello-world/languages", + "merges_url": "https://api.github.com/repos/octo-org/hello-world/merges", + "milestones_url": "https://api.github.com/repos/octo-org/hello-world/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octo-org/hello-world/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octo-org/hello-world/pulls{/number}", + "releases_url": "https://api.github.com/repos/octo-org/hello-world/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octo-org/hello-world/stargazers", + "statuses_url": "https://api.github.com/repos/octo-org/hello-world/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octo-org/hello-world/subscribers", + "subscription_url": "https://api.github.com/repos/octo-org/hello-world/subscription", + "tags_url": "https://api.github.com/repos/octo-org/hello-world/tags", + "teams_url": "https://api.github.com/repos/octo-org/hello-world/teams", + "trees_url": "https://api.github.com/repos/octo-org/hello-world/git/trees{/sha}" + } + } + ] + } + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "alerts" + } + } + }, + "/orgs/{org}/dependabot/repository-access": { + "get": { + "summary": "Lists the repositories Dependabot can access in an organization", + "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/repository-access-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": [ + "string", + "null" + ], + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal", + null + ], + "examples": [ + "internal" + ] + }, + "accessible_repositories": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "A unique identifier of the repository.", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "description": "The GraphQL identifier of the repository.", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "description": "The name of the repository.", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "description": "The full, globally unique, name of the repository.", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The URL to view the repository on GitHub.com.", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The repository description.", + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL to get more information about the repository from the GitHub API.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "description": "A template for the API URL to download the repository as an archive.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "description": "A template for the API URL to list the available assignees for issues in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "description": "A template for the API URL to get information about branches in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "description": "A template for the API URL to get information about collaborators of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "description": "A template for the API URL to get information about comments on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "description": "A template for the API URL to get information about commits on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "description": "A template for the API URL to compare two commits or refs.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "description": "A template for the API URL to get the contents of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "description": "A template for the API URL to list the contributors to the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the deployments of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the downloads on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the events of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the forks of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "description": "A template for the API URL to get information about Git commits of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "description": "A template for the API URL to get information about Git refs of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "description": "A template for the API URL to get information about Git tags of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "issue_comment_url": { + "type": "string", + "description": "A template for the API URL to get information about issue comments on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "description": "A template for the API URL to get information about issue events on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "description": "A template for the API URL to get information about issues on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "description": "A template for the API URL to get information about deploy keys on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "description": "A template for the API URL to get information about labels of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about the languages of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "description": "The API URL to merge branches in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "description": "A template for the API URL to get information about milestones of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "description": "A template for the API URL to get information about notifications on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "description": "A template for the API URL to get information about pull requests on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "description": "A template for the API URL to get information about releases on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the stargazers on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "description": "A template for the API URL to get information about statuses of a commit.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the subscribers on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "description": "The API URL to subscribe to notifications for this repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about tags on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the teams on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the hooks on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/hooks" + ] + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ] } - }, - "url": "https://api.github.com/repos/octo-org/hello-world/dependabot/alerts/1", - "html_url": "https://github.com/octo-org/hello-world/security/dependabot/1", - "created_at": "2022-06-14T15:21:52Z", - "updated_at": "2022-06-14T15:21:52Z", - "dismissed_at": null, - "dismissed_by": null, - "dismissed_reason": null, - "dismissed_comment": null, - "fixed_at": null, - "assignees": [], - "repository": { - "id": 664700648, - "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", - "name": "hello-world", - "full_name": "octo-org/hello-world", + ] + } + } + }, + "additionalProperties": false + }, + "examples": { + "default": { + "value": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", "owner": { - "login": "octo-org", - "id": 6811672, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=", - "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octo-org", - "html_url": "https://github.com/octo-org", - "followers_url": "https://api.github.com/users/octo-org/followers", - "following_url": "https://api.github.com/users/octo-org/following{/other_user}", - "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions", - "organizations_url": "https://api.github.com/users/octo-org/orgs", - "repos_url": "https://api.github.com/users/octo-org/repos", - "events_url": "https://api.github.com/users/octo-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/octo-org/received_events", - "type": "Organization", - "site_admin": false + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" }, - "private": true, - "html_url": "https://github.com/octo-org/hello-world", - "description": null, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", "fork": false, - "url": "https://api.github.com/repos/octo-org/hello-world", - "archive_url": "https://api.github.com/repos/octo-org/hello-world/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octo-org/hello-world/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octo-org/hello-world/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octo-org/hello-world/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octo-org/hello-world/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octo-org/hello-world/comments{/number}", - "commits_url": "https://api.github.com/repos/octo-org/hello-world/commits{/sha}", - "compare_url": "https://api.github.com/repos/octo-org/hello-world/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octo-org/hello-world/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octo-org/hello-world/contributors", - "deployments_url": "https://api.github.com/repos/octo-org/hello-world/deployments", - "downloads_url": "https://api.github.com/repos/octo-org/hello-world/downloads", - "events_url": "https://api.github.com/repos/octo-org/hello-world/events", - "forks_url": "https://api.github.com/repos/octo-org/hello-world/forks", - "git_commits_url": "https://api.github.com/repos/octo-org/hello-world/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octo-org/hello-world/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octo-org/hello-world/git/tags{/sha}", - "hooks_url": "https://api.github.com/repos/octo-org/hello-world/hooks", - "issue_comment_url": "https://api.github.com/repos/octo-org/hello-world/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octo-org/hello-world/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octo-org/hello-world/issues{/number}", - "keys_url": "https://api.github.com/repos/octo-org/hello-world/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octo-org/hello-world/labels{/name}", - "languages_url": "https://api.github.com/repos/octo-org/hello-world/languages", - "merges_url": "https://api.github.com/repos/octo-org/hello-world/merges", - "milestones_url": "https://api.github.com/repos/octo-org/hello-world/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octo-org/hello-world/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octo-org/hello-world/pulls{/number}", - "releases_url": "https://api.github.com/repos/octo-org/hello-world/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octo-org/hello-world/stargazers", - "statuses_url": "https://api.github.com/repos/octo-org/hello-world/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octo-org/hello-world/subscribers", - "subscription_url": "https://api.github.com/repos/octo-org/hello-world/subscription", - "tags_url": "https://api.github.com/repos/octo-org/hello-world/tags", - "teams_url": "https://api.github.com/repos/octo-org/hello-world/teams", - "trees_url": "https://api.github.com/repos/octo-org/hello-world/git/trees{/sha}" + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" } - } - ] + ] + } } } } } }, - "304": { - "description": "Not modified" - }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -128225,50 +128527,125 @@ } } } - }, - "application/scim+json": { + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { "schema": { - "title": "Scim Error", - "description": "Scim Error", + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { "message": { - "type": [ - "string", - "null" - ] + "type": "string" }, "documentation_url": { - "type": [ - "string", - "null" - ] + "type": "string" }, - "detail": { - "type": [ - "string", - "null" - ] + "url": { + "type": "string" }, "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "repository-access" + } + }, + "patch": { + "summary": "Updates Dependabot's repository access list for an organization", + "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/update-repository-access-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_ids_to_add": { + "type": "array", + "items": { "type": "integer" }, - "scimType": { - "type": [ - "string", - "null" - ] + "description": "List of repository IDs to add." + }, + "repository_ids_to_remove": { + "type": "array", + "items": { + "type": "integer" }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } + "description": "List of repository IDs to remove." + } + }, + "example": { + "repository_ids_to_add": [ + 123, + 456 + ], + "repository_ids_to_remove": [ + 789 + ] + } + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status." + }, + "add-example": { + "summary": "Add repositories", + "value": { + "repository_ids_to_add": [ + 123, + 456 + ] + } + }, + "remove-example": { + "summary": "Remove repositories", + "value": { + "repository_ids_to_remove": [ + 789 + ] } } } } + } + }, + "responses": { + "204": { + "description": "Response" }, "403": { "description": "Forbidden", @@ -128321,19 +128698,111 @@ } } } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, + "/orgs/{org}/dependabot/repository-access/default-level": { + "put": { + "summary": "Set the default repository access level for Dependabot", + "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/set-repository-access-default-level", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "examples": [ + "internal" + ] + } + }, + "required": [ + "default_level" + ] + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status.", + "value": { + "default_level": "public" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", + "title": "Basic Error", + "description": "Basic Error", "type": "object", - "required": [ - "message", - "documentation_url" - ], "properties": { "message": { "type": "string" @@ -128341,11 +128810,11 @@ "documentation_url": { "type": "string" }, - "errors": { - "type": "array", - "items": { - "type": "string" - } + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -128357,7 +128826,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "dependabot", - "subcategory": "alerts" + "subcategory": "repository-access" } } }, diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml index 8c8da000a4..e0e050c934 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml @@ -448,7 +448,7 @@ paths: required: false schema: type: string - - &59 + - &60 name: direction description: The direction to sort the results by. in: query @@ -666,7 +666,7 @@ paths: - vulnerable_version_range - first_patched_version - vulnerable_functions - cvss_severities: &61 + cvss_severities: &62 type: - object - 'null' @@ -713,7 +713,7 @@ paths: required: - vector_string - score - epss: &62 + epss: &63 type: - object - 'null' @@ -1008,7 +1008,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &122 + schema: &123 title: Validation Error Simple description: Validation Error Simple type: object @@ -1811,7 +1811,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &121 + schema: &122 title: Validation Error description: Validation Error type: object @@ -2222,7 +2222,7 @@ paths: parameters: - *17 - *19 - - &86 + - &87 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2818,7 +2818,7 @@ paths: suspended_at: suspended_by: headers: - Link: &65 + Link: &66 example: ; rel="next", ; rel="last" schema: @@ -3008,7 +3008,7 @@ paths: - selected repositories: type: array - items: &77 + items: &78 title: Repository description: A repository on GitHub. type: object @@ -3035,7 +3035,7 @@ paths: license: anyOf: - type: 'null' - - &83 + - &84 title: License Simple description: License Simple type: object @@ -7568,7 +7568,7 @@ paths: required: true content: application/json: - schema: &134 + schema: &135 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -8280,7 +8280,7 @@ paths: description: Response content: application/json: - schema: &181 + schema: &182 type: array description: A list of default code security configurations items: @@ -8296,7 +8296,7 @@ paths: default configuration: *47 examples: - default: &182 + default: &183 value: - default_for_new_repos: public configuration: @@ -8631,7 +8631,7 @@ paths: - *38 - *49 responses: - '204': &183 + '204': &59 description: A header with no content is returned. '400': *14 '403': *27 @@ -8758,7 +8758,7 @@ paths: default: value: default_for_new_repos: all - configuration: &180 + configuration: &181 value: id: 1325 target_type: organization @@ -8866,7 +8866,7 @@ paths: - failed - updating - removed_by_enterprise - repository: &64 + repository: &65 title: Simple Repository description: A GitHub repository. type: object @@ -9475,6 +9475,211 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/policies/coding_agent": + put: + summary: Set the coding agent policy for an enterprise + description: |- + Sets the policy for Copilot coding agent usage across an enterprise. + + Enterprise owners can configure whether Copilot coding agent is enabled for all + organizations, disabled for all organizations, configured by individual organization + admins, or enabled for selected organizations only. + + Only enterprise owners can set the coding agent policy for their enterprise. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/set-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise + parameters: + - *38 + requestBody: + description: The coding agent policy configuration + required: true + content: + application/json: + schema: + type: object + properties: + policy_state: + type: string + description: The policy state for Copilot coding agent in the enterprise. + Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, + `enabled_for_selected_orgs`, or `configured_by_org_admins`. + enum: + - enabled_for_all_orgs + - disabled_for_all_orgs + - enabled_for_selected_orgs + - configured_by_org_admins + required: + - policy_state + examples: + default: + summary: Enable coding agent for all organizations + value: + policy_state: enabled_for_all_orgs + responses: + '204': *59 + '400': *14 + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management + "/enterprises/{enterprise}/copilot/policies/coding_agent/organizations": + post: + summary: Add organizations to the enterprise coding agent policy + description: |- + Enables Copilot coding agent for the specified organizations within the enterprise. + + The enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before + using this endpoint. Organizations can be specified by login or matched via custom properties. + + Only organizations that have Copilot enabled and belong to the enterprise will be affected. + + Only enterprise owners can add organizations to the coding agent policy. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/add-organizations-to-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy + parameters: + - *38 + requestBody: + description: The organizations to enable Copilot coding agent for + required: true + content: + application/json: + schema: + type: object + properties: + organizations: + type: array + description: List of organization logins within the enterprise to + enable Copilot coding agent for. + items: + type: string + custom_properties: + type: array + description: List of custom property filters to match organizations. + Organizations matching any of the specified property name/value + pairs will be included. This is a one-time operation, setting + the property on an organization in the future will not automatically + update its coding agent policy. + items: + type: object + properties: + property_name: + type: string + description: The name of the custom property to filter by. + values: + type: array + description: The values of the custom property to match. + items: + type: string + required: + - property_name + - values + examples: + default: + summary: Add organizations that match a login or have a custom property + value: + organizations: + - my-org-1 + - my-org-2 + custom_properties: + - property_name: department + values: + - engineering + - security + responses: + '204': *59 + '400': *14 + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management + delete: + summary: Remove organizations from the enterprise coding agent policy + description: |- + Disables Copilot coding agent for the specified organizations within the enterprise. + + The enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before + using this endpoint. Organizations can be specified by login or matched via custom properties. + + Only organizations that have Copilot enabled and belong to the enterprise will be affected. + + Only enterprise owners can remove organizations from the coding agent policy. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/remove-organizations-from-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy + parameters: + - *38 + requestBody: + description: The organizations to disable Copilot coding agent for + required: true + content: + application/json: + schema: + type: object + properties: + organizations: + type: array + description: List of organization logins within the enterprise to + disable Copilot coding agent for. + items: + type: string + custom_properties: + type: array + description: List of custom property filters to match organizations. + Organizations matching any of the specified property name/value + pairs will be included. This is a one-time operation, setting + the property on an organization in the future will not automatically + update its coding agent policy. + items: + type: object + properties: + property_name: + type: string + description: The name of the custom property to filter by. + values: + type: array + description: The values of the custom property to match. + items: + type: string + required: + - property_name + - values + examples: + default: + summary: Remove organizations that match a login or have a custom + property + value: + organizations: + - my-org-1 + - my-org-2 + custom_properties: + - property_name: department + values: + - engineering + - security + responses: + '204': *59 + '400': *14 + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -9597,7 +9802,7 @@ paths: - updated - epss_percentage default: created - - *59 + - *60 - *45 - *46 - *17 @@ -9612,7 +9817,7 @@ paths: type: object description: A Dependabot alert. properties: - number: &170 + number: &171 type: integer description: The security alert number. readOnly: true @@ -9630,7 +9835,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &60 + package: &61 type: object description: Details for the vulnerable package. readOnly: true @@ -9710,13 +9915,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &63 + items: &64 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *60 + package: *61 severity: type: string description: The severity of the vulnerability. @@ -9769,8 +9974,8 @@ paths: enum: - general - malware - cvss_severities: *61 - epss: *62 + cvss_severities: *62 + epss: *63 cwes: type: array description: Details for the advisory pertaining to Common @@ -9869,30 +10074,30 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *63 - url: &173 + security_vulnerability: *64 + url: &174 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &174 + html_url: &175 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &171 + created_at: &172 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &172 + updated_at: &173 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &176 + dismissed_at: &177 type: - string - 'null' @@ -9923,7 +10128,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &175 + fixed_at: &176 type: - string - 'null' @@ -9983,7 +10188,7 @@ paths: description: The users assigned to this alert. readOnly: true items: *4 - repository: *64 + repository: *65 required: - number - state @@ -10371,7 +10576,7 @@ paths: application/json: schema: type: array - items: &66 + items: &67 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10449,7 +10654,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *65 + Link: *66 '403': *27 x-github: githubCloudOnly: false @@ -10524,9 +10729,9 @@ paths: description: Response content: application/json: - schema: *66 + schema: *67 examples: - default: &74 + default: &75 value: id: 1 name: Justice League @@ -10555,7 +10760,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *38 - - &67 + - &68 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10574,7 +10779,7 @@ paths: type: array items: *4 examples: - default: &68 + default: &69 value: - login: octocat id: 1 @@ -10595,7 +10800,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10613,7 +10818,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *38 - - *67 + - *68 requestBody: required: true content: @@ -10644,7 +10849,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10662,7 +10867,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *38 - - *67 + - *68 requestBody: required: true content: @@ -10693,7 +10898,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10711,8 +10916,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *38 - - *67 - - &69 + - *68 + - &70 name: username description: The handle for the GitHub user account. in: path @@ -10726,7 +10931,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &70 + exampleKey1: &71 value: login: octocat id: 1 @@ -10762,8 +10967,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *38 - - *67 - - *69 + - *68 + - *70 responses: '201': description: Successfully added team member @@ -10771,7 +10976,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *70 + exampleKey1: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10789,8 +10994,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *38 - - *67 - - *69 + - *68 + - *70 responses: '204': description: Response @@ -10812,7 +11017,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *38 - - *67 + - *68 - *17 - *19 responses: @@ -10822,7 +11027,7 @@ paths: application/json: schema: type: array - items: &71 + items: &72 title: Organization Simple description: A GitHub organization. type: object @@ -10894,7 +11099,7 @@ paths: - avatar_url - description examples: - default: &72 + default: &73 value: login: github id: 1 @@ -10925,7 +11130,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *38 - - *67 + - *68 requestBody: required: true content: @@ -10953,9 +11158,9 @@ paths: application/json: schema: type: array - items: *71 + items: *72 examples: - default: &110 + default: &111 value: - login: github id: 1 @@ -10986,7 +11191,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *38 - - *67 + - *68 requestBody: required: true content: @@ -11027,8 +11232,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *38 - - *67 - - &73 + - *68 + - &74 name: org description: The organization name. The name is not case sensitive. in: path @@ -11040,9 +11245,9 @@ paths: description: The team is assigned to the organization content: application/json: - schema: *71 + schema: *72 examples: - default: *72 + default: *73 '404': description: The team is not assigned to the organization x-github: @@ -11061,16 +11266,16 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *38 - - *67 - - *73 + - *68 + - *74 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *71 + schema: *72 examples: - default: *72 + default: *73 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -11087,8 +11292,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *38 - - *67 - - *73 + - *68 + - *74 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -11112,7 +11317,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *38 - - &75 + - &76 name: team_slug description: The slug of the team name. in: path @@ -11124,11 +11329,11 @@ paths: description: Response content: application/json: - schema: *66 + schema: *67 examples: - default: *74 + default: *75 headers: - Link: *65 + Link: *66 '403': *27 x-github: githubCloudOnly: false @@ -11146,7 +11351,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *38 - - *75 + - *76 requestBody: required: true content: @@ -11204,11 +11409,11 @@ paths: description: Response content: application/json: - schema: *66 + schema: *67 examples: - default: *74 + default: *75 headers: - Link: *65 + Link: *66 '403': *27 x-github: githubCloudOnly: false @@ -11229,7 +11434,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *38 - - *75 + - *76 responses: '204': description: Response @@ -11267,7 +11472,7 @@ paths: application/json: schema: type: array - items: &105 + items: &106 title: Event description: Event type: object @@ -11278,7 +11483,7 @@ paths: type: - string - 'null' - actor: &76 + actor: &77 title: Actor description: Actor type: object @@ -11319,7 +11524,7 @@ paths: - id - name - url - org: *76 + org: *77 payload: oneOf: - title: CreateEvent @@ -11663,7 +11868,7 @@ paths: - id labels: type: array - items: &80 + items: &81 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11746,7 +11951,7 @@ paths: properties: action: type: string - issue: &81 + issue: &82 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -12094,12 +12299,12 @@ paths: - node_id - name - description - repository: *77 + repository: *78 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &78 + author_association: &79 title: author_association type: string description: How the author is associated with the @@ -12115,7 +12320,7 @@ paths: - OWNER examples: - OWNER - reactions: &79 + reactions: &80 title: Reaction Rollup type: object properties: @@ -12175,7 +12380,7 @@ paths: pinned_comment: anyOf: - type: 'null' - - &82 + - &83 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12226,12 +12431,12 @@ paths: issue_url: type: string format: uri - author_association: *78 + author_association: *79 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *79 + reactions: *80 pin: anyOf: - type: 'null' @@ -12380,10 +12585,10 @@ paths: assignees: type: array items: *4 - label: *80 + label: *81 labels: type: array - items: *80 + items: *81 required: - action - issue @@ -12392,8 +12597,8 @@ paths: properties: action: type: string - issue: *81 - comment: *82 + issue: *82 + comment: *83 required: - action - issue @@ -12572,7 +12777,7 @@ paths: license: anyOf: - type: 'null' - - *83 + - *84 allow_forking: type: boolean is_template: @@ -12663,7 +12868,7 @@ paths: type: string number: type: integer - pull_request: &84 + pull_request: &85 title: Pull Request Minimal type: object properties: @@ -12734,10 +12939,10 @@ paths: assignees: type: array items: *4 - label: *80 + label: *81 labels: type: array - items: *80 + items: *81 required: - action - number @@ -12747,7 +12952,7 @@ paths: properties: action: type: string - pull_request: *84 + pull_request: *85 comment: type: object properties: @@ -13001,7 +13206,7 @@ paths: - pull_request updated_at: type: string - pull_request: *84 + pull_request: *85 required: - action - review @@ -13050,7 +13255,7 @@ paths: updated_at: type: string format: date-time - reactions: *79 + reactions: *80 required: - action - comment @@ -13218,7 +13423,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *79 + reactions: *80 required: - assets_url - upload_url @@ -13311,7 +13516,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': &113 + '503': &114 description: Service unavailable content: application/json: @@ -13413,7 +13618,7 @@ paths: _links: type: object properties: - timeline: &85 + timeline: &86 title: Link With Type description: Hypermedia Link with Type type: object @@ -13425,17 +13630,17 @@ paths: required: - href - type - user: *85 - security_advisories: *85 - current_user: *85 - current_user_public: *85 - current_user_actor: *85 - current_user_organization: *85 + user: *86 + security_advisories: *86 + current_user: *86 + current_user_public: *86 + current_user_actor: *86 + current_user_organization: *86 current_user_organizations: type: array - items: *85 - repository_discussions: *85 - repository_discussions_category: *85 + items: *86 + repository_discussions: *86 + repository_discussions_category: *86 required: - timeline - user @@ -13497,7 +13702,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *86 + - *87 - *17 - *19 responses: @@ -13507,7 +13712,7 @@ paths: application/json: schema: type: array - items: &87 + items: &88 title: Base Gist description: Base Gist type: object @@ -13593,7 +13798,7 @@ paths: - created_at - updated_at examples: - default: &88 + default: &89 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -13638,7 +13843,7 @@ paths: site_admin: false truncated: false headers: - Link: *65 + Link: *66 '304': *35 '403': *27 x-github: @@ -13717,7 +13922,7 @@ paths: description: Response content: application/json: - schema: &89 + schema: &90 title: Gist Simple description: Gist Simple type: object @@ -13884,7 +14089,7 @@ paths: truncated: type: boolean examples: - default: &90 + default: &91 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13988,7 +14193,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *86 + - *87 - *17 - *19 responses: @@ -13998,11 +14203,11 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: - default: *88 + default: *89 headers: - Link: *65 + Link: *66 '422': *15 '304': *35 '403': *27 @@ -14022,7 +14227,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *86 + - *87 - *17 - *19 responses: @@ -14032,11 +14237,11 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: - default: *88 + default: *89 headers: - Link: *65 + Link: *66 '401': *23 '304': *35 '403': *27 @@ -14061,7 +14266,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &91 + - &92 name: gist_id description: The unique identifier of the gist. in: path @@ -14073,10 +14278,10 @@ paths: description: Response content: application/json: - schema: *89 + schema: *90 examples: - default: *90 - '403': &94 + default: *91 + '403': &95 description: Forbidden Gist content: application/json: @@ -14124,7 +14329,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *91 + - *92 requestBody: required: true content: @@ -14188,9 +14393,9 @@ paths: description: Response content: application/json: - schema: *89 + schema: *90 examples: - updateGist: *90 + updateGist: *91 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -14348,7 +14553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *91 + - *92 responses: '204': description: Response @@ -14376,7 +14581,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *91 + - *92 - *17 - *19 responses: @@ -14386,7 +14591,7 @@ paths: application/json: schema: type: array - items: &92 + items: &93 title: Gist Comment description: A comment made to a gist. type: object @@ -14424,7 +14629,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *78 + author_association: *79 required: - url - id @@ -14464,7 +14669,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -14488,7 +14693,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *91 + - *92 requestBody: required: true content: @@ -14514,9 +14719,9 @@ paths: description: Response content: application/json: - schema: *92 + schema: *93 examples: - default: &93 + default: &94 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14573,8 +14778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *91 - - &95 + - *92 + - &96 name: comment_id description: The unique identifier of the comment. in: path @@ -14587,12 +14792,12 @@ paths: description: Response content: application/json: - schema: *92 + schema: *93 examples: - default: *93 + default: *94 '304': *35 '404': *6 - '403': *94 + '403': *95 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14613,8 +14818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *91 - - *95 + - *92 + - *96 requestBody: required: true content: @@ -14640,9 +14845,9 @@ paths: description: Response content: application/json: - schema: *92 + schema: *93 examples: - default: *93 + default: *94 '404': *6 x-github: githubCloudOnly: false @@ -14659,8 +14864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *91 - - *95 + - *92 + - *96 responses: '204': description: Response @@ -14683,7 +14888,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *91 + - *92 - *17 - *19 responses: @@ -14784,7 +14989,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *91 + - *92 - *17 - *19 responses: @@ -14794,7 +14999,7 @@ paths: application/json: schema: type: array - items: *89 + items: *90 examples: default: value: @@ -14840,7 +15045,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '404': *6 '304': *35 '403': *27 @@ -14859,13 +15064,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *91 + - *92 responses: '201': description: Response content: application/json: - schema: *87 + schema: *88 examples: default: value: @@ -14935,7 +15140,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *91 + - *92 responses: '204': description: Response if gist is starred @@ -14965,7 +15170,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *91 + - *92 responses: '204': description: Response @@ -14987,7 +15192,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *91 + - *92 responses: '204': description: Response @@ -15015,7 +15220,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *91 + - *92 - name: sha in: path required: true @@ -15026,9 +15231,9 @@ paths: description: Response content: application/json: - schema: *89 + schema: *90 examples: - default: *90 + default: *91 '422': *15 '404': *6 '403': *27 @@ -15191,7 +15396,7 @@ paths: type: array items: allOf: - - *77 + - *78 repository_selection: type: string examples: @@ -15315,7 +15520,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *65 + Link: *66 '403': *27 '304': *35 '401': *23 @@ -15417,8 +15622,8 @@ paths: - updated - comments default: created - - *59 - - *86 + - *60 + - *87 - name: collab in: query required: false @@ -15448,7 +15653,7 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: &234 value: @@ -15695,7 +15900,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *65 + Link: *66 '422': *15 '304': *35 '404': *6 @@ -15730,7 +15935,7 @@ paths: application/json: schema: type: array - items: *83 + items: *84 examples: default: value: @@ -16028,7 +16233,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &96 + X-CommonMarker-Version: &97 example: 0.17.4 schema: type: string @@ -16083,7 +16288,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *96 + X-CommonMarker-Version: *97 content: text/html: schema: @@ -16112,7 +16317,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &99 + - &100 name: account_id description: account_id parameter in: path @@ -16124,7 +16329,7 @@ paths: description: Response content: application/json: - schema: &98 + schema: &99 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -16158,7 +16363,7 @@ paths: - 'null' id: type: integer - plan: &97 + plan: &98 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -16261,7 +16466,7 @@ paths: - 'null' updated_at: type: string - plan: *97 + plan: *98 required: - url - id @@ -16269,7 +16474,7 @@ paths: - login - marketplace_purchase examples: - default: &100 + default: &101 value: url: https://api.github.com/orgs/github type: Organization @@ -16354,9 +16559,9 @@ paths: application/json: schema: type: array - items: *97 + items: *98 examples: - default: &101 + default: &102 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -16374,7 +16579,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *65 + Link: *66 '404': *6 '401': *23 x-github: @@ -16396,14 +16601,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &102 + - &103 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &103 + - &104 name: sort description: The property to sort the results by. in: query @@ -16433,9 +16638,9 @@ paths: application/json: schema: type: array - items: *98 + items: *99 examples: - default: &104 + default: &105 value: - url: https://api.github.com/orgs/github type: Organization @@ -16486,7 +16691,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *65 + Link: *66 '404': *6 '422': *15 '401': *23 @@ -16509,15 +16714,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *99 + - *100 responses: '200': description: Response content: application/json: - schema: *98 + schema: *99 examples: - default: *100 + default: *101 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -16549,11 +16754,11 @@ paths: application/json: schema: type: array - items: *97 + items: *98 examples: - default: *101 + default: *102 headers: - Link: *65 + Link: *66 '401': *23 x-github: githubCloudOnly: false @@ -16574,8 +16779,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *102 - *103 + - *104 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16595,11 +16800,11 @@ paths: application/json: schema: type: array - items: *98 + items: *99 examples: - default: *104 + default: *105 headers: - Link: *65 + Link: *66 '401': *23 x-github: githubCloudOnly: false @@ -16886,7 +17091,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: default: value: @@ -16970,7 +17175,7 @@ paths: schema: type: boolean default: false - - *86 + - *87 - &557 name: before description: 'Only show notifications updated before the given time. This @@ -16996,14 +17201,14 @@ paths: application/json: schema: type: array - items: &106 + items: &107 title: Thread description: Thread type: object properties: id: type: string - repository: &152 + repository: &153 title: Minimal Repository description: Minimal Repository type: object @@ -17644,7 +17849,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -17728,7 +17933,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &107 + - &108 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -17742,7 +17947,7 @@ paths: description: Response content: application/json: - schema: *106 + schema: *107 examples: default: value: @@ -17844,7 +18049,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *107 + - *108 responses: '205': description: Reset Content @@ -17866,7 +18071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *107 + - *108 responses: '204': description: No content @@ -17889,13 +18094,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *107 + - *108 responses: '200': description: Response content: application/json: - schema: &108 + schema: &109 title: Thread Subscription description: Thread Subscription type: object @@ -17939,7 +18144,7 @@ paths: - url - subscribed examples: - default: &109 + default: &110 value: subscribed: true ignored: false @@ -17970,7 +18175,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *107 + - *108 requestBody: required: false content: @@ -17991,9 +18196,9 @@ paths: description: Response content: application/json: - schema: *108 + schema: *109 examples: - default: *109 + default: *110 '304': *35 '403': *27 '401': *23 @@ -18016,7 +18221,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *107 + - *108 responses: '204': description: Response @@ -18111,9 +18316,9 @@ paths: application/json: schema: type: array - items: *71 + items: *72 examples: - default: *110 + default: *111 headers: Link: example: ; rel="next" @@ -18140,13 +18345,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response content: application/json: - schema: &111 + schema: &112 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -18180,12 +18385,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: application/json: - schema: *111 + schema: *112 examples: selected_actions: *40 responses: @@ -18214,13 +18419,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response content: application/json: - schema: &112 + schema: &113 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -18254,12 +18459,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: application/json: - schema: *112 + schema: *113 examples: selected_actions: *42 responses: @@ -18273,272 +18478,6 @@ paths: enabledForGitHubApps: true category: actions subcategory: cache - "/organizations/{org}/dependabot/repository-access": - get: - summary: Lists the repositories Dependabot can access in an organization - description: |- - Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. - Unauthorized users will not see the existence of this endpoint. - tags: - - dependabot - operationId: dependabot/repository-access-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization - parameters: - - *73 - - name: page - in: query - description: The page number of results to fetch. - required: false - schema: - type: integer - minimum: 1 - default: 1 - - name: per_page - in: query - description: Number of results per page. - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - responses: - '200': - description: Response - content: - application/json: - schema: - title: Dependabot Repository Access Details - description: Information about repositories that Dependabot is able - to access in an organization - type: object - properties: - default_level: - type: - - string - - 'null' - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - - - examples: - - internal - accessible_repositories: - type: array - items: - anyOf: - - type: 'null' - - *64 - additionalProperties: false - examples: - default: - value: - default_level: public - accessible_repositories: - - id: 123456 - node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= - name: example-repo - full_name: octocat/example-repo - owner: - name: octocat - email: octo@github.com - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://avatars.githubusercontent.com/u/1?v=4 - gravatar_id: 1 - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat/example-repo - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - starred_at: '"2020-07-09T00:17:55Z"' - user_view_type: default - private: false - html_url: https://github.com/octocat/example-repo - description: This is an example repository. - fork: false - url: https://api.github.com/repos/octocat/example-repo - archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} - commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} - compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/example-repo/contributors - deployments_url: https://api.github.com/repos/octocat/example-repo/deployments - downloads_url: https://api.github.com/repos/octocat/example-repo/downloads - events_url: https://api.github.com/repos/octocat/example-repo/events - forks_url: https://api.github.com/repos/octocat/example-repo/forks - git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} - keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} - languages_url: https://api.github.com/repos/octocat/example-repo/languages - merges_url: https://api.github.com/repos/octocat/example-repo/merges - milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} - releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers - statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers - subscription_url: https://api.github.com/repos/octocat/example-repo/subscription - tags_url: https://api.github.com/repos/octocat/example-repo/tags - teams_url: https://api.github.com/repos/octocat/example-repo/teams - trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/example-repo/hooks - '403': *27 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access - patch: - summary: Updates Dependabot's repository access list for an organization - description: |- - Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. - - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. - Unauthorized users will not see the existence of this endpoint. - - **Example request body:** - ```json - { - "repository_ids_to_add": [123, 456], - "repository_ids_to_remove": [789] - } - ``` - tags: - - dependabot - operationId: dependabot/update-repository-access-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization - parameters: - - *73 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - repository_ids_to_add: - type: array - items: - type: integer - description: List of repository IDs to add. - repository_ids_to_remove: - type: array - items: - type: integer - description: List of repository IDs to remove. - example: - repository_ids_to_add: - - 123 - - 456 - repository_ids_to_remove: - - 789 - examples: - '204': - summary: Example with a 'succeeded' status. - add-example: - summary: Add repositories - value: - repository_ids_to_add: - - 123 - - 456 - remove-example: - summary: Remove repositories - value: - repository_ids_to_remove: - - 789 - responses: - '204': - description: Response - '403': *27 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access - "/organizations/{org}/dependabot/repository-access/default-level": - put: - summary: Set the default repository access level for Dependabot - description: |- - Sets the default level of repository access Dependabot will have while performing an update. Available values are: - - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. - - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. - - Unauthorized users will not see the existence of this endpoint. - - This operation supports both server-to-server and user-to-server access. - tags: - - dependabot - operationId: dependabot/set-repository-access-default-level - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot - parameters: - - *73 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - default_level: - type: string - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - examples: - - internal - required: - - default_level - examples: - '204': - summary: Example with a 'succeeded' status. - value: - default_level: public - responses: - '204': - description: Response - '403': *27 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access "/organizations/{org}/settings/billing/budgets": get: summary: Get all budgets for an organization @@ -18555,7 +18494,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - - *73 + - *74 - name: page description: The page number of the results to fetch. in: query @@ -18733,8 +18672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - - *73 - - &114 + - *74 + - &115 name: budget_id description: The ID corresponding to the budget. in: path @@ -18837,7 +18776,7 @@ paths: '404': *6 '403': *27 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18857,8 +18796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - - *73 - - *114 + - *74 + - *115 requestBody: required: true content: @@ -19050,8 +18989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - - *73 - - *114 + - *74 + - *115 responses: '200': description: Response when deleting a budget @@ -19078,7 +19017,7 @@ paths: '404': *6 '403': *27 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19098,8 +19037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - - *73 - - &115 + - *74 + - &116 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -19108,7 +19047,7 @@ paths: required: false schema: type: integer - - &117 + - &118 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -19117,7 +19056,7 @@ paths: required: false schema: type: integer - - &116 + - &117 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -19139,7 +19078,7 @@ paths: required: false schema: type: string - - &118 + - &119 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -19256,7 +19195,7 @@ paths: '403': *27 '404': *6 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19276,8 +19215,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - - *73 - - *115 + - *74 + - *116 - &706 name: month description: If specified, only return results for a single month. The value @@ -19287,7 +19226,7 @@ paths: required: false schema: type: integer - - *116 + - *117 responses: '200': description: Billing usage report response for an organization @@ -19363,7 +19302,7 @@ paths: '400': *14 '403': *27 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19386,10 +19325,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - - *73 - - *115 - - *117 + - *74 - *116 + - *118 + - *117 - &707 name: repository description: The repository name to query for usage in the format owner/repository. @@ -19397,7 +19336,7 @@ paths: required: false schema: type: string - - *118 + - *119 - &708 name: sku description: The SKU to query for usage. @@ -19509,7 +19448,7 @@ paths: '400': *14 '403': *27 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19535,13 +19474,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *73 + - *74 responses: '200': description: Response content: application/json: - schema: &119 + schema: &120 title: Organization Full description: Organization Full type: object @@ -19930,7 +19869,7 @@ paths: - updated_at - archived_at examples: - default-response: &120 + default-response: &121 value: login: github id: 1 @@ -20029,7 +19968,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *73 + - *74 requestBody: required: false content: @@ -20242,17 +20181,17 @@ paths: description: Response content: application/json: - schema: *119 + schema: *120 examples: - default: *120 + default: *121 '422': description: Validation failed content: application/json: schema: oneOf: - - *121 - *122 + - *123 '409': *52 x-github: githubCloudOnly: false @@ -20276,7 +20215,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *73 + - *74 responses: '202': *37 '404': *6 @@ -20302,7 +20241,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -20328,7 +20267,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20349,7 +20288,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -20405,7 +20344,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20425,7 +20364,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -20443,7 +20382,7 @@ paths: type: integer runners: type: array - items: &123 + items: &124 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -20506,7 +20445,7 @@ paths: - size_gb - display_name - source - machine_size_details: &131 + machine_size_details: &132 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -20615,7 +20554,7 @@ paths: - public_ip_enabled - platform examples: - default: &151 + default: &152 value: total_count: 2 runners: @@ -20657,7 +20596,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20675,7 +20614,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -20753,9 +20692,9 @@ paths: description: Response content: application/json: - schema: *123 + schema: *124 examples: - default: &132 + default: &133 value: id: 5 name: My hosted ubuntu runner @@ -20796,7 +20735,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -20812,7 +20751,7 @@ paths: type: integer images: type: array - items: &124 + items: &125 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -20871,7 +20810,7 @@ paths: - latest_version - state examples: - default: &126 + default: &127 value: total_count: 2 image_versions: @@ -20902,8 +20841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners parameters: - - *73 - - &125 + - *74 + - &126 name: image_definition_id description: Image definition ID of custom image in: path @@ -20915,7 +20854,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -20945,8 +20884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *73 - - *125 + - *74 + - *126 responses: '204': description: Response @@ -20969,8 +20908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization parameters: - - *125 - - *73 + - *126 + - *74 responses: '200': description: Response @@ -20986,7 +20925,7 @@ paths: type: integer image_versions: type: array - items: &127 + items: &128 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -21024,7 +20963,7 @@ paths: - created_on - state_details examples: - default: *126 + default: *127 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21044,9 +20983,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners parameters: - - *73 - - *125 - - &128 + - *74 + - *126 + - &129 name: version description: Version of a custom image in: path @@ -21059,7 +20998,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *128 examples: default: value: @@ -21085,9 +21024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization parameters: - - *73 - - *125 - - *128 + - *74 + - *126 + - *129 responses: '204': description: Response @@ -21108,7 +21047,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -21124,7 +21063,7 @@ paths: type: integer images: type: array - items: &129 + items: &130 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -21164,7 +21103,7 @@ paths: - display_name - source examples: - default: &130 + default: &131 value: id: ubuntu-20.04 platform: linux-x64 @@ -21188,7 +21127,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -21204,9 +21143,9 @@ paths: type: integer images: type: array - items: *129 + items: *130 examples: - default: *130 + default: *131 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21223,7 +21162,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -21278,7 +21217,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -21294,7 +21233,7 @@ paths: type: integer machine_specs: type: array - items: *131 + items: *132 examples: default: value: @@ -21319,7 +21258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -21363,8 +21302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *73 - - &133 + - *74 + - &134 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -21376,11 +21315,11 @@ paths: description: Response content: application/json: - schema: *123 + schema: *124 examples: - default: *132 + default: *133 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21398,8 +21337,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *73 - - *133 + - *74 + - *134 requestBody: required: true content: @@ -21452,9 +21391,9 @@ paths: description: Response content: application/json: - schema: *123 + schema: *124 examples: - default: *132 + default: *133 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21470,16 +21409,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *73 - - *133 + - *74 + - *134 responses: '202': description: Response content: application/json: - schema: *123 + schema: *124 examples: - default: *132 + default: *133 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21499,7 +21438,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization parameters: - - *73 + - *74 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -21532,12 +21471,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: application/json: - schema: *134 + schema: *135 examples: default: *44 responses: @@ -21571,7 +21510,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *73 + - *74 - name: custom_property_name in: path required: true @@ -21604,7 +21543,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *73 + - *74 responses: '200': description: A JSON serialized template for OIDC subject claim customization @@ -21624,7 +21563,7 @@ paths: required: - include_claim_keys examples: - default: &135 + default: &136 value: include_claim_keys: - repo @@ -21646,7 +21585,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -21663,13 +21602,13 @@ paths: items: type: string examples: - default: *135 + default: *136 responses: '201': description: Empty response content: application/json: - schema: &161 + schema: &162 title: Empty Object description: An object without any properties. type: object @@ -21699,7 +21638,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -21708,7 +21647,7 @@ paths: schema: type: object properties: - enabled_repositories: &136 + enabled_repositories: &137 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -21721,7 +21660,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &137 + allowed_actions: &138 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -21734,7 +21673,7 @@ paths: description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &138 + sha_pinning_required: &139 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -21765,7 +21704,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *73 + - *74 responses: '204': description: Response @@ -21776,9 +21715,9 @@ paths: schema: type: object properties: - enabled_repositories: *136 - allowed_actions: *137 - sha_pinning_required: *138 + enabled_repositories: *137 + allowed_actions: *138 + sha_pinning_required: *139 required: - enabled_repositories examples: @@ -21806,7 +21745,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -21849,7 +21788,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -21891,13 +21830,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response content: application/json: - schema: &139 + schema: &140 type: object properties: approval_policy: @@ -21932,7 +21871,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *73 + - *74 responses: '204': description: Response @@ -21942,7 +21881,7 @@ paths: required: true content: application/json: - schema: *139 + schema: *140 examples: default: summary: Set approval policy to first time contributors @@ -21964,7 +21903,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -21996,7 +21935,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &140 + default: &141 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -22019,7 +21958,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -22047,7 +21986,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *140 + default: *141 responses: '204': description: Empty response for successful settings update @@ -22077,7 +22016,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -22095,9 +22034,9 @@ paths: type: number repositories: type: array - items: *77 + items: *78 examples: - default: &144 + default: &145 value: total_count: 1 repositories: @@ -22237,7 +22176,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *73 + - *74 responses: '204': description: Response @@ -22281,8 +22220,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *73 - - &141 + - *74 + - &142 name: repository_id description: The unique identifier of the repository. in: path @@ -22310,8 +22249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *73 - - *141 + - *74 + - *142 responses: '204': description: Response @@ -22334,13 +22273,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response content: application/json: - schema: &142 + schema: &143 type: object properties: github_owned_allowed: @@ -22362,7 +22301,7 @@ paths: items: type: string examples: - default: &143 + default: &144 value: github_owned_allowed: true verified_allowed: false @@ -22387,7 +22326,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *73 + - *74 responses: '204': description: Response @@ -22395,9 +22334,9 @@ paths: required: false content: application/json: - schema: *142 + schema: *143 examples: - selected_actions: *143 + selected_actions: *144 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22417,7 +22356,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -22465,7 +22404,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -22512,7 +22451,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -22527,9 +22466,9 @@ paths: type: integer repositories: type: array - items: *77 + items: *78 examples: - default: *144 + default: *145 '403': *27 '404': *6 x-github: @@ -22549,7 +22488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -22597,8 +22536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *73 - - *141 + - *74 + - *142 responses: '204': description: No content @@ -22624,8 +22563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *73 - - *141 + - *74 + - *142 responses: '204': description: No content @@ -22653,7 +22592,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -22662,14 +22601,14 @@ paths: schema: &351 type: object properties: - default_workflow_permissions: &145 + default_workflow_permissions: &146 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &146 + can_approve_pull_request_reviews: &147 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -22677,7 +22616,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &147 + default: &148 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -22702,7 +22641,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *73 + - *74 responses: '204': description: Success response @@ -22713,10 +22652,10 @@ paths: schema: &352 type: object properties: - default_workflow_permissions: *145 - can_approve_pull_request_reviews: *146 + default_workflow_permissions: *146 + can_approve_pull_request_reviews: *147 examples: - default: *147 + default: *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22736,7 +22675,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *73 + - *74 - *17 - *19 - name: visible_to_repository @@ -22761,7 +22700,7 @@ paths: type: number runner_groups: type: array - items: &148 + items: &149 type: object properties: id: @@ -22878,7 +22817,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -22951,9 +22890,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *149 examples: - default: &150 + default: &151 value: id: 2 name: octo-runner-group @@ -22988,8 +22927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *73 - - &149 + - *74 + - &150 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -23001,7 +22940,7 @@ paths: description: Response content: application/json: - schema: *148 + schema: *149 examples: default: value: @@ -23037,8 +22976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *73 - - *149 + - *74 + - *150 requestBody: required: true content: @@ -23094,9 +23033,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *149 examples: - default: *150 + default: *151 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -23115,8 +23054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *73 - - *149 + - *74 + - *150 responses: '204': description: Response @@ -23139,8 +23078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *73 - - *149 + - *74 + - *150 - *17 - *19 responses: @@ -23158,11 +23097,11 @@ paths: type: number runners: type: array - items: *123 + items: *124 examples: - default: *151 + default: *152 headers: - Link: *65 + Link: *66 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -23182,8 +23121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *73 - - *149 + - *74 + - *150 - *19 - *17 responses: @@ -23201,7 +23140,7 @@ paths: type: number repositories: type: array - items: *152 + items: *153 examples: default: &188 value: @@ -23455,8 +23394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *73 - - *149 + - *74 + - *150 requestBody: required: true content: @@ -23500,9 +23439,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *73 - - *149 - - *141 + - *74 + - *150 + - *142 responses: '204': description: Response @@ -23524,9 +23463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *73 - - *149 - - *141 + - *74 + - *150 + - *142 responses: '204': description: Response @@ -23549,8 +23488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *73 - - *149 + - *74 + - *150 - *17 - *19 responses: @@ -23568,7 +23507,7 @@ paths: type: number runners: type: array - items: &154 + items: &155 title: Self hosted runners description: A self hosted runner type: object @@ -23602,7 +23541,7 @@ paths: type: boolean labels: type: array - items: &157 + items: &158 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -23632,7 +23571,7 @@ paths: - busy - labels examples: - default: &155 + default: &156 value: total_count: 2 runners: @@ -23672,7 +23611,7 @@ paths: name: no-gpu type: custom headers: - Link: *65 + Link: *66 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -23691,8 +23630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *73 - - *149 + - *74 + - *150 requestBody: required: true content: @@ -23736,9 +23675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *73 - - *149 - - &153 + - *74 + - *150 + - &154 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -23766,9 +23705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *73 - - *149 - - *153 + - *74 + - *150 + - *154 responses: '204': description: Response @@ -23798,7 +23737,7 @@ paths: in: query schema: type: string - - *73 + - *74 - *17 - *19 responses: @@ -23816,11 +23755,11 @@ paths: type: integer runners: type: array - items: *154 + items: *155 examples: - default: *155 + default: *156 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23842,7 +23781,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -23918,7 +23857,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -23971,7 +23910,7 @@ paths: - runner - encoded_jit_config properties: - runner: *154 + runner: *155 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -24028,13 +23967,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *73 + - *74 responses: '201': description: Response content: application/json: - schema: &156 + schema: &157 title: Authentication Token description: Authentication Token type: object @@ -24058,7 +23997,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *77 + items: *78 single_file: type: - string @@ -24107,13 +24046,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *73 + - *74 responses: '201': description: Response content: application/json: - schema: *156 + schema: *157 examples: default: &357 value: @@ -24140,14 +24079,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *73 - - *153 + - *74 + - *154 responses: '200': description: Response content: application/json: - schema: *154 + schema: *155 examples: default: &358 value: @@ -24190,8 +24129,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *73 - - *153 + - *74 + - *154 responses: '204': description: Response @@ -24217,10 +24156,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *73 - - *153 + - *74 + - *154 responses: - '200': &158 + '200': &159 description: Response content: application/json: @@ -24234,7 +24173,7 @@ paths: type: integer labels: type: array - items: *157 + items: *158 examples: default: value: @@ -24273,8 +24212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *73 - - *153 + - *74 + - *154 requestBody: required: true content: @@ -24298,7 +24237,7 @@ paths: - gpu - accelerated responses: - '200': *158 + '200': *159 '404': *6 '422': *7 x-github: @@ -24322,8 +24261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *73 - - *153 + - *74 + - *154 requestBody: required: true content: @@ -24348,7 +24287,7 @@ paths: - gpu - accelerated responses: - '200': *158 + '200': *159 '404': *6 '422': *7 x-github: @@ -24372,8 +24311,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *73 - - *153 + - *74 + - *154 responses: '200': &359 description: Response @@ -24389,7 +24328,7 @@ paths: type: integer labels: type: array - items: *157 + items: *158 examples: default: value: @@ -24430,8 +24369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *73 - - *153 + - *74 + - *154 - &360 name: name description: The name of a self-hosted runner's custom label. @@ -24440,7 +24379,7 @@ paths: schema: type: string responses: - '200': *158 + '200': *159 '404': *6 '422': *7 x-github: @@ -24465,7 +24404,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *73 + - *74 - *17 - *19 responses: @@ -24483,7 +24422,7 @@ paths: type: integer secrets: type: array - items: &159 + items: &160 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -24535,7 +24474,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24558,7 +24497,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *73 + - *74 responses: '200': description: Response @@ -24624,8 +24563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *73 - - &160 + - *74 + - &161 name: secret_name description: The name of the secret. in: path @@ -24637,7 +24576,7 @@ paths: description: Response content: application/json: - schema: *159 + schema: *160 examples: default: value: @@ -24667,8 +24606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 requestBody: required: true content: @@ -24725,7 +24664,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -24751,8 +24690,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 responses: '204': description: Response @@ -24778,8 +24717,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - *19 - *17 responses: @@ -24797,9 +24736,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *153 examples: - default: &164 + default: &165 value: total_count: 1 repositories: @@ -24891,8 +24830,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 requestBody: required: true content: @@ -24944,8 +24883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - name: repository_id in: path required: true @@ -24978,8 +24917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - name: repository_id in: path required: true @@ -25011,7 +24950,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *73 + - *74 - &341 name: per_page description: The number of results per page (max 30). For more information, @@ -25036,7 +24975,7 @@ paths: type: integer variables: type: array - items: &162 + items: &163 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -25105,7 +25044,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25126,7 +25065,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *73 + - *74 requestBody: required: true content: @@ -25174,7 +25113,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -25199,8 +25138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *73 - - &163 + - *74 + - &164 name: name description: The name of the variable. in: path @@ -25212,7 +25151,7 @@ paths: description: Response content: application/json: - schema: *162 + schema: *163 examples: default: value: @@ -25242,8 +25181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *73 - - *163 + - *74 + - *164 requestBody: required: true content: @@ -25305,8 +25244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *73 - - *163 + - *74 + - *164 responses: '204': description: Response @@ -25332,8 +25271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *73 - - *163 + - *74 + - *164 - *19 - *17 responses: @@ -25351,9 +25290,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *153 examples: - default: *164 + default: *165 '409': description: Response when the visibility of the variable is not set to `selected` @@ -25379,8 +25318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *73 - - *163 + - *74 + - *164 requestBody: required: true content: @@ -25429,8 +25368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *73 - - *163 + - *74 + - *164 - name: repository_id in: path required: true @@ -25464,8 +25403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *73 - - *163 + - *74 + - *164 - name: repository_id in: path required: true @@ -25506,7 +25445,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *73 + - *74 requestBody: required: true content: @@ -25632,7 +25571,7 @@ paths: type: integer deployment_records: type: array - items: &165 + items: &166 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -25679,7 +25618,7 @@ paths: required: - total_count examples: - default: &166 + default: &167 value: total_count: 1 deployment_records: @@ -25716,7 +25655,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *73 + - *74 - name: cluster in: path description: The cluster name. @@ -25861,11 +25800,11 @@ paths: type: integer deployment_records: type: array - items: *165 + items: *166 required: - total_count examples: - default: *166 + default: *167 '403': description: Forbidden content: @@ -25912,7 +25851,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *73 + - *74 requestBody: required: true content: @@ -26087,7 +26026,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *73 + - *74 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -26113,9 +26052,9 @@ paths: - 3 deployment_records: type: array - items: *165 + items: *166 examples: - default: *166 + default: *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26135,7 +26074,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *73 + - *74 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -26221,7 +26160,7 @@ paths: - *17 - *45 - *46 - - *73 + - *74 requestBody: required: true content: @@ -26404,7 +26343,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *73 + - *74 requestBody: required: true content: @@ -26469,7 +26408,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *73 + - *74 - name: subject_digest description: Subject Digest in: path @@ -26504,7 +26443,7 @@ paths: - *17 - *45 - *46 - - *73 + - *74 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -26552,7 +26491,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *73 + - *74 - name: attestation_id description: Attestation ID in: path @@ -26590,7 +26529,7 @@ paths: - *17 - *45 - *46 - - *73 + - *74 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -26735,7 +26674,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -26747,7 +26686,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26766,8 +26705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: If the user is blocked @@ -26792,8 +26731,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -26813,8 +26752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -26839,15 +26778,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *73 + - *74 - *19 - *17 - - *59 + - *60 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &167 + schema: &168 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -26873,7 +26812,7 @@ paths: application/json: schema: type: array - items: &168 + items: &169 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -27117,7 +27056,7 @@ paths: - string - 'null' format: date-time - state: *167 + state: *168 contact_link: description: The contact link of the campaign. type: @@ -27213,9 +27152,9 @@ paths: closed_at: state: open headers: - Link: *65 + Link: *66 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27239,7 +27178,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -27340,9 +27279,9 @@ paths: description: Response content: application/json: - schema: *168 + schema: *169 examples: - default: &169 + default: &170 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -27391,7 +27330,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27413,7 +27352,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *73 + - *74 - name: campaign_number description: The campaign number. in: path @@ -27425,16 +27364,16 @@ paths: description: Response content: application/json: - schema: *168 + schema: *169 examples: - default: *169 + default: *170 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27455,7 +27394,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *73 + - *74 - name: campaign_number description: The campaign number. in: path @@ -27505,7 +27444,7 @@ paths: - string - 'null' format: uri - state: *167 + state: *168 examples: default: value: @@ -27515,9 +27454,9 @@ paths: description: Response content: application/json: - schema: *168 + schema: *169 examples: - default: *169 + default: *170 '400': description: Bad Request content: @@ -27529,7 +27468,7 @@ paths: content: application/json: schema: *3 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27550,7 +27489,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *73 + - *74 - name: campaign_number description: The campaign number. in: path @@ -27561,7 +27500,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27583,7 +27522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *73 + - *74 - &410 name: tool_name description: The name of a code scanning tool. Only results by this tool will @@ -27591,7 +27530,7 @@ paths: but not both. in: query required: false - schema: &177 + schema: &178 type: string description: The name of the tool used to generate the code scanning analysis. - &411 @@ -27602,7 +27541,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &178 + schema: &179 type: - string - 'null' @@ -27612,7 +27551,7 @@ paths: - *46 - *19 - *17 - - *59 + - *60 - name: state description: If specified, only code scanning alerts with this state will be returned. @@ -27670,18 +27609,18 @@ paths: items: type: object properties: - number: *170 - created_at: *171 - updated_at: *172 - url: *173 - html_url: *174 + number: *171 + created_at: *172 + updated_at: *173 + url: *174 + html_url: *175 instances_url: &415 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &179 + state: &180 type: - string - 'null' @@ -27691,12 +27630,12 @@ paths: - dismissed - fixed - - fixed_at: *175 + fixed_at: *176 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *176 + dismissed_at: *177 dismissed_reason: &416 type: - string @@ -27779,14 +27718,14 @@ paths: tool: &419 type: object properties: - name: *177 + name: *178 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *178 + guid: *179 most_recent_instance: &420 type: object properties: @@ -27812,7 +27751,7 @@ paths: analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *179 + state: *180 commit_sha: type: string message: @@ -27859,7 +27798,7 @@ paths: - test - library - - repository: *64 + repository: *65 dismissal_approved_by: anyOf: - type: 'null' @@ -28111,9 +28050,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *65 + Link: *66 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28135,7 +28074,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *73 + - *74 - name: target_type in: query description: The target type of the code security configuration @@ -28241,7 +28180,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *73 + - *74 requestBody: required: true content: @@ -28485,7 +28424,7 @@ paths: application/json: schema: *47 examples: - default: *180 + default: *181 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28507,15 +28446,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *73 + - *74 responses: '200': description: Response content: application/json: - schema: *181 + schema: *182 examples: - default: *182 + default: *183 '304': *35 '403': *27 '404': *6 @@ -28541,7 +28480,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *73 + - *74 requestBody: required: true content: @@ -28567,7 +28506,7 @@ paths: - 32 - 91 responses: - '204': *183 + '204': *59 '400': *14 '403': *27 '404': *6 @@ -28593,7 +28532,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *73 + - *74 - *49 responses: '200': @@ -28602,7 +28541,7 @@ paths: application/json: schema: *47 examples: - default: *180 + default: *181 '304': *35 '403': *27 '404': *6 @@ -28626,7 +28565,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *73 + - *74 - *49 requestBody: required: true @@ -28906,10 +28845,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *73 + - *74 - *49 responses: - '204': *183 + '204': *59 '400': *14 '403': *27 '404': *6 @@ -28937,7 +28876,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *73 + - *74 - *49 requestBody: required: true @@ -29001,7 +28940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *73 + - *74 - *49 requestBody: required: true @@ -29047,7 +28986,7 @@ paths: default: value: default_for_new_repos: all - configuration: *180 + configuration: *181 '403': *27 '404': *6 x-github: @@ -29071,7 +29010,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *73 + - *74 - *49 - name: per_page description: The number of results per page (max 100). For more information, @@ -29130,7 +29069,7 @@ paths: parameters: - *17 - *19 - - *73 + - *74 responses: '200': description: Response @@ -29177,7 +29116,7 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *152 + repository: *153 machine: anyOf: - type: 'null' @@ -29900,7 +29839,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *73 + - *74 deprecated: true requestBody: required: true @@ -29967,7 +29906,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *73 + - *74 deprecated: true requestBody: required: true @@ -30022,7 +29961,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *73 + - *74 requestBody: required: true content: @@ -30074,7 +30013,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *73 + - *74 - *17 - *19 responses: @@ -30146,7 +30085,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30165,7 +30104,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *73 + - *74 responses: '200': description: Response @@ -30229,8 +30168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 responses: '200': description: Response @@ -30245,7 +30184,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30265,8 +30204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 requestBody: required: true content: @@ -30321,7 +30260,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -30347,8 +30286,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 responses: '204': description: Response @@ -30373,8 +30312,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - *19 - *17 responses: @@ -30392,9 +30331,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *153 examples: - default: *164 + default: *165 '404': *6 x-github: githubCloudOnly: false @@ -30416,8 +30355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 requestBody: required: true content: @@ -30467,8 +30406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - name: repository_id in: path required: true @@ -30501,8 +30440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - name: repository_id in: path required: true @@ -30541,7 +30480,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *73 + - *74 responses: '200': description: OK @@ -30682,7 +30621,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *73 + - *74 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -30718,13 +30657,13 @@ paths: organization: anyOf: - type: 'null' - - *71 + - *72 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - *187 - - *66 + - *67 type: - 'null' - object @@ -30854,7 +30793,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '500': *53 '401': *23 '403': *27 @@ -30888,7 +30827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *73 + - *74 requestBody: content: application/json: @@ -30966,7 +30905,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *73 + - *74 requestBody: content: application/json: @@ -31046,7 +30985,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *73 + - *74 requestBody: content: application/json: @@ -31123,7 +31062,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *73 + - *74 requestBody: content: application/json: @@ -31201,7 +31140,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -31266,7 +31205,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -31321,7 +31260,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -31336,7 +31275,7 @@ paths: type: integer repositories: type: array - items: *152 + items: *153 required: - total_count - repositories @@ -31370,7 +31309,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -31426,8 +31365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization parameters: - - *73 - - *141 + - *74 + - *142 responses: '204': description: No Content @@ -31460,8 +31399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization parameters: - - *73 - - *141 + - *74 + - *142 responses: '204': description: No Content @@ -31500,7 +31439,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization parameters: - - *73 + - *74 responses: '200': description: OK @@ -31553,7 +31492,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization parameters: - - *73 + - *74 requestBody: description: The content exclusion rules to set required: true @@ -31644,7 +31583,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *73 + - *74 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -32124,7 +32063,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day parameters: - - *73 + - *74 - *54 responses: '200': @@ -32134,7 +32073,7 @@ paths: schema: *55 examples: default: *56 - '204': *183 + '204': *59 '500': *53 '403': *27 '404': *6 @@ -32163,7 +32102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics parameters: - - *73 + - *74 responses: '200': description: Response @@ -32200,7 +32139,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day parameters: - - *73 + - *74 - *54 responses: '200': @@ -32210,7 +32149,7 @@ paths: schema: *55 examples: default: *56 - '204': *183 + '204': *59 '500': *53 '403': *27 '404': *6 @@ -32239,7 +32178,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics parameters: - - *73 + - *74 responses: '200': description: Response @@ -32272,7 +32211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *73 + - *74 - *189 - *190 - *191 @@ -32319,7 +32258,7 @@ paths: type: string - *196 - *197 - - *59 + - *60 - *45 - *46 - *17 @@ -32343,6 +32282,272 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: alerts + "/orgs/{org}/dependabot/repository-access": + get: + summary: Lists the repositories Dependabot can access in an organization + description: |- + Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. + > [!NOTE] + > This operation supports both server-to-server and user-to-server access. + Unauthorized users will not see the existence of this endpoint. + tags: + - dependabot + operationId: dependabot/repository-access-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization + parameters: + - *74 + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 + responses: + '200': + description: Response + content: + application/json: + schema: + title: Dependabot Repository Access Details + description: Information about repositories that Dependabot is able + to access in an organization + type: object + properties: + default_level: + type: + - string + - 'null' + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + - + examples: + - internal + accessible_repositories: + type: array + items: + anyOf: + - type: 'null' + - *65 + additionalProperties: false + examples: + default: + value: + default_level: public + accessible_repositories: + - id: 123456 + node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= + name: example-repo + full_name: octocat/example-repo + owner: + name: octocat + email: octo@github.com + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://avatars.githubusercontent.com/u/1?v=4 + gravatar_id: 1 + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat/example-repo + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + starred_at: '"2020-07-09T00:17:55Z"' + user_view_type: default + private: false + html_url: https://github.com/octocat/example-repo + description: This is an example repository. + fork: false + url: https://api.github.com/repos/octocat/example-repo + archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} + commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} + compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/example-repo/contributors + deployments_url: https://api.github.com/repos/octocat/example-repo/deployments + downloads_url: https://api.github.com/repos/octocat/example-repo/downloads + events_url: https://api.github.com/repos/octocat/example-repo/events + forks_url: https://api.github.com/repos/octocat/example-repo/forks + git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} + keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} + languages_url: https://api.github.com/repos/octocat/example-repo/languages + merges_url: https://api.github.com/repos/octocat/example-repo/merges + milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} + releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers + statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers + subscription_url: https://api.github.com/repos/octocat/example-repo/subscription + tags_url: https://api.github.com/repos/octocat/example-repo/tags + teams_url: https://api.github.com/repos/octocat/example-repo/teams + trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access + patch: + summary: Updates Dependabot's repository access list for an organization + description: |- + Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. + + > [!NOTE] + > This operation supports both server-to-server and user-to-server access. + Unauthorized users will not see the existence of this endpoint. + + **Example request body:** + ```json + { + "repository_ids_to_add": [123, 456], + "repository_ids_to_remove": [789] + } + ``` + tags: + - dependabot + operationId: dependabot/update-repository-access-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization + parameters: + - *74 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_ids_to_add: + type: array + items: + type: integer + description: List of repository IDs to add. + repository_ids_to_remove: + type: array + items: + type: integer + description: List of repository IDs to remove. + example: + repository_ids_to_add: + - 123 + - 456 + repository_ids_to_remove: + - 789 + examples: + '204': + summary: Example with a 'succeeded' status. + add-example: + summary: Add repositories + value: + repository_ids_to_add: + - 123 + - 456 + remove-example: + summary: Remove repositories + value: + repository_ids_to_remove: + - 789 + responses: + '204': + description: Response + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access + "/orgs/{org}/dependabot/repository-access/default-level": + put: + summary: Set the default repository access level for Dependabot + description: |- + Sets the default level of repository access Dependabot will have while performing an update. Available values are: + - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. + - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. + + Unauthorized users will not see the existence of this endpoint. + + This operation supports both server-to-server and user-to-server access. + tags: + - dependabot + operationId: dependabot/set-repository-access-default-level + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot + parameters: + - *74 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + examples: + - internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access "/orgs/{org}/dependabot/secrets": get: summary: List organization secrets @@ -32358,7 +32563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *73 + - *74 - *17 - *19 responses: @@ -32428,7 +32633,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32449,7 +32654,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *73 + - *74 responses: '200': description: Response @@ -32497,8 +32702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 responses: '200': description: Response @@ -32532,8 +32737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 requestBody: required: true content: @@ -32588,7 +32793,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -32612,8 +32817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 responses: '204': description: Response @@ -32637,8 +32842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - *19 - *17 responses: @@ -32656,9 +32861,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *153 examples: - default: *164 + default: *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32679,8 +32884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 requestBody: required: true content: @@ -32730,8 +32935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - name: repository_id in: path required: true @@ -32762,8 +32967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - name: repository_id in: path required: true @@ -32793,7 +32998,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -32854,7 +33059,7 @@ paths: repository: anyOf: - type: 'null' - - *152 + - *153 created_at: type: string format: date-time @@ -32950,7 +33155,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *73 + - *74 - *17 - *19 responses: @@ -32960,7 +33165,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: 200-response: value: @@ -33032,7 +33237,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *73 + - *74 - *17 - *19 responses: @@ -33129,7 +33334,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -33153,7 +33358,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *73 + - *74 - *17 - *19 responses: @@ -33263,7 +33468,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -33286,7 +33491,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *73 + - *74 requestBody: required: true content: @@ -33397,7 +33602,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *73 + - *74 - &203 name: hook_id description: The unique identifier of the hook. You can find this value in @@ -33440,7 +33645,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *73 + - *74 - *203 requestBody: required: false @@ -33528,7 +33733,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *73 + - *74 - *203 responses: '204': @@ -33556,7 +33761,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *73 + - *74 - *203 responses: '200': @@ -33587,7 +33792,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *73 + - *74 - *203 requestBody: required: false @@ -33638,7 +33843,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *73 + - *74 - *203 - *17 - *204 @@ -33677,7 +33882,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *73 + - *74 - *203 - *16 responses: @@ -33712,7 +33917,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *73 + - *74 - *203 - *16 responses: @@ -33742,7 +33947,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *73 + - *74 - *203 responses: '204': @@ -33765,7 +33970,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *73 + - *74 - &214 name: actor_type in: path @@ -33805,7 +34010,7 @@ paths: type: string - *19 - *17 - - *59 + - *60 - name: sort description: The property to sort the results by. in: query @@ -33888,12 +34093,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *73 + - *74 - *210 - *211 - *19 - *17 - - *59 + - *60 - &220 name: sort description: The property to sort the results by. @@ -33972,7 +34177,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *73 + - *74 - *210 - *211 responses: @@ -34016,7 +34221,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *73 + - *74 - &216 name: user_id in: path @@ -34051,7 +34256,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *73 + - *74 - *210 - *211 - *214 @@ -34080,7 +34285,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *73 + - *74 - *210 - *211 - &217 @@ -34148,7 +34353,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *73 + - *74 - *216 - *210 - *211 @@ -34177,7 +34382,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *73 + - *74 - *214 - *215 - *210 @@ -34207,13 +34412,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *73 + - *74 - *216 - *210 - *211 - *19 - *17 - - *59 + - *60 - *220 - name: actor_name_substring in: query @@ -34290,7 +34495,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *73 + - *74 responses: '200': description: Response @@ -34367,7 +34572,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -34437,7 +34642,7 @@ paths: suspended_at: suspended_by: headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34456,7 +34661,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -34521,7 +34726,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -34577,7 +34782,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *73 + - *74 responses: '204': description: Response @@ -34601,7 +34806,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *73 + - *74 - *17 - *19 - name: role @@ -34639,7 +34844,7 @@ paths: examples: default: *225 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -34660,7 +34865,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *73 + - *74 requestBody: required: false content: @@ -34768,7 +34973,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *73 + - *74 - &226 name: invitation_id description: The unique identifier of the invitation. @@ -34799,7 +35004,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *73 + - *74 - *226 - *17 - *19 @@ -34828,7 +35033,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -34847,7 +35052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#list-issue-fields-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -35005,7 +35210,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#create-issue-field-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -35155,7 +35360,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - - *73 + - *74 - &229 name: issue_field_id description: The unique identifier of the issue field. @@ -35292,10 +35497,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - - *73 + - *74 - *229 responses: - '204': *183 + '204': *59 '404': *6 '422': *7 x-github: @@ -35315,7 +35520,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -35361,7 +35566,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -35445,7 +35650,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *73 + - *74 - &232 name: issue_type_id description: The unique identifier of the issue type. @@ -35528,7 +35733,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *73 + - *74 - *232 responses: '204': @@ -35562,7 +35767,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *73 + - *74 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -35610,8 +35815,8 @@ paths: - updated - comments default: created - - *59 - - *86 + - *60 + - *87 - *17 - *19 responses: @@ -35621,11 +35826,11 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *234 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -35645,7 +35850,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *73 + - *74 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -35683,9 +35888,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 '422': *15 x-github: githubCloudOnly: false @@ -35703,8 +35908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response if requester is an organization member and user is @@ -35738,8 +35943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -35766,8 +35971,8 @@ paths: parameters: - *17 - *19 - - *73 - - *69 + - *74 + - *70 responses: '200': description: Response @@ -35810,8 +36015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *73 - - *69 + - *74 + - *70 - &237 name: codespace_name in: path @@ -35845,8 +36050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *73 - - *69 + - *74 + - *70 - *237 responses: '200': @@ -36028,8 +36233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -36104,8 +36309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '200': description: Response @@ -36160,7 +36365,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *71 + organization: *72 user: anyOf: - type: 'null' @@ -36252,8 +36457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *73 - - *69 + - *74 + - *70 requestBody: required: false content: @@ -36308,8 +36513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -36334,7 +36539,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *73 + - *74 - *17 - *19 - name: exclude @@ -36398,7 +36603,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *64 + items: *65 url: type: string format: uri @@ -36597,7 +36802,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -36613,7 +36818,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *73 + - *74 requestBody: required: true content: @@ -36872,7 +37077,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *73 + - *74 - &242 name: migration_id description: The unique identifier of the migration. @@ -37070,7 +37275,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *73 + - *74 - *242 responses: '302': @@ -37092,7 +37297,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *73 + - *74 - *242 responses: '204': @@ -37116,7 +37321,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *73 + - *74 - *242 - &669 name: repo_name @@ -37145,7 +37350,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *73 + - *74 - *242 - *17 - *19 @@ -37156,9 +37361,9 @@ paths: application/json: schema: type: array - items: *64 + items: *65 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -37184,7 +37389,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response - list of organization roles @@ -37349,8 +37554,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *73 - - *75 + - *74 + - *76 responses: '204': description: Response @@ -37375,8 +37580,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *73 - - *75 + - *74 + - *76 - &243 name: role_id description: The unique identifier of the role. @@ -37412,8 +37617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *73 - - *75 + - *74 + - *76 - *243 responses: '204': @@ -37439,8 +37644,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -37465,8 +37670,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *73 - - *69 + - *74 + - *70 - *243 responses: '204': @@ -37497,8 +37702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *73 - - *69 + - *74 + - *70 - *243 responses: '204': @@ -37527,7 +37732,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *73 + - *74 - *243 responses: '200': @@ -37584,7 +37789,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *73 + - *74 - *243 - *17 - *19 @@ -37699,7 +37904,7 @@ paths: examples: default: *246 headers: - Link: *65 + Link: *66 '404': description: Response if the organization or role does not exist. '422': @@ -37726,7 +37931,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *73 + - *74 - *243 - *17 - *19 @@ -37873,9 +38078,9 @@ paths: - type - url examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 '404': description: Response if the organization or role does not exist. '422': @@ -37897,7 +38102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *73 + - *74 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -37924,9 +38129,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37949,8 +38154,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *73 - - *69 + - *74 + - *70 requestBody: required: false content: @@ -38007,8 +38212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -38065,7 +38270,7 @@ paths: - docker - nuget - container - - *73 + - *74 - &670 name: visibility description: |- @@ -38154,7 +38359,7 @@ paths: required: true schema: type: string - - *73 + - *74 responses: '200': description: Response @@ -38214,7 +38419,7 @@ paths: parameters: - *249 - *250 - - *73 + - *74 responses: '204': description: Response @@ -38248,7 +38453,7 @@ paths: parameters: - *249 - *250 - - *73 + - *74 - name: token description: package token schema: @@ -38282,7 +38487,7 @@ paths: parameters: - *249 - *250 - - *73 + - *74 - *19 - *17 - name: state @@ -38439,7 +38644,7 @@ paths: parameters: - *249 - *250 - - *73 + - *74 - &252 name: package_version_id description: Unique identifier of the package version. @@ -38490,7 +38695,7 @@ paths: parameters: - *249 - *250 - - *73 + - *74 - *252 responses: '204': @@ -38525,7 +38730,7 @@ paths: parameters: - *249 - *250 - - *73 + - *74 - *252 responses: '204': @@ -38553,7 +38758,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *73 + - *74 - *17 - *19 - &253 @@ -38566,7 +38771,7 @@ paths: enum: - created_at default: created_at - - *59 + - *60 - &254 name: owner description: A list of owner usernames to use to filter the results. @@ -38765,7 +38970,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38785,7 +38990,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *73 + - *74 requestBody: required: true content: @@ -38852,7 +39057,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *73 + - *74 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -38893,7 +39098,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *183 + '204': *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38914,7 +39119,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *73 + - *74 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -38934,7 +39139,7 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: &260 value: @@ -39049,7 +39254,7 @@ paths: secret_scanning_delegated_alert_dismissal: status: disabled headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39070,11 +39275,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *73 + - *74 - *17 - *19 - *253 - - *59 + - *60 - *254 - *255 - *256 @@ -39211,7 +39416,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39231,7 +39436,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *73 + - *74 requestBody: required: true content: @@ -39291,7 +39496,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *73 + - *74 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -39321,7 +39526,7 @@ paths: responses: '500': *53 '404': *6 - '204': *183 + '204': *59 '403': *27 '422': *15 x-github: @@ -39343,7 +39548,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *73 + - *74 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -39362,11 +39567,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *260 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39388,7 +39593,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -39528,7 +39733,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *65 + Link: *66 '400': *14 '404': *6 x-github: @@ -39551,7 +39756,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -39881,7 +40086,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -39909,7 +40114,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -39931,8 +40136,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *73 - - *160 + - *74 + - *161 responses: '200': description: The specified private registry configuration for the organization @@ -39962,8 +40167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *73 - - *160 + - *74 + - *161 requestBody: required: true content: @@ -40127,8 +40332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *73 - - *160 + - *74 + - *161 responses: '204': description: Response @@ -40151,7 +40356,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *73 + - *74 - name: q description: Limit results to projects of the specified type. in: query @@ -40410,7 +40615,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -40437,7 +40642,7 @@ paths: required: true schema: type: integer - - *73 + - *74 responses: '200': description: Response @@ -40447,7 +40652,7 @@ paths: examples: default: *264 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -40467,7 +40672,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *73 + - *74 - *265 requestBody: required: true @@ -40515,7 +40720,7 @@ paths: description: The node ID of the project item. content: oneOf: - - *81 + - *82 - &460 title: Pull Request Simple description: Pull Request Simple @@ -40683,7 +40888,7 @@ paths: type: string ref: type: string - repo: *77 + repo: *78 sha: type: string user: @@ -40703,7 +40908,7 @@ paths: type: string ref: type: string - repo: *77 + repo: *78 sha: type: string user: @@ -40744,7 +40949,7 @@ paths: - review_comments - review_comment - self - author_association: *78 + author_association: *79 auto_merge: &565 title: Auto merge description: The status of auto merging a pull request. @@ -40964,7 +41169,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - *265 - - *73 + - *74 - *17 - *45 - *46 @@ -41239,7 +41444,7 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -41259,7 +41464,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - *265 - - *73 + - *74 requestBody: required: true content: @@ -41559,7 +41764,7 @@ paths: required: true schema: type: integer - - *73 + - *74 responses: '200': description: Response @@ -41602,7 +41807,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -41624,7 +41829,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - *265 - - *73 + - *74 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -42400,7 +42605,7 @@ paths: data_type: sub_issues_progress value: headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -42420,7 +42625,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *73 + - *74 - *265 requestBody: required: true @@ -42527,7 +42732,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - *265 - - *73 + - *74 - &274 name: item_id description: The unique identifier of the project item. @@ -42558,7 +42763,7 @@ paths: examples: default: *273 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -42578,7 +42783,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - *265 - - *73 + - *74 - *274 requestBody: required: true @@ -42679,7 +42884,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - *265 - - *73 + - *74 - *274 responses: '204': @@ -42703,7 +42908,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - - *73 + - *74 - *265 requestBody: required: true @@ -42960,7 +43165,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - *265 - - *73 + - *74 - &704 name: view_number description: The number that identifies the project view. @@ -42997,7 +43202,7 @@ paths: examples: default: *273 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -43020,7 +43225,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -43155,7 +43360,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -43219,7 +43424,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *73 + - *74 - &278 name: custom_property_name description: The custom property name @@ -43268,7 +43473,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *73 + - *74 - *278 requestBody: required: true @@ -43374,10 +43579,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *73 + - *74 - *278 responses: - '204': *183 + '204': *59 '403': *27 '404': *6 x-github: @@ -43398,7 +43603,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *73 + - *74 - *17 - *19 - name: repository_query @@ -43481,7 +43686,7 @@ paths: - property_name: team value: octocat headers: - Link: *65 + Link: *66 '403': *27 '404': *6 x-github: @@ -43509,7 +43714,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *73 + - *74 requestBody: required: true content: @@ -43570,7 +43775,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *73 + - *74 - *17 - *19 responses: @@ -43582,9 +43787,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43601,8 +43806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response if user is a public member @@ -43626,8 +43831,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -43648,8 +43853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -43673,7 +43878,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *73 + - *74 - name: type description: Specifies the types of repositories you want returned. in: query @@ -43719,11 +43924,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *260 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43742,7 +43947,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *73 + - *74 requestBody: required: true content: @@ -44279,7 +44484,7 @@ paths: template_repository: anyOf: - type: 'null' - - *77 + - *78 temp_clone_token: type: - string @@ -44375,13 +44580,13 @@ paths: license: anyOf: - type: 'null' - - *83 + - *84 organization: anyOf: - type: 'null' - *4 - parent: *77 - source: *77 + parent: *78 + source: *78 forks: type: integer master_branch: @@ -45026,7 +45231,7 @@ paths: category: orgs subcategory: rules parameters: - - *73 + - *74 - *17 - *19 - &587 @@ -46128,7 +46333,7 @@ paths: category: orgs subcategory: rules parameters: - - *73 + - *74 requestBody: description: Request body required: true @@ -46278,7 +46483,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *73 + - *74 - &589 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally @@ -46436,7 +46641,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *73 + - *74 - &595 name: rule_suite_id description: |- @@ -46621,7 +46826,7 @@ paths: category: orgs subcategory: rules parameters: - - *73 + - *74 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46653,7 +46858,7 @@ paths: category: orgs subcategory: rules parameters: - - *73 + - *74 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46744,7 +46949,7 @@ paths: category: orgs subcategory: rules parameters: - - *73 + - *74 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46767,7 +46972,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *73 + - *74 - *17 - *19 - name: ruleset_id @@ -46842,7 +47047,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *73 + - *74 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46931,7 +47136,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *73 + - *74 - &601 name: state in: query @@ -47026,7 +47231,7 @@ paths: - created - updated default: created - - *59 + - *60 - *19 - *17 - &609 @@ -47095,14 +47300,14 @@ paths: items: type: object properties: - number: *170 - created_at: *171 + number: *171 + created_at: *172 updated_at: anyOf: - type: 'null' - - *172 - url: *173 - html_url: *174 + - *173 + url: *174 + html_url: *175 locations_url: type: string format: uri @@ -47161,7 +47366,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *64 + repository: *65 push_protection_bypassed: type: - boolean @@ -47787,9 +47992,9 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47814,7 +48019,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *73 + - *74 responses: '200': description: Response @@ -47954,7 +48159,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *73 + - *74 requestBody: required: true content: @@ -48042,8 +48247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *73 - - *59 + - *74 + - *60 - name: sort description: The property to sort the results by. in: query @@ -48273,7 +48478,7 @@ paths: - patched_versions - vulnerable_functions additionalProperties: false - cvss_severities: *61 + cvss_severities: *62 cwes: type: - array @@ -48352,7 +48557,7 @@ paths: description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *64 + - *65 type: - 'null' required: @@ -48762,7 +48967,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *73 + - *74 responses: '200': description: Response @@ -48810,8 +49015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *73 - - *75 + - *74 + - *76 responses: '204': description: Response @@ -48836,8 +49041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *73 - - *75 + - *74 + - *76 responses: '204': description: Response @@ -48864,7 +49069,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Immutable releases settings response @@ -48914,7 +49119,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *73 + - *74 responses: '204': description: Response @@ -48972,7 +49177,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *73 + - *74 - *19 - *17 responses: @@ -48990,9 +49195,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *153 examples: - default: *164 + default: *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49011,7 +49216,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *73 + - *74 requestBody: required: true content: @@ -49060,8 +49265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *73 - - *141 + - *74 + - *142 responses: '204': description: Response @@ -49083,8 +49288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *73 - - *141 + - *74 + - *142 responses: '204': description: Response @@ -49107,7 +49312,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -49203,7 +49408,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49222,7 +49427,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -49308,7 +49513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *73 + - *74 - &317 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. @@ -49325,7 +49530,7 @@ paths: examples: default: *316 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49344,7 +49549,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *73 + - *74 - *317 requestBody: required: true @@ -49419,7 +49624,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *73 + - *74 - *317 responses: '204': @@ -49443,7 +49648,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *73 + - *74 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -49502,7 +49707,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49532,8 +49737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *73 - - *75 + - *74 + - *76 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -49589,7 +49794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *73 + - *74 - *17 - *19 - name: team_type @@ -49615,7 +49820,7 @@ paths: examples: default: *246 headers: - Link: *65 + Link: *66 '403': *27 x-github: githubCloudOnly: false @@ -49635,7 +49840,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *73 + - *74 requestBody: required: true content: @@ -50168,8 +50373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *73 - - *75 + - *74 + - *76 responses: '200': description: Response @@ -50198,8 +50403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *73 - - *75 + - *74 + - *76 requestBody: required: false content: @@ -50296,8 +50501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *73 - - *75 + - *74 + - *76 responses: '204': description: Response @@ -50324,8 +50529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *73 - - *75 + - *74 + - *76 - *17 - *19 responses: @@ -50339,7 +50544,7 @@ paths: examples: default: *225 headers: - Link: *65 + Link: *66 '422': *323 x-github: githubCloudOnly: false @@ -50360,8 +50565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *73 - - *75 + - *74 + - *76 - name: role description: Filters members returned by their role in the team. in: query @@ -50384,9 +50589,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50414,9 +50619,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *73 - - *75 - - *69 + - *74 + - *76 + - *70 responses: '200': description: Response @@ -50486,9 +50691,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *73 - - *75 - - *69 + - *74 + - *76 + - *70 requestBody: required: false content: @@ -50550,9 +50755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *73 - - *75 - - *69 + - *74 + - *76 + - *70 responses: '204': description: Response @@ -50578,8 +50783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *73 - - *75 + - *74 + - *76 - *17 - *19 responses: @@ -50589,11 +50794,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *260 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50620,8 +50825,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *73 - - *75 + - *74 + - *76 - *325 - *326 responses: @@ -50655,7 +50860,7 @@ paths: license: anyOf: - type: 'null' - - *83 + - *84 forks: type: integer permissions: @@ -51262,8 +51467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *73 - - *75 + - *74 + - *76 - *325 - *326 requestBody: @@ -51310,8 +51515,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *73 - - *75 + - *74 + - *76 - *325 - *326 responses: @@ -51337,8 +51542,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *73 - - *75 + - *74 + - *76 - *17 - *19 responses: @@ -51378,7 +51583,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51403,7 +51608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *73 + - *74 - name: security_product in: path description: The security feature to enable or disable. @@ -52702,7 +52907,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53062,7 +53267,7 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *59 + - *60 responses: '200': description: Response @@ -53130,7 +53335,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53633,7 +53838,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -53743,7 +53948,7 @@ paths: description: Empty response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -53823,7 +54028,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53911,7 +54116,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53944,9 +54149,9 @@ paths: enabled: &343 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *137 + allowed_actions: *138 selected_actions_url: *342 - sha_pinning_required: *138 + sha_pinning_required: *139 required: - enabled examples: @@ -53987,8 +54192,8 @@ paths: type: object properties: enabled: *343 - allowed_actions: *137 - sha_pinning_required: *138 + allowed_actions: *138 + sha_pinning_required: *139 required: - enabled examples: @@ -54171,7 +54376,7 @@ paths: description: Response content: application/json: - schema: *139 + schema: *140 examples: default: *348 '404': *6 @@ -54203,7 +54408,7 @@ paths: required: true content: application/json: - schema: *139 + schema: *140 examples: default: summary: Set approval policy to first time contributors @@ -54236,7 +54441,7 @@ paths: application/json: schema: *349 examples: - default: *140 + default: *141 '403': *27 '404': *6 x-github: @@ -54264,7 +54469,7 @@ paths: application/json: schema: *350 examples: - default: *140 + default: *141 responses: '204': description: Empty response for successful settings update @@ -54295,9 +54500,9 @@ paths: description: Response content: application/json: - schema: *142 + schema: *143 examples: - default: *143 + default: *144 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -54325,9 +54530,9 @@ paths: required: false content: application/json: - schema: *142 + schema: *143 examples: - selected_actions: *143 + selected_actions: *144 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -54358,7 +54563,7 @@ paths: application/json: schema: *351 examples: - default: *147 + default: *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54393,7 +54598,7 @@ paths: application/json: schema: *352 examples: - default: *147 + default: *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54439,11 +54644,11 @@ paths: type: integer runners: type: array - items: *154 + items: *155 examples: - default: *155 + default: *156 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54580,7 +54785,7 @@ paths: description: Response content: application/json: - schema: *156 + schema: *157 examples: default: *356 x-github: @@ -54617,7 +54822,7 @@ paths: description: Response content: application/json: - schema: *156 + schema: *157 examples: default: *357 x-github: @@ -54643,13 +54848,13 @@ paths: parameters: - *325 - *326 - - *153 + - *154 responses: '200': description: Response content: application/json: - schema: *154 + schema: *155 examples: default: *358 x-github: @@ -54674,7 +54879,7 @@ paths: parameters: - *325 - *326 - - *153 + - *154 responses: '204': description: Response @@ -54702,9 +54907,9 @@ paths: parameters: - *325 - *326 - - *153 + - *154 responses: - '200': *158 + '200': *159 '404': *6 x-github: githubCloudOnly: false @@ -54728,7 +54933,7 @@ paths: parameters: - *325 - *326 - - *153 + - *154 requestBody: required: true content: @@ -54752,7 +54957,7 @@ paths: - gpu - accelerated responses: - '200': *158 + '200': *159 '404': *6 '422': *7 x-github: @@ -54778,7 +54983,7 @@ paths: parameters: - *325 - *326 - - *153 + - *154 requestBody: required: true content: @@ -54803,7 +55008,7 @@ paths: - gpu - accelerated responses: - '200': *158 + '200': *159 '404': *6 '422': *7 x-github: @@ -54829,7 +55034,7 @@ paths: parameters: - *325 - *326 - - *153 + - *154 responses: '200': *359 '404': *6 @@ -54860,10 +55065,10 @@ paths: parameters: - *325 - *326 - - *153 + - *154 - *360 responses: - '200': *158 + '200': *159 '404': *6 '422': *7 x-github: @@ -55107,7 +55312,7 @@ paths: type: - array - 'null' - items: *84 + items: *85 created_at: type: string format: date-time @@ -55242,8 +55447,8 @@ paths: - timestamp - author - committer - repository: *152 - head_repository: *152 + repository: *153 + head_repository: *153 head_repository_id: type: integer examples: @@ -55497,7 +55702,7 @@ paths: releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id} deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55940,7 +56145,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -55973,7 +56178,7 @@ paths: - *17 - *19 - *364 - - *59 + - *60 responses: '200': description: Response @@ -55993,7 +56198,7 @@ paths: examples: default: *365 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56168,7 +56373,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -56231,7 +56436,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -56335,7 +56540,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -56398,7 +56603,7 @@ paths: examples: default: *369 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56880,7 +57085,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -56927,7 +57132,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -57121,7 +57326,7 @@ paths: examples: default: *371 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57177,7 +57382,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 responses: '200': description: Response @@ -57213,7 +57418,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 requestBody: required: true content: @@ -57244,7 +57449,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -57272,7 +57477,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 responses: '204': description: Response @@ -57320,7 +57525,7 @@ paths: examples: default: *375 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57369,7 +57574,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -57396,7 +57601,7 @@ paths: parameters: - *325 - *326 - - *163 + - *164 responses: '200': description: Response @@ -57432,7 +57637,7 @@ paths: parameters: - *325 - *326 - - *163 + - *164 requestBody: required: true content: @@ -57476,7 +57681,7 @@ paths: parameters: - *325 - *326 - - *163 + - *164 responses: '204': description: Response @@ -57615,7 +57820,7 @@ paths: html_url: https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289 badge_url: https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57859,7 +58064,7 @@ paths: examples: default: *385 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57954,7 +58159,7 @@ paths: parameters: - *325 - *326 - - *59 + - *60 - *17 - *45 - *46 @@ -58102,7 +58307,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '422': *7 x-github: githubCloudOnly: false @@ -58134,9 +58339,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -59124,7 +59329,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -59286,14 +59491,14 @@ paths: author: oneOf: - *4 - - *161 + - *162 type: - 'null' - object committer: oneOf: - *4 - - *161 + - *162 type: - 'null' - object @@ -61726,7 +61931,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 '404': *6 x-github: githubCloudOnly: false @@ -61785,7 +61990,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 '422': *15 x-github: githubCloudOnly: false @@ -61845,7 +62050,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 '422': *15 x-github: githubCloudOnly: false @@ -61905,7 +62110,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 '422': *15 x-github: githubCloudOnly: false @@ -62487,7 +62692,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *84 + items: *85 deployment: &717 title: Deployment description: A deployment created as the result of an Actions @@ -63247,7 +63452,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63275,7 +63480,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -63418,12 +63623,12 @@ paths: type: - array - 'null' - items: *84 + items: *85 app: anyOf: - type: 'null' - *5 - repository: *152 + repository: *153 created_at: type: - string @@ -63836,7 +64041,7 @@ paths: required: - app_id - setting - repository: *152 + repository: *153 examples: default: value: @@ -64256,7 +64461,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64284,7 +64489,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -64332,7 +64537,7 @@ paths: required: false schema: type: integer - - *59 + - *60 - *45 - *46 - name: sort @@ -64375,19 +64580,19 @@ paths: items: type: object properties: - number: *170 - created_at: *171 - updated_at: *172 - url: *173 - html_url: *174 + number: *171 + created_at: *172 + updated_at: *173 + url: *174 + html_url: *175 instances_url: *415 - state: *179 - fixed_at: *175 + state: *180 + fixed_at: *176 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *176 + dismissed_at: *177 dismissed_reason: *416 dismissed_comment: *417 rule: *418 @@ -64522,7 +64727,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64552,7 +64757,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *170 + schema: *171 responses: '200': description: Response @@ -64561,19 +64766,19 @@ paths: schema: &423 type: object properties: - number: *170 - created_at: *171 - updated_at: *172 - url: *173 - html_url: *174 + number: *171 + created_at: *172 + updated_at: *173 + url: *174 + html_url: *175 instances_url: *415 - state: *179 - fixed_at: *175 + state: *180 + fixed_at: *176 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *176 + dismissed_at: *177 dismissed_reason: *416 dismissed_comment: *417 rule: @@ -64736,7 +64941,7 @@ paths: '304': *35 '403': *421 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64883,7 +65088,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64957,7 +65162,7 @@ paths: status: '400' '403': *421 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65012,7 +65217,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65087,7 +65292,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65191,7 +65396,7 @@ paths: - source '403': *421 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65246,7 +65451,7 @@ paths: description: An identifier for the upload. examples: - 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *59 + - *60 - name: sort description: The property by which to sort the results. in: query @@ -65369,7 +65574,7 @@ paths: warning: '' '403': *421 '404': *6 - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65478,7 +65683,7 @@ paths: content: application/json: schema: *3 - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65617,7 +65822,7 @@ paths: '400': *14 '403': *427 '404': *6 - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65760,7 +65965,7 @@ paths: commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c '403': *421 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65836,7 +66041,7 @@ paths: description: Found '403': *421 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65869,7 +66074,7 @@ paths: description: Response '403': *427 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65993,7 +66198,7 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *64 + controller_repo: *65 actor: *4 query_language: *438 query_pack_url: @@ -66328,7 +66533,7 @@ paths: content: application/json: schema: *3 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66366,7 +66571,7 @@ paths: examples: default: *441 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66421,7 +66626,7 @@ paths: schema: type: object properties: - repository: *64 + repository: *65 analysis_status: *443 artifact_size_in_bytes: type: integer @@ -66526,7 +66731,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66641,7 +66846,7 @@ paths: schedule: weekly '403': *421 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66730,7 +66935,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -66769,7 +66974,7 @@ paths: content: application/json: schema: *3 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66913,7 +67118,7 @@ paths: '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -66984,7 +67189,7 @@ paths: '403': *421 '404': description: Not Found if the sarif id does not match any upload - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -67063,7 +67268,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *183 + '204': *59 '304': *35 '403': *27 '404': *6 @@ -67612,7 +67817,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -67918,7 +68123,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67981,7 +68186,7 @@ paths: examples: default: *447 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68033,7 +68238,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 responses: '200': description: Response @@ -68063,7 +68268,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 requestBody: required: true content: @@ -68091,7 +68296,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -68117,7 +68322,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 responses: '204': description: Response @@ -68352,7 +68557,7 @@ paths: admin: false role_name: write headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -68379,7 +68584,7 @@ paths: parameters: - *325 - *326 - - *69 + - *70 responses: '204': description: Response if user is a collaborator @@ -68427,7 +68632,7 @@ paths: parameters: - *325 - *326 - - *69 + - *70 requestBody: required: false content: @@ -68465,7 +68670,7 @@ paths: format: int64 examples: - 42 - repository: *152 + repository: *153 invitee: anyOf: - type: 'null' @@ -68641,7 +68846,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *121 + schema: *122 '403': *27 x-github: triggersNotification: true @@ -68683,7 +68888,7 @@ paths: parameters: - *325 - *326 - - *69 + - *70 responses: '204': description: No Content when collaborator was removed from the repository. @@ -68716,7 +68921,7 @@ paths: parameters: - *325 - *326 - - *69 + - *70 responses: '200': description: if user has admin permissions @@ -68842,8 +69047,8 @@ paths: updated_at: type: string format: date-time - author_association: *78 - reactions: *79 + author_association: *79 + reactions: *80 required: - url - html_url @@ -68893,7 +69098,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68920,7 +69125,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '200': description: Response @@ -68987,7 +69192,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 requestBody: required: true content: @@ -69062,7 +69267,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '204': description: Response @@ -69085,7 +69290,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -69181,7 +69386,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -69202,7 +69407,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 requestBody: required: true content: @@ -69291,7 +69496,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 - &526 name: reaction_id description: The unique identifier of the reaction. @@ -69476,7 +69681,7 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *65 + Link: *66 '500': *53 '400': *14 '404': *6 @@ -69590,7 +69795,7 @@ paths: examples: default: *458 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70176,7 +70381,7 @@ paths: auto_merge: draft: false headers: - Link: *65 + Link: *66 '409': *52 x-github: githubCloudOnly: false @@ -70383,7 +70588,7 @@ paths: '422': *15 '404': *6 '500': *53 - '503': *113 + '503': *114 '409': *52 x-github: githubCloudOnly: false @@ -70451,7 +70656,7 @@ paths: examples: default: *464 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70677,7 +70882,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70775,7 +70980,7 @@ paths: type: string total_count: type: integer - repository: *152 + repository: *153 commit_url: type: string format: uri @@ -70998,7 +71203,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '301': *329 x-github: githubCloudOnly: false @@ -71081,7 +71286,7 @@ paths: license: anyOf: - type: 'null' - - *83 + - *84 contributing: anyOf: - type: 'null' @@ -71557,7 +71762,7 @@ paths: default: *469 '404': *6 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72673,7 +72878,7 @@ paths: '422': *15 '404': *6 '409': *52 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72795,7 +73000,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *65 + Link: *66 '204': description: Response if repository is empty '403': *27 @@ -72836,7 +73041,7 @@ paths: - *195 - *196 - *197 - - *59 + - *60 - *45 - *46 - *17 @@ -72851,7 +73056,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *170 + number: *171 state: type: string description: The state of the Dependabot alert. @@ -72866,7 +73071,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *60 + package: *61 manifest_path: type: string description: The full path to the dependency manifest file, @@ -72899,12 +73104,12 @@ paths: - inconclusive - security_advisory: *474 - security_vulnerability: *63 - url: *173 - html_url: *174 - created_at: *171 - updated_at: *172 - dismissed_at: *176 + security_vulnerability: *64 + url: *174 + html_url: *175 + created_at: *172 + updated_at: *173 + dismissed_at: *177 dismissed_by: anyOf: - type: 'null' @@ -72928,7 +73133,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *175 + fixed_at: *176 auto_dismissed_at: *475 dismissal_request: *476 assignees: @@ -73196,7 +73401,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *170 + schema: *171 responses: '200': description: Response @@ -73573,7 +73778,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73626,7 +73831,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 responses: '200': description: Response @@ -73660,7 +73865,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 requestBody: required: true content: @@ -73688,7 +73893,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -73714,7 +73919,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 responses: '204': description: Response @@ -73887,7 +74092,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *65 + Link: *66 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -74149,7 +74354,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *65 + Link: *66 '404': *6 '403': *27 x-github: @@ -74559,7 +74764,7 @@ paths: examples: default: *485 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75038,7 +75243,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -76415,7 +76620,7 @@ paths: examples: default: *371 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76473,7 +76678,7 @@ paths: - *325 - *326 - *491 - - *160 + - *161 responses: '200': description: Response @@ -76506,7 +76711,7 @@ paths: - *325 - *326 - *491 - - *160 + - *161 requestBody: required: true content: @@ -76537,7 +76742,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -76566,7 +76771,7 @@ paths: - *325 - *326 - *491 - - *160 + - *161 responses: '204': description: Default response @@ -76615,7 +76820,7 @@ paths: examples: default: *375 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76665,7 +76870,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -76693,7 +76898,7 @@ paths: - *325 - *326 - *491 - - *163 + - *164 responses: '200': description: Response @@ -76724,7 +76929,7 @@ paths: parameters: - *325 - *326 - - *163 + - *164 - *491 requestBody: required: true @@ -76769,7 +76974,7 @@ paths: parameters: - *325 - *326 - - *163 + - *164 - *491 responses: '204': @@ -76803,7 +77008,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: 200-response: value: @@ -76884,7 +77089,7 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: value: @@ -76997,7 +77202,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *65 + Link: *66 '400': *14 x-github: githubCloudOnly: false @@ -77138,7 +77343,7 @@ paths: application/json: schema: oneOf: - - *121 + - *122 - *504 x-github: githubCloudOnly: false @@ -77739,7 +77944,7 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *65 + Link: *66 '409': *52 x-github: githubCloudOnly: false @@ -78603,7 +78808,7 @@ paths: status: unused message: headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -79120,7 +79325,7 @@ paths: - *325 - *326 responses: - '204': *183 + '204': *59 '409': *52 x-github: githubCloudOnly: false @@ -79141,7 +79346,7 @@ paths: - *325 - *326 responses: - '204': *183 + '204': *59 '409': *52 x-github: githubCloudOnly: false @@ -80162,7 +80367,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80435,8 +80640,8 @@ paths: - updated - comments default: created - - *59 - - *86 + - *60 + - *87 - *17 - *19 responses: @@ -80446,7 +80651,7 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: &531 value: @@ -80596,7 +80801,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *65 + Link: *66 '301': *329 '422': *15 '404': *6 @@ -80709,7 +80914,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: &528 value: @@ -80847,7 +81052,7 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *113 + '503': *114 '404': *6 '410': *523 x-github: @@ -80879,7 +81084,7 @@ paths: parameters: - *325 - *326 - - *103 + - *104 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -80889,7 +81094,7 @@ paths: enum: - asc - desc - - *86 + - *87 - *17 - *19 responses: @@ -80899,7 +81104,7 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: default: &530 value: @@ -80932,7 +81137,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *65 + Link: *66 '422': *15 '404': *6 x-github: @@ -80961,13 +81166,13 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '200': description: Response content: application/json: - schema: *82 + schema: *83 examples: default: &524 value: @@ -81026,7 +81231,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 requestBody: required: true content: @@ -81048,7 +81253,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *524 '422': *15 @@ -81070,7 +81275,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '204': description: Response @@ -81100,13 +81305,13 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '200': description: Response content: application/json: - schema: *82 + schema: *83 examples: default: value: @@ -81181,7 +81386,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '204': description: Response @@ -81189,7 +81394,7 @@ paths: '403': *27 '404': *6 '410': *523 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81208,7 +81413,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -81238,7 +81443,7 @@ paths: examples: default: *525 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -81259,7 +81464,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 requestBody: required: true content: @@ -81324,7 +81529,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 - *526 responses: '204': @@ -81403,7 +81608,7 @@ paths: issue: anyOf: - type: 'null' - - *81 + - *82 label: title: Issue Event Label description: Issue Event Label @@ -81503,7 +81708,7 @@ paths: required: - from - to - author_association: *78 + author_association: *79 lock_reason: type: - string @@ -81678,7 +81883,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *65 + Link: *66 '422': *15 x-github: githubCloudOnly: false @@ -81949,7 +82154,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: summary: Issue @@ -82295,11 +82500,11 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 '422': *15 - '503': *113 + '503': *114 '403': *27 '301': *329 '404': *6 @@ -82349,7 +82554,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 x-github: @@ -82394,7 +82599,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 x-github: @@ -82463,7 +82668,7 @@ paths: - *325 - *326 - *529 - - *86 + - *87 - *17 - *19 responses: @@ -82473,11 +82678,11 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: default: *530 headers: - Link: *65 + Link: *66 '404': *6 '410': *523 x-github: @@ -82532,7 +82737,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *524 headers: @@ -82581,11 +82786,11 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *531 headers: - Link: *65 + Link: *66 '301': *329 '404': *6 '410': *523 @@ -82640,7 +82845,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 headers: @@ -82695,7 +82900,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 '301': *329 @@ -82741,11 +82946,11 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *531 headers: - Link: *65 + Link: *66 '301': *329 '404': *6 '410': *523 @@ -83559,7 +83764,7 @@ paths: name: label color: red headers: - Link: *65 + Link: *66 '410': *523 x-github: githubCloudOnly: false @@ -83614,7 +83819,7 @@ paths: data_type: date value: '2025-12-25' headers: - Link: *65 + Link: *66 '301': *329 '404': *6 '410': *523 @@ -83646,7 +83851,7 @@ paths: application/json: schema: type: array - items: *80 + items: *81 examples: default: &533 value: @@ -83665,7 +83870,7 @@ paths: color: a2eeef default: false headers: - Link: *65 + Link: *66 '301': *329 '404': *6 '410': *523 @@ -83729,7 +83934,7 @@ paths: application/json: schema: type: array - items: *80 + items: *81 examples: default: *533 '301': *329 @@ -83813,7 +84018,7 @@ paths: application/json: schema: type: array - items: *80 + items: *81 examples: default: *533 '301': *329 @@ -83877,7 +84082,7 @@ paths: application/json: schema: type: array - items: *80 + items: *81 examples: default: value: @@ -83999,7 +84204,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 '301': *329 @@ -84053,7 +84258,7 @@ paths: examples: default: *525 headers: - Link: *65 + Link: *66 '404': *6 '410': *523 x-github: @@ -84194,7 +84399,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 headers: @@ -84241,11 +84446,11 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *531 headers: - Link: *65 + Link: *66 '404': *6 '410': *523 x-github: @@ -84304,7 +84509,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 headers: @@ -84366,13 +84571,13 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 '403': *27 '404': *6 '422': *7 - '503': *113 + '503': *114 x-github: triggersNotification: true githubCloudOnly: false @@ -84467,12 +84672,12 @@ paths: issue_url: type: string format: uri - author_association: *78 + author_association: *79 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *79 + reactions: *80 pin: anyOf: - type: 'null' @@ -84507,7 +84712,7 @@ paths: properties: type: type: string - issue: *81 + issue: *82 required: - event - created_at @@ -84729,7 +84934,7 @@ paths: type: string body_text: type: string - author_association: *78 + author_association: *79 required: - event - id @@ -84860,7 +85065,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *78 + author_association: *79 _links: type: object properties: @@ -84955,7 +85160,7 @@ paths: enum: - line - file - reactions: *79 + reactions: *80 body_html: type: string examples: @@ -85266,7 +85471,7 @@ paths: type: User site_admin: true headers: - Link: *65 + Link: *66 '404': *6 '410': *523 x-github: @@ -85348,7 +85553,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85504,11 +85709,11 @@ paths: application/json: schema: type: array - items: *80 + items: *81 examples: default: *533 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -85564,7 +85769,7 @@ paths: description: Response content: application/json: - schema: *80 + schema: *81 examples: default: &551 value: @@ -85610,7 +85815,7 @@ paths: description: Response content: application/json: - schema: *80 + schema: *81 examples: default: *551 '404': *6 @@ -85669,7 +85874,7 @@ paths: description: Response content: application/json: - schema: *80 + schema: *81 examples: default: value: @@ -85830,7 +86035,7 @@ paths: license: anyOf: - type: 'null' - - *83 + - *84 required: - _links - git_url @@ -86120,7 +86325,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -86365,11 +86570,11 @@ paths: application/json: schema: type: array - items: *80 + items: *81 examples: default: *533 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86390,7 +86595,7 @@ paths: - *326 - *555 - *556 - - *86 + - *87 - *557 - *17 - *19 @@ -86401,11 +86606,11 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: default: *558 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86971,7 +87176,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87302,7 +87507,7 @@ paths: - *326 - *563 responses: - '204': *183 + '204': *59 '404': *6 x-github: githubCloudOnly: false @@ -87596,7 +87801,7 @@ paths: description: Empty response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -87664,7 +87869,7 @@ paths: - *325 - *326 responses: - '204': *183 + '204': *59 '422': *14 x-github: githubCloudOnly: false @@ -87686,7 +87891,7 @@ paths: - *325 - *326 responses: - '204': *183 + '204': *59 '422': *14 x-github: githubCloudOnly: false @@ -87874,7 +88079,7 @@ paths: examples: default: *564 headers: - Link: *65 + Link: *66 '304': *35 '422': *15 x-github: @@ -88148,7 +88353,7 @@ paths: type: string ref: type: string - repo: *77 + repo: *78 sha: type: string user: *4 @@ -88165,7 +88370,7 @@ paths: type: string ref: type: string - repo: *77 + repo: *78 sha: type: string user: *4 @@ -88195,7 +88400,7 @@ paths: - review_comments - review_comment - self - author_association: *78 + author_association: *79 auto_merge: *565 draft: description: Indicates whether or not the pull request is a draft. @@ -88823,7 +89028,7 @@ paths: enum: - asc - desc - - *86 + - *87 - *17 - *19 responses: @@ -88887,7 +89092,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88914,7 +89119,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '200': description: Response @@ -88999,7 +89204,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 requestBody: required: true content: @@ -89041,7 +89246,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '204': description: Response @@ -89064,7 +89269,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -89094,7 +89299,7 @@ paths: examples: default: *525 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -89115,7 +89320,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 requestBody: required: true content: @@ -89180,7 +89385,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 - *526 responses: '204': @@ -89250,7 +89455,7 @@ paths: application/json: schema: *3 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89421,7 +89626,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -89450,7 +89655,7 @@ paths: - *325 - *326 - *570 - - *103 + - *104 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -89460,7 +89665,7 @@ paths: enum: - asc - desc - - *86 + - *87 - *17 - *19 responses: @@ -89474,7 +89679,7 @@ paths: examples: default: *571 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89704,7 +89909,7 @@ paths: - *325 - *326 - *570 - - *95 + - *96 requestBody: required: true content: @@ -89828,7 +90033,7 @@ paths: examples: default: *572 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89884,10 +90089,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *65 + Link: *66 '422': *15 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90104,7 +90309,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91304,7 +91509,7 @@ paths: type: string body_text: type: string - author_association: *78 + author_association: *79 required: - id - node_id @@ -91353,7 +91558,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91842,7 +92047,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *78 + author_association: *79 _links: type: object properties: @@ -91857,7 +92062,7 @@ paths: type: string body_html: type: string - reactions: *79 + reactions: *80 side: description: The side of the first line of the range for a multi-line comment. @@ -91977,7 +92182,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -92417,7 +92622,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -93113,7 +93318,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93270,7 +93475,7 @@ paths: examples: default: *525 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -94041,7 +94246,7 @@ paths: - *606 - *607 - *608 - - *59 + - *60 - *19 - *17 - *609 @@ -94060,14 +94265,14 @@ paths: items: &618 type: object properties: - number: *170 - created_at: *171 + number: *171 + created_at: *172 updated_at: anyOf: - type: 'null' - - *172 - url: *173 - html_url: *174 + - *173 + url: *174 + html_url: *175 locations_url: type: string format: uri @@ -94317,7 +94522,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94379,7 +94584,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94524,7 +94729,7 @@ paths: '422': description: State does not match the resolution or resolution comment, or assignee does not have write access to the repository - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -94658,11 +94863,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *65 + Link: *66 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94741,7 +94946,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -94770,7 +94975,7 @@ paths: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *113 + '503': *114 '200': description: Response content: @@ -94896,7 +95101,7 @@ paths: parameters: - *325 - *326 - - *59 + - *60 - name: sort description: The property to sort the results by. in: query @@ -95844,7 +96049,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *121 + schema: *122 examples: invalid_state_transition: value: @@ -96015,7 +96220,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '422': *15 x-github: githubCloudOnly: false @@ -96060,7 +96265,7 @@ paths: - 1124 - -435 '202': *37 - '204': *183 + '204': *59 '422': description: Repository contains more than 10,000 commits x-github: @@ -96132,7 +96337,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *183 + '204': *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96232,7 +96437,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *183 + '204': *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96433,7 +96638,7 @@ paths: - - 0 - 2 - 21 - '204': *183 + '204': *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96577,9 +96782,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96812,7 +97017,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96887,7 +97092,7 @@ paths: examples: default: *246 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -97420,7 +97625,7 @@ paths: description: Response content: application/json: - schema: *152 + schema: *153 examples: default: value: @@ -97867,7 +98072,7 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: value: @@ -97973,7 +98178,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *141 + - *142 - *529 requestBody: required: true @@ -98047,7 +98252,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *113 + '503': *114 x-github: triggersNotification: true githubCloudOnly: false @@ -98078,7 +98283,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *141 + - *142 - *529 requestBody: required: true @@ -98153,7 +98358,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *113 + '503': *114 x-github: triggersNotification: true githubCloudOnly: false @@ -98179,7 +98384,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *141 + - *142 - *529 - *229 responses: @@ -98188,7 +98393,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *113 + '503': *114 x-github: triggersNotification: true githubCloudOnly: false @@ -98305,7 +98510,7 @@ paths: html_url: type: string format: uri - repository: *152 + repository: *153 score: type: number file_size: @@ -98439,7 +98644,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *113 + '503': *114 '422': *15 '403': *27 x-github: @@ -98602,7 +98807,7 @@ paths: type: string sha: type: string - repository: *152 + repository: *153 score: type: number node_id: @@ -98979,10 +99184,10 @@ paths: type: string score: type: number - author_association: *78 + author_association: *79 draft: type: boolean - repository: *77 + repository: *78 body_html: type: string body_text: @@ -98998,8 +99203,8 @@ paths: pinned_comment: anyOf: - type: 'null' - - *82 - reactions: *79 + - *83 + reactions: *80 required: - closed_at - comments @@ -99151,7 +99356,7 @@ paths: - quoted_text items: - "..." - '503': *113 + '503': *114 '422': *15 '304': *35 '403': *27 @@ -99563,7 +99768,7 @@ paths: license: anyOf: - type: 'null' - - *83 + - *84 permissions: type: object properties: @@ -99784,7 +99989,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *113 + '503': *114 '422': *15 '304': *35 x-github: @@ -100254,7 +100459,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *113 + '503': *114 '422': *15 x-github: githubCloudOnly: false @@ -100459,7 +100664,7 @@ paths: examples: default: *225 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100506,9 +100711,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -100535,7 +100740,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - *651 - - *69 + - *70 responses: '204': description: if user is a member @@ -100572,7 +100777,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - *651 - - *69 + - *70 responses: '204': description: Response @@ -100612,7 +100817,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - *651 - - *69 + - *70 responses: '204': description: Response @@ -100649,7 +100854,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *651 - - *69 + - *70 responses: '200': description: Response @@ -100691,7 +100896,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *651 - - *69 + - *70 requestBody: required: false content: @@ -100753,7 +100958,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *651 - - *69 + - *70 responses: '204': description: Response @@ -100790,11 +100995,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *260 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -101073,7 +101278,7 @@ paths: examples: response-if-child-teams-exist: *655 headers: - Link: *65 + Link: *66 '404': *6 '403': *27 '422': *15 @@ -101767,7 +101972,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 '304': *35 '404': *6 '403': *27 @@ -101790,7 +101995,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *69 + - *70 responses: '204': description: If the user is blocked @@ -101818,7 +102023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *69 + - *70 responses: '204': description: Response @@ -101842,7 +102047,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *69 + - *70 responses: '204': description: Response @@ -102046,7 +102251,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102130,7 +102335,7 @@ paths: examples: default: *447 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102200,7 +102405,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *160 + - *161 responses: '200': description: Response @@ -102236,7 +102441,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *160 + - *161 requestBody: required: true content: @@ -102281,7 +102486,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -102309,7 +102514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *160 + - *161 responses: '204': description: Response @@ -102334,7 +102539,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *160 + - *161 responses: '200': description: Response @@ -102350,7 +102555,7 @@ paths: type: integer repositories: type: array - items: *152 + items: *153 examples: default: *188 '401': *23 @@ -102377,7 +102582,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *160 + - *161 requestBody: required: true content: @@ -102431,7 +102636,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *160 + - *161 - name: repository_id in: path required: true @@ -102464,7 +102669,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *160 + - *161 - name: repository_id in: path required: true @@ -103904,7 +104109,7 @@ paths: primary: true visibility: public headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -104086,9 +104291,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -104119,9 +104324,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -104141,7 +104346,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *69 + - *70 responses: '204': description: if the person is followed by the authenticated user @@ -104171,7 +104376,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *69 + - *70 responses: '204': description: Response @@ -104196,7 +104401,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *69 + - *70 responses: '204': description: Response @@ -104409,7 +104614,7 @@ paths: revoked: false raw_key: string headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -104701,7 +104906,7 @@ paths: suspended_at: suspended_by: headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -104749,11 +104954,11 @@ paths: type: array items: allOf: - - *77 + - *78 examples: - default: *144 + default: *145 headers: - Link: *65 + Link: *66 '404': *6 '403': *27 '304': *35 @@ -104777,7 +104982,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *141 + - *142 responses: '204': description: Response @@ -104803,7 +105008,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *141 + - *142 responses: '204': description: Response @@ -104970,8 +105175,8 @@ paths: - updated - comments default: created - - *59 - - *86 + - *60 + - *87 - *17 - *19 responses: @@ -104981,11 +105186,11 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *234 headers: - Link: *65 + Link: *66 '404': *6 '304': *35 x-github: @@ -105068,7 +105273,7 @@ paths: verified: false read_only: false headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -105286,7 +105491,7 @@ paths: - id - type - login - plan: *97 + plan: *98 required: - billing_cycle - next_billing_date @@ -105330,7 +105535,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *65 + Link: *66 '304': *35 '401': *23 '404': *6 @@ -105363,7 +105568,7 @@ paths: examples: default: *668 headers: - Link: *65 + Link: *66 '304': *35 '401': *23 x-github: @@ -105484,7 +105689,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -105509,7 +105714,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *73 + - *74 responses: '200': description: Response @@ -105577,7 +105782,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *73 + - *74 requestBody: required: true content: @@ -105827,7 +106032,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -106413,9 +106618,9 @@ paths: application/json: schema: type: array - items: *64 + items: *65 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -106448,11 +106653,11 @@ paths: application/json: schema: type: array - items: *71 + items: *72 examples: - default: *110 + default: *111 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -106900,7 +107105,7 @@ paths: examples: default: *673 headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -107009,7 +107214,7 @@ paths: application/json: schema: type: array - items: *77 + items: *78 examples: default: &680 summary: Default response @@ -107132,7 +107337,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *65 + Link: *66 '422': *15 '304': *35 '403': *27 @@ -107374,7 +107579,7 @@ paths: examples: default: *674 headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -107474,7 +107679,7 @@ paths: - provider: twitter url: https://twitter.com/github headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -107653,7 +107858,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -107818,7 +108023,7 @@ paths: - created - updated default: created - - *59 + - *60 - *17 - *19 responses: @@ -107828,7 +108033,7 @@ paths: application/json: schema: type: array - items: *77 + items: *78 examples: default-response: *680 application/vnd.github.v3.star+json: @@ -107842,7 +108047,7 @@ paths: starred_at: type: string format: date-time - repo: *77 + repo: *78 required: - starred_at - repo @@ -107970,7 +108175,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -108078,11 +108283,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *260 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -108168,7 +108373,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -108195,7 +108400,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *99 + - *100 responses: '200': description: Response @@ -108375,7 +108580,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: Link: example: ; rel="next" @@ -108518,7 +108723,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *69 + - *70 responses: '200': description: Response @@ -108556,7 +108761,7 @@ paths: - *17 - *45 - *46 - - *69 + - *70 requestBody: required: true content: @@ -108639,7 +108844,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *69 + - *70 requestBody: required: true content: @@ -108704,7 +108909,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *69 + - *70 - name: subject_digest description: Subject Digest in: path @@ -108735,7 +108940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *69 + - *70 - name: attestation_id description: Attestation ID in: path @@ -108773,7 +108978,7 @@ paths: - *17 - *45 - *46 - - *69 + - *70 - name: subject_digest description: Subject Digest in: path @@ -108815,7 +109020,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -108841,7 +109046,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *69 + - *70 responses: '200': description: Response @@ -108874,7 +109079,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -108884,7 +109089,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: default: value: @@ -108946,8 +109151,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *69 - - *73 + - *70 + - *74 - *17 - *19 responses: @@ -108957,7 +109162,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: default: value: @@ -109034,7 +109239,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -109044,7 +109249,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: default: value: @@ -109102,7 +109307,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -109114,9 +109319,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109133,7 +109338,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *69 + - *70 - *17 - *19 responses: @@ -109145,9 +109350,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109164,7 +109369,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *69 + - *70 - name: target_user in: path required: true @@ -109191,8 +109396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *69 - - *86 + - *70 + - *87 - *17 - *19 responses: @@ -109202,11 +109407,11 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: - default: *88 + default: *89 headers: - Link: *65 + Link: *66 '422': *15 x-github: githubCloudOnly: false @@ -109225,7 +109430,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -109239,7 +109444,7 @@ paths: examples: default: *690 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109261,7 +109466,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *69 + - *70 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -109333,7 +109538,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *69 + - *70 responses: '200': description: Response @@ -109359,7 +109564,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -109395,7 +109600,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109415,7 +109620,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -109425,11 +109630,11 @@ paths: application/json: schema: type: array - items: *71 + items: *72 examples: - default: *110 + default: *111 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109467,7 +109672,7 @@ paths: - nuget - container - *670 - - *69 + - *70 - *19 - *17 responses: @@ -109504,7 +109709,7 @@ paths: parameters: - *249 - *250 - - *69 + - *70 responses: '200': description: Response @@ -109535,7 +109740,7 @@ paths: parameters: - *249 - *250 - - *69 + - *70 responses: '204': description: Response @@ -109569,7 +109774,7 @@ paths: parameters: - *249 - *250 - - *69 + - *70 - name: token description: package token schema: @@ -109603,7 +109808,7 @@ paths: parameters: - *249 - *250 - - *69 + - *70 responses: '200': description: Response @@ -109672,7 +109877,7 @@ paths: - *249 - *250 - *252 - - *69 + - *70 responses: '200': description: Response @@ -109715,7 +109920,7 @@ paths: parameters: - *249 - *250 - - *69 + - *70 - *252 responses: '204': @@ -109750,7 +109955,7 @@ paths: parameters: - *249 - *250 - - *69 + - *70 - *252 responses: '204': @@ -109775,7 +109980,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *69 + - *70 - name: q description: Limit results to projects of the specified type. in: query @@ -109796,7 +110001,7 @@ paths: examples: default: *264 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -109817,7 +110022,7 @@ paths: url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - *265 - - *69 + - *70 responses: '200': description: Response @@ -109827,7 +110032,7 @@ paths: examples: default: *264 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -109848,7 +110053,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - *265 - - *69 + - *70 - *17 - *45 - *46 @@ -109863,7 +110068,7 @@ paths: examples: default: *692 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -109882,7 +110087,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - - *69 + - *70 - *265 requestBody: required: true @@ -109995,7 +110200,7 @@ paths: parameters: - *265 - *702 - - *69 + - *70 responses: '200': description: Response @@ -110005,7 +110210,7 @@ paths: examples: default: *703 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -110027,7 +110232,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - *265 - - *69 + - *70 - *45 - *46 - *17 @@ -110063,7 +110268,7 @@ paths: examples: default: *273 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -110082,7 +110287,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *69 + - *70 - *265 requestBody: required: true @@ -110189,7 +110394,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *265 - - *69 + - *70 - *274 - name: fields description: |- @@ -110214,7 +110419,7 @@ paths: examples: default: *273 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -110234,7 +110439,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - *265 - - *69 + - *70 - *274 requestBody: required: true @@ -110335,7 +110540,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - *265 - - *69 + - *70 - *274 responses: '204': @@ -110359,7 +110564,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - *265 - - *69 + - *70 - *704 - name: fields description: |- @@ -110390,7 +110595,7 @@ paths: examples: default: *273 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -110416,7 +110621,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -110426,7 +110631,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: default: value: @@ -110491,7 +110696,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -110501,7 +110706,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: default: value: @@ -110564,7 +110769,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *69 + - *70 - name: type description: Limit results to repositories of the specified type. in: query @@ -110607,11 +110812,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *260 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110631,12 +110836,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - - *69 - - *115 - - *117 + - *70 - *116 - - *705 - *118 + - *117 + - *705 + - *119 responses: '200': description: Response when getting a billing premium request usage report @@ -110744,7 +110949,7 @@ paths: '403': *27 '404': *6 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110764,10 +110969,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - - *69 - - *115 - - *706 + - *70 - *116 + - *706 + - *117 responses: '200': description: Response when getting a billing usage report @@ -110838,7 +111043,7 @@ paths: '400': *14 '403': *27 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110861,12 +111066,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - - *69 - - *115 - - *117 + - *70 - *116 - - *707 - *118 + - *117 + - *707 + - *119 - *708 responses: '200': @@ -110973,7 +111178,7 @@ paths: '403': *27 '404': *6 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110991,7 +111196,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -111005,7 +111210,7 @@ paths: examples: default: *676 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111023,7 +111228,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -111037,7 +111242,7 @@ paths: examples: default: *709 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111059,9 +111264,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *69 + - *70 - *710 - - *59 + - *60 - *17 - *19 responses: @@ -111074,11 +111279,11 @@ paths: - type: array items: *711 - type: array - items: *77 + items: *78 examples: default-response: *680 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111095,7 +111300,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -111105,11 +111310,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *260 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111428,7 +111633,7 @@ webhooks: license: anyOf: - type: 'null' - - *83 + - *84 organization: anyOf: - type: 'null' @@ -112965,8 +113170,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *84 - repository: *152 + items: *85 + repository: *153 status: type: string enum: @@ -113070,7 +113275,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *84 + items: *85 started_at: type: string format: date-time @@ -136786,12 +136991,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *81 + blocked_issue: *82 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *81 - blocking_issue_repo: *77 + blocking_issue: *82 + blocking_issue_repo: *78 installation: *713 organization: *714 repository: *715 @@ -136877,12 +137082,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *81 + blocked_issue: *82 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *81 - blocking_issue_repo: *77 + blocking_issue: *82 + blocking_issue_repo: *78 installation: *713 organization: *714 repository: *715 @@ -136967,12 +137172,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *81 - blocked_issue_repo: *77 + blocked_issue: *82 + blocked_issue_repo: *78 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *81 + blocking_issue: *82 installation: *713 organization: *714 repository: *715 @@ -137058,12 +137263,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *81 - blocked_issue_repo: *77 + blocked_issue: *82 + blocked_issue_repo: *78 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *81 + blocking_issue: *82 installation: *713 organization: *714 repository: *715 @@ -137959,7 +138164,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -138981,7 +139186,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -140136,7 +140341,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -141170,7 +141375,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -142327,7 +142532,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -143344,7 +143549,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -144386,7 +144591,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -145397,7 +145602,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -146419,7 +146624,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 user: title: User type: @@ -147824,7 +148029,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 user: title: User type: @@ -148806,7 +149011,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -149843,7 +150048,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -150834,7 +151039,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -152692,7 +152897,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -227759,14 +227964,14 @@ webhooks: alert: &767 type: object properties: - number: *170 - created_at: *171 + number: *171 + created_at: *172 updated_at: anyOf: - type: 'null' - - *172 - url: *173 - html_url: *174 + - *173 + url: *174 + html_url: *175 locations_url: type: string format: uri @@ -228857,7 +229062,7 @@ webhooks: description, and severity. type: object properties: - cvss_severities: *61 + cvss_severities: *62 cwes: type: array items: @@ -229111,7 +229316,7 @@ webhooks: description, and severity. type: object properties: - cvss_severities: *61 + cvss_severities: *62 cwes: type: array items: @@ -230778,12 +230983,12 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *81 - parent_issue_repo: *77 + parent_issue: *82 + parent_issue_repo: *78 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *81 + sub_issue: *82 installation: *713 organization: *714 repository: *715 @@ -230870,12 +231075,12 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *81 - parent_issue_repo: *77 + parent_issue: *82 + parent_issue_repo: *78 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *81 + sub_issue: *82 installation: *713 organization: *714 repository: *715 @@ -230962,12 +231167,12 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *81 - sub_issue_repo: *77 + sub_issue: *82 + sub_issue_repo: *78 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *81 + parent_issue: *82 installation: *713 organization: *714 repository: *715 @@ -231054,12 +231259,12 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *81 - sub_issue_repo: *77 + sub_issue: *82 + sub_issue_repo: *78 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *81 + parent_issue: *82 installation: *713 organization: *714 repository: *715 diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 86d2be2f4d..31a44bda56 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -24976,6 +24976,475 @@ } } }, + "/enterprises/{enterprise}/copilot/policies/coding_agent": { + "put": { + "summary": "Set the coding agent policy for an enterprise", + "description": "Sets the policy for Copilot coding agent usage across an enterprise.\n\nEnterprise owners can configure whether Copilot coding agent is enabled for all\norganizations, disabled for all organizations, configured by individual organization\nadmins, or enabled for selected organizations only.\n\nOnly enterprise owners can set the coding agent policy for their enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The coding agent policy configuration", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "policy_state": { + "type": "string", + "description": "The policy state for Copilot coding agent in the enterprise. Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, `enabled_for_selected_orgs`, or `configured_by_org_admins`.", + "enum": [ + "enabled_for_all_orgs", + "disabled_for_all_orgs", + "enabled_for_selected_orgs", + "configured_by_org_admins" + ] + } + }, + "required": [ + "policy_state" + ] + }, + "examples": { + "default": { + "summary": "Enable coding agent for all organizations", + "value": { + "policy_state": "enabled_for_all_orgs" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/enterprises/{enterprise}/copilot/policies/coding_agent/organizations": { + "post": { + "summary": "Add organizations to the enterprise coding agent policy", + "description": "Enables Copilot coding agent for the specified organizations within the enterprise.\n\nThe enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before\nusing this endpoint. Organizations can be specified by login or matched via custom properties.\n\nOnly organizations that have Copilot enabled and belong to the enterprise will be affected.\n\nOnly enterprise owners can add organizations to the coding agent policy.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/add-organizations-to-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The organizations to enable Copilot coding agent for", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "organizations": { + "type": "array", + "description": "List of organization logins within the enterprise to enable Copilot coding agent for.", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "array", + "description": "List of custom property filters to match organizations. Organizations matching any of the specified property name/value pairs will be included. This is a one-time operation, setting the property on an organization in the future will not automatically update its coding agent policy.", + "items": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the custom property to filter by." + }, + "values": { + "type": "array", + "description": "The values of the custom property to match.", + "items": { + "type": "string" + } + } + }, + "required": [ + "property_name", + "values" + ] + } + } + } + }, + "examples": { + "default": { + "summary": "Add organizations that match a login or have a custom property", + "value": { + "organizations": [ + "my-org-1", + "my-org-2" + ], + "custom_properties": [ + { + "property_name": "department", + "values": [ + "engineering", + "security" + ] + } + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "delete": { + "summary": "Remove organizations from the enterprise coding agent policy", + "description": "Disables Copilot coding agent for the specified organizations within the enterprise.\n\nThe enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before\nusing this endpoint. Organizations can be specified by login or matched via custom properties.\n\nOnly organizations that have Copilot enabled and belong to the enterprise will be affected.\n\nOnly enterprise owners can remove organizations from the coding agent policy.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/remove-organizations-from-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The organizations to disable Copilot coding agent for", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "organizations": { + "type": "array", + "description": "List of organization logins within the enterprise to disable Copilot coding agent for.", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "array", + "description": "List of custom property filters to match organizations. Organizations matching any of the specified property name/value pairs will be included. This is a one-time operation, setting the property on an organization in the future will not automatically update its coding agent policy.", + "items": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the custom property to filter by." + }, + "values": { + "type": "array", + "description": "The values of the custom property to match.", + "items": { + "type": "string" + } + } + }, + "required": [ + "property_name", + "values" + ] + } + } + } + }, + "examples": { + "default": { + "summary": "Remove organizations that match a login or have a custom property", + "value": { + "organizations": [ + "my-org-1", + "my-org-2" + ], + "custom_properties": [ + { + "property_name": "department", + "values": [ + "engineering", + "security" + ] + } + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -83923,17 +84392,17 @@ } } }, - "/organizations/{org}/dependabot/repository-access": { + "/organizations/{org}/settings/billing/budgets": { "get": { - "summary": "Lists the repositories Dependabot can access in an organization", - "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", + "summary": "Get all budgets for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets all budgets for an organization. The authenticated user must be an organization admin or billing manager.\nEach page returns up to 10 budgets.", "tags": [ - "dependabot" + "billing" ], - "operationId": "dependabot/repository-access-for-org", + "operationId": "billing/get-all-budgets-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization" }, "parameters": [ { @@ -83947,720 +84416,213 @@ }, { "name": "page", + "description": "The page number of the results to fetch.", "in": "query", - "description": "The page number of results to fetch.", - "required": false, "schema": { "type": "integer", - "minimum": 1, "default": 1 } }, { "name": "per_page", + "description": "The number of results per page (max 10).", "in": "query", - "description": "Number of results per page.", - "required": false, "schema": { "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 + "default": 10 + } + }, + { + "name": "scope", + "description": "Filter budgets by scope type.", + "in": "query", + "schema": { + "type": "string", + "enum": [ + "enterprise", + "organization", + "repository", + "cost_center" + ] } } ], "responses": { "200": { - "description": "Response", + "description": "Response when getting all budgets", "content": { "application/json": { "schema": { - "title": "Dependabot Repository Access Details", - "description": "Information about repositories that Dependabot is able to access in an organization", "type": "object", "properties": { - "default_level": { - "type": [ - "string", - "null" - ], - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal", - null - ], - "examples": [ - "internal" - ] - }, - "accessible_repositories": { + "budgets": { "type": "array", "items": { - "anyOf": [ - { - "type": "null" + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier for the budget", + "examples": [ + "2066deda-923f-43f9-88d2-62395a28c0cdd" + ] }, - { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "A unique identifier of the repository.", - "examples": [ - 1296269 - ] - }, - "node_id": { - "type": "string", - "description": "The GraphQL identifier of the repository.", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "type": "string", - "description": "The name of the repository.", - "examples": [ - "Hello-World" - ] - }, - "full_name": { + "budget_type": { + "description": "The type of pricing for the budget", + "oneOf": [ + { "type": "string", - "description": "The full, globally unique, name of the repository.", - "examples": [ - "octocat/Hello-World" - ] - }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" + "enum": [ + "SkuPricing" ] }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { + { "type": "string", - "format": "uri", - "description": "The URL to view the repository on GitHub.com.", - "examples": [ - "https://github.com/octocat/Hello-World" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The repository description.", - "examples": [ - "This your first repo!" + "enum": [ + "ProductPricing" ] - }, - "fork": { + } + ], + "examples": [ + "SkuPricing" + ] + }, + "budget_amount": { + "type": "integer", + "description": "The budget amount limit in whole dollars. For license-based products, this represents the number of licenses." + }, + "prevent_further_usage": { + "type": "boolean", + "description": "The type of limit enforcement for the budget", + "examples": [ + true + ] + }, + "budget_scope": { + "type": "string", + "description": "The scope of the budget (enterprise, organization, repository, cost center)", + "examples": [ + "enterprise" + ] + }, + "budget_entity_name": { + "type": "string", + "description": "The name of the entity for the budget (enterprise does not require a name).", + "examples": [ + "octocat/hello-world" + ] + }, + "budget_product_sku": { + "type": "string", + "description": "A single product or sku to apply the budget to." + }, + "budget_alerting": { + "type": "object", + "properties": { + "will_alert": { "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "description": "The URL to get more information about the repository from the GitHub API.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World" - ] - }, - "archive_url": { - "type": "string", - "description": "A template for the API URL to download the repository as an archive.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "description": "A template for the API URL to list the available assignees for issues in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "description": "A template for the API URL to get information about branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "description": "A template for the API URL to get information about collaborators of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "description": "A template for the API URL to get information about comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "description": "A template for the API URL to get information about commits on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "description": "A template for the API URL to compare two commits or refs.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "description": "A template for the API URL to get the contents of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "description": "A template for the API URL to list the contributors to the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the deployments of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the downloads on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the events of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the forks of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "description": "A template for the API URL to get information about Git commits of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "description": "A template for the API URL to get information about Git refs of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "description": "A template for the API URL to get information about Git tags of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "issue_comment_url": { - "type": "string", - "description": "A template for the API URL to get information about issue comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "description": "A template for the API URL to get information about issue events on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "description": "A template for the API URL to get information about issues on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "description": "A template for the API URL to get information about deploy keys on the repository.", + "description": "Whether alerts are enabled for this budget", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + true ] }, - "labels_url": { - "type": "string", - "description": "A template for the API URL to get information about labels of the repository.", + "alert_recipients": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of user login names who will receive alerts", "examples": [ - "https://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about the languages of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "description": "The API URL to merge branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "description": "A template for the API URL to get information about milestones of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "description": "A template for the API URL to get information about notifications on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "description": "A template for the API URL to get information about pull requests on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "description": "A template for the API URL to get information about releases on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the stargazers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "description": "A template for the API URL to get information about statuses of a commit.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the subscribers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "description": "The API URL to subscribe to notifications for this repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about tags on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/tags" - ] - }, - "teams_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the teams on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the hooks on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/hooks" + "mona", + "lisa" ] } }, "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" + "will_alert", + "alert_recipients" ] } + }, + "required": [ + "id", + "budget_type", + "budget_product_sku", + "budget_scope", + "budget_amount", + "prevent_further_usage", + "budget_alerting" ] - } + }, + "description": "Array of budget objects for the enterprise" + }, + "has_next_page": { + "type": "boolean", + "description": "Indicates if there are more pages of results available (maps to hasNextPage from billing platform)" + }, + "total_count": { + "type": "integer", + "description": "Total number of budgets matching the query" } }, - "additionalProperties": false + "required": [ + "budgets" + ] }, "examples": { "default": { "value": { - "default_level": "public", - "accessible_repositories": [ + "budgets": [ { - "id": 123456, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", - "name": "example-repo", - "full_name": "octocat/example-repo", - "owner": { - "name": "octocat", - "email": "octo@github.com", - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", - "gravatar_id": 1, - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat/example-repo", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false, - "starred_at": "\"2020-07-09T00:17:55Z\"", - "user_view_type": "default" - }, - "private": false, - "html_url": "https://github.com/octocat/example-repo", - "description": "This is an example repository.", - "fork": false, - "url": "https://api.github.com/repos/octocat/example-repo", - "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", - "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", - "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", - "events_url": "https://api.github.com/repos/octocat/example-repo/events", - "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", - "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", - "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", - "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", - "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", - "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", - "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", + "budget_type": "ProductPricing", + "budget_product_skus": [ + "actions" + ], + "budget_scope": "enterprise", + "budget_amount": 1000.0, + "prevent_further_usage": true, + "budget_alerting": { + "will_alert": true, + "alert_recipients": [ + "enterprise-admin", + "billing-manager" + ] + } + }, + { + "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479", + "budget_type": "SkuPricing", + "budget_product_skus": [ + "actions_linux" + ], + "budget_scope": "organization", + "budget_amount": 500.0, + "prevent_further_usage": false, + "budget_alerting": { + "will_alert": true, + "alert_recipients": [ + "org-owner" + ] + } + }, + { + "id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8", + "budget_type": "ProductPricing", + "budget_product_skus": [ + "packages" + ], + "budget_scope": "cost_center", + "budget_amount": 250.0, + "prevent_further_usage": true, + "budget_alerting": { + "will_alert": false, + "alert_recipients": [] + } } - ] - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" + ], + "has_next_page": false, + "total_count": 3 } } } @@ -84692,97 +84654,6 @@ } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" - } - }, - "patch": { - "summary": "Updates Dependabot's repository access list for an organization", - "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", - "tags": [ - "dependabot" - ], - "operationId": "dependabot/update-repository-access-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "repository_ids_to_add": { - "type": "array", - "items": { - "type": "integer" - }, - "description": "List of repository IDs to add." - }, - "repository_ids_to_remove": { - "type": "array", - "items": { - "type": "integer" - }, - "description": "List of repository IDs to remove." - } - }, - "example": { - "repository_ids_to_add": [ - 123, - 456 - ], - "repository_ids_to_remove": [ - 789 - ] - } - }, - "examples": { - "204": { - "summary": "Example with a 'succeeded' status." - }, - "add-example": { - "summary": "Add repositories", - "value": { - "repository_ids_to_add": [ - 123, - 456 - ] - } - }, - "remove-example": { - "summary": "Remove repositories", - "value": { - "repository_ids_to_remove": [ - 789 - ] - } - } - } - } - } - }, - "responses": { - "204": { - "description": "Response" }, "403": { "description": "Forbidden", @@ -84810,8 +84681,8 @@ } } }, - "404": { - "description": "Resource not found", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { @@ -84840,22 +84711,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" + "category": "billing", + "subcategory": "budgets" } } }, - "/organizations/{org}/dependabot/repository-access/default-level": { - "put": { - "summary": "Set the default repository access level for Dependabot", - "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", + "/organizations/{org}/settings/billing/budgets/{budget_id}": { + "get": { + "summary": "Get a budget by ID for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a budget by ID. The authenticated user must be an organization admin or billing manager.", "tags": [ - "dependabot" + "billing" ], - "operationId": "dependabot/set-repository-access-default-level", + "operationId": "billing/get-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot" + "url": "https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization" }, "parameters": [ { @@ -84866,487 +84737,41 @@ "schema": { "type": "string" } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "default_level": { - "type": "string", - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal" - ], - "examples": [ - "internal" - ] - } - }, - "required": [ - "default_level" - ] - }, - "examples": { - "204": { - "summary": "Example with a 'succeeded' status.", - "value": { - "default_level": "public" - } - } - } + }, + { + "name": "budget_id", + "description": "The ID corresponding to the budget.", + "in": "path", + "required": true, + "schema": { + "type": "string" } } - }, + ], "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", + "200": { + "description": "Response when updating a budget", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", "type": "object", "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" + "id": { + "type": "string", + "description": "ID of the budget." }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" - } - } - }, - "/organizations/{org}/settings/billing/budgets": { - "get": { - "summary": "Get all budgets for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets all budgets for an organization. The authenticated user must be an organization admin or billing manager.\nEach page returns up to 10 budgets.", - "tags": [ - "billing" - ], - "operationId": "billing/get-all-budgets-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "page", - "description": "The page number of the results to fetch.", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 10).", - "in": "query", - "schema": { - "type": "integer", - "default": 10 - } - }, - { - "name": "scope", - "description": "Filter budgets by scope type.", - "in": "query", - "schema": { - "type": "string", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] - } - } - ], - "responses": { - "200": { - "description": "Response when getting all budgets", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "budgets": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier for the budget", - "examples": [ - "2066deda-923f-43f9-88d2-62395a28c0cdd" - ] - }, - "budget_type": { - "description": "The type of pricing for the budget", - "oneOf": [ - { - "type": "string", - "enum": [ - "SkuPricing" - ] - }, - { - "type": "string", - "enum": [ - "ProductPricing" - ] - } - ], - "examples": [ - "SkuPricing" - ] - }, - "budget_amount": { - "type": "integer", - "description": "The budget amount limit in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "The type of limit enforcement for the budget", - "examples": [ - true - ] - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget (enterprise, organization, repository, cost center)", - "examples": [ - "enterprise" - ] - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity for the budget (enterprise does not require a name).", - "examples": [ - "octocat/hello-world" - ] - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or sku to apply the budget to." - }, - "budget_alerting": { - "type": "object", - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget", - "examples": [ - true - ] - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts", - "examples": [ - "mona", - "lisa" - ] - } - }, - "required": [ - "will_alert", - "alert_recipients" - ] - } - }, - "required": [ - "id", - "budget_type", - "budget_product_sku", - "budget_scope", - "budget_amount", - "prevent_further_usage", - "budget_alerting" - ] - }, - "description": "Array of budget objects for the enterprise" - }, - "has_next_page": { - "type": "boolean", - "description": "Indicates if there are more pages of results available (maps to hasNextPage from billing platform)" - }, - "total_count": { - "type": "integer", - "description": "Total number of budgets matching the query" - } - }, - "required": [ - "budgets" - ] - }, - "examples": { - "default": { - "value": { - "budgets": [ - { - "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", - "budget_type": "ProductPricing", - "budget_product_skus": [ - "actions" - ], - "budget_scope": "enterprise", - "budget_amount": 1000.0, - "prevent_further_usage": true, - "budget_alerting": { - "will_alert": true, - "alert_recipients": [ - "enterprise-admin", - "billing-manager" - ] - } - }, - { - "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479", - "budget_type": "SkuPricing", - "budget_product_skus": [ - "actions_linux" - ], - "budget_scope": "organization", - "budget_amount": 500.0, - "prevent_further_usage": false, - "budget_alerting": { - "will_alert": true, - "alert_recipients": [ - "org-owner" - ] - } - }, - { - "id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8", - "budget_type": "ProductPricing", - "budget_product_skus": [ - "packages" - ], - "budget_scope": "cost_center", - "budget_amount": 250.0, - "prevent_further_usage": true, - "budget_alerting": { - "will_alert": false, - "alert_recipients": [] - } - } - ], - "has_next_page": false, - "total_count": 3 - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "budgets" - } - } - }, - "/organizations/{org}/settings/billing/budgets/{budget_id}": { - "get": { - "summary": "Get a budget by ID for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a budget by ID. The authenticated user must be an organization admin or billing manager.", - "tags": [ - "billing" - ], - "operationId": "billing/get-budget-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "budget_id", - "description": "The ID corresponding to the budget.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response when updating a budget", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "ID of the budget." - }, - "budget_scope": { - "type": "string", - "description": "The type of scope for the budget", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ], - "examples": [ - "enterprise" - ] + "budget_scope": { + "type": "string", + "description": "The type of scope for the budget", + "enum": [ + "enterprise", + "organization", + "repository", + "cost_center" + ], + "examples": [ + "enterprise" + ] }, "budget_entity_name": { "type": "string", @@ -134615,114 +134040,991 @@ { "url": "https://access.redhat.com/security/cve/cve-2021-20191" }, - { - "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1916813" - } - ], - "published_at": "2021-06-01T17:38:00Z", - "updated_at": "2021-08-12T23:06:00Z", - "withdrawn_at": null - }, - "security_vulnerability": { - "package": { - "ecosystem": "pip", - "name": "ansible" - }, - "severity": "medium", - "vulnerable_version_range": "< 2.8.19", - "first_patched_version": { - "identifier": "2.8.19" + { + "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1916813" + } + ], + "published_at": "2021-06-01T17:38:00Z", + "updated_at": "2021-08-12T23:06:00Z", + "withdrawn_at": null + }, + "security_vulnerability": { + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": "< 2.8.19", + "first_patched_version": { + "identifier": "2.8.19" + } + }, + "url": "https://api.github.com/repos/octo-org/hello-world/dependabot/alerts/1", + "html_url": "https://github.com/octo-org/hello-world/security/dependabot/1", + "created_at": "2022-06-14T15:21:52Z", + "updated_at": "2022-06-14T15:21:52Z", + "dismissed_at": null, + "dismissed_by": null, + "dismissed_reason": null, + "dismissed_comment": null, + "fixed_at": null, + "assignees": [], + "repository": { + "id": 664700648, + "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", + "name": "hello-world", + "full_name": "octo-org/hello-world", + "owner": { + "login": "octo-org", + "id": 6811672, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=", + "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/octo-org", + "html_url": "https://github.com/octo-org", + "followers_url": "https://api.github.com/users/octo-org/followers", + "following_url": "https://api.github.com/users/octo-org/following{/other_user}", + "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions", + "organizations_url": "https://api.github.com/users/octo-org/orgs", + "repos_url": "https://api.github.com/users/octo-org/repos", + "events_url": "https://api.github.com/users/octo-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/octo-org/received_events", + "type": "Organization", + "site_admin": false + }, + "private": true, + "html_url": "https://github.com/octo-org/hello-world", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/octo-org/hello-world", + "archive_url": "https://api.github.com/repos/octo-org/hello-world/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octo-org/hello-world/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octo-org/hello-world/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octo-org/hello-world/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octo-org/hello-world/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octo-org/hello-world/comments{/number}", + "commits_url": "https://api.github.com/repos/octo-org/hello-world/commits{/sha}", + "compare_url": "https://api.github.com/repos/octo-org/hello-world/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octo-org/hello-world/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octo-org/hello-world/contributors", + "deployments_url": "https://api.github.com/repos/octo-org/hello-world/deployments", + "downloads_url": "https://api.github.com/repos/octo-org/hello-world/downloads", + "events_url": "https://api.github.com/repos/octo-org/hello-world/events", + "forks_url": "https://api.github.com/repos/octo-org/hello-world/forks", + "git_commits_url": "https://api.github.com/repos/octo-org/hello-world/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octo-org/hello-world/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octo-org/hello-world/git/tags{/sha}", + "hooks_url": "https://api.github.com/repos/octo-org/hello-world/hooks", + "issue_comment_url": "https://api.github.com/repos/octo-org/hello-world/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octo-org/hello-world/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octo-org/hello-world/issues{/number}", + "keys_url": "https://api.github.com/repos/octo-org/hello-world/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octo-org/hello-world/labels{/name}", + "languages_url": "https://api.github.com/repos/octo-org/hello-world/languages", + "merges_url": "https://api.github.com/repos/octo-org/hello-world/merges", + "milestones_url": "https://api.github.com/repos/octo-org/hello-world/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octo-org/hello-world/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octo-org/hello-world/pulls{/number}", + "releases_url": "https://api.github.com/repos/octo-org/hello-world/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octo-org/hello-world/stargazers", + "statuses_url": "https://api.github.com/repos/octo-org/hello-world/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octo-org/hello-world/subscribers", + "subscription_url": "https://api.github.com/repos/octo-org/hello-world/subscription", + "tags_url": "https://api.github.com/repos/octo-org/hello-world/tags", + "teams_url": "https://api.github.com/repos/octo-org/hello-world/teams", + "trees_url": "https://api.github.com/repos/octo-org/hello-world/git/trees{/sha}" + } + } + ] + } + } + } + } + }, + "304": { + "description": "Not modified" + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error Simple", + "description": "Validation Error Simple", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "alerts" + } + } + }, + "/orgs/{org}/dependabot/repository-access": { + "get": { + "summary": "Lists the repositories Dependabot can access in an organization", + "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/repository-access-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": [ + "string", + "null" + ], + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal", + null + ], + "examples": [ + "internal" + ] + }, + "accessible_repositories": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "A unique identifier of the repository.", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "description": "The GraphQL identifier of the repository.", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "description": "The name of the repository.", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "description": "The full, globally unique, name of the repository.", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The URL to view the repository on GitHub.com.", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The repository description.", + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL to get more information about the repository from the GitHub API.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "description": "A template for the API URL to download the repository as an archive.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "description": "A template for the API URL to list the available assignees for issues in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "description": "A template for the API URL to get information about branches in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "description": "A template for the API URL to get information about collaborators of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "description": "A template for the API URL to get information about comments on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "description": "A template for the API URL to get information about commits on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "description": "A template for the API URL to compare two commits or refs.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "description": "A template for the API URL to get the contents of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "description": "A template for the API URL to list the contributors to the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the deployments of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the downloads on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the events of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the forks of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "description": "A template for the API URL to get information about Git commits of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "description": "A template for the API URL to get information about Git refs of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "description": "A template for the API URL to get information about Git tags of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "issue_comment_url": { + "type": "string", + "description": "A template for the API URL to get information about issue comments on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "description": "A template for the API URL to get information about issue events on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "description": "A template for the API URL to get information about issues on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "description": "A template for the API URL to get information about deploy keys on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "description": "A template for the API URL to get information about labels of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about the languages of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "description": "The API URL to merge branches in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "description": "A template for the API URL to get information about milestones of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "description": "A template for the API URL to get information about notifications on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "description": "A template for the API URL to get information about pull requests on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "description": "A template for the API URL to get information about releases on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the stargazers on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "description": "A template for the API URL to get information about statuses of a commit.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the subscribers on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "description": "The API URL to subscribe to notifications for this repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about tags on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the teams on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the hooks on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/hooks" + ] + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ] } - }, - "url": "https://api.github.com/repos/octo-org/hello-world/dependabot/alerts/1", - "html_url": "https://github.com/octo-org/hello-world/security/dependabot/1", - "created_at": "2022-06-14T15:21:52Z", - "updated_at": "2022-06-14T15:21:52Z", - "dismissed_at": null, - "dismissed_by": null, - "dismissed_reason": null, - "dismissed_comment": null, - "fixed_at": null, - "assignees": [], - "repository": { - "id": 664700648, - "node_id": "MDEwOlJlcG9zaXRvcnk2NjQ3MDA2NDg=", - "name": "hello-world", - "full_name": "octo-org/hello-world", + ] + } + } + }, + "additionalProperties": false + }, + "examples": { + "default": { + "value": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", "owner": { - "login": "octo-org", - "id": 6811672, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY4MTE2NzI=", - "avatar_url": "https://avatars3.githubusercontent.com/u/6811672?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/octo-org", - "html_url": "https://github.com/octo-org", - "followers_url": "https://api.github.com/users/octo-org/followers", - "following_url": "https://api.github.com/users/octo-org/following{/other_user}", - "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions", - "organizations_url": "https://api.github.com/users/octo-org/orgs", - "repos_url": "https://api.github.com/users/octo-org/repos", - "events_url": "https://api.github.com/users/octo-org/events{/privacy}", - "received_events_url": "https://api.github.com/users/octo-org/received_events", - "type": "Organization", - "site_admin": false + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" }, - "private": true, - "html_url": "https://github.com/octo-org/hello-world", - "description": null, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", "fork": false, - "url": "https://api.github.com/repos/octo-org/hello-world", - "archive_url": "https://api.github.com/repos/octo-org/hello-world/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octo-org/hello-world/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octo-org/hello-world/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octo-org/hello-world/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octo-org/hello-world/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octo-org/hello-world/comments{/number}", - "commits_url": "https://api.github.com/repos/octo-org/hello-world/commits{/sha}", - "compare_url": "https://api.github.com/repos/octo-org/hello-world/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octo-org/hello-world/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octo-org/hello-world/contributors", - "deployments_url": "https://api.github.com/repos/octo-org/hello-world/deployments", - "downloads_url": "https://api.github.com/repos/octo-org/hello-world/downloads", - "events_url": "https://api.github.com/repos/octo-org/hello-world/events", - "forks_url": "https://api.github.com/repos/octo-org/hello-world/forks", - "git_commits_url": "https://api.github.com/repos/octo-org/hello-world/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octo-org/hello-world/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octo-org/hello-world/git/tags{/sha}", - "hooks_url": "https://api.github.com/repos/octo-org/hello-world/hooks", - "issue_comment_url": "https://api.github.com/repos/octo-org/hello-world/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octo-org/hello-world/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octo-org/hello-world/issues{/number}", - "keys_url": "https://api.github.com/repos/octo-org/hello-world/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octo-org/hello-world/labels{/name}", - "languages_url": "https://api.github.com/repos/octo-org/hello-world/languages", - "merges_url": "https://api.github.com/repos/octo-org/hello-world/merges", - "milestones_url": "https://api.github.com/repos/octo-org/hello-world/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octo-org/hello-world/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octo-org/hello-world/pulls{/number}", - "releases_url": "https://api.github.com/repos/octo-org/hello-world/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octo-org/hello-world/stargazers", - "statuses_url": "https://api.github.com/repos/octo-org/hello-world/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octo-org/hello-world/subscribers", - "subscription_url": "https://api.github.com/repos/octo-org/hello-world/subscription", - "tags_url": "https://api.github.com/repos/octo-org/hello-world/tags", - "teams_url": "https://api.github.com/repos/octo-org/hello-world/teams", - "trees_url": "https://api.github.com/repos/octo-org/hello-world/git/trees{/sha}" + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" } - } - ] + ] + } } } } } }, - "304": { - "description": "Not modified" - }, - "400": { - "description": "Bad Request", + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { @@ -134744,50 +135046,125 @@ } } } - }, - "application/scim+json": { + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { "schema": { - "title": "Scim Error", - "description": "Scim Error", + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { "message": { - "type": [ - "string", - "null" - ] + "type": "string" }, "documentation_url": { - "type": [ - "string", - "null" - ] + "type": "string" }, - "detail": { - "type": [ - "string", - "null" - ] + "url": { + "type": "string" }, "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "repository-access" + } + }, + "patch": { + "summary": "Updates Dependabot's repository access list for an organization", + "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/update-repository-access-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_ids_to_add": { + "type": "array", + "items": { "type": "integer" }, - "scimType": { - "type": [ - "string", - "null" - ] + "description": "List of repository IDs to add." + }, + "repository_ids_to_remove": { + "type": "array", + "items": { + "type": "integer" }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } + "description": "List of repository IDs to remove." + } + }, + "example": { + "repository_ids_to_add": [ + 123, + 456 + ], + "repository_ids_to_remove": [ + 789 + ] + } + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status." + }, + "add-example": { + "summary": "Add repositories", + "value": { + "repository_ids_to_add": [ + 123, + 456 + ] + } + }, + "remove-example": { + "summary": "Remove repositories", + "value": { + "repository_ids_to_remove": [ + 789 + ] } } } } + } + }, + "responses": { + "204": { + "description": "Response" }, "403": { "description": "Forbidden", @@ -134840,19 +135217,111 @@ } } } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, + "/orgs/{org}/dependabot/repository-access/default-level": { + "put": { + "summary": "Set the default repository access level for Dependabot", + "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/set-repository-access-default-level", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "examples": [ + "internal" + ] + } + }, + "required": [ + "default_level" + ] + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status.", + "value": { + "default_level": "public" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { - "title": "Validation Error Simple", - "description": "Validation Error Simple", + "title": "Basic Error", + "description": "Basic Error", "type": "object", - "required": [ - "message", - "documentation_url" - ], "properties": { "message": { "type": "string" @@ -134860,11 +135329,11 @@ "documentation_url": { "type": "string" }, - "errors": { - "type": "array", - "items": { - "type": "string" - } + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -134876,7 +135345,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "dependabot", - "subcategory": "alerts" + "subcategory": "repository-access" } } }, diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index e190924f73..25099fc768 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -482,7 +482,7 @@ paths: required: false schema: type: string - - &59 + - &60 name: direction description: The direction to sort the results by. in: query @@ -721,7 +721,7 @@ paths: required: - vector_string - score - cvss_severities: &61 + cvss_severities: &62 type: - object - 'null' @@ -768,7 +768,7 @@ paths: required: - vector_string - score - epss: &62 + epss: &63 type: - object - 'null' @@ -1091,7 +1091,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &122 + schema: &123 title: Validation Error Simple description: Validation Error Simple type: object @@ -1903,7 +1903,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &121 + schema: &122 title: Validation Error description: Validation Error type: object @@ -2314,7 +2314,7 @@ paths: parameters: - *17 - *19 - - &86 + - &87 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2910,7 +2910,7 @@ paths: suspended_at: suspended_by: headers: - Link: &65 + Link: &66 example: ; rel="next", ; rel="last" schema: @@ -3108,7 +3108,7 @@ paths: - selected repositories: type: array - items: &77 + items: &78 title: Repository description: A repository on GitHub. type: object @@ -3135,7 +3135,7 @@ paths: license: anyOf: - type: 'null' - - &83 + - &84 title: License Simple description: License Simple type: object @@ -7774,7 +7774,7 @@ paths: required: true content: application/json: - schema: &134 + schema: &135 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -8486,7 +8486,7 @@ paths: description: Response content: application/json: - schema: &181 + schema: &182 type: array description: A list of default code security configurations items: @@ -8502,7 +8502,7 @@ paths: default configuration: *47 examples: - default: &182 + default: &183 value: - default_for_new_repos: public configuration: @@ -8837,7 +8837,7 @@ paths: - *38 - *49 responses: - '204': &183 + '204': &59 description: A header with no content is returned. '400': *14 '403': *27 @@ -8964,7 +8964,7 @@ paths: default: value: default_for_new_repos: all - configuration: &180 + configuration: &181 value: id: 1325 target_type: organization @@ -9072,7 +9072,7 @@ paths: - failed - updating - removed_by_enterprise - repository: &64 + repository: &65 title: Simple Repository description: A GitHub repository. type: object @@ -9681,6 +9681,211 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/policies/coding_agent": + put: + summary: Set the coding agent policy for an enterprise + description: |- + Sets the policy for Copilot coding agent usage across an enterprise. + + Enterprise owners can configure whether Copilot coding agent is enabled for all + organizations, disabled for all organizations, configured by individual organization + admins, or enabled for selected organizations only. + + Only enterprise owners can set the coding agent policy for their enterprise. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/set-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise + parameters: + - *38 + requestBody: + description: The coding agent policy configuration + required: true + content: + application/json: + schema: + type: object + properties: + policy_state: + type: string + description: The policy state for Copilot coding agent in the enterprise. + Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, + `enabled_for_selected_orgs`, or `configured_by_org_admins`. + enum: + - enabled_for_all_orgs + - disabled_for_all_orgs + - enabled_for_selected_orgs + - configured_by_org_admins + required: + - policy_state + examples: + default: + summary: Enable coding agent for all organizations + value: + policy_state: enabled_for_all_orgs + responses: + '204': *59 + '400': *14 + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management + "/enterprises/{enterprise}/copilot/policies/coding_agent/organizations": + post: + summary: Add organizations to the enterprise coding agent policy + description: |- + Enables Copilot coding agent for the specified organizations within the enterprise. + + The enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before + using this endpoint. Organizations can be specified by login or matched via custom properties. + + Only organizations that have Copilot enabled and belong to the enterprise will be affected. + + Only enterprise owners can add organizations to the coding agent policy. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/add-organizations-to-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy + parameters: + - *38 + requestBody: + description: The organizations to enable Copilot coding agent for + required: true + content: + application/json: + schema: + type: object + properties: + organizations: + type: array + description: List of organization logins within the enterprise to + enable Copilot coding agent for. + items: + type: string + custom_properties: + type: array + description: List of custom property filters to match organizations. + Organizations matching any of the specified property name/value + pairs will be included. This is a one-time operation, setting + the property on an organization in the future will not automatically + update its coding agent policy. + items: + type: object + properties: + property_name: + type: string + description: The name of the custom property to filter by. + values: + type: array + description: The values of the custom property to match. + items: + type: string + required: + - property_name + - values + examples: + default: + summary: Add organizations that match a login or have a custom property + value: + organizations: + - my-org-1 + - my-org-2 + custom_properties: + - property_name: department + values: + - engineering + - security + responses: + '204': *59 + '400': *14 + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management + delete: + summary: Remove organizations from the enterprise coding agent policy + description: |- + Disables Copilot coding agent for the specified organizations within the enterprise. + + The enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before + using this endpoint. Organizations can be specified by login or matched via custom properties. + + Only organizations that have Copilot enabled and belong to the enterprise will be affected. + + Only enterprise owners can remove organizations from the coding agent policy. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/remove-organizations-from-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy + parameters: + - *38 + requestBody: + description: The organizations to disable Copilot coding agent for + required: true + content: + application/json: + schema: + type: object + properties: + organizations: + type: array + description: List of organization logins within the enterprise to + disable Copilot coding agent for. + items: + type: string + custom_properties: + type: array + description: List of custom property filters to match organizations. + Organizations matching any of the specified property name/value + pairs will be included. This is a one-time operation, setting + the property on an organization in the future will not automatically + update its coding agent policy. + items: + type: object + properties: + property_name: + type: string + description: The name of the custom property to filter by. + values: + type: array + description: The values of the custom property to match. + items: + type: string + required: + - property_name + - values + examples: + default: + summary: Remove organizations that match a login or have a custom + property + value: + organizations: + - my-org-1 + - my-org-2 + custom_properties: + - property_name: department + values: + - engineering + - security + responses: + '204': *59 + '400': *14 + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -9803,7 +10008,7 @@ paths: - updated - epss_percentage default: created - - *59 + - *60 - *45 - *46 - *17 @@ -9818,7 +10023,7 @@ paths: type: object description: A Dependabot alert. properties: - number: &170 + number: &171 type: integer description: The security alert number. readOnly: true @@ -9836,7 +10041,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &60 + package: &61 type: object description: Details for the vulnerable package. readOnly: true @@ -9916,13 +10121,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &63 + items: &64 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *60 + package: *61 severity: type: string description: The severity of the vulnerability. @@ -9997,8 +10202,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *61 - epss: *62 + cvss_severities: *62 + epss: *63 cwes: type: array description: Details for the advisory pertaining to Common @@ -10117,30 +10322,30 @@ paths: - updated_at - withdrawn_at version: '2026-03-10' - security_vulnerability: *63 - url: &173 + security_vulnerability: *64 + url: &174 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &174 + html_url: &175 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &171 + created_at: &172 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &172 + updated_at: &173 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &176 + dismissed_at: &177 type: - string - 'null' @@ -10171,7 +10376,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &175 + fixed_at: &176 type: - string - 'null' @@ -10231,7 +10436,7 @@ paths: description: The users assigned to this alert. readOnly: true items: *4 - repository: *64 + repository: *65 required: - number - state @@ -10619,7 +10824,7 @@ paths: application/json: schema: type: array - items: &66 + items: &67 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10697,7 +10902,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *65 + Link: *66 '403': *27 x-github: githubCloudOnly: false @@ -10772,9 +10977,9 @@ paths: description: Response content: application/json: - schema: *66 + schema: *67 examples: - default: &74 + default: &75 value: id: 1 name: Justice League @@ -10803,7 +11008,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *38 - - &67 + - &68 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10822,7 +11027,7 @@ paths: type: array items: *4 examples: - default: &68 + default: &69 value: - login: octocat id: 1 @@ -10843,7 +11048,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10861,7 +11066,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *38 - - *67 + - *68 requestBody: required: true content: @@ -10892,7 +11097,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10910,7 +11115,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *38 - - *67 + - *68 requestBody: required: true content: @@ -10941,7 +11146,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10959,8 +11164,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *38 - - *67 - - &69 + - *68 + - &70 name: username description: The handle for the GitHub user account. in: path @@ -10974,7 +11179,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &70 + exampleKey1: &71 value: login: octocat id: 1 @@ -11010,8 +11215,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *38 - - *67 - - *69 + - *68 + - *70 responses: '201': description: Successfully added team member @@ -11019,7 +11224,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *70 + exampleKey1: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -11037,8 +11242,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *38 - - *67 - - *69 + - *68 + - *70 responses: '204': description: Response @@ -11060,7 +11265,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *38 - - *67 + - *68 - *17 - *19 responses: @@ -11070,7 +11275,7 @@ paths: application/json: schema: type: array - items: &71 + items: &72 title: Organization Simple description: A GitHub organization. type: object @@ -11142,7 +11347,7 @@ paths: - avatar_url - description examples: - default: &72 + default: &73 value: login: github id: 1 @@ -11173,7 +11378,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *38 - - *67 + - *68 requestBody: required: true content: @@ -11201,9 +11406,9 @@ paths: application/json: schema: type: array - items: *71 + items: *72 examples: - default: &110 + default: &111 value: - login: github id: 1 @@ -11234,7 +11439,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *38 - - *67 + - *68 requestBody: required: true content: @@ -11275,8 +11480,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *38 - - *67 - - &73 + - *68 + - &74 name: org description: The organization name. The name is not case sensitive. in: path @@ -11288,9 +11493,9 @@ paths: description: The team is assigned to the organization content: application/json: - schema: *71 + schema: *72 examples: - default: *72 + default: *73 '404': description: The team is not assigned to the organization x-github: @@ -11309,16 +11514,16 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *38 - - *67 - - *73 + - *68 + - *74 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *71 + schema: *72 examples: - default: *72 + default: *73 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -11335,8 +11540,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *38 - - *67 - - *73 + - *68 + - *74 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -11360,7 +11565,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *38 - - &75 + - &76 name: team_slug description: The slug of the team name. in: path @@ -11372,11 +11577,11 @@ paths: description: Response content: application/json: - schema: *66 + schema: *67 examples: - default: *74 + default: *75 headers: - Link: *65 + Link: *66 '403': *27 x-github: githubCloudOnly: false @@ -11394,7 +11599,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *38 - - *75 + - *76 requestBody: required: true content: @@ -11452,11 +11657,11 @@ paths: description: Response content: application/json: - schema: *66 + schema: *67 examples: - default: *74 + default: *75 headers: - Link: *65 + Link: *66 '403': *27 x-github: githubCloudOnly: false @@ -11477,7 +11682,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *38 - - *75 + - *76 responses: '204': description: Response @@ -11515,7 +11720,7 @@ paths: application/json: schema: type: array - items: &105 + items: &106 title: Event description: Event type: object @@ -11526,7 +11731,7 @@ paths: type: - string - 'null' - actor: &76 + actor: &77 title: Actor description: Actor type: object @@ -11567,7 +11772,7 @@ paths: - id - name - url - org: *76 + org: *77 payload: oneOf: - title: CreateEvent @@ -11911,7 +12116,7 @@ paths: - id labels: type: array - items: &80 + items: &81 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11994,7 +12199,7 @@ paths: properties: action: type: string - issue: &81 + issue: &82 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -12341,12 +12546,12 @@ paths: - node_id - name - description - repository: *77 + repository: *78 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &78 + author_association: &79 title: author_association type: string description: How the author is associated with the @@ -12362,7 +12567,7 @@ paths: - OWNER examples: - OWNER - reactions: &79 + reactions: &80 title: Reaction Rollup type: object properties: @@ -12422,7 +12627,7 @@ paths: pinned_comment: anyOf: - type: 'null' - - &82 + - &83 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12473,12 +12678,12 @@ paths: issue_url: type: string format: uri - author_association: *78 + author_association: *79 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *79 + reactions: *80 pin: anyOf: - type: 'null' @@ -12671,10 +12876,10 @@ paths: assignees: type: array items: *4 - label: *80 + label: *81 labels: type: array - items: *80 + items: *81 required: - action - issue @@ -12683,8 +12888,8 @@ paths: properties: action: type: string - issue: *81 - comment: *82 + issue: *82 + comment: *83 required: - action - issue @@ -12863,7 +13068,7 @@ paths: license: anyOf: - type: 'null' - - *83 + - *84 allow_forking: type: boolean is_template: @@ -12954,7 +13159,7 @@ paths: type: string number: type: integer - pull_request: &84 + pull_request: &85 title: Pull Request Minimal type: object properties: @@ -13025,10 +13230,10 @@ paths: assignees: type: array items: *4 - label: *80 + label: *81 labels: type: array - items: *80 + items: *81 required: - action - number @@ -13038,7 +13243,7 @@ paths: properties: action: type: string - pull_request: *84 + pull_request: *85 comment: type: object properties: @@ -13292,7 +13497,7 @@ paths: - pull_request updated_at: type: string - pull_request: *84 + pull_request: *85 required: - action - review @@ -13341,7 +13546,7 @@ paths: updated_at: type: string format: date-time - reactions: *79 + reactions: *80 required: - action - comment @@ -13509,7 +13714,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *79 + reactions: *80 required: - assets_url - upload_url @@ -13602,7 +13807,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': &113 + '503': &114 description: Service unavailable content: application/json: @@ -13704,7 +13909,7 @@ paths: _links: type: object properties: - timeline: &85 + timeline: &86 title: Link With Type description: Hypermedia Link with Type type: object @@ -13716,17 +13921,17 @@ paths: required: - href - type - user: *85 - security_advisories: *85 - current_user: *85 - current_user_public: *85 - current_user_actor: *85 - current_user_organization: *85 + user: *86 + security_advisories: *86 + current_user: *86 + current_user_public: *86 + current_user_actor: *86 + current_user_organization: *86 current_user_organizations: type: array - items: *85 - repository_discussions: *85 - repository_discussions_category: *85 + items: *86 + repository_discussions: *86 + repository_discussions_category: *86 required: - timeline - user @@ -13788,7 +13993,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *86 + - *87 - *17 - *19 responses: @@ -13798,7 +14003,7 @@ paths: application/json: schema: type: array - items: &87 + items: &88 title: Base Gist description: Base Gist type: object @@ -13924,7 +14129,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &88 + default: &89 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -13969,7 +14174,7 @@ paths: site_admin: false truncated: false headers: - Link: *65 + Link: *66 '304': *35 '403': *27 x-github: @@ -14048,7 +14253,7 @@ paths: description: Response content: application/json: - schema: &89 + schema: &90 title: Gist Simple description: Gist Simple type: object @@ -14448,7 +14653,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &90 + default: &91 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -14552,7 +14757,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *86 + - *87 - *17 - *19 responses: @@ -14562,11 +14767,11 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: - default: *88 + default: *89 headers: - Link: *65 + Link: *66 '422': *15 '304': *35 '403': *27 @@ -14586,7 +14791,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *86 + - *87 - *17 - *19 responses: @@ -14596,11 +14801,11 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: - default: *88 + default: *89 headers: - Link: *65 + Link: *66 '401': *23 '304': *35 '403': *27 @@ -14625,7 +14830,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &91 + - &92 name: gist_id description: The unique identifier of the gist. in: path @@ -14637,10 +14842,10 @@ paths: description: Response content: application/json: - schema: *89 + schema: *90 examples: - default: *90 - '403': &94 + default: *91 + '403': &95 description: Forbidden Gist content: application/json: @@ -14688,7 +14893,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *91 + - *92 requestBody: required: true content: @@ -14752,9 +14957,9 @@ paths: description: Response content: application/json: - schema: *89 + schema: *90 examples: - updateGist: *90 + updateGist: *91 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -14912,7 +15117,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *91 + - *92 responses: '204': description: Response @@ -14940,7 +15145,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *91 + - *92 - *17 - *19 responses: @@ -14950,7 +15155,7 @@ paths: application/json: schema: type: array - items: &92 + items: &93 title: Gist Comment description: A comment made to a gist. type: object @@ -14988,7 +15193,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *78 + author_association: *79 required: - url - id @@ -15028,7 +15233,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -15052,7 +15257,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *91 + - *92 requestBody: required: true content: @@ -15078,9 +15283,9 @@ paths: description: Response content: application/json: - schema: *92 + schema: *93 examples: - default: &93 + default: &94 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -15137,8 +15342,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *91 - - &95 + - *92 + - &96 name: comment_id description: The unique identifier of the comment. in: path @@ -15151,12 +15356,12 @@ paths: description: Response content: application/json: - schema: *92 + schema: *93 examples: - default: *93 + default: *94 '304': *35 '404': *6 - '403': *94 + '403': *95 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -15177,8 +15382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *91 - - *95 + - *92 + - *96 requestBody: required: true content: @@ -15204,9 +15409,9 @@ paths: description: Response content: application/json: - schema: *92 + schema: *93 examples: - default: *93 + default: *94 '404': *6 x-github: githubCloudOnly: false @@ -15223,8 +15428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *91 - - *95 + - *92 + - *96 responses: '204': description: Response @@ -15247,7 +15452,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *91 + - *92 - *17 - *19 responses: @@ -15348,7 +15553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *91 + - *92 - *17 - *19 responses: @@ -15358,7 +15563,7 @@ paths: application/json: schema: type: array - items: *89 + items: *90 examples: default: value: @@ -15404,7 +15609,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '404': *6 '304': *35 '403': *27 @@ -15423,13 +15628,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *91 + - *92 responses: '201': description: Response content: application/json: - schema: *87 + schema: *88 examples: default: value: @@ -15506,7 +15711,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *91 + - *92 responses: '204': description: Response if gist is starred @@ -15536,7 +15741,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *91 + - *92 responses: '204': description: Response @@ -15558,7 +15763,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *91 + - *92 responses: '204': description: Response @@ -15586,7 +15791,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *91 + - *92 - name: sha in: path required: true @@ -15597,9 +15802,9 @@ paths: description: Response content: application/json: - schema: *89 + schema: *90 examples: - default: *90 + default: *91 '422': *15 '404': *6 '403': *27 @@ -15762,7 +15967,7 @@ paths: type: array items: allOf: - - *77 + - *78 repository_selection: type: string examples: @@ -15886,7 +16091,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *65 + Link: *66 '403': *27 '304': *35 '401': *23 @@ -15988,8 +16193,8 @@ paths: - updated - comments default: created - - *59 - - *86 + - *60 + - *87 - name: collab in: query required: false @@ -16019,7 +16224,7 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: &234 value: @@ -16266,7 +16471,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *65 + Link: *66 '422': *15 '304': *35 '404': *6 @@ -16301,7 +16506,7 @@ paths: application/json: schema: type: array - items: *83 + items: *84 examples: default: value: @@ -16599,7 +16804,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &96 + X-CommonMarker-Version: &97 example: 0.17.4 schema: type: string @@ -16654,7 +16859,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *96 + X-CommonMarker-Version: *97 content: text/html: schema: @@ -16683,7 +16888,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &99 + - &100 name: account_id description: account_id parameter in: path @@ -16695,7 +16900,7 @@ paths: description: Response content: application/json: - schema: &98 + schema: &99 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -16729,7 +16934,7 @@ paths: - 'null' id: type: integer - plan: &97 + plan: &98 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -16832,7 +17037,7 @@ paths: - 'null' updated_at: type: string - plan: *97 + plan: *98 required: - url - id @@ -16840,7 +17045,7 @@ paths: - login - marketplace_purchase examples: - default: &100 + default: &101 value: url: https://api.github.com/orgs/github type: Organization @@ -16925,9 +17130,9 @@ paths: application/json: schema: type: array - items: *97 + items: *98 examples: - default: &101 + default: &102 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -16945,7 +17150,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *65 + Link: *66 '404': *6 '401': *23 x-github: @@ -16967,14 +17172,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &102 + - &103 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &103 + - &104 name: sort description: The property to sort the results by. in: query @@ -17004,9 +17209,9 @@ paths: application/json: schema: type: array - items: *98 + items: *99 examples: - default: &104 + default: &105 value: - url: https://api.github.com/orgs/github type: Organization @@ -17057,7 +17262,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *65 + Link: *66 '404': *6 '422': *15 '401': *23 @@ -17080,15 +17285,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *99 + - *100 responses: '200': description: Response content: application/json: - schema: *98 + schema: *99 examples: - default: *100 + default: *101 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -17120,11 +17325,11 @@ paths: application/json: schema: type: array - items: *97 + items: *98 examples: - default: *101 + default: *102 headers: - Link: *65 + Link: *66 '401': *23 x-github: githubCloudOnly: false @@ -17145,8 +17350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *102 - *103 + - *104 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -17166,11 +17371,11 @@ paths: application/json: schema: type: array - items: *98 + items: *99 examples: - default: *104 + default: *105 headers: - Link: *65 + Link: *66 '401': *23 x-github: githubCloudOnly: false @@ -17457,7 +17662,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: default: value: @@ -17541,7 +17746,7 @@ paths: schema: type: boolean default: false - - *86 + - *87 - &557 name: before description: 'Only show notifications updated before the given time. This @@ -17567,14 +17772,14 @@ paths: application/json: schema: type: array - items: &106 + items: &107 title: Thread description: Thread type: object properties: id: type: string - repository: &152 + repository: &153 title: Minimal Repository description: Minimal Repository type: object @@ -18223,7 +18428,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -18307,7 +18512,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &107 + - &108 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -18321,7 +18526,7 @@ paths: description: Response content: application/json: - schema: *106 + schema: *107 examples: default: value: @@ -18423,7 +18628,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *107 + - *108 responses: '205': description: Reset Content @@ -18445,7 +18650,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *107 + - *108 responses: '204': description: No content @@ -18468,13 +18673,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *107 + - *108 responses: '200': description: Response content: application/json: - schema: &108 + schema: &109 title: Thread Subscription description: Thread Subscription type: object @@ -18518,7 +18723,7 @@ paths: - url - subscribed examples: - default: &109 + default: &110 value: subscribed: true ignored: false @@ -18549,7 +18754,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *107 + - *108 requestBody: required: false content: @@ -18570,9 +18775,9 @@ paths: description: Response content: application/json: - schema: *108 + schema: *109 examples: - default: *109 + default: *110 '304': *35 '403': *27 '401': *23 @@ -18595,7 +18800,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *107 + - *108 responses: '204': description: Response @@ -18690,9 +18895,9 @@ paths: application/json: schema: type: array - items: *71 + items: *72 examples: - default: *110 + default: *111 headers: Link: example: ; rel="next" @@ -18719,13 +18924,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response content: application/json: - schema: &111 + schema: &112 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -18759,12 +18964,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: application/json: - schema: *111 + schema: *112 examples: selected_actions: *40 responses: @@ -18793,13 +18998,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response content: application/json: - schema: &112 + schema: &113 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -18833,12 +19038,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: application/json: - schema: *112 + schema: *113 examples: selected_actions: *42 responses: @@ -18852,272 +19057,6 @@ paths: enabledForGitHubApps: true category: actions subcategory: cache - "/organizations/{org}/dependabot/repository-access": - get: - summary: Lists the repositories Dependabot can access in an organization - description: |- - Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. - Unauthorized users will not see the existence of this endpoint. - tags: - - dependabot - operationId: dependabot/repository-access-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization - parameters: - - *73 - - name: page - in: query - description: The page number of results to fetch. - required: false - schema: - type: integer - minimum: 1 - default: 1 - - name: per_page - in: query - description: Number of results per page. - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - responses: - '200': - description: Response - content: - application/json: - schema: - title: Dependabot Repository Access Details - description: Information about repositories that Dependabot is able - to access in an organization - type: object - properties: - default_level: - type: - - string - - 'null' - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - - - examples: - - internal - accessible_repositories: - type: array - items: - anyOf: - - type: 'null' - - *64 - additionalProperties: false - examples: - default: - value: - default_level: public - accessible_repositories: - - id: 123456 - node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= - name: example-repo - full_name: octocat/example-repo - owner: - name: octocat - email: octo@github.com - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://avatars.githubusercontent.com/u/1?v=4 - gravatar_id: 1 - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat/example-repo - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - starred_at: '"2020-07-09T00:17:55Z"' - user_view_type: default - private: false - html_url: https://github.com/octocat/example-repo - description: This is an example repository. - fork: false - url: https://api.github.com/repos/octocat/example-repo - archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} - commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} - compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/example-repo/contributors - deployments_url: https://api.github.com/repos/octocat/example-repo/deployments - downloads_url: https://api.github.com/repos/octocat/example-repo/downloads - events_url: https://api.github.com/repos/octocat/example-repo/events - forks_url: https://api.github.com/repos/octocat/example-repo/forks - git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} - keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} - languages_url: https://api.github.com/repos/octocat/example-repo/languages - merges_url: https://api.github.com/repos/octocat/example-repo/merges - milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} - releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers - statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers - subscription_url: https://api.github.com/repos/octocat/example-repo/subscription - tags_url: https://api.github.com/repos/octocat/example-repo/tags - teams_url: https://api.github.com/repos/octocat/example-repo/teams - trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/example-repo/hooks - '403': *27 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access - patch: - summary: Updates Dependabot's repository access list for an organization - description: |- - Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. - - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. - Unauthorized users will not see the existence of this endpoint. - - **Example request body:** - ```json - { - "repository_ids_to_add": [123, 456], - "repository_ids_to_remove": [789] - } - ``` - tags: - - dependabot - operationId: dependabot/update-repository-access-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization - parameters: - - *73 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - repository_ids_to_add: - type: array - items: - type: integer - description: List of repository IDs to add. - repository_ids_to_remove: - type: array - items: - type: integer - description: List of repository IDs to remove. - example: - repository_ids_to_add: - - 123 - - 456 - repository_ids_to_remove: - - 789 - examples: - '204': - summary: Example with a 'succeeded' status. - add-example: - summary: Add repositories - value: - repository_ids_to_add: - - 123 - - 456 - remove-example: - summary: Remove repositories - value: - repository_ids_to_remove: - - 789 - responses: - '204': - description: Response - '403': *27 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access - "/organizations/{org}/dependabot/repository-access/default-level": - put: - summary: Set the default repository access level for Dependabot - description: |- - Sets the default level of repository access Dependabot will have while performing an update. Available values are: - - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. - - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. - - Unauthorized users will not see the existence of this endpoint. - - This operation supports both server-to-server and user-to-server access. - tags: - - dependabot - operationId: dependabot/set-repository-access-default-level - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot - parameters: - - *73 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - default_level: - type: string - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - examples: - - internal - required: - - default_level - examples: - '204': - summary: Example with a 'succeeded' status. - value: - default_level: public - responses: - '204': - description: Response - '403': *27 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access "/organizations/{org}/settings/billing/budgets": get: summary: Get all budgets for an organization @@ -19134,7 +19073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - - *73 + - *74 - name: page description: The page number of the results to fetch. in: query @@ -19312,8 +19251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - - *73 - - &114 + - *74 + - &115 name: budget_id description: The ID corresponding to the budget. in: path @@ -19416,7 +19355,7 @@ paths: '404': *6 '403': *27 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19436,8 +19375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - - *73 - - *114 + - *74 + - *115 requestBody: required: true content: @@ -19629,8 +19568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - - *73 - - *114 + - *74 + - *115 responses: '200': description: Response when deleting a budget @@ -19657,7 +19596,7 @@ paths: '404': *6 '403': *27 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19677,8 +19616,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - - *73 - - &115 + - *74 + - &116 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -19687,7 +19626,7 @@ paths: required: false schema: type: integer - - &117 + - &118 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -19696,7 +19635,7 @@ paths: required: false schema: type: integer - - &116 + - &117 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -19718,7 +19657,7 @@ paths: required: false schema: type: string - - &118 + - &119 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -19835,7 +19774,7 @@ paths: '403': *27 '404': *6 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19855,8 +19794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - - *73 - - *115 + - *74 + - *116 - &706 name: month description: If specified, only return results for a single month. The value @@ -19866,7 +19805,7 @@ paths: required: false schema: type: integer - - *116 + - *117 responses: '200': description: Billing usage report response for an organization @@ -19942,7 +19881,7 @@ paths: '400': *14 '403': *27 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19965,10 +19904,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - - *73 - - *115 - - *117 + - *74 - *116 + - *118 + - *117 - &707 name: repository description: The repository name to query for usage in the format owner/repository. @@ -19976,7 +19915,7 @@ paths: required: false schema: type: string - - *118 + - *119 - &708 name: sku description: The SKU to query for usage. @@ -20088,7 +20027,7 @@ paths: '400': *14 '403': *27 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20114,13 +20053,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *73 + - *74 responses: '200': description: Response content: application/json: - schema: &119 + schema: &120 title: Organization Full description: Organization Full type: object @@ -20521,7 +20460,7 @@ paths: path: "/properties/secret_scanning_push_protection_custom_link_enabled" version: '2026-03-10' examples: - default-response: &120 + default-response: &121 value: login: github id: 1 @@ -20627,7 +20566,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *73 + - *74 requestBody: required: false content: @@ -20844,17 +20783,17 @@ paths: description: Response content: application/json: - schema: *119 + schema: *120 examples: - default: *120 + default: *121 '422': description: Validation failed content: application/json: schema: oneOf: - - *121 - *122 + - *123 '409': *52 x-github: githubCloudOnly: false @@ -20888,7 +20827,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *73 + - *74 responses: '202': *37 '404': *6 @@ -20919,7 +20858,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -20945,7 +20884,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20966,7 +20905,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -21022,7 +20961,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21042,7 +20981,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -21060,7 +20999,7 @@ paths: type: integer runners: type: array - items: &123 + items: &124 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -21123,7 +21062,7 @@ paths: - size_gb - display_name - source - machine_size_details: &131 + machine_size_details: &132 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -21232,7 +21171,7 @@ paths: - public_ip_enabled - platform examples: - default: &151 + default: &152 value: total_count: 2 runners: @@ -21274,7 +21213,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21292,7 +21231,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -21370,9 +21309,9 @@ paths: description: Response content: application/json: - schema: *123 + schema: *124 examples: - default: &132 + default: &133 value: id: 5 name: My hosted ubuntu runner @@ -21413,7 +21352,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -21429,7 +21368,7 @@ paths: type: integer images: type: array - items: &124 + items: &125 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -21488,7 +21427,7 @@ paths: - latest_version - state examples: - default: &126 + default: &127 value: total_count: 2 image_versions: @@ -21519,8 +21458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-custom-image-definition-for-github-actions-hosted-runners parameters: - - *73 - - &125 + - *74 + - &126 name: image_definition_id description: Image definition ID of custom image in: path @@ -21532,7 +21471,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *125 examples: default: value: @@ -21562,8 +21501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *73 - - *125 + - *74 + - *126 responses: '204': description: Response @@ -21586,8 +21525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-image-versions-of-a-custom-image-for-an-organization parameters: - - *125 - - *73 + - *126 + - *74 responses: '200': description: Response @@ -21603,7 +21542,7 @@ paths: type: integer image_versions: type: array - items: &127 + items: &128 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -21641,7 +21580,7 @@ paths: - created_on - state_details examples: - default: *126 + default: *127 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21661,9 +21600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-an-image-version-of-a-custom-image-for-github-actions-hosted-runners parameters: - - *73 - - *125 - - &128 + - *74 + - *126 + - &129 name: version description: Version of a custom image in: path @@ -21676,7 +21615,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *128 examples: default: value: @@ -21702,9 +21641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-an-image-version-of-custom-image-from-the-organization parameters: - - *73 - - *125 - - *128 + - *74 + - *126 + - *129 responses: '204': description: Response @@ -21725,7 +21664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -21741,7 +21680,7 @@ paths: type: integer images: type: array - items: &129 + items: &130 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -21781,7 +21720,7 @@ paths: - display_name - source examples: - default: &130 + default: &131 value: id: ubuntu-20.04 platform: linux-x64 @@ -21805,7 +21744,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -21821,9 +21760,9 @@ paths: type: integer images: type: array - items: *129 + items: *130 examples: - default: *130 + default: *131 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21840,7 +21779,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -21895,7 +21834,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -21911,7 +21850,7 @@ paths: type: integer machine_specs: type: array - items: *131 + items: *132 examples: default: value: @@ -21936,7 +21875,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -21980,8 +21919,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *73 - - &133 + - *74 + - &134 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -21993,11 +21932,11 @@ paths: description: Response content: application/json: - schema: *123 + schema: *124 examples: - default: *132 + default: *133 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22015,8 +21954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *73 - - *133 + - *74 + - *134 requestBody: required: true content: @@ -22069,9 +22008,9 @@ paths: description: Response content: application/json: - schema: *123 + schema: *124 examples: - default: *132 + default: *133 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22087,16 +22026,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *73 - - *133 + - *74 + - *134 responses: '202': description: Response content: application/json: - schema: *123 + schema: *124 examples: - default: *132 + default: *133 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22116,7 +22055,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization parameters: - - *73 + - *74 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -22149,12 +22088,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: application/json: - schema: *134 + schema: *135 examples: default: *44 responses: @@ -22188,7 +22127,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *73 + - *74 - name: custom_property_name in: path required: true @@ -22221,7 +22160,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *73 + - *74 responses: '200': description: A JSON serialized template for OIDC subject claim customization @@ -22241,7 +22180,7 @@ paths: required: - include_claim_keys examples: - default: &135 + default: &136 value: include_claim_keys: - repo @@ -22263,7 +22202,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -22280,13 +22219,13 @@ paths: items: type: string examples: - default: *135 + default: *136 responses: '201': description: Empty response content: application/json: - schema: &161 + schema: &162 title: Empty Object description: An object without any properties. type: object @@ -22316,7 +22255,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -22325,7 +22264,7 @@ paths: schema: type: object properties: - enabled_repositories: &136 + enabled_repositories: &137 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -22338,7 +22277,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &137 + allowed_actions: &138 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -22351,7 +22290,7 @@ paths: description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &138 + sha_pinning_required: &139 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -22382,7 +22321,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *73 + - *74 responses: '204': description: Response @@ -22393,9 +22332,9 @@ paths: schema: type: object properties: - enabled_repositories: *136 - allowed_actions: *137 - sha_pinning_required: *138 + enabled_repositories: *137 + allowed_actions: *138 + sha_pinning_required: *139 required: - enabled_repositories examples: @@ -22423,7 +22362,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -22466,7 +22405,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -22508,13 +22447,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response content: application/json: - schema: &139 + schema: &140 type: object properties: approval_policy: @@ -22549,7 +22488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *73 + - *74 responses: '204': description: Response @@ -22559,7 +22498,7 @@ paths: required: true content: application/json: - schema: *139 + schema: *140 examples: default: summary: Set approval policy to first time contributors @@ -22581,7 +22520,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -22613,7 +22552,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &140 + default: &141 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -22636,7 +22575,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -22664,7 +22603,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *140 + default: *141 responses: '204': description: Empty response for successful settings update @@ -22694,7 +22633,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -22712,9 +22651,9 @@ paths: type: number repositories: type: array - items: *77 + items: *78 examples: - default: &144 + default: &145 value: total_count: 1 repositories: @@ -22854,7 +22793,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *73 + - *74 responses: '204': description: Response @@ -22898,8 +22837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *73 - - &141 + - *74 + - &142 name: repository_id description: The unique identifier of the repository. in: path @@ -22927,8 +22866,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *73 - - *141 + - *74 + - *142 responses: '204': description: Response @@ -22951,13 +22890,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response content: application/json: - schema: &142 + schema: &143 type: object properties: github_owned_allowed: @@ -22979,7 +22918,7 @@ paths: items: type: string examples: - default: &143 + default: &144 value: github_owned_allowed: true verified_allowed: false @@ -23004,7 +22943,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *73 + - *74 responses: '204': description: Response @@ -23012,9 +22951,9 @@ paths: required: false content: application/json: - schema: *142 + schema: *143 examples: - selected_actions: *143 + selected_actions: *144 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -23034,7 +22973,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -23082,7 +23021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -23129,7 +23068,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -23144,9 +23083,9 @@ paths: type: integer repositories: type: array - items: *77 + items: *78 examples: - default: *144 + default: *145 '403': *27 '404': *6 x-github: @@ -23166,7 +23105,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -23214,8 +23153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *73 - - *141 + - *74 + - *142 responses: '204': description: No content @@ -23241,8 +23180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *73 - - *141 + - *74 + - *142 responses: '204': description: No content @@ -23270,7 +23209,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -23279,14 +23218,14 @@ paths: schema: &351 type: object properties: - default_workflow_permissions: &145 + default_workflow_permissions: &146 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &146 + can_approve_pull_request_reviews: &147 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -23294,7 +23233,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &147 + default: &148 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -23319,7 +23258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *73 + - *74 responses: '204': description: Success response @@ -23330,10 +23269,10 @@ paths: schema: &352 type: object properties: - default_workflow_permissions: *145 - can_approve_pull_request_reviews: *146 + default_workflow_permissions: *146 + can_approve_pull_request_reviews: *147 examples: - default: *147 + default: *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23353,7 +23292,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *73 + - *74 - *17 - *19 - name: visible_to_repository @@ -23378,7 +23317,7 @@ paths: type: number runner_groups: type: array - items: &148 + items: &149 type: object properties: id: @@ -23495,7 +23434,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -23568,9 +23507,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *149 examples: - default: &150 + default: &151 value: id: 2 name: octo-runner-group @@ -23605,8 +23544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *73 - - &149 + - *74 + - &150 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -23618,7 +23557,7 @@ paths: description: Response content: application/json: - schema: *148 + schema: *149 examples: default: value: @@ -23654,8 +23593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *73 - - *149 + - *74 + - *150 requestBody: required: true content: @@ -23711,9 +23650,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *149 examples: - default: *150 + default: *151 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -23732,8 +23671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *73 - - *149 + - *74 + - *150 responses: '204': description: Response @@ -23756,8 +23695,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *73 - - *149 + - *74 + - *150 - *17 - *19 responses: @@ -23775,11 +23714,11 @@ paths: type: number runners: type: array - items: *123 + items: *124 examples: - default: *151 + default: *152 headers: - Link: *65 + Link: *66 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -23799,8 +23738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *73 - - *149 + - *74 + - *150 - *19 - *17 responses: @@ -23818,7 +23757,7 @@ paths: type: number repositories: type: array - items: *152 + items: *153 examples: default: &188 value: @@ -24072,8 +24011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *73 - - *149 + - *74 + - *150 requestBody: required: true content: @@ -24117,9 +24056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *73 - - *149 - - *141 + - *74 + - *150 + - *142 responses: '204': description: Response @@ -24141,9 +24080,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *73 - - *149 - - *141 + - *74 + - *150 + - *142 responses: '204': description: Response @@ -24166,8 +24105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *73 - - *149 + - *74 + - *150 - *17 - *19 responses: @@ -24185,7 +24124,7 @@ paths: type: number runners: type: array - items: &154 + items: &155 title: Self hosted runners description: A self hosted runner type: object @@ -24219,7 +24158,7 @@ paths: type: boolean labels: type: array - items: &157 + items: &158 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -24249,7 +24188,7 @@ paths: - busy - labels examples: - default: &155 + default: &156 value: total_count: 2 runners: @@ -24289,7 +24228,7 @@ paths: name: no-gpu type: custom headers: - Link: *65 + Link: *66 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -24308,8 +24247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *73 - - *149 + - *74 + - *150 requestBody: required: true content: @@ -24353,9 +24292,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *73 - - *149 - - &153 + - *74 + - *150 + - &154 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -24383,9 +24322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *73 - - *149 - - *153 + - *74 + - *150 + - *154 responses: '204': description: Response @@ -24415,7 +24354,7 @@ paths: in: query schema: type: string - - *73 + - *74 - *17 - *19 responses: @@ -24433,11 +24372,11 @@ paths: type: integer runners: type: array - items: *154 + items: *155 examples: - default: *155 + default: *156 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24459,7 +24398,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -24535,7 +24474,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -24588,7 +24527,7 @@ paths: - runner - encoded_jit_config properties: - runner: *154 + runner: *155 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -24645,13 +24584,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *73 + - *74 responses: '201': description: Response content: application/json: - schema: &156 + schema: &157 title: Authentication Token description: Authentication Token type: object @@ -24675,7 +24614,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *77 + items: *78 single_file: type: - string @@ -24724,13 +24663,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *73 + - *74 responses: '201': description: Response content: application/json: - schema: *156 + schema: *157 examples: default: &357 value: @@ -24757,14 +24696,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *73 - - *153 + - *74 + - *154 responses: '200': description: Response content: application/json: - schema: *154 + schema: *155 examples: default: &358 value: @@ -24807,8 +24746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *73 - - *153 + - *74 + - *154 responses: '204': description: Response @@ -24834,10 +24773,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *73 - - *153 + - *74 + - *154 responses: - '200': &158 + '200': &159 description: Response content: application/json: @@ -24851,7 +24790,7 @@ paths: type: integer labels: type: array - items: *157 + items: *158 examples: default: value: @@ -24890,8 +24829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *73 - - *153 + - *74 + - *154 requestBody: required: true content: @@ -24915,7 +24854,7 @@ paths: - gpu - accelerated responses: - '200': *158 + '200': *159 '404': *6 '422': *7 x-github: @@ -24939,8 +24878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *73 - - *153 + - *74 + - *154 requestBody: required: true content: @@ -24965,7 +24904,7 @@ paths: - gpu - accelerated responses: - '200': *158 + '200': *159 '404': *6 '422': *7 x-github: @@ -24989,8 +24928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *73 - - *153 + - *74 + - *154 responses: '200': &359 description: Response @@ -25006,7 +24945,7 @@ paths: type: integer labels: type: array - items: *157 + items: *158 examples: default: value: @@ -25047,8 +24986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *73 - - *153 + - *74 + - *154 - &360 name: name description: The name of a self-hosted runner's custom label. @@ -25057,7 +24996,7 @@ paths: schema: type: string responses: - '200': *158 + '200': *159 '404': *6 '422': *7 x-github: @@ -25082,7 +25021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *73 + - *74 - *17 - *19 responses: @@ -25100,7 +25039,7 @@ paths: type: integer secrets: type: array - items: &159 + items: &160 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -25152,7 +25091,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25175,7 +25114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *73 + - *74 responses: '200': description: Response @@ -25241,8 +25180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *73 - - &160 + - *74 + - &161 name: secret_name description: The name of the secret. in: path @@ -25254,7 +25193,7 @@ paths: description: Response content: application/json: - schema: *159 + schema: *160 examples: default: value: @@ -25284,8 +25223,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 requestBody: required: true content: @@ -25342,7 +25281,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -25368,8 +25307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 responses: '204': description: Response @@ -25395,8 +25334,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - *19 - *17 responses: @@ -25414,9 +25353,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *153 examples: - default: &164 + default: &165 value: total_count: 1 repositories: @@ -25508,8 +25447,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 requestBody: required: true content: @@ -25561,8 +25500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - name: repository_id in: path required: true @@ -25595,8 +25534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - name: repository_id in: path required: true @@ -25628,7 +25567,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *73 + - *74 - &341 name: per_page description: The number of results per page (max 30). For more information, @@ -25653,7 +25592,7 @@ paths: type: integer variables: type: array - items: &162 + items: &163 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -25722,7 +25661,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25743,7 +25682,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *73 + - *74 requestBody: required: true content: @@ -25791,7 +25730,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -25816,8 +25755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *73 - - &163 + - *74 + - &164 name: name description: The name of the variable. in: path @@ -25829,7 +25768,7 @@ paths: description: Response content: application/json: - schema: *162 + schema: *163 examples: default: value: @@ -25859,8 +25798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *73 - - *163 + - *74 + - *164 requestBody: required: true content: @@ -25922,8 +25861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *73 - - *163 + - *74 + - *164 responses: '204': description: Response @@ -25949,8 +25888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *73 - - *163 + - *74 + - *164 - *19 - *17 responses: @@ -25968,9 +25907,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *153 examples: - default: *164 + default: *165 '409': description: Response when the visibility of the variable is not set to `selected` @@ -25996,8 +25935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *73 - - *163 + - *74 + - *164 requestBody: required: true content: @@ -26046,8 +25985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *73 - - *163 + - *74 + - *164 - name: repository_id in: path required: true @@ -26081,8 +26020,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *73 - - *163 + - *74 + - *164 - name: repository_id in: path required: true @@ -26123,7 +26062,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *73 + - *74 requestBody: required: true content: @@ -26249,7 +26188,7 @@ paths: type: integer deployment_records: type: array - items: &165 + items: &166 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -26296,7 +26235,7 @@ paths: required: - total_count examples: - default: &166 + default: &167 value: total_count: 1 deployment_records: @@ -26333,7 +26272,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *73 + - *74 - name: cluster in: path description: The cluster name. @@ -26478,11 +26417,11 @@ paths: type: integer deployment_records: type: array - items: *165 + items: *166 required: - total_count examples: - default: *166 + default: *167 '403': description: Forbidden content: @@ -26529,7 +26468,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *73 + - *74 requestBody: required: true content: @@ -26704,7 +26643,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *73 + - *74 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -26730,9 +26669,9 @@ paths: - 3 deployment_records: type: array - items: *165 + items: *166 examples: - default: *166 + default: *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26752,7 +26691,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *73 + - *74 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -26838,7 +26777,7 @@ paths: - *17 - *45 - *46 - - *73 + - *74 requestBody: required: true content: @@ -27050,7 +26989,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *73 + - *74 requestBody: required: true content: @@ -27115,7 +27054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *73 + - *74 - name: subject_digest description: Subject Digest in: path @@ -27150,7 +27089,7 @@ paths: - *17 - *45 - *46 - - *73 + - *74 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -27198,7 +27137,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *73 + - *74 - name: attestation_id description: Attestation ID in: path @@ -27236,7 +27175,7 @@ paths: - *17 - *45 - *46 - - *73 + - *74 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -27413,7 +27352,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -27425,7 +27364,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27444,8 +27383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: If the user is blocked @@ -27470,8 +27409,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -27491,8 +27430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -27517,15 +27456,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *73 + - *74 - *19 - *17 - - *59 + - *60 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &167 + schema: &168 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -27551,7 +27490,7 @@ paths: application/json: schema: type: array - items: &168 + items: &169 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -27795,7 +27734,7 @@ paths: - string - 'null' format: date-time - state: *167 + state: *168 contact_link: description: The contact link of the campaign. type: @@ -27891,9 +27830,9 @@ paths: closed_at: state: open headers: - Link: *65 + Link: *66 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27917,7 +27856,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -28018,9 +27957,9 @@ paths: description: Response content: application/json: - schema: *168 + schema: *169 examples: - default: &169 + default: &170 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -28069,7 +28008,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28091,7 +28030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *73 + - *74 - name: campaign_number description: The campaign number. in: path @@ -28103,16 +28042,16 @@ paths: description: Response content: application/json: - schema: *168 + schema: *169 examples: - default: *169 + default: *170 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28133,7 +28072,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *73 + - *74 - name: campaign_number description: The campaign number. in: path @@ -28183,7 +28122,7 @@ paths: - string - 'null' format: uri - state: *167 + state: *168 examples: default: value: @@ -28193,9 +28132,9 @@ paths: description: Response content: application/json: - schema: *168 + schema: *169 examples: - default: *169 + default: *170 '400': description: Bad Request content: @@ -28207,7 +28146,7 @@ paths: content: application/json: schema: *3 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28228,7 +28167,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *73 + - *74 - name: campaign_number description: The campaign number. in: path @@ -28239,7 +28178,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28261,7 +28200,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *73 + - *74 - &410 name: tool_name description: The name of a code scanning tool. Only results by this tool will @@ -28269,7 +28208,7 @@ paths: but not both. in: query required: false - schema: &177 + schema: &178 type: string description: The name of the tool used to generate the code scanning analysis. - &411 @@ -28280,7 +28219,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &178 + schema: &179 type: - string - 'null' @@ -28290,7 +28229,7 @@ paths: - *46 - *19 - *17 - - *59 + - *60 - name: state description: If specified, only code scanning alerts with this state will be returned. @@ -28348,18 +28287,18 @@ paths: items: type: object properties: - number: *170 - created_at: *171 - updated_at: *172 - url: *173 - html_url: *174 + number: *171 + created_at: *172 + updated_at: *173 + url: *174 + html_url: *175 instances_url: &415 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &179 + state: &180 type: - string - 'null' @@ -28369,12 +28308,12 @@ paths: - dismissed - fixed - - fixed_at: *175 + fixed_at: *176 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *176 + dismissed_at: *177 dismissed_reason: &416 type: - string @@ -28457,14 +28396,14 @@ paths: tool: &419 type: object properties: - name: *177 + name: *178 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *178 + guid: *179 most_recent_instance: &420 type: object properties: @@ -28490,7 +28429,7 @@ paths: analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *179 + state: *180 commit_sha: type: string message: @@ -28537,7 +28476,7 @@ paths: - test - library - - repository: *64 + repository: *65 dismissal_approved_by: anyOf: - type: 'null' @@ -28789,9 +28728,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *65 + Link: *66 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28813,7 +28752,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *73 + - *74 - name: target_type in: query description: The target type of the code security configuration @@ -28919,7 +28858,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *73 + - *74 requestBody: required: true content: @@ -29163,7 +29102,7 @@ paths: application/json: schema: *47 examples: - default: *180 + default: *181 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29185,15 +29124,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *73 + - *74 responses: '200': description: Response content: application/json: - schema: *181 + schema: *182 examples: - default: *182 + default: *183 '304': *35 '403': *27 '404': *6 @@ -29219,7 +29158,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *73 + - *74 requestBody: required: true content: @@ -29245,7 +29184,7 @@ paths: - 32 - 91 responses: - '204': *183 + '204': *59 '400': *14 '403': *27 '404': *6 @@ -29271,7 +29210,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *73 + - *74 - *49 responses: '200': @@ -29280,7 +29219,7 @@ paths: application/json: schema: *47 examples: - default: *180 + default: *181 '304': *35 '403': *27 '404': *6 @@ -29304,7 +29243,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *73 + - *74 - *49 requestBody: required: true @@ -29584,10 +29523,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *73 + - *74 - *49 responses: - '204': *183 + '204': *59 '400': *14 '403': *27 '404': *6 @@ -29615,7 +29554,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *73 + - *74 - *49 requestBody: required: true @@ -29679,7 +29618,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *73 + - *74 - *49 requestBody: required: true @@ -29725,7 +29664,7 @@ paths: default: value: default_for_new_repos: all - configuration: *180 + configuration: *181 '403': *27 '404': *6 x-github: @@ -29749,7 +29688,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *73 + - *74 - *49 - name: per_page description: The number of results per page (max 100). For more information, @@ -29808,7 +29747,7 @@ paths: parameters: - *17 - *19 - - *73 + - *74 responses: '200': description: Response @@ -29855,7 +29794,7 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *152 + repository: *153 machine: anyOf: - type: 'null' @@ -30578,7 +30517,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *73 + - *74 deprecated: true requestBody: required: true @@ -30645,7 +30584,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *73 + - *74 deprecated: true requestBody: required: true @@ -30700,7 +30639,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *73 + - *74 requestBody: required: true content: @@ -30752,7 +30691,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *73 + - *74 - *17 - *19 responses: @@ -30824,7 +30763,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30843,7 +30782,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *73 + - *74 responses: '200': description: Response @@ -30907,8 +30846,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 responses: '200': description: Response @@ -30923,7 +30862,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30943,8 +30882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 requestBody: required: true content: @@ -30999,7 +30938,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -31025,8 +30964,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 responses: '204': description: Response @@ -31051,8 +30990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - *19 - *17 responses: @@ -31070,9 +31009,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *153 examples: - default: *164 + default: *165 '404': *6 x-github: githubCloudOnly: false @@ -31094,8 +31033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 requestBody: required: true content: @@ -31145,8 +31084,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - name: repository_id in: path required: true @@ -31179,8 +31118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - name: repository_id in: path required: true @@ -31219,7 +31158,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *73 + - *74 responses: '200': description: OK @@ -31360,7 +31299,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *73 + - *74 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -31396,13 +31335,13 @@ paths: organization: anyOf: - type: 'null' - - *71 + - *72 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - *187 - - *66 + - *67 type: - 'null' - object @@ -31532,7 +31471,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '500': *53 '401': *23 '403': *27 @@ -31566,7 +31505,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *73 + - *74 requestBody: content: application/json: @@ -31644,7 +31583,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *73 + - *74 requestBody: content: application/json: @@ -31724,7 +31663,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *73 + - *74 requestBody: content: application/json: @@ -31801,7 +31740,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *73 + - *74 requestBody: content: application/json: @@ -31879,7 +31818,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#get-copilot-coding-agent-permissions-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -31944,7 +31883,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-copilot-coding-agent-permissions-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -31999,7 +31938,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#list-repositories-enabled-for-copilot-coding-agent-in-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -32014,7 +31953,7 @@ paths: type: integer repositories: type: array - items: *152 + items: *153 required: - total_count - repositories @@ -32048,7 +31987,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#set-selected-repositories-for-copilot-coding-agent-in-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -32104,8 +32043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization parameters: - - *73 - - *141 + - *74 + - *142 responses: '204': description: No Content @@ -32138,8 +32077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization parameters: - - *73 - - *141 + - *74 + - *142 responses: '204': description: No Content @@ -32178,7 +32117,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#get-copilot-content-exclusion-rules-for-an-organization parameters: - - *73 + - *74 responses: '200': description: OK @@ -32231,7 +32170,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-content-exclusion-management#set-copilot-content-exclusion-rules-for-an-organization parameters: - - *73 + - *74 requestBody: description: The content exclusion rules to set required: true @@ -32322,7 +32261,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *73 + - *74 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -32802,7 +32741,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics-for-a-specific-day parameters: - - *73 + - *74 - *54 responses: '200': @@ -32812,7 +32751,7 @@ paths: schema: *55 examples: default: *56 - '204': *183 + '204': *59 '500': *53 '403': *27 '404': *6 @@ -32841,7 +32780,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics parameters: - - *73 + - *74 responses: '200': description: Response @@ -32878,7 +32817,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics-for-a-specific-day parameters: - - *73 + - *74 - *54 responses: '200': @@ -32888,7 +32827,7 @@ paths: schema: *55 examples: default: *56 - '204': *183 + '204': *59 '500': *53 '403': *27 '404': *6 @@ -32917,7 +32856,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics parameters: - - *73 + - *74 responses: '200': description: Response @@ -32950,7 +32889,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *73 + - *74 - *189 - *190 - *191 @@ -32997,7 +32936,7 @@ paths: type: string - *196 - *197 - - *59 + - *60 - *45 - *46 - *17 @@ -33021,6 +32960,272 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: alerts + "/orgs/{org}/dependabot/repository-access": + get: + summary: Lists the repositories Dependabot can access in an organization + description: |- + Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. + > [!NOTE] + > This operation supports both server-to-server and user-to-server access. + Unauthorized users will not see the existence of this endpoint. + tags: + - dependabot + operationId: dependabot/repository-access-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization + parameters: + - *74 + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 + responses: + '200': + description: Response + content: + application/json: + schema: + title: Dependabot Repository Access Details + description: Information about repositories that Dependabot is able + to access in an organization + type: object + properties: + default_level: + type: + - string + - 'null' + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + - + examples: + - internal + accessible_repositories: + type: array + items: + anyOf: + - type: 'null' + - *65 + additionalProperties: false + examples: + default: + value: + default_level: public + accessible_repositories: + - id: 123456 + node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= + name: example-repo + full_name: octocat/example-repo + owner: + name: octocat + email: octo@github.com + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://avatars.githubusercontent.com/u/1?v=4 + gravatar_id: 1 + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat/example-repo + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + starred_at: '"2020-07-09T00:17:55Z"' + user_view_type: default + private: false + html_url: https://github.com/octocat/example-repo + description: This is an example repository. + fork: false + url: https://api.github.com/repos/octocat/example-repo + archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} + commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} + compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/example-repo/contributors + deployments_url: https://api.github.com/repos/octocat/example-repo/deployments + downloads_url: https://api.github.com/repos/octocat/example-repo/downloads + events_url: https://api.github.com/repos/octocat/example-repo/events + forks_url: https://api.github.com/repos/octocat/example-repo/forks + git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} + keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} + languages_url: https://api.github.com/repos/octocat/example-repo/languages + merges_url: https://api.github.com/repos/octocat/example-repo/merges + milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} + releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers + statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers + subscription_url: https://api.github.com/repos/octocat/example-repo/subscription + tags_url: https://api.github.com/repos/octocat/example-repo/tags + teams_url: https://api.github.com/repos/octocat/example-repo/teams + trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access + patch: + summary: Updates Dependabot's repository access list for an organization + description: |- + Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. + + > [!NOTE] + > This operation supports both server-to-server and user-to-server access. + Unauthorized users will not see the existence of this endpoint. + + **Example request body:** + ```json + { + "repository_ids_to_add": [123, 456], + "repository_ids_to_remove": [789] + } + ``` + tags: + - dependabot + operationId: dependabot/update-repository-access-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization + parameters: + - *74 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_ids_to_add: + type: array + items: + type: integer + description: List of repository IDs to add. + repository_ids_to_remove: + type: array + items: + type: integer + description: List of repository IDs to remove. + example: + repository_ids_to_add: + - 123 + - 456 + repository_ids_to_remove: + - 789 + examples: + '204': + summary: Example with a 'succeeded' status. + add-example: + summary: Add repositories + value: + repository_ids_to_add: + - 123 + - 456 + remove-example: + summary: Remove repositories + value: + repository_ids_to_remove: + - 789 + responses: + '204': + description: Response + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access + "/orgs/{org}/dependabot/repository-access/default-level": + put: + summary: Set the default repository access level for Dependabot + description: |- + Sets the default level of repository access Dependabot will have while performing an update. Available values are: + - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. + - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. + + Unauthorized users will not see the existence of this endpoint. + + This operation supports both server-to-server and user-to-server access. + tags: + - dependabot + operationId: dependabot/set-repository-access-default-level + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot + parameters: + - *74 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + examples: + - internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access "/orgs/{org}/dependabot/secrets": get: summary: List organization secrets @@ -33036,7 +33241,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *73 + - *74 - *17 - *19 responses: @@ -33106,7 +33311,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33127,7 +33332,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *73 + - *74 responses: '200': description: Response @@ -33175,8 +33380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 responses: '200': description: Response @@ -33210,8 +33415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 requestBody: required: true content: @@ -33268,7 +33473,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -33300,8 +33505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 responses: '204': description: Response @@ -33325,8 +33530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - *19 - *17 responses: @@ -33344,9 +33549,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *153 examples: - default: *164 + default: *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33367,8 +33572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 requestBody: required: true content: @@ -33418,8 +33623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - name: repository_id in: path required: true @@ -33450,8 +33655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *73 - - *160 + - *74 + - *161 - name: repository_id in: path required: true @@ -33481,7 +33686,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -33542,7 +33747,7 @@ paths: repository: anyOf: - type: 'null' - - *152 + - *153 created_at: type: string format: date-time @@ -33638,7 +33843,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *73 + - *74 - *17 - *19 responses: @@ -33648,7 +33853,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: 200-response: value: @@ -33720,7 +33925,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *73 + - *74 - *17 - *19 responses: @@ -33817,7 +34022,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -33841,7 +34046,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *73 + - *74 - *17 - *19 responses: @@ -33951,7 +34156,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -33974,7 +34179,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *73 + - *74 requestBody: required: true content: @@ -34085,7 +34290,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *73 + - *74 - &203 name: hook_id description: The unique identifier of the hook. You can find this value in @@ -34128,7 +34333,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *73 + - *74 - *203 requestBody: required: false @@ -34216,7 +34421,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *73 + - *74 - *203 responses: '204': @@ -34244,7 +34449,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *73 + - *74 - *203 responses: '200': @@ -34275,7 +34480,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *73 + - *74 - *203 requestBody: required: false @@ -34326,7 +34531,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *73 + - *74 - *203 - *17 - *204 @@ -34365,7 +34570,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *73 + - *74 - *203 - *16 responses: @@ -34400,7 +34605,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *73 + - *74 - *203 - *16 responses: @@ -34430,7 +34635,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *73 + - *74 - *203 responses: '204': @@ -34453,7 +34658,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *73 + - *74 - &214 name: actor_type in: path @@ -34493,7 +34698,7 @@ paths: type: string - *19 - *17 - - *59 + - *60 - name: sort description: The property to sort the results by. in: query @@ -34576,12 +34781,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *73 + - *74 - *210 - *211 - *19 - *17 - - *59 + - *60 - &220 name: sort description: The property to sort the results by. @@ -34660,7 +34865,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *73 + - *74 - *210 - *211 responses: @@ -34704,7 +34909,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *73 + - *74 - &216 name: user_id in: path @@ -34739,7 +34944,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *73 + - *74 - *210 - *211 - *214 @@ -34768,7 +34973,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *73 + - *74 - *210 - *211 - &217 @@ -34836,7 +35041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *73 + - *74 - *216 - *210 - *211 @@ -34865,7 +35070,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *73 + - *74 - *214 - *215 - *210 @@ -34895,13 +35100,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *73 + - *74 - *216 - *210 - *211 - *19 - *17 - - *59 + - *60 - *220 - name: actor_name_substring in: query @@ -34978,7 +35183,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *73 + - *74 responses: '200': description: Response @@ -35055,7 +35260,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -35125,7 +35330,7 @@ paths: suspended_at: suspended_by: headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35144,7 +35349,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -35209,7 +35414,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -35265,7 +35470,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *73 + - *74 responses: '204': description: Response @@ -35289,7 +35494,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *73 + - *74 - *17 - *19 - name: role @@ -35327,7 +35532,7 @@ paths: examples: default: *225 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -35348,7 +35553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *73 + - *74 requestBody: required: false content: @@ -35456,7 +35661,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *73 + - *74 - &226 name: invitation_id description: The unique identifier of the invitation. @@ -35487,7 +35692,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *73 + - *74 - *226 - *17 - *19 @@ -35516,7 +35721,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -35535,7 +35740,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#list-issue-fields-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -35693,7 +35898,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#create-issue-field-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -35843,7 +36048,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - - *73 + - *74 - &229 name: issue_field_id description: The unique identifier of the issue field. @@ -35980,10 +36185,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - - *73 + - *74 - *229 responses: - '204': *183 + '204': *59 '404': *6 '422': *7 x-github: @@ -36003,7 +36208,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -36049,7 +36254,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -36133,7 +36338,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *73 + - *74 - &232 name: issue_type_id description: The unique identifier of the issue type. @@ -36216,7 +36421,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *73 + - *74 - *232 responses: '204': @@ -36250,7 +36455,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *73 + - *74 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -36298,8 +36503,8 @@ paths: - updated - comments default: created - - *59 - - *86 + - *60 + - *87 - *17 - *19 responses: @@ -36309,11 +36514,11 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *234 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -36333,7 +36538,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *73 + - *74 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -36371,9 +36576,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 '422': *15 x-github: githubCloudOnly: false @@ -36391,8 +36596,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response if requester is an organization member and user is @@ -36426,8 +36631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -36459,8 +36664,8 @@ paths: parameters: - *17 - *19 - - *73 - - *69 + - *74 + - *70 responses: '200': description: Response @@ -36503,8 +36708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *73 - - *69 + - *74 + - *70 - &237 name: codespace_name in: path @@ -36538,8 +36743,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *73 - - *69 + - *74 + - *70 - *237 responses: '200': @@ -36721,8 +36926,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -36797,8 +37002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '200': description: Response @@ -36853,7 +37058,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *71 + organization: *72 user: anyOf: - type: 'null' @@ -36945,8 +37150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *73 - - *69 + - *74 + - *70 requestBody: required: false content: @@ -37006,8 +37211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -37032,7 +37237,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *73 + - *74 - *17 - *19 - name: exclude @@ -37096,7 +37301,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *77 + items: *78 url: type: string format: uri @@ -37152,7 +37357,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *64 + items: *65 version: '2026-03-10' examples: default: @@ -37306,7 +37511,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -37322,7 +37527,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *73 + - *74 requestBody: required: true content: @@ -37581,7 +37786,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *73 + - *74 - &242 name: migration_id description: The unique identifier of the migration. @@ -37779,7 +37984,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *73 + - *74 - *242 responses: '302': @@ -37801,7 +38006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *73 + - *74 - *242 responses: '204': @@ -37825,7 +38030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *73 + - *74 - *242 - &670 name: repo_name @@ -37854,7 +38059,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *73 + - *74 - *242 - *17 - *19 @@ -37865,7 +38070,7 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: &253 value: @@ -37980,7 +38185,7 @@ paths: secret_scanning_delegated_alert_dismissal: status: disabled headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -37995,7 +38200,7 @@ paths: content: application/json: schema: - items: *64 + items: *65 version: '2026-03-10' - changeset: restrict_repo_fields_in_migration_resource patch: @@ -38024,7 +38229,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response - list of organization roles @@ -38189,8 +38394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *73 - - *75 + - *74 + - *76 responses: '204': description: Response @@ -38215,8 +38420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *73 - - *75 + - *74 + - *76 - &243 name: role_id description: The unique identifier of the role. @@ -38252,8 +38457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *73 - - *75 + - *74 + - *76 - *243 responses: '204': @@ -38279,8 +38484,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -38305,8 +38510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *73 - - *69 + - *74 + - *70 - *243 responses: '204': @@ -38337,8 +38542,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *73 - - *69 + - *74 + - *70 - *243 responses: '204': @@ -38367,7 +38572,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *73 + - *74 - *243 responses: '200': @@ -38424,7 +38629,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *73 + - *74 - *243 - *17 - *19 @@ -38539,7 +38744,7 @@ paths: examples: default: *246 headers: - Link: *65 + Link: *66 '404': description: Response if the organization or role does not exist. '422': @@ -38566,7 +38771,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *73 + - *74 - *243 - *17 - *19 @@ -38713,9 +38918,9 @@ paths: - type - url examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 '404': description: Response if the organization or role does not exist. '422': @@ -38737,7 +38942,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *73 + - *74 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -38764,9 +38969,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38789,8 +38994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *73 - - *69 + - *74 + - *70 requestBody: required: false content: @@ -38847,8 +39052,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -38905,7 +39110,7 @@ paths: - docker - nuget - container - - *73 + - *74 - &671 name: visibility description: |- @@ -38994,7 +39199,7 @@ paths: required: true schema: type: string - - *73 + - *74 responses: '200': description: Response @@ -39054,7 +39259,7 @@ paths: parameters: - *249 - *250 - - *73 + - *74 responses: '204': description: Response @@ -39088,7 +39293,7 @@ paths: parameters: - *249 - *250 - - *73 + - *74 - name: token description: package token schema: @@ -39122,7 +39327,7 @@ paths: parameters: - *249 - *250 - - *73 + - *74 - *19 - *17 - name: state @@ -39279,7 +39484,7 @@ paths: parameters: - *249 - *250 - - *73 + - *74 - &252 name: package_version_id description: Unique identifier of the package version. @@ -39330,7 +39535,7 @@ paths: parameters: - *249 - *250 - - *73 + - *74 - *252 responses: '204': @@ -39365,7 +39570,7 @@ paths: parameters: - *249 - *250 - - *73 + - *74 - *252 responses: '204': @@ -39393,7 +39598,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *73 + - *74 - *17 - *19 - &254 @@ -39406,7 +39611,7 @@ paths: enum: - created_at default: created_at - - *59 + - *60 - &255 name: owner description: A list of owner usernames to use to filter the results. @@ -39605,7 +39810,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39625,7 +39830,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *73 + - *74 requestBody: required: true content: @@ -39692,7 +39897,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *73 + - *74 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -39733,7 +39938,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *183 + '204': *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39754,7 +39959,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *73 + - *74 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -39774,11 +39979,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *253 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39799,11 +40004,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *73 + - *74 - *17 - *19 - *254 - - *59 + - *60 - *255 - *256 - *257 @@ -39940,7 +40145,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39960,7 +40165,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *73 + - *74 requestBody: required: true content: @@ -40020,7 +40225,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *73 + - *74 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -40050,7 +40255,7 @@ paths: responses: '500': *53 '404': *6 - '204': *183 + '204': *59 '403': *27 '422': *15 x-github: @@ -40072,7 +40277,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *73 + - *74 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -40091,11 +40296,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *253 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40117,7 +40322,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -40257,7 +40462,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *65 + Link: *66 '400': *14 '404': *6 x-github: @@ -40280,7 +40485,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -40610,7 +40815,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -40638,7 +40843,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -40660,8 +40865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *73 - - *160 + - *74 + - *161 responses: '200': description: The specified private registry configuration for the organization @@ -40691,8 +40896,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *73 - - *160 + - *74 + - *161 requestBody: required: true content: @@ -40856,8 +41061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *73 - - *160 + - *74 + - *161 responses: '204': description: Response @@ -40880,7 +41085,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *73 + - *74 - name: q description: Limit results to projects of the specified type. in: query @@ -41139,7 +41344,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -41166,7 +41371,7 @@ paths: required: true schema: type: integer - - *73 + - *74 responses: '200': description: Response @@ -41176,7 +41381,7 @@ paths: examples: default: *264 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -41196,7 +41401,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *73 + - *74 - *265 requestBody: required: true @@ -41244,7 +41449,7 @@ paths: description: The node ID of the project item. content: oneOf: - - *81 + - *82 - &460 title: Pull Request Simple description: Pull Request Simple @@ -41422,7 +41627,7 @@ paths: type: string ref: type: string - repo: *77 + repo: *78 sha: type: string user: @@ -41442,7 +41647,7 @@ paths: type: string ref: type: string - repo: *77 + repo: *78 sha: type: string user: @@ -41483,7 +41688,7 @@ paths: - review_comments - review_comment - self - author_association: *78 + author_association: *79 auto_merge: &565 title: Auto merge description: The status of auto merging a pull request. @@ -41777,7 +41982,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - *265 - - *73 + - *74 - *17 - *45 - *46 @@ -42052,7 +42257,7 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -42072,7 +42277,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - *265 - - *73 + - *74 requestBody: required: true content: @@ -42372,7 +42577,7 @@ paths: required: true schema: type: integer - - *73 + - *74 responses: '200': description: Response @@ -42415,7 +42620,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -42437,7 +42642,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - *265 - - *73 + - *74 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -43213,7 +43418,7 @@ paths: data_type: sub_issues_progress value: headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -43233,7 +43438,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *73 + - *74 - *265 requestBody: required: true @@ -43340,7 +43545,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - *265 - - *73 + - *74 - &274 name: item_id description: The unique identifier of the project item. @@ -43371,7 +43576,7 @@ paths: examples: default: *273 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -43391,7 +43596,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - *265 - - *73 + - *74 - *274 requestBody: required: true @@ -43492,7 +43697,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - *265 - - *73 + - *74 - *274 responses: '204': @@ -43516,7 +43721,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - - *73 + - *74 - *265 requestBody: required: true @@ -43773,7 +43978,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - *265 - - *73 + - *74 - &704 name: view_number description: The number that identifies the project view. @@ -43810,7 +44015,7 @@ paths: examples: default: *273 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -43833,7 +44038,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Response @@ -43968,7 +44173,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -44032,7 +44237,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *73 + - *74 - &278 name: custom_property_name description: The custom property name @@ -44081,7 +44286,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *73 + - *74 - *278 requestBody: required: true @@ -44187,10 +44392,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *73 + - *74 - *278 responses: - '204': *183 + '204': *59 '403': *27 '404': *6 x-github: @@ -44211,7 +44416,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *73 + - *74 - *17 - *19 - name: repository_query @@ -44294,7 +44499,7 @@ paths: - property_name: team value: octocat headers: - Link: *65 + Link: *66 '403': *27 '404': *6 x-github: @@ -44322,7 +44527,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *73 + - *74 requestBody: required: true content: @@ -44383,7 +44588,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *73 + - *74 - *17 - *19 responses: @@ -44395,9 +44600,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44414,8 +44619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response if user is a public member @@ -44439,8 +44644,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -44461,8 +44666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *73 - - *69 + - *74 + - *70 responses: '204': description: Response @@ -44486,7 +44691,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *73 + - *74 - name: type description: Specifies the types of repositories you want returned. in: query @@ -44532,11 +44737,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *253 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44555,7 +44760,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *73 + - *74 requestBody: required: true content: @@ -45096,7 +45301,7 @@ paths: template_repository: anyOf: - type: 'null' - - *77 + - *78 temp_clone_token: type: - string @@ -45196,13 +45401,13 @@ paths: license: anyOf: - type: 'null' - - *83 + - *84 organization: anyOf: - type: 'null' - *4 - parent: *77 - source: *77 + parent: *78 + source: *78 forks: type: integer master_branch: @@ -45870,7 +46075,7 @@ paths: category: orgs subcategory: rules parameters: - - *73 + - *74 - *17 - *19 - &587 @@ -46972,7 +47177,7 @@ paths: category: orgs subcategory: rules parameters: - - *73 + - *74 requestBody: description: Request body required: true @@ -47122,7 +47327,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *73 + - *74 - &589 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally @@ -47280,7 +47485,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *73 + - *74 - &595 name: rule_suite_id description: |- @@ -47465,7 +47670,7 @@ paths: category: orgs subcategory: rules parameters: - - *73 + - *74 - name: ruleset_id description: The ID of the ruleset. in: path @@ -47497,7 +47702,7 @@ paths: category: orgs subcategory: rules parameters: - - *73 + - *74 - name: ruleset_id description: The ID of the ruleset. in: path @@ -47588,7 +47793,7 @@ paths: category: orgs subcategory: rules parameters: - - *73 + - *74 - name: ruleset_id description: The ID of the ruleset. in: path @@ -47611,7 +47816,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *73 + - *74 - *17 - *19 - name: ruleset_id @@ -47686,7 +47891,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *73 + - *74 - name: ruleset_id description: The ID of the ruleset. in: path @@ -47775,7 +47980,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *73 + - *74 - &601 name: state in: query @@ -47870,7 +48075,7 @@ paths: - created - updated default: created - - *59 + - *60 - *19 - *17 - &609 @@ -47939,14 +48144,14 @@ paths: items: type: object properties: - number: *170 - created_at: *171 + number: *171 + created_at: *172 updated_at: anyOf: - type: 'null' - - *172 - url: *173 - html_url: *174 + - *173 + url: *174 + html_url: *175 locations_url: type: string format: uri @@ -48005,7 +48210,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *64 + repository: *65 push_protection_bypassed: type: - boolean @@ -48631,9 +48836,9 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48658,7 +48863,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *73 + - *74 responses: '200': description: Response @@ -48798,7 +49003,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *73 + - *74 requestBody: required: true content: @@ -48886,8 +49091,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *73 - - *59 + - *74 + - *60 - name: sort description: The property to sort the results by. in: query @@ -49138,7 +49343,7 @@ paths: required: - vector_string - score - cvss_severities: *61 + cvss_severities: *62 cwes: type: - array @@ -49217,7 +49422,7 @@ paths: description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *64 + - *65 type: - 'null' required: @@ -49660,7 +49865,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *73 + - *74 responses: '200': description: Response @@ -49708,8 +49913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *73 - - *75 + - *74 + - *76 responses: '204': description: Response @@ -49734,8 +49939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *73 - - *75 + - *74 + - *76 responses: '204': description: Response @@ -49762,7 +49967,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *73 + - *74 responses: '200': description: Immutable releases settings response @@ -49812,7 +50017,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *73 + - *74 responses: '204': description: Response @@ -49870,7 +50075,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *73 + - *74 - *19 - *17 responses: @@ -49888,9 +50093,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *153 examples: - default: *164 + default: *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49909,7 +50114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *73 + - *74 requestBody: required: true content: @@ -49958,8 +50163,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *73 - - *141 + - *74 + - *142 responses: '204': description: Response @@ -49981,8 +50186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *73 - - *141 + - *74 + - *142 responses: '204': description: Response @@ -50005,7 +50210,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *73 + - *74 - *17 - *19 responses: @@ -50101,7 +50306,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50120,7 +50325,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *73 + - *74 requestBody: required: true content: @@ -50206,7 +50411,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *73 + - *74 - &317 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. @@ -50223,7 +50428,7 @@ paths: examples: default: *316 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50242,7 +50447,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *73 + - *74 - *317 requestBody: required: true @@ -50317,7 +50522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *73 + - *74 - *317 responses: '204': @@ -50341,7 +50546,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *73 + - *74 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -50400,7 +50605,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50430,8 +50635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *73 - - *75 + - *74 + - *76 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -50487,7 +50692,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *73 + - *74 - *17 - *19 - name: team_type @@ -50513,7 +50718,7 @@ paths: examples: default: *246 headers: - Link: *65 + Link: *66 '403': *27 x-github: githubCloudOnly: false @@ -50533,7 +50738,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *73 + - *74 requestBody: required: true content: @@ -51085,8 +51290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *73 - - *75 + - *74 + - *76 responses: '200': description: Response @@ -51115,8 +51320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *73 - - *75 + - *74 + - *76 requestBody: required: false content: @@ -51213,8 +51418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *73 - - *75 + - *74 + - *76 responses: '204': description: Response @@ -51241,8 +51446,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *73 - - *75 + - *74 + - *76 - *17 - *19 responses: @@ -51256,7 +51461,7 @@ paths: examples: default: *225 headers: - Link: *65 + Link: *66 '422': *323 x-github: githubCloudOnly: false @@ -51277,8 +51482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *73 - - *75 + - *74 + - *76 - name: role description: Filters members returned by their role in the team. in: query @@ -51301,9 +51506,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51331,9 +51536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *73 - - *75 - - *69 + - *74 + - *76 + - *70 responses: '200': description: Response @@ -51403,9 +51608,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *73 - - *75 - - *69 + - *74 + - *76 + - *70 requestBody: required: false content: @@ -51467,9 +51672,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *73 - - *75 - - *69 + - *74 + - *76 + - *70 responses: '204': description: Response @@ -51495,8 +51700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *73 - - *75 + - *74 + - *76 - *17 - *19 responses: @@ -51506,11 +51711,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *253 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51537,8 +51742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *73 - - *75 + - *74 + - *76 - *325 - *326 responses: @@ -51572,7 +51777,7 @@ paths: license: anyOf: - type: 'null' - - *83 + - *84 forks: type: integer permissions: @@ -52272,8 +52477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *73 - - *75 + - *74 + - *76 - *325 - *326 requestBody: @@ -52320,8 +52525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *73 - - *75 + - *74 + - *76 - *325 - *326 responses: @@ -52347,8 +52552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *73 - - *75 + - *74 + - *76 - *17 - *19 responses: @@ -52388,7 +52593,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52413,7 +52618,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *73 + - *74 - name: security_product in: path description: The security feature to enable or disable. @@ -53740,7 +53945,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54100,7 +54305,7 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *59 + - *60 responses: '200': description: Response @@ -54168,7 +54373,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54671,7 +54876,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -54781,7 +54986,7 @@ paths: description: Empty response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -54861,7 +55066,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54949,7 +55154,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54982,9 +55187,9 @@ paths: enabled: &343 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *137 + allowed_actions: *138 selected_actions_url: *342 - sha_pinning_required: *138 + sha_pinning_required: *139 required: - enabled examples: @@ -55025,8 +55230,8 @@ paths: type: object properties: enabled: *343 - allowed_actions: *137 - sha_pinning_required: *138 + allowed_actions: *138 + sha_pinning_required: *139 required: - enabled examples: @@ -55209,7 +55414,7 @@ paths: description: Response content: application/json: - schema: *139 + schema: *140 examples: default: *348 '404': *6 @@ -55241,7 +55446,7 @@ paths: required: true content: application/json: - schema: *139 + schema: *140 examples: default: summary: Set approval policy to first time contributors @@ -55274,7 +55479,7 @@ paths: application/json: schema: *349 examples: - default: *140 + default: *141 '403': *27 '404': *6 x-github: @@ -55302,7 +55507,7 @@ paths: application/json: schema: *350 examples: - default: *140 + default: *141 responses: '204': description: Empty response for successful settings update @@ -55333,9 +55538,9 @@ paths: description: Response content: application/json: - schema: *142 + schema: *143 examples: - default: *143 + default: *144 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -55363,9 +55568,9 @@ paths: required: false content: application/json: - schema: *142 + schema: *143 examples: - selected_actions: *143 + selected_actions: *144 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -55396,7 +55601,7 @@ paths: application/json: schema: *351 examples: - default: *147 + default: *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55431,7 +55636,7 @@ paths: application/json: schema: *352 examples: - default: *147 + default: *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55477,11 +55682,11 @@ paths: type: integer runners: type: array - items: *154 + items: *155 examples: - default: *155 + default: *156 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55618,7 +55823,7 @@ paths: description: Response content: application/json: - schema: *156 + schema: *157 examples: default: *356 x-github: @@ -55655,7 +55860,7 @@ paths: description: Response content: application/json: - schema: *156 + schema: *157 examples: default: *357 x-github: @@ -55681,13 +55886,13 @@ paths: parameters: - *325 - *326 - - *153 + - *154 responses: '200': description: Response content: application/json: - schema: *154 + schema: *155 examples: default: *358 x-github: @@ -55712,7 +55917,7 @@ paths: parameters: - *325 - *326 - - *153 + - *154 responses: '204': description: Response @@ -55740,9 +55945,9 @@ paths: parameters: - *325 - *326 - - *153 + - *154 responses: - '200': *158 + '200': *159 '404': *6 x-github: githubCloudOnly: false @@ -55766,7 +55971,7 @@ paths: parameters: - *325 - *326 - - *153 + - *154 requestBody: required: true content: @@ -55790,7 +55995,7 @@ paths: - gpu - accelerated responses: - '200': *158 + '200': *159 '404': *6 '422': *7 x-github: @@ -55816,7 +56021,7 @@ paths: parameters: - *325 - *326 - - *153 + - *154 requestBody: required: true content: @@ -55841,7 +56046,7 @@ paths: - gpu - accelerated responses: - '200': *158 + '200': *159 '404': *6 '422': *7 x-github: @@ -55867,7 +56072,7 @@ paths: parameters: - *325 - *326 - - *153 + - *154 responses: '200': *359 '404': *6 @@ -55898,10 +56103,10 @@ paths: parameters: - *325 - *326 - - *153 + - *154 - *360 responses: - '200': *158 + '200': *159 '404': *6 '422': *7 x-github: @@ -56145,7 +56350,7 @@ paths: type: - array - 'null' - items: *84 + items: *85 created_at: type: string format: date-time @@ -56280,8 +56485,8 @@ paths: - timestamp - author - committer - repository: *152 - head_repository: *152 + repository: *153 + head_repository: *153 head_repository_id: type: integer examples: @@ -56535,7 +56740,7 @@ paths: releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id} deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56978,7 +57183,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -57011,7 +57216,7 @@ paths: - *17 - *19 - *364 - - *59 + - *60 responses: '200': description: Response @@ -57031,7 +57236,7 @@ paths: examples: default: *365 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57206,7 +57411,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -57269,7 +57474,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -57373,7 +57578,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -57436,7 +57641,7 @@ paths: examples: default: *369 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57918,7 +58123,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -57965,7 +58170,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -58159,7 +58364,7 @@ paths: examples: default: *371 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58215,7 +58420,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 responses: '200': description: Response @@ -58251,7 +58456,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 requestBody: required: true content: @@ -58282,7 +58487,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -58310,7 +58515,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 responses: '204': description: Response @@ -58358,7 +58563,7 @@ paths: examples: default: *375 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58407,7 +58612,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -58434,7 +58639,7 @@ paths: parameters: - *325 - *326 - - *163 + - *164 responses: '200': description: Response @@ -58470,7 +58675,7 @@ paths: parameters: - *325 - *326 - - *163 + - *164 requestBody: required: true content: @@ -58514,7 +58719,7 @@ paths: parameters: - *325 - *326 - - *163 + - *164 responses: '204': description: Response @@ -58653,7 +58858,7 @@ paths: html_url: https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289 badge_url: https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58911,7 +59116,7 @@ paths: examples: default: *385 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59006,7 +59211,7 @@ paths: parameters: - *325 - *326 - - *59 + - *60 - *17 - *45 - *46 @@ -59154,7 +59359,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '422': *7 x-github: githubCloudOnly: false @@ -59186,9 +59391,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -60206,7 +60411,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -60368,14 +60573,14 @@ paths: author: oneOf: - *4 - - *161 + - *162 type: - 'null' - object committer: oneOf: - *4 - - *161 + - *162 type: - 'null' - object @@ -62808,7 +63013,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 '404': *6 x-github: githubCloudOnly: false @@ -62867,7 +63072,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 '422': *15 x-github: githubCloudOnly: false @@ -62927,7 +63132,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 '422': *15 x-github: githubCloudOnly: false @@ -62987,7 +63192,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 '422': *15 x-github: githubCloudOnly: false @@ -63569,7 +63774,7 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *84 + items: *85 deployment: &717 title: Deployment description: A deployment created as the result of an Actions @@ -64329,7 +64534,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64357,7 +64562,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -64500,12 +64705,12 @@ paths: type: - array - 'null' - items: *84 + items: *85 app: anyOf: - type: 'null' - *5 - repository: *152 + repository: *153 created_at: type: - string @@ -64918,7 +65123,7 @@ paths: required: - app_id - setting - repository: *152 + repository: *153 examples: default: value: @@ -65338,7 +65543,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65366,7 +65571,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -65414,7 +65619,7 @@ paths: required: false schema: type: integer - - *59 + - *60 - *45 - *46 - name: sort @@ -65457,19 +65662,19 @@ paths: items: type: object properties: - number: *170 - created_at: *171 - updated_at: *172 - url: *173 - html_url: *174 + number: *171 + created_at: *172 + updated_at: *173 + url: *174 + html_url: *175 instances_url: *415 - state: *179 - fixed_at: *175 + state: *180 + fixed_at: *176 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *176 + dismissed_at: *177 dismissed_reason: *416 dismissed_comment: *417 rule: *418 @@ -65604,7 +65809,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65634,7 +65839,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *170 + schema: *171 responses: '200': description: Response @@ -65643,19 +65848,19 @@ paths: schema: &423 type: object properties: - number: *170 - created_at: *171 - updated_at: *172 - url: *173 - html_url: *174 + number: *171 + created_at: *172 + updated_at: *173 + url: *174 + html_url: *175 instances_url: *415 - state: *179 - fixed_at: *175 + state: *180 + fixed_at: *176 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *176 + dismissed_at: *177 dismissed_reason: *416 dismissed_comment: *417 rule: @@ -65818,7 +66023,7 @@ paths: '304': *35 '403': *421 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65965,7 +66170,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -66039,7 +66244,7 @@ paths: status: '400' '403': *421 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66094,7 +66299,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66169,7 +66374,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66273,7 +66478,7 @@ paths: - source '403': *421 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66328,7 +66533,7 @@ paths: description: An identifier for the upload. examples: - 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *59 + - *60 - name: sort description: The property by which to sort the results. in: query @@ -66451,7 +66656,7 @@ paths: warning: '' '403': *421 '404': *6 - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -66560,7 +66765,7 @@ paths: content: application/json: schema: *3 - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -66699,7 +66904,7 @@ paths: '400': *14 '403': *427 '404': *6 - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -66842,7 +67047,7 @@ paths: commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c '403': *421 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66918,7 +67123,7 @@ paths: description: Found '403': *421 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66951,7 +67156,7 @@ paths: description: Response '403': *427 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67075,7 +67280,7 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *64 + controller_repo: *65 actor: *4 query_language: *438 query_pack_url: @@ -67410,7 +67615,7 @@ paths: content: application/json: schema: *3 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67448,7 +67653,7 @@ paths: examples: default: *441 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67503,7 +67708,7 @@ paths: schema: type: object properties: - repository: *64 + repository: *65 analysis_status: *443 artifact_size_in_bytes: type: integer @@ -67608,7 +67813,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67742,7 +67947,7 @@ paths: schedule: weekly '403': *421 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67831,7 +68036,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -67870,7 +68075,7 @@ paths: content: application/json: schema: *3 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68014,7 +68219,7 @@ paths: '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -68085,7 +68290,7 @@ paths: '403': *421 '404': description: Not Found if the sarif id does not match any upload - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -68164,7 +68369,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *183 + '204': *59 '304': *35 '403': *27 '404': *6 @@ -68713,7 +68918,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -69019,7 +69224,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69082,7 +69287,7 @@ paths: examples: default: *447 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69134,7 +69339,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 responses: '200': description: Response @@ -69164,7 +69369,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 requestBody: required: true content: @@ -69192,7 +69397,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -69218,7 +69423,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 responses: '204': description: Response @@ -69453,7 +69658,7 @@ paths: admin: false role_name: write headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -69480,7 +69685,7 @@ paths: parameters: - *325 - *326 - - *69 + - *70 responses: '204': description: Response if user is a collaborator @@ -69528,7 +69733,7 @@ paths: parameters: - *325 - *326 - - *69 + - *70 requestBody: required: false content: @@ -69566,7 +69771,7 @@ paths: format: int64 examples: - 42 - repository: *152 + repository: *153 invitee: anyOf: - type: 'null' @@ -69742,7 +69947,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *121 + schema: *122 '403': *27 x-github: triggersNotification: true @@ -69784,7 +69989,7 @@ paths: parameters: - *325 - *326 - - *69 + - *70 responses: '204': description: No Content when collaborator was removed from the repository. @@ -69817,7 +70022,7 @@ paths: parameters: - *325 - *326 - - *69 + - *70 responses: '200': description: if user has admin permissions @@ -69943,8 +70148,8 @@ paths: updated_at: type: string format: date-time - author_association: *78 - reactions: *79 + author_association: *79 + reactions: *80 required: - url - html_url @@ -69994,7 +70199,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70021,7 +70226,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '200': description: Response @@ -70088,7 +70293,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 requestBody: required: true content: @@ -70163,7 +70368,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '204': description: Response @@ -70186,7 +70391,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -70282,7 +70487,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -70303,7 +70508,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 requestBody: required: true content: @@ -70392,7 +70597,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 - &526 name: reaction_id description: The unique identifier of the reaction. @@ -70577,7 +70782,7 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *65 + Link: *66 '500': *53 '400': *14 '404': *6 @@ -70691,7 +70896,7 @@ paths: examples: default: *458 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71277,7 +71482,7 @@ paths: auto_merge: draft: false headers: - Link: *65 + Link: *66 '409': *52 x-github: githubCloudOnly: false @@ -71484,7 +71689,7 @@ paths: '422': *15 '404': *6 '500': *53 - '503': *113 + '503': *114 '409': *52 x-github: githubCloudOnly: false @@ -71552,7 +71757,7 @@ paths: examples: default: *464 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71778,7 +71983,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71876,7 +72081,7 @@ paths: type: string total_count: type: integer - repository: *152 + repository: *153 commit_url: type: string format: uri @@ -72099,7 +72304,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '301': *329 x-github: githubCloudOnly: false @@ -72182,7 +72387,7 @@ paths: license: anyOf: - type: 'null' - - *83 + - *84 contributing: anyOf: - type: 'null' @@ -72658,7 +72863,7 @@ paths: default: *469 '404': *6 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73804,7 +74009,7 @@ paths: '422': *15 '404': *6 '409': *52 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73926,7 +74131,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *65 + Link: *66 '204': description: Response if repository is empty '403': *27 @@ -73967,7 +74172,7 @@ paths: - *195 - *196 - *197 - - *59 + - *60 - *45 - *46 - *17 @@ -73982,7 +74187,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *170 + number: *171 state: type: string description: The state of the Dependabot alert. @@ -73997,7 +74202,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *60 + package: *61 manifest_path: type: string description: The full path to the dependency manifest file, @@ -74030,12 +74235,12 @@ paths: - inconclusive - security_advisory: *474 - security_vulnerability: *63 - url: *173 - html_url: *174 - created_at: *171 - updated_at: *172 - dismissed_at: *176 + security_vulnerability: *64 + url: *174 + html_url: *175 + created_at: *172 + updated_at: *173 + dismissed_at: *177 dismissed_by: anyOf: - type: 'null' @@ -74059,7 +74264,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *175 + fixed_at: *176 auto_dismissed_at: *475 dismissal_request: *476 assignees: @@ -74327,7 +74532,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *170 + schema: *171 responses: '200': description: Response @@ -74704,7 +74909,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74757,7 +74962,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 responses: '200': description: Response @@ -74791,7 +74996,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 requestBody: required: true content: @@ -74819,7 +75024,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -74845,7 +75050,7 @@ paths: parameters: - *325 - *326 - - *160 + - *161 responses: '204': description: Response @@ -75018,7 +75223,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *65 + Link: *66 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -75280,7 +75485,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *65 + Link: *66 '404': *6 '403': *27 x-github: @@ -75690,7 +75895,7 @@ paths: examples: default: *485 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76169,7 +76374,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -77546,7 +77751,7 @@ paths: examples: default: *371 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77604,7 +77809,7 @@ paths: - *325 - *326 - *491 - - *160 + - *161 responses: '200': description: Response @@ -77637,7 +77842,7 @@ paths: - *325 - *326 - *491 - - *160 + - *161 requestBody: required: true content: @@ -77668,7 +77873,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -77697,7 +77902,7 @@ paths: - *325 - *326 - *491 - - *160 + - *161 responses: '204': description: Default response @@ -77746,7 +77951,7 @@ paths: examples: default: *375 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77796,7 +78001,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -77824,7 +78029,7 @@ paths: - *325 - *326 - *491 - - *163 + - *164 responses: '200': description: Response @@ -77855,7 +78060,7 @@ paths: parameters: - *325 - *326 - - *163 + - *164 - *491 requestBody: required: true @@ -77900,7 +78105,7 @@ paths: parameters: - *325 - *326 - - *163 + - *164 - *491 responses: '204': @@ -77934,7 +78139,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: 200-response: value: @@ -78015,7 +78220,7 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: value: @@ -78128,7 +78333,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *65 + Link: *66 '400': *14 x-github: githubCloudOnly: false @@ -78269,7 +78474,7 @@ paths: application/json: schema: oneOf: - - *121 + - *122 - *504 x-github: githubCloudOnly: false @@ -78870,7 +79075,7 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *65 + Link: *66 '409': *52 x-github: githubCloudOnly: false @@ -79734,7 +79939,7 @@ paths: status: unused message: headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -80251,7 +80456,7 @@ paths: - *325 - *326 responses: - '204': *183 + '204': *59 '409': *52 x-github: githubCloudOnly: false @@ -80272,7 +80477,7 @@ paths: - *325 - *326 responses: - '204': *183 + '204': *59 '409': *52 x-github: githubCloudOnly: false @@ -81293,7 +81498,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81566,8 +81771,8 @@ paths: - updated - comments default: created - - *59 - - *86 + - *60 + - *87 - *17 - *19 responses: @@ -81577,7 +81782,7 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: &531 value: @@ -81727,7 +81932,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *65 + Link: *66 '301': *329 '422': *15 '404': *6 @@ -81848,7 +82053,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: &528 value: @@ -82011,7 +82216,7 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *113 + '503': *114 '404': *6 '410': *523 x-github: @@ -82053,7 +82258,7 @@ paths: parameters: - *325 - *326 - - *103 + - *104 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -82063,7 +82268,7 @@ paths: enum: - asc - desc - - *86 + - *87 - *17 - *19 responses: @@ -82073,7 +82278,7 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: default: &530 value: @@ -82106,7 +82311,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *65 + Link: *66 '422': *15 '404': *6 x-github: @@ -82135,13 +82340,13 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '200': description: Response content: application/json: - schema: *82 + schema: *83 examples: default: &524 value: @@ -82200,7 +82405,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 requestBody: required: true content: @@ -82222,7 +82427,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *524 '422': *15 @@ -82244,7 +82449,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '204': description: Response @@ -82274,13 +82479,13 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '200': description: Response content: application/json: - schema: *82 + schema: *83 examples: default: value: @@ -82355,7 +82560,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '204': description: Response @@ -82363,7 +82568,7 @@ paths: '403': *27 '404': *6 '410': *523 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82382,7 +82587,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -82412,7 +82617,7 @@ paths: examples: default: *525 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -82433,7 +82638,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 requestBody: required: true content: @@ -82498,7 +82703,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 - *526 responses: '204': @@ -82577,7 +82782,7 @@ paths: issue: anyOf: - type: 'null' - - *81 + - *82 label: title: Issue Event Label description: Issue Event Label @@ -82677,7 +82882,7 @@ paths: required: - from - to - author_association: *78 + author_association: *79 lock_reason: type: - string @@ -82852,7 +83057,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *65 + Link: *66 '422': *15 x-github: githubCloudOnly: false @@ -83123,7 +83328,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: summary: Issue @@ -83500,11 +83705,11 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 '422': *15 - '503': *113 + '503': *114 '403': *27 '301': *329 '404': *6 @@ -83564,7 +83769,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 x-github: @@ -83609,7 +83814,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 x-github: @@ -83678,7 +83883,7 @@ paths: - *325 - *326 - *529 - - *86 + - *87 - *17 - *19 responses: @@ -83688,11 +83893,11 @@ paths: application/json: schema: type: array - items: *82 + items: *83 examples: default: *530 headers: - Link: *65 + Link: *66 '404': *6 '410': *523 x-github: @@ -83747,7 +83952,7 @@ paths: description: Response content: application/json: - schema: *82 + schema: *83 examples: default: *524 headers: @@ -83796,11 +84001,11 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *531 headers: - Link: *65 + Link: *66 '301': *329 '404': *6 '410': *523 @@ -83855,7 +84060,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 headers: @@ -83910,7 +84115,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 '301': *329 @@ -83956,11 +84161,11 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *531 headers: - Link: *65 + Link: *66 '301': *329 '404': *6 '410': *523 @@ -84774,7 +84979,7 @@ paths: name: label color: red headers: - Link: *65 + Link: *66 '410': *523 x-github: githubCloudOnly: false @@ -84829,7 +85034,7 @@ paths: data_type: date value: '2025-12-25' headers: - Link: *65 + Link: *66 '301': *329 '404': *6 '410': *523 @@ -84861,7 +85066,7 @@ paths: application/json: schema: type: array - items: *80 + items: *81 examples: default: &533 value: @@ -84880,7 +85085,7 @@ paths: color: a2eeef default: false headers: - Link: *65 + Link: *66 '301': *329 '404': *6 '410': *523 @@ -84944,7 +85149,7 @@ paths: application/json: schema: type: array - items: *80 + items: *81 examples: default: *533 '301': *329 @@ -85028,7 +85233,7 @@ paths: application/json: schema: type: array - items: *80 + items: *81 examples: default: *533 '301': *329 @@ -85092,7 +85297,7 @@ paths: application/json: schema: type: array - items: *80 + items: *81 examples: default: value: @@ -85214,7 +85419,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 '301': *329 @@ -85268,7 +85473,7 @@ paths: examples: default: *525 headers: - Link: *65 + Link: *66 '404': *6 '410': *523 x-github: @@ -85409,7 +85614,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 headers: @@ -85456,11 +85661,11 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *531 headers: - Link: *65 + Link: *66 '404': *6 '410': *523 x-github: @@ -85519,7 +85724,7 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 headers: @@ -85581,13 +85786,13 @@ paths: description: Response content: application/json: - schema: *81 + schema: *82 examples: default: *528 '403': *27 '404': *6 '422': *7 - '503': *113 + '503': *114 x-github: triggersNotification: true githubCloudOnly: false @@ -85682,12 +85887,12 @@ paths: issue_url: type: string format: uri - author_association: *78 + author_association: *79 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *79 + reactions: *80 pin: anyOf: - type: 'null' @@ -85722,7 +85927,7 @@ paths: properties: type: type: string - issue: *81 + issue: *82 required: - event - created_at @@ -85944,7 +86149,7 @@ paths: type: string body_text: type: string - author_association: *78 + author_association: *79 required: - event - id @@ -86075,7 +86280,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *78 + author_association: *79 _links: type: object properties: @@ -86170,7 +86375,7 @@ paths: enum: - line - file - reactions: *79 + reactions: *80 body_html: type: string examples: @@ -86481,7 +86686,7 @@ paths: type: User site_admin: true headers: - Link: *65 + Link: *66 '404': *6 '410': *523 x-github: @@ -86563,7 +86768,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86719,11 +86924,11 @@ paths: application/json: schema: type: array - items: *80 + items: *81 examples: default: *533 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -86779,7 +86984,7 @@ paths: description: Response content: application/json: - schema: *80 + schema: *81 examples: default: &551 value: @@ -86825,7 +87030,7 @@ paths: description: Response content: application/json: - schema: *80 + schema: *81 examples: default: *551 '404': *6 @@ -86884,7 +87089,7 @@ paths: description: Response content: application/json: - schema: *80 + schema: *81 examples: default: value: @@ -87045,7 +87250,7 @@ paths: license: anyOf: - type: 'null' - - *83 + - *84 required: - _links - git_url @@ -87335,7 +87540,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -87580,11 +87785,11 @@ paths: application/json: schema: type: array - items: *80 + items: *81 examples: default: *533 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87605,7 +87810,7 @@ paths: - *326 - *555 - *556 - - *86 + - *87 - *557 - *17 - *19 @@ -87616,11 +87821,11 @@ paths: application/json: schema: type: array - items: *106 + items: *107 examples: default: *558 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -88186,7 +88391,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88517,7 +88722,7 @@ paths: - *326 - *563 responses: - '204': *183 + '204': *59 '404': *6 x-github: githubCloudOnly: false @@ -88811,7 +89016,7 @@ paths: description: Empty response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -88879,7 +89084,7 @@ paths: - *325 - *326 responses: - '204': *183 + '204': *59 '422': *14 x-github: githubCloudOnly: false @@ -88901,7 +89106,7 @@ paths: - *325 - *326 responses: - '204': *183 + '204': *59 '422': *14 x-github: githubCloudOnly: false @@ -89089,7 +89294,7 @@ paths: examples: default: *564 headers: - Link: *65 + Link: *66 '304': *35 '422': *15 x-github: @@ -89373,7 +89578,7 @@ paths: type: string ref: type: string - repo: *77 + repo: *78 sha: type: string user: *4 @@ -89390,7 +89595,7 @@ paths: type: string ref: type: string - repo: *77 + repo: *78 sha: type: string user: *4 @@ -89420,7 +89625,7 @@ paths: - review_comments - review_comment - self - author_association: *78 + author_association: *79 auto_merge: *565 draft: description: Indicates whether or not the pull request is a draft. @@ -90175,7 +90380,7 @@ paths: enum: - asc - desc - - *86 + - *87 - *17 - *19 responses: @@ -90239,7 +90444,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90266,7 +90471,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '200': description: Response @@ -90351,7 +90556,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 requestBody: required: true content: @@ -90393,7 +90598,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 responses: '204': description: Response @@ -90416,7 +90621,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -90446,7 +90651,7 @@ paths: examples: default: *525 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -90467,7 +90672,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 requestBody: required: true content: @@ -90532,7 +90737,7 @@ paths: parameters: - *325 - *326 - - *95 + - *96 - *526 responses: '204': @@ -90602,7 +90807,7 @@ paths: application/json: schema: *3 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90773,7 +90978,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -90802,7 +91007,7 @@ paths: - *325 - *326 - *570 - - *103 + - *104 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -90812,7 +91017,7 @@ paths: enum: - asc - desc - - *86 + - *87 - *17 - *19 responses: @@ -90826,7 +91031,7 @@ paths: examples: default: *571 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91056,7 +91261,7 @@ paths: - *325 - *326 - *570 - - *95 + - *96 requestBody: required: true content: @@ -91180,7 +91385,7 @@ paths: examples: default: *572 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91236,10 +91441,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *65 + Link: *66 '422': *15 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91456,7 +91661,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92687,7 +92892,7 @@ paths: type: string body_text: type: string - author_association: *78 + author_association: *79 required: - id - node_id @@ -92736,7 +92941,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93225,7 +93430,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *78 + author_association: *79 _links: type: object properties: @@ -93240,7 +93445,7 @@ paths: type: string body_html: type: string - reactions: *79 + reactions: *80 side: description: The side of the first line of the range for a multi-line comment. @@ -93360,7 +93565,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -93800,7 +94005,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -94496,7 +94701,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94653,7 +94858,7 @@ paths: examples: default: *525 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -95424,7 +95629,7 @@ paths: - *606 - *607 - *608 - - *59 + - *60 - *19 - *17 - *609 @@ -95443,14 +95648,14 @@ paths: items: &618 type: object properties: - number: *170 - created_at: *171 + number: *171 + created_at: *172 updated_at: anyOf: - type: 'null' - - *172 - url: *173 - html_url: *174 + - *173 + url: *174 + html_url: *175 locations_url: type: string format: uri @@ -95700,7 +95905,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95762,7 +95967,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95907,7 +96112,7 @@ paths: '422': description: State does not match the resolution or resolution comment, or assignee does not have write access to the repository - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -96041,11 +96246,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *65 + Link: *66 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96124,7 +96329,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *113 + '503': *114 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -96153,7 +96358,7 @@ paths: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *113 + '503': *114 '200': description: Response content: @@ -96279,7 +96484,7 @@ paths: parameters: - *325 - *326 - - *59 + - *60 - name: sort description: The property to sort the results by. in: query @@ -97243,7 +97448,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *121 + schema: *122 examples: invalid_state_transition: value: @@ -97414,7 +97619,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '422': *15 x-github: githubCloudOnly: false @@ -97459,7 +97664,7 @@ paths: - 1124 - -435 '202': *37 - '204': *183 + '204': *59 '422': description: Repository contains more than 10,000 commits x-github: @@ -97531,7 +97736,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *183 + '204': *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97631,7 +97836,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *183 + '204': *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97832,7 +98037,7 @@ paths: - - 0 - 2 - 21 - '204': *183 + '204': *59 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97976,9 +98181,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98211,7 +98416,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98286,7 +98491,7 @@ paths: examples: default: *246 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -98819,7 +99024,7 @@ paths: description: Response content: application/json: - schema: *152 + schema: *153 examples: default: value: @@ -99273,7 +99478,7 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: value: @@ -99379,7 +99584,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *141 + - *142 - *529 requestBody: required: true @@ -99453,7 +99658,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *113 + '503': *114 x-github: triggersNotification: true githubCloudOnly: false @@ -99484,7 +99689,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *141 + - *142 - *529 requestBody: required: true @@ -99559,7 +99764,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *113 + '503': *114 x-github: triggersNotification: true githubCloudOnly: false @@ -99585,7 +99790,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *141 + - *142 - *529 - *229 responses: @@ -99594,7 +99799,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *113 + '503': *114 x-github: triggersNotification: true githubCloudOnly: false @@ -99711,7 +99916,7 @@ paths: html_url: type: string format: uri - repository: *152 + repository: *153 score: type: number file_size: @@ -99845,7 +100050,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *113 + '503': *114 '422': *15 '403': *27 x-github: @@ -100008,7 +100213,7 @@ paths: type: string sha: type: string - repository: *152 + repository: *153 score: type: number node_id: @@ -100389,10 +100594,10 @@ paths: type: string score: type: number - author_association: *78 + author_association: *79 draft: type: boolean - repository: *77 + repository: *78 body_html: type: string body_text: @@ -100408,8 +100613,8 @@ paths: pinned_comment: anyOf: - type: 'null' - - *82 - reactions: *79 + - *83 + reactions: *80 required: - assignee - closed_at @@ -100597,7 +100802,7 @@ paths: - quoted_text items: - "..." - '503': *113 + '503': *114 '422': *15 '304': *35 '403': *27 @@ -101009,7 +101214,7 @@ paths: license: anyOf: - type: 'null' - - *83 + - *84 permissions: type: object properties: @@ -101230,7 +101435,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *113 + '503': *114 '422': *15 '304': *35 x-github: @@ -101700,7 +101905,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *113 + '503': *114 '422': *15 x-github: githubCloudOnly: false @@ -101905,7 +102110,7 @@ paths: examples: default: *225 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101952,9 +102157,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -101981,7 +102186,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - *651 - - *69 + - *70 responses: '204': description: if user is a member @@ -102018,7 +102223,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - *651 - - *69 + - *70 responses: '204': description: Response @@ -102058,7 +102263,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - *651 - - *69 + - *70 responses: '204': description: Response @@ -102095,7 +102300,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *651 - - *69 + - *70 responses: '200': description: Response @@ -102137,7 +102342,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *651 - - *69 + - *70 requestBody: required: false content: @@ -102199,7 +102404,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *651 - - *69 + - *70 responses: '204': description: Response @@ -102236,11 +102441,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *253 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -102526,7 +102731,7 @@ paths: examples: response-if-child-teams-exist: *655 headers: - Link: *65 + Link: *66 '404': *6 '403': *27 '422': *15 @@ -103046,7 +103251,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 '304': *35 '404': *6 '403': *27 @@ -103069,7 +103274,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *69 + - *70 responses: '204': description: If the user is blocked @@ -103097,7 +103302,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *69 + - *70 responses: '204': description: Response @@ -103121,7 +103326,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *69 + - *70 responses: '204': description: Response @@ -103325,7 +103530,7 @@ paths: '401': *23 '403': *27 '404': *6 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103409,7 +103614,7 @@ paths: examples: default: *447 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103479,7 +103684,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *160 + - *161 responses: '200': description: Response @@ -103515,7 +103720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *160 + - *161 requestBody: required: true content: @@ -103560,7 +103765,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -103588,7 +103793,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *160 + - *161 responses: '204': description: Response @@ -103613,7 +103818,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *160 + - *161 responses: '200': description: Response @@ -103629,7 +103834,7 @@ paths: type: integer repositories: type: array - items: *152 + items: *153 examples: default: *188 '401': *23 @@ -103656,7 +103861,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *160 + - *161 requestBody: required: true content: @@ -103710,7 +103915,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *160 + - *161 - name: repository_id in: path required: true @@ -103743,7 +103948,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *160 + - *161 - name: repository_id in: path required: true @@ -105183,7 +105388,7 @@ paths: primary: true visibility: public headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -105365,9 +105570,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -105398,9 +105603,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -105420,7 +105625,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *69 + - *70 responses: '204': description: if the person is followed by the authenticated user @@ -105450,7 +105655,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *69 + - *70 responses: '204': description: Response @@ -105475,7 +105680,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *69 + - *70 responses: '204': description: Response @@ -105688,7 +105893,7 @@ paths: revoked: false raw_key: string headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -105980,7 +106185,7 @@ paths: suspended_at: suspended_by: headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -106028,11 +106233,11 @@ paths: type: array items: allOf: - - *77 + - *78 examples: - default: *144 + default: *145 headers: - Link: *65 + Link: *66 '404': *6 '403': *27 '304': *35 @@ -106056,7 +106261,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *141 + - *142 responses: '204': description: Response @@ -106082,7 +106287,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *141 + - *142 responses: '204': description: Response @@ -106249,8 +106454,8 @@ paths: - updated - comments default: created - - *59 - - *86 + - *60 + - *87 - *17 - *19 responses: @@ -106260,11 +106465,11 @@ paths: application/json: schema: type: array - items: *81 + items: *82 examples: default: *234 headers: - Link: *65 + Link: *66 '404': *6 '304': *35 x-github: @@ -106347,7 +106552,7 @@ paths: verified: false read_only: false headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -106565,7 +106770,7 @@ paths: - id - type - login - plan: *97 + plan: *98 required: - billing_cycle - next_billing_date @@ -106609,7 +106814,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *65 + Link: *66 '304': *35 '401': *23 '404': *6 @@ -106642,7 +106847,7 @@ paths: examples: default: *669 headers: - Link: *65 + Link: *66 '304': *35 '401': *23 x-github: @@ -106763,7 +106968,7 @@ paths: type: User site_admin: false headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -106788,7 +106993,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *73 + - *74 responses: '200': description: Response @@ -106856,7 +107061,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *73 + - *74 requestBody: required: true content: @@ -107106,7 +107311,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -107692,11 +107897,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *253 headers: - Link: *65 + Link: *66 '404': *6 x-github: githubCloudOnly: false @@ -107711,7 +107916,7 @@ paths: content: application/json: schema: - items: *64 + items: *65 version: '2026-03-10' - changeset: restrict_repo_fields_in_migration_resource patch: @@ -107747,11 +107952,11 @@ paths: application/json: schema: type: array - items: *71 + items: *72 examples: - default: *110 + default: *111 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -108199,7 +108404,7 @@ paths: examples: default: *674 headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -108308,7 +108513,7 @@ paths: application/json: schema: type: array - items: *77 + items: *78 examples: default: &681 summary: Default response @@ -108431,7 +108636,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *65 + Link: *66 '422': *15 '304': *35 '403': *27 @@ -108678,7 +108883,7 @@ paths: examples: default: *675 headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -108783,7 +108988,7 @@ paths: - provider: twitter url: https://twitter.com/github headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -108962,7 +109167,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -109127,7 +109332,7 @@ paths: - created - updated default: created - - *59 + - *60 - *17 - *19 responses: @@ -109137,7 +109342,7 @@ paths: application/json: schema: type: array - items: *77 + items: *78 examples: default-response: *681 application/vnd.github.v3.star+json: @@ -109151,7 +109356,7 @@ paths: starred_at: type: string format: date-time - repo: *77 + repo: *78 required: - starred_at - repo @@ -109279,7 +109484,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -109387,11 +109592,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *253 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -109477,7 +109682,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *65 + Link: *66 '304': *35 '404': *6 '403': *27 @@ -109504,7 +109709,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *99 + - *100 responses: '200': description: Response @@ -109684,7 +109889,7 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: Link: example: ; rel="next" @@ -109827,7 +110032,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *69 + - *70 responses: '200': description: Response @@ -109865,7 +110070,7 @@ paths: - *17 - *45 - *46 - - *69 + - *70 requestBody: required: true content: @@ -109977,7 +110182,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *69 + - *70 requestBody: required: true content: @@ -110042,7 +110247,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *69 + - *70 - name: subject_digest description: Subject Digest in: path @@ -110073,7 +110278,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *69 + - *70 - name: attestation_id description: Attestation ID in: path @@ -110111,7 +110316,7 @@ paths: - *17 - *45 - *46 - - *69 + - *70 - name: subject_digest description: Subject Digest in: path @@ -110169,7 +110374,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *162 examples: default: value: @@ -110209,7 +110414,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *69 + - *70 responses: '200': description: Response @@ -110242,7 +110447,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -110252,7 +110457,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: default: value: @@ -110314,8 +110519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *69 - - *73 + - *70 + - *74 - *17 - *19 responses: @@ -110325,7 +110530,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: default: value: @@ -110402,7 +110607,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -110412,7 +110617,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: default: value: @@ -110470,7 +110675,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -110482,9 +110687,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110501,7 +110706,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *69 + - *70 - *17 - *19 responses: @@ -110513,9 +110718,9 @@ paths: type: array items: *4 examples: - default: *68 + default: *69 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110532,7 +110737,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *69 + - *70 - name: target_user in: path required: true @@ -110559,8 +110764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *69 - - *86 + - *70 + - *87 - *17 - *19 responses: @@ -110570,11 +110775,11 @@ paths: application/json: schema: type: array - items: *87 + items: *88 examples: - default: *88 + default: *89 headers: - Link: *65 + Link: *66 '422': *15 x-github: githubCloudOnly: false @@ -110593,7 +110798,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -110607,7 +110812,7 @@ paths: examples: default: *690 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110629,7 +110834,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *69 + - *70 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -110701,7 +110906,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *69 + - *70 responses: '200': description: Response @@ -110727,7 +110932,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -110763,7 +110968,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110783,7 +110988,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -110793,11 +110998,11 @@ paths: application/json: schema: type: array - items: *71 + items: *72 examples: - default: *110 + default: *111 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110835,7 +111040,7 @@ paths: - nuget - container - *671 - - *69 + - *70 - *19 - *17 responses: @@ -110872,7 +111077,7 @@ paths: parameters: - *249 - *250 - - *69 + - *70 responses: '200': description: Response @@ -110903,7 +111108,7 @@ paths: parameters: - *249 - *250 - - *69 + - *70 responses: '204': description: Response @@ -110937,7 +111142,7 @@ paths: parameters: - *249 - *250 - - *69 + - *70 - name: token description: package token schema: @@ -110971,7 +111176,7 @@ paths: parameters: - *249 - *250 - - *69 + - *70 responses: '200': description: Response @@ -111040,7 +111245,7 @@ paths: - *249 - *250 - *252 - - *69 + - *70 responses: '200': description: Response @@ -111083,7 +111288,7 @@ paths: parameters: - *249 - *250 - - *69 + - *70 - *252 responses: '204': @@ -111118,7 +111323,7 @@ paths: parameters: - *249 - *250 - - *69 + - *70 - *252 responses: '204': @@ -111143,7 +111348,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *69 + - *70 - name: q description: Limit results to projects of the specified type. in: query @@ -111164,7 +111369,7 @@ paths: examples: default: *264 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -111185,7 +111390,7 @@ paths: url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - *265 - - *69 + - *70 responses: '200': description: Response @@ -111195,7 +111400,7 @@ paths: examples: default: *264 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -111216,7 +111421,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - *265 - - *69 + - *70 - *17 - *45 - *46 @@ -111231,7 +111436,7 @@ paths: examples: default: *692 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -111250,7 +111455,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - - *69 + - *70 - *265 requestBody: required: true @@ -111363,7 +111568,7 @@ paths: parameters: - *265 - *702 - - *69 + - *70 responses: '200': description: Response @@ -111373,7 +111578,7 @@ paths: examples: default: *703 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -111395,7 +111600,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - *265 - - *69 + - *70 - *45 - *46 - *17 @@ -111431,7 +111636,7 @@ paths: examples: default: *273 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -111450,7 +111655,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *69 + - *70 - *265 requestBody: required: true @@ -111557,7 +111762,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *265 - - *69 + - *70 - *274 - name: fields description: |- @@ -111582,7 +111787,7 @@ paths: examples: default: *273 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -111602,7 +111807,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - *265 - - *69 + - *70 - *274 requestBody: required: true @@ -111703,7 +111908,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - *265 - - *69 + - *70 - *274 responses: '204': @@ -111727,7 +111932,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - *265 - - *69 + - *70 - *704 - name: fields description: |- @@ -111758,7 +111963,7 @@ paths: examples: default: *273 headers: - Link: *65 + Link: *66 '304': *35 '403': *27 '401': *23 @@ -111784,7 +111989,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -111794,7 +111999,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: default: value: @@ -111859,7 +112064,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -111869,7 +112074,7 @@ paths: application/json: schema: type: array - items: *105 + items: *106 examples: default: value: @@ -111932,7 +112137,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *69 + - *70 - name: type description: Limit results to repositories of the specified type. in: query @@ -111975,11 +112180,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *253 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111999,12 +112204,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - - *69 - - *115 - - *117 + - *70 - *116 - - *705 - *118 + - *117 + - *705 + - *119 responses: '200': description: Response when getting a billing premium request usage report @@ -112112,7 +112317,7 @@ paths: '403': *27 '404': *6 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112132,10 +112337,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - - *69 - - *115 - - *706 + - *70 - *116 + - *706 + - *117 responses: '200': description: Response when getting a billing usage report @@ -112206,7 +112411,7 @@ paths: '400': *14 '403': *27 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112229,12 +112434,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - - *69 - - *115 - - *117 + - *70 - *116 - - *707 - *118 + - *117 + - *707 + - *119 - *708 responses: '200': @@ -112341,7 +112546,7 @@ paths: '403': *27 '404': *6 '500': *53 - '503': *113 + '503': *114 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112359,7 +112564,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -112373,7 +112578,7 @@ paths: examples: default: *677 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112391,7 +112596,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -112405,7 +112610,7 @@ paths: examples: default: *709 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112427,9 +112632,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *69 + - *70 - *710 - - *59 + - *60 - *17 - *19 responses: @@ -112442,11 +112647,11 @@ paths: - type: array items: *711 - type: array - items: *77 + items: *78 examples: default-response: *681 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112463,7 +112668,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *69 + - *70 - *17 - *19 responses: @@ -112473,11 +112678,11 @@ paths: application/json: schema: type: array - items: *152 + items: *153 examples: default: *253 headers: - Link: *65 + Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112796,7 +113001,7 @@ webhooks: license: anyOf: - type: 'null' - - *83 + - *84 organization: anyOf: - type: 'null' @@ -114358,8 +114563,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *84 - repository: *152 + items: *85 + repository: *153 status: type: string enum: @@ -114463,7 +114668,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *84 + items: *85 started_at: type: string format: date-time @@ -138179,12 +138384,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *81 + blocked_issue: *82 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *81 - blocking_issue_repo: *77 + blocking_issue: *82 + blocking_issue_repo: *78 installation: *713 organization: *714 repository: *715 @@ -138270,12 +138475,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *81 + blocked_issue: *82 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *81 - blocking_issue_repo: *77 + blocking_issue: *82 + blocking_issue_repo: *78 installation: *713 organization: *714 repository: *715 @@ -138360,12 +138565,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *81 - blocked_issue_repo: *77 + blocked_issue: *82 + blocked_issue_repo: *78 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *81 + blocking_issue: *82 installation: *713 organization: *714 repository: *715 @@ -138451,12 +138656,12 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *81 - blocked_issue_repo: *77 + blocked_issue: *82 + blocked_issue_repo: *78 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *81 + blocking_issue: *82 installation: *713 organization: *714 repository: *715 @@ -139352,7 +139557,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -140374,7 +140579,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -141529,7 +141734,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -142563,7 +142768,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -143720,7 +143925,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -144737,7 +144942,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -145779,7 +145984,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -146790,7 +146995,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -147812,7 +148017,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 user: title: User type: @@ -149217,7 +149422,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 user: title: User type: @@ -150199,7 +150404,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -151236,7 +151441,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -152227,7 +152432,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -154085,7 +154290,7 @@ webhooks: pinned_comment: anyOf: - type: 'null' - - *82 + - *83 sub_issues_summary: *649 issue_dependencies_summary: *650 issue_field_values: @@ -229862,14 +230067,14 @@ webhooks: alert: &767 type: object properties: - number: *170 - created_at: *171 + number: *171 + created_at: *172 updated_at: anyOf: - type: 'null' - - *172 - url: *173 - html_url: *174 + - *173 + url: *174 + html_url: *175 locations_url: type: string format: uri @@ -230972,7 +231177,7 @@ webhooks: required: - vector_string - score - cvss_severities: *61 + cvss_severities: *62 cwes: type: array items: @@ -231257,7 +231462,7 @@ webhooks: required: - vector_string - score - cvss_severities: *61 + cvss_severities: *62 cwes: type: array items: @@ -232933,12 +233138,12 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *81 - parent_issue_repo: *77 + parent_issue: *82 + parent_issue_repo: *78 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *81 + sub_issue: *82 installation: *713 organization: *714 repository: *715 @@ -233025,12 +233230,12 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *81 - parent_issue_repo: *77 + parent_issue: *82 + parent_issue_repo: *78 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *81 + sub_issue: *82 installation: *713 organization: *714 repository: *715 @@ -233117,12 +233322,12 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *81 - sub_issue_repo: *77 + sub_issue: *82 + sub_issue_repo: *78 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *81 + parent_issue: *82 installation: *713 organization: *714 repository: *715 @@ -233209,12 +233414,12 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *81 - sub_issue_repo: *77 + sub_issue: *82 + sub_issue_repo: *78 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *81 + parent_issue: *82 installation: *713 organization: *714 repository: *715 diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index b9306b5249..ad135a4c13 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -49551,6 +49551,475 @@ } } }, + "/enterprises/{enterprise}/copilot/policies/coding_agent": { + "put": { + "summary": "Set the coding agent policy for an enterprise", + "description": "Sets the policy for Copilot coding agent usage across an enterprise.\n\nEnterprise owners can configure whether Copilot coding agent is enabled for all\norganizations, disabled for all organizations, configured by individual organization\nadmins, or enabled for selected organizations only.\n\nOnly enterprise owners can set the coding agent policy for their enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The coding agent policy configuration", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "policy_state": { + "type": "string", + "description": "The policy state for Copilot coding agent in the enterprise. Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, `enabled_for_selected_orgs`, or `configured_by_org_admins`.", + "enum": [ + "enabled_for_all_orgs", + "disabled_for_all_orgs", + "enabled_for_selected_orgs", + "configured_by_org_admins" + ] + } + }, + "required": [ + "policy_state" + ] + }, + "examples": { + "default": { + "summary": "Enable coding agent for all organizations", + "value": { + "policy_state": "enabled_for_all_orgs" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/enterprises/{enterprise}/copilot/policies/coding_agent/organizations": { + "post": { + "summary": "Add organizations to the enterprise coding agent policy", + "description": "Enables Copilot coding agent for the specified organizations within the enterprise.\n\nThe enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before\nusing this endpoint. Organizations can be specified by login or matched via custom properties.\n\nOnly organizations that have Copilot enabled and belong to the enterprise will be affected.\n\nOnly enterprise owners can add organizations to the coding agent policy.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/add-organizations-to-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The organizations to enable Copilot coding agent for", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "organizations": { + "type": "array", + "description": "List of organization logins within the enterprise to enable Copilot coding agent for.", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "array", + "description": "List of custom property filters to match organizations. Organizations matching any of the specified property name/value pairs will be included. This is a one-time operation, setting the property on an organization in the future will not automatically update its coding agent policy.", + "items": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the custom property to filter by." + }, + "values": { + "type": "array", + "description": "The values of the custom property to match.", + "items": { + "type": "string" + } + } + }, + "required": [ + "property_name", + "values" + ] + } + } + } + }, + "examples": { + "default": { + "summary": "Add organizations that match a login or have a custom property", + "value": { + "organizations": [ + "my-org-1", + "my-org-2" + ], + "custom_properties": [ + { + "property_name": "department", + "values": [ + "engineering", + "security" + ] + } + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "delete": { + "summary": "Remove organizations from the enterprise coding agent policy", + "description": "Disables Copilot coding agent for the specified organizations within the enterprise.\n\nThe enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before\nusing this endpoint. Organizations can be specified by login or matched via custom properties.\n\nOnly organizations that have Copilot enabled and belong to the enterprise will be affected.\n\nOnly enterprise owners can remove organizations from the coding agent policy.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/remove-organizations-from-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The organizations to disable Copilot coding agent for", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "organizations": { + "type": "array", + "description": "List of organization logins within the enterprise to disable Copilot coding agent for.", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "array", + "description": "List of custom property filters to match organizations. Organizations matching any of the specified property name/value pairs will be included. This is a one-time operation, setting the property on an organization in the future will not automatically update its coding agent policy.", + "items": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the custom property to filter by." + }, + "values": { + "type": "array", + "description": "The values of the custom property to match.", + "items": { + "type": "string" + } + } + }, + "required": [ + "property_name", + "values" + ] + } + } + } + }, + "examples": { + "default": { + "summary": "Remove organizations that match a login or have a custom property", + "value": { + "organizations": [ + "my-org-1", + "my-org-2" + ], + "custom_properties": [ + { + "property_name": "department", + "values": [ + "engineering", + "security" + ] + } + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -134784,17 +135253,17 @@ } } }, - "/organizations/{org}/dependabot/repository-access": { + "/organizations/{org}/org-properties/values": { "get": { - "summary": "Lists the repositories Dependabot can access in an organization", - "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", + "summary": "Get all custom property values for an organization", + "description": "Gets all custom property values that are set for an organization.\n\nThe organization must belong to an enterprise.\n\nAccess requirements:\n- Organization admins\n- OAuth tokens and personal access tokens (classic) with the `read:org` scope\n- Actors with the organization-level \"read custom properties for an organization\" fine-grained permission or above", "tags": [ - "dependabot" + "orgs" ], - "operationId": "dependabot/repository-access-for-org", + "operationId": "orgs/custom-properties-for-orgs-get-organization-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-for-an-organization" }, "parameters": [ { @@ -134805,29 +135274,6 @@ "schema": { "type": "string" } - }, - { - "name": "page", - "in": "query", - "description": "The page number of results to fetch.", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "default": 1 - } - }, - { - "name": "per_page", - "in": "query", - "description": "Number of results per page.", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } } ], "responses": { @@ -134836,667 +135282,58 @@ "content": { "application/json": { "schema": { - "title": "Dependabot Repository Access Details", - "description": "Information about repositories that Dependabot is able to access in an organization", - "type": "object", - "properties": { - "default_level": { - "type": [ - "string", - "null" - ], - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal", - null - ], - "examples": [ - "internal" - ] - }, - "accessible_repositories": { - "type": "array", - "items": { - "anyOf": [ + "type": "array", + "items": { + "title": "Custom Property Value", + "description": "Custom property name and associated value", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "value": { + "oneOf": [ { - "type": "null" + "type": "string" }, { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "A unique identifier of the repository.", - "examples": [ - 1296269 - ] - }, - "node_id": { - "type": "string", - "description": "The GraphQL identifier of the repository.", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "type": "string", - "description": "The name of the repository.", - "examples": [ - "Hello-World" - ] - }, - "full_name": { - "type": "string", - "description": "The full, globally unique, name of the repository.", - "examples": [ - "octocat/Hello-World" - ] - }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { - "type": "string", - "format": "uri", - "description": "The URL to view the repository on GitHub.com.", - "examples": [ - "https://github.com/octocat/Hello-World" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The repository description.", - "examples": [ - "This your first repo!" - ] - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "description": "The URL to get more information about the repository from the GitHub API.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World" - ] - }, - "archive_url": { - "type": "string", - "description": "A template for the API URL to download the repository as an archive.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "description": "A template for the API URL to list the available assignees for issues in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "description": "A template for the API URL to get information about branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "description": "A template for the API URL to get information about collaborators of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "description": "A template for the API URL to get information about comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "description": "A template for the API URL to get information about commits on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "description": "A template for the API URL to compare two commits or refs.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "description": "A template for the API URL to get the contents of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "description": "A template for the API URL to list the contributors to the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the deployments of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the downloads on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the events of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the forks of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "description": "A template for the API URL to get information about Git commits of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "description": "A template for the API URL to get information about Git refs of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "description": "A template for the API URL to get information about Git tags of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "issue_comment_url": { - "type": "string", - "description": "A template for the API URL to get information about issue comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "description": "A template for the API URL to get information about issue events on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "description": "A template for the API URL to get information about issues on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "description": "A template for the API URL to get information about deploy keys on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "description": "A template for the API URL to get information about labels of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about the languages of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "description": "The API URL to merge branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "description": "A template for the API URL to get information about milestones of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "description": "A template for the API URL to get information about notifications on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "description": "A template for the API URL to get information about pull requests on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "description": "A template for the API URL to get information about releases on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the stargazers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "description": "A template for the API URL to get information about statuses of a commit.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the subscribers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "description": "The API URL to subscribe to notifications for this repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about tags on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/tags" - ] - }, - "teams_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the teams on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the hooks on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/hooks" - ] - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ] + "type": "array", + "items": { + "type": "string" + } } + ], + "description": "The value assigned to the property", + "type": [ + "null", + "string", + "array" ] } - } - }, - "additionalProperties": false + }, + "required": [ + "property_name", + "value" + ] + } }, "examples": { "default": { - "value": { - "default_level": "public", - "accessible_repositories": [ - { - "id": 123456, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", - "name": "example-repo", - "full_name": "octocat/example-repo", - "owner": { - "name": "octocat", - "email": "octo@github.com", - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", - "gravatar_id": 1, - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat/example-repo", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false, - "starred_at": "\"2020-07-09T00:17:55Z\"", - "user_view_type": "default" - }, - "private": false, - "html_url": "https://github.com/octocat/example-repo", - "description": "This is an example repository.", - "fork": false, - "url": "https://api.github.com/repos/octocat/example-repo", - "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", - "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", - "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", - "events_url": "https://api.github.com/repos/octocat/example-repo/events", - "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", - "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", - "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", - "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", - "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", - "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", - "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" - } - ] - } + "value": [ + { + "property_name": "environment", + "value": "production" + }, + { + "property_name": "service", + "value": "web" + }, + { + "property_name": "team", + "value": "octocat" + } + ] } } } @@ -135556,22 +135393,22 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" + "category": "orgs", + "subcategory": "custom-properties-for-orgs" } }, "patch": { - "summary": "Updates Dependabot's repository access list for an organization", - "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "summary": "Create or update custom property values for an organization", + "description": "Create new or update existing custom property values for an organization.\nTo remove a custom property value from an organization, set the property value to `null`.\n\nThe organization must belong to an enterprise.\n\nAccess requirements:\n- Organization admins\n- OAuth tokens and personal access tokens (classic) with the `admin:org` scope\n- Actors with the organization-level \"edit custom properties for an organization\" fine-grained permission", "tags": [ - "dependabot" + "orgs" ], - "operationId": "dependabot/update-repository-access-for-org", + "operationId": "orgs/custom-properties-for-orgs-create-or-update-organization-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization" }, "parameters": [ { @@ -135591,49 +135428,65 @@ "schema": { "type": "object", "properties": { - "repository_ids_to_add": { - "type": "array", - "items": { - "type": "integer" - }, - "description": "List of repository IDs to add." - }, - "repository_ids_to_remove": { + "properties": { "type": "array", + "description": "A list of custom property names and associated values to apply to the organization.", "items": { - "type": "integer" - }, - "description": "List of repository IDs to remove." + "title": "Custom Property Value", + "description": "Custom property name and associated value", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "The value assigned to the property", + "type": [ + "null", + "string", + "array" + ] + } + }, + "required": [ + "property_name", + "value" + ] + } } }, - "example": { - "repository_ids_to_add": [ - 123, - 456 - ], - "repository_ids_to_remove": [ - 789 - ] - } + "required": [ + "properties" + ] }, "examples": { - "204": { - "summary": "Example with a 'succeeded' status." - }, - "add-example": { - "summary": "Add repositories", - "value": { - "repository_ids_to_add": [ - 123, - 456 - ] - } - }, - "remove-example": { - "summary": "Remove repositories", + "default": { "value": { - "repository_ids_to_remove": [ - 789 + "properties": [ + { + "property_name": "environment", + "value": "production" + }, + { + "property_name": "service", + "value": "web" + }, + { + "property_name": "team", + "value": "octocat" + } ] } } @@ -135643,7 +135496,7 @@ }, "responses": { "204": { - "description": "Response" + "description": "No Content when custom property values are successfully created or updated" }, "403": { "description": "Forbidden", @@ -135696,111 +135549,19 @@ } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" - } - } - }, - "/organizations/{org}/dependabot/repository-access/default-level": { - "put": { - "summary": "Set the default repository access level for Dependabot", - "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", - "tags": [ - "dependabot" - ], - "operationId": "dependabot/set-repository-access-default-level", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "default_level": { - "type": "string", - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal" - ], - "examples": [ - "internal" - ] - } - }, - "required": [ - "default_level" - ] - }, - "examples": { - "204": { - "summary": "Example with a 'succeeded' status.", - "value": { - "default_level": "public" - } - } - } - } - } - }, - "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } }, - "404": { - "description": "Resource not found", + "422": { + "description": "Validation failed, or the endpoint has been spammed.", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", + "title": "Validation Error", + "description": "Validation Error", "type": "object", + "required": [ + "message", + "documentation_url" + ], "properties": { "message": { "type": "string" @@ -135808,11 +135569,56 @@ "documentation_url": { "type": "string" }, - "url": { - "type": "string" - }, - "status": { - "type": "string" + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } } } } @@ -135821,405 +135627,24 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" + "category": "orgs", + "subcategory": "custom-properties-for-orgs" } } }, - "/organizations/{org}/org-properties/values": { + "/orgs/{org}": { "get": { - "summary": "Get all custom property values for an organization", - "description": "Gets all custom property values that are set for an organization.\n\nThe organization must belong to an enterprise.\n\nAccess requirements:\n- Organization admins\n- OAuth tokens and personal access tokens (classic) with the `read:org` scope\n- Actors with the organization-level \"read custom properties for an organization\" fine-grained permission or above", + "summary": "Get an organization", + "description": "Gets information about an organization.\n\nWhen the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, outside collaborators, guest collaborators, repository collaborators, or everyone with access to any repository within the organization to enable [two-factor authentication](https://docs.github.com/enterprise-cloud@latest//articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nTo see the full details about an organization, the authenticated user must be an organization owner.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to see the full details about an organization.\n\nTo see information about an organization's GitHub Enterprise Cloud plan, GitHub Apps need the `Organization plan` permission.", "tags": [ "orgs" ], - "operationId": "orgs/custom-properties-for-orgs-get-organization-values", + "operationId": "orgs/get", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Custom Property Value", - "description": "Custom property name and associated value", - "type": "object", - "properties": { - "property_name": { - "type": "string", - "description": "The name of the property" - }, - "value": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "description": "The value assigned to the property", - "type": [ - "null", - "string", - "array" - ] - } - }, - "required": [ - "property_name", - "value" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "property_name": "environment", - "value": "production" - }, - { - "property_name": "service", - "value": "web" - }, - { - "property_name": "team", - "value": "octocat" - } - ] - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "custom-properties-for-orgs" - } - }, - "patch": { - "summary": "Create or update custom property values for an organization", - "description": "Create new or update existing custom property values for an organization.\nTo remove a custom property value from an organization, set the property value to `null`.\n\nThe organization must belong to an enterprise.\n\nAccess requirements:\n- Organization admins\n- OAuth tokens and personal access tokens (classic) with the `admin:org` scope\n- Actors with the organization-level \"edit custom properties for an organization\" fine-grained permission", - "tags": [ - "orgs" - ], - "operationId": "orgs/custom-properties-for-orgs-create-or-update-organization-values", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "properties": { - "type": "array", - "description": "A list of custom property names and associated values to apply to the organization.", - "items": { - "title": "Custom Property Value", - "description": "Custom property name and associated value", - "type": "object", - "properties": { - "property_name": { - "type": "string", - "description": "The name of the property" - }, - "value": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "description": "The value assigned to the property", - "type": [ - "null", - "string", - "array" - ] - } - }, - "required": [ - "property_name", - "value" - ] - } - } - }, - "required": [ - "properties" - ] - }, - "examples": { - "default": { - "value": { - "properties": [ - { - "property_name": "environment", - "value": "production" - }, - { - "property_name": "service", - "value": "web" - }, - { - "property_name": "team", - "value": "octocat" - } - ] - } - } - } - } - } - }, - "responses": { - "204": { - "description": "No Content when custom property values are successfully created or updated" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": [ - "string", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "custom-properties-for-orgs" - } - } - }, - "/orgs/{org}": { - "get": { - "summary": "Get an organization", - "description": "Gets information about an organization.\n\nWhen the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, outside collaborators, guest collaborators, repository collaborators, or everyone with access to any repository within the organization to enable [two-factor authentication](https://docs.github.com/enterprise-cloud@latest//articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nTo see the full details about an organization, the authenticated user must be an organization owner.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to see the full details about an organization.\n\nTo see information about an organization's GitHub Enterprise Cloud plan, GitHub Apps need the `Organization plan` permission.", - "tags": [ - "orgs" - ], - "operationId": "orgs/get", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization" }, "parameters": [ { @@ -187773,6 +187198,1050 @@ } } }, + "/orgs/{org}/dependabot/repository-access": { + "get": { + "summary": "Lists the repositories Dependabot can access in an organization", + "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/repository-access-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": [ + "string", + "null" + ], + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal", + null + ], + "examples": [ + "internal" + ] + }, + "accessible_repositories": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "A unique identifier of the repository.", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "description": "The GraphQL identifier of the repository.", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "description": "The name of the repository.", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "description": "The full, globally unique, name of the repository.", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The URL to view the repository on GitHub.com.", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The repository description.", + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL to get more information about the repository from the GitHub API.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "description": "A template for the API URL to download the repository as an archive.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "description": "A template for the API URL to list the available assignees for issues in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "description": "A template for the API URL to get information about branches in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "description": "A template for the API URL to get information about collaborators of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "description": "A template for the API URL to get information about comments on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "description": "A template for the API URL to get information about commits on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "description": "A template for the API URL to compare two commits or refs.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "description": "A template for the API URL to get the contents of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "description": "A template for the API URL to list the contributors to the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the deployments of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the downloads on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the events of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the forks of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "description": "A template for the API URL to get information about Git commits of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "description": "A template for the API URL to get information about Git refs of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "description": "A template for the API URL to get information about Git tags of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "issue_comment_url": { + "type": "string", + "description": "A template for the API URL to get information about issue comments on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "description": "A template for the API URL to get information about issue events on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "description": "A template for the API URL to get information about issues on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "description": "A template for the API URL to get information about deploy keys on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "description": "A template for the API URL to get information about labels of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about the languages of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "description": "The API URL to merge branches in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "description": "A template for the API URL to get information about milestones of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "description": "A template for the API URL to get information about notifications on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "description": "A template for the API URL to get information about pull requests on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "description": "A template for the API URL to get information about releases on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the stargazers on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "description": "A template for the API URL to get information about statuses of a commit.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the subscribers on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "description": "The API URL to subscribe to notifications for this repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about tags on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the teams on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the hooks on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/hooks" + ] + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ] + } + ] + } + } + }, + "additionalProperties": false + }, + "examples": { + "default": { + "value": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", + "owner": { + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" + }, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", + "fork": false, + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + } + ] + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "repository-access" + } + }, + "patch": { + "summary": "Updates Dependabot's repository access list for an organization", + "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/update-repository-access-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_ids_to_add": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to add." + }, + "repository_ids_to_remove": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to remove." + } + }, + "example": { + "repository_ids_to_add": [ + 123, + 456 + ], + "repository_ids_to_remove": [ + 789 + ] + } + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status." + }, + "add-example": { + "summary": "Add repositories", + "value": { + "repository_ids_to_add": [ + 123, + 456 + ] + } + }, + "remove-example": { + "summary": "Remove repositories", + "value": { + "repository_ids_to_remove": [ + 789 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, + "/orgs/{org}/dependabot/repository-access/default-level": { + "put": { + "summary": "Set the default repository access level for Dependabot", + "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/set-repository-access-default-level", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "examples": [ + "internal" + ] + } + }, + "required": [ + "default_level" + ] + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status.", + "value": { + "default_level": "public" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, "/orgs/{org}/dependabot/secrets": { "get": { "summary": "List organization secrets", diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index f21a4dde9a..a972070b8f 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -705,7 +705,7 @@ paths: required: - vector_string - score - cvss_severities: &128 + cvss_severities: &129 type: - object - 'null' @@ -752,7 +752,7 @@ paths: required: - vector_string - score - epss: &129 + epss: &130 type: - object - 'null' @@ -13696,28 +13696,28 @@ paths: items: &314 type: object properties: - number: &126 + number: &127 type: integer description: The security alert number. readOnly: true - created_at: &133 + created_at: &134 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &134 + updated_at: &135 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - url: &131 + url: &132 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &132 + html_url: &133 type: string description: The GitHub URL of the alert resource. format: uri @@ -13738,7 +13738,7 @@ paths: - dismissed - fixed - - fixed_at: &136 + fixed_at: &137 type: - string - 'null' @@ -13750,7 +13750,7 @@ paths: anyOf: - type: 'null' - *4 - dismissed_at: &135 + dismissed_at: &136 type: - string - 'null' @@ -15506,7 +15506,7 @@ paths: - *39 - *116 responses: - '204': &151 + '204': &126 description: A header with no content is returned. '400': *14 '403': *27 @@ -16230,7 +16230,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &142 + items: &143 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -16443,7 +16443,7 @@ paths: - slug - parent - type - - &141 + - &142 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -16566,7 +16566,7 @@ paths: - created_at additionalProperties: false examples: - default: &143 + default: &144 value: total_seats: 2 seats: @@ -18163,6 +18163,211 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/policies/coding_agent": + put: + summary: Set the coding agent policy for an enterprise + description: |- + Sets the policy for Copilot coding agent usage across an enterprise. + + Enterprise owners can configure whether Copilot coding agent is enabled for all + organizations, disabled for all organizations, configured by individual organization + admins, or enabled for selected organizations only. + + Only enterprise owners can set the coding agent policy for their enterprise. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/set-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise + parameters: + - *39 + requestBody: + description: The coding agent policy configuration + required: true + content: + application/json: + schema: + type: object + properties: + policy_state: + type: string + description: The policy state for Copilot coding agent in the enterprise. + Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, + `enabled_for_selected_orgs`, or `configured_by_org_admins`. + enum: + - enabled_for_all_orgs + - disabled_for_all_orgs + - enabled_for_selected_orgs + - configured_by_org_admins + required: + - policy_state + examples: + default: + summary: Enable coding agent for all organizations + value: + policy_state: enabled_for_all_orgs + responses: + '204': *126 + '400': *14 + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management + "/enterprises/{enterprise}/copilot/policies/coding_agent/organizations": + post: + summary: Add organizations to the enterprise coding agent policy + description: |- + Enables Copilot coding agent for the specified organizations within the enterprise. + + The enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before + using this endpoint. Organizations can be specified by login or matched via custom properties. + + Only organizations that have Copilot enabled and belong to the enterprise will be affected. + + Only enterprise owners can add organizations to the coding agent policy. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/add-organizations-to-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy + parameters: + - *39 + requestBody: + description: The organizations to enable Copilot coding agent for + required: true + content: + application/json: + schema: + type: object + properties: + organizations: + type: array + description: List of organization logins within the enterprise to + enable Copilot coding agent for. + items: + type: string + custom_properties: + type: array + description: List of custom property filters to match organizations. + Organizations matching any of the specified property name/value + pairs will be included. This is a one-time operation, setting + the property on an organization in the future will not automatically + update its coding agent policy. + items: + type: object + properties: + property_name: + type: string + description: The name of the custom property to filter by. + values: + type: array + description: The values of the custom property to match. + items: + type: string + required: + - property_name + - values + examples: + default: + summary: Add organizations that match a login or have a custom property + value: + organizations: + - my-org-1 + - my-org-2 + custom_properties: + - property_name: department + values: + - engineering + - security + responses: + '204': *126 + '400': *14 + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management + delete: + summary: Remove organizations from the enterprise coding agent policy + description: |- + Disables Copilot coding agent for the specified organizations within the enterprise. + + The enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before + using this endpoint. Organizations can be specified by login or matched via custom properties. + + Only organizations that have Copilot enabled and belong to the enterprise will be affected. + + Only enterprise owners can remove organizations from the coding agent policy. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/remove-organizations-from-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy + parameters: + - *39 + requestBody: + description: The organizations to disable Copilot coding agent for + required: true + content: + application/json: + schema: + type: object + properties: + organizations: + type: array + description: List of organization logins within the enterprise to + disable Copilot coding agent for. + items: + type: string + custom_properties: + type: array + description: List of custom property filters to match organizations. + Organizations matching any of the specified property name/value + pairs will be included. This is a one-time operation, setting + the property on an organization in the future will not automatically + update its coding agent policy. + items: + type: object + properties: + property_name: + type: string + description: The name of the custom property to filter by. + values: + type: array + description: The values of the custom property to match. + items: + type: string + required: + - property_name + - values + examples: + default: + summary: Remove organizations that match a login or have a custom + property + value: + organizations: + - my-org-1 + - my-org-2 + custom_properties: + - property_name: department + values: + - engineering + - security + responses: + '204': *126 + '400': *14 + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -18300,7 +18505,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *126 + number: *127 state: type: string description: The state of the Dependabot alert. @@ -18315,7 +18520,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &127 + package: &128 type: object description: Details for the vulnerable package. readOnly: true @@ -18395,13 +18600,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &130 + items: &131 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *127 + package: *128 severity: type: string description: The severity of the vulnerability. @@ -18476,8 +18681,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *128 - epss: *129 + cvss_severities: *129 + epss: *130 cwes: type: array description: Details for the advisory pertaining to Common @@ -18577,12 +18782,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *130 - url: *131 - html_url: *132 - created_at: *133 - updated_at: *134 - dismissed_at: *135 + security_vulnerability: *131 + url: *132 + html_url: *133 + created_at: *134 + updated_at: *135 + dismissed_at: *136 dismissed_by: anyOf: - type: 'null' @@ -18606,7 +18811,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *136 + fixed_at: *137 auto_dismissed_at: &592 type: - string @@ -19305,7 +19510,7 @@ paths: roles: type: array description: The list of enterprise roles available to the enterprise. - items: &140 + items: &141 title: Enterprise Role description: Enterprise custom roles type: object @@ -19433,7 +19638,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team parameters: - *39 - - &137 + - &138 name: team_slug description: The slug of the enterprise team name. in: path @@ -19476,8 +19681,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team parameters: - *39 - - *137 - - &138 + - *138 + - &139 name: role_id description: The unique identifier of the role. in: path @@ -19519,8 +19724,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team parameters: - *39 - - *137 - *138 + - *139 responses: '204': description: Response @@ -19554,7 +19759,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-user parameters: - *39 - - &139 + - &140 name: username description: The handle for the GitHub user account. in: path @@ -19594,8 +19799,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-an-enterprise-user parameters: - *39 + - *140 - *139 - - *138 responses: '204': description: Response @@ -19628,8 +19833,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-enterprise-user-role-assignment parameters: - *39 + - *140 - *139 - - *138 responses: '204': description: Response @@ -19663,13 +19868,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#get-an-enterprise-role parameters: - *39 - - *138 + - *139 responses: '200': description: Response content: application/json: - schema: *140 + schema: *141 examples: default: value: @@ -19723,7 +19928,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#list-teams-that-are-assigned-to-an-enterprise-role parameters: - *39 - - *138 + - *139 - *17 - *19 responses: @@ -19733,7 +19938,7 @@ paths: application/json: schema: type: array - items: *141 + items: *142 examples: default: &208 value: @@ -19774,7 +19979,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#list-users-that-are-assigned-to-an-enterprise-role parameters: - *39 - - *138 + - *139 - *17 - *19 responses: @@ -19807,7 +20012,7 @@ paths: description: Enterprise Team the user has gotten the role through type: array - items: *141 + items: *142 examples: default: value: @@ -20040,7 +20245,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *39 - - *139 + - *140 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -20056,9 +20261,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *142 + items: *143 examples: - default: *143 + default: *144 '500': *38 '401': *23 '403': *27 @@ -20101,7 +20306,7 @@ paths: type: integer network_configurations: type: array - items: &144 + items: &145 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -20252,9 +20457,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *145 examples: - default: &145 + default: &146 value: id: 123456789ABCDEF name: My network configuration @@ -20281,7 +20486,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - &146 + - &147 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -20293,9 +20498,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *145 examples: - default: *145 + default: *146 headers: Link: *45 x-github: @@ -20315,7 +20520,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - *146 + - *147 requestBody: required: true content: @@ -20368,9 +20573,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *145 examples: - default: *145 + default: *146 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20388,7 +20593,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - *39 - - *146 + - *147 responses: '204': description: Response @@ -20501,7 +20706,7 @@ paths: application/json: schema: type: array - items: &147 + items: &148 title: Custom Property for Organization description: Custom property defined for an organization allOf: @@ -20579,7 +20784,7 @@ paths: - property_name - value_type examples: - default: &148 + default: &149 value: - property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -20639,7 +20844,7 @@ paths: type: array description: The array of organization custom properties to create or update. - items: *147 + items: *148 minItems: 1 maxItems: 100 required: @@ -20672,9 +20877,9 @@ paths: application/json: schema: type: array - items: *147 + items: *148 examples: - default: *148 + default: *149 '403': *27 '404': *6 '422': *7 @@ -20701,7 +20906,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#get-an-organization-custom-property-definition-from-an-enterprise parameters: - *39 - - &149 + - &150 name: custom_property_name description: The custom property name in: path @@ -20713,9 +20918,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: &150 + default: &151 value: property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -20752,7 +20957,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#create-or-update-an-organization-custom-property-definition-on-an-enterprise parameters: - *39 - - *149 + - *150 requestBody: required: true content: @@ -20830,9 +21035,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: *150 + default: *151 '403': *27 '404': *6 '422': *7 @@ -20858,9 +21063,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#remove-an-organization-custom-property-definition-from-an-enterprise parameters: - *39 - - *149 + - *150 responses: - '204': *151 + '204': *126 '403': *27 '404': *6 '422': *7 @@ -21239,7 +21444,7 @@ paths: parameters: - *39 - *87 - - *149 + - *150 responses: '200': description: Response @@ -21280,7 +21485,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *39 - - *149 + - *150 responses: '200': description: Response @@ -21310,7 +21515,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *39 - - *149 + - *150 requestBody: required: true content: @@ -21414,9 +21619,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *39 - - *149 + - *150 responses: - '204': *151 + '204': *126 '403': *27 '404': *6 x-github: @@ -23156,14 +23361,14 @@ paths: items: &439 type: object properties: - number: *126 - created_at: *133 + number: *127 + created_at: *134 updated_at: anyOf: - type: 'null' - - *134 - url: *131 - html_url: *132 + - *135 + url: *132 + html_url: *133 locations_url: type: string format: uri @@ -26382,7 +26587,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team parameters: - *39 - - *137 + - *138 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -26447,7 +26652,7 @@ paths: application/json: schema: type: array - items: *141 + items: *142 examples: default: *208 headers: @@ -26526,7 +26731,7 @@ paths: description: Response content: application/json: - schema: *141 + schema: *142 examples: default: &213 value: @@ -26714,7 +26919,7 @@ paths: parameters: - *39 - *209 - - *139 + - *140 responses: '200': description: User is a member of the enterprise team. @@ -26759,7 +26964,7 @@ paths: parameters: - *39 - *209 - - *139 + - *140 responses: '201': description: Successfully added team member @@ -26786,7 +26991,7 @@ paths: parameters: - *39 - *209 - - *139 + - *140 responses: '204': description: Response @@ -27044,7 +27249,7 @@ paths: description: Response content: application/json: - schema: *141 + schema: *142 examples: default: *213 headers: @@ -27124,7 +27329,7 @@ paths: description: Response content: application/json: - schema: *141 + schema: *142 examples: default: *213 headers: @@ -34612,272 +34817,6 @@ paths: enabledForGitHubApps: true category: actions subcategory: cache - "/organizations/{org}/dependabot/repository-access": - get: - summary: Lists the repositories Dependabot can access in an organization - description: |- - Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. - Unauthorized users will not see the existence of this endpoint. - tags: - - dependabot - operationId: dependabot/repository-access-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization - parameters: - - *87 - - name: page - in: query - description: The page number of results to fetch. - required: false - schema: - type: integer - minimum: 1 - default: 1 - - name: per_page - in: query - description: Number of results per page. - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - responses: - '200': - description: Response - content: - application/json: - schema: - title: Dependabot Repository Access Details - description: Information about repositories that Dependabot is able - to access in an organization - type: object - properties: - default_level: - type: - - string - - 'null' - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - - - examples: - - internal - accessible_repositories: - type: array - items: - anyOf: - - type: 'null' - - *120 - additionalProperties: false - examples: - default: - value: - default_level: public - accessible_repositories: - - id: 123456 - node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= - name: example-repo - full_name: octocat/example-repo - owner: - name: octocat - email: octo@github.com - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://avatars.githubusercontent.com/u/1?v=4 - gravatar_id: 1 - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat/example-repo - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - starred_at: '"2020-07-09T00:17:55Z"' - user_view_type: default - private: false - html_url: https://github.com/octocat/example-repo - description: This is an example repository. - fork: false - url: https://api.github.com/repos/octocat/example-repo - archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} - commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} - compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/example-repo/contributors - deployments_url: https://api.github.com/repos/octocat/example-repo/deployments - downloads_url: https://api.github.com/repos/octocat/example-repo/downloads - events_url: https://api.github.com/repos/octocat/example-repo/events - forks_url: https://api.github.com/repos/octocat/example-repo/forks - git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} - keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} - languages_url: https://api.github.com/repos/octocat/example-repo/languages - merges_url: https://api.github.com/repos/octocat/example-repo/merges - milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} - releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers - statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers - subscription_url: https://api.github.com/repos/octocat/example-repo/subscription - tags_url: https://api.github.com/repos/octocat/example-repo/tags - teams_url: https://api.github.com/repos/octocat/example-repo/teams - trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/example-repo/hooks - '403': *27 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access - patch: - summary: Updates Dependabot's repository access list for an organization - description: |- - Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. - - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. - Unauthorized users will not see the existence of this endpoint. - - **Example request body:** - ```json - { - "repository_ids_to_add": [123, 456], - "repository_ids_to_remove": [789] - } - ``` - tags: - - dependabot - operationId: dependabot/update-repository-access-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization - parameters: - - *87 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - repository_ids_to_add: - type: array - items: - type: integer - description: List of repository IDs to add. - repository_ids_to_remove: - type: array - items: - type: integer - description: List of repository IDs to remove. - example: - repository_ids_to_add: - - 123 - - 456 - repository_ids_to_remove: - - 789 - examples: - '204': - summary: Example with a 'succeeded' status. - add-example: - summary: Add repositories - value: - repository_ids_to_add: - - 123 - - 456 - remove-example: - summary: Remove repositories - value: - repository_ids_to_remove: - - 789 - responses: - '204': - description: Response - '403': *27 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access - "/organizations/{org}/dependabot/repository-access/default-level": - put: - summary: Set the default repository access level for Dependabot - description: |- - Sets the default level of repository access Dependabot will have while performing an update. Available values are: - - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. - - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. - - Unauthorized users will not see the existence of this endpoint. - - This operation supports both server-to-server and user-to-server access. - tags: - - dependabot - operationId: dependabot/set-repository-access-default-level - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot - parameters: - - *87 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - default_level: - type: string - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - examples: - - internal - required: - - default_level - examples: - '204': - summary: Example with a 'succeeded' status. - value: - default_level: public - responses: - '204': - description: Response - '403': *27 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access "/organizations/{org}/org-properties/values": get: summary: Get all custom property values for an organization @@ -41502,7 +41441,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *87 - - *139 + - *140 responses: '204': description: If the user is blocked @@ -41528,7 +41467,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - *87 - - *139 + - *140 responses: '204': description: Response @@ -41549,7 +41488,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *87 - - *139 + - *140 responses: '204': description: Response @@ -42721,7 +42660,7 @@ paths: - 32 - 91 responses: - '204': *151 + '204': *126 '400': *14 '403': *27 '404': *6 @@ -43063,7 +43002,7 @@ paths: - *87 - *116 responses: - '204': *151 + '204': *126 '400': *14 '403': *27 '404': *6 @@ -44859,9 +44798,9 @@ paths: currently being billed. seats: type: array - items: *142 + items: *143 examples: - default: *143 + default: *144 headers: Link: *45 '500': *38 @@ -45723,7 +45662,7 @@ paths: schema: *122 examples: default: *123 - '204': *151 + '204': *126 '500': *38 '403': *27 '404': *6 @@ -45799,7 +45738,7 @@ paths: schema: *122 examples: default: *123 - '204': *151 + '204': *126 '500': *38 '403': *27 '404': *6 @@ -46228,7 +46167,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *87 - - *138 + - *139 responses: '200': description: Response @@ -46259,7 +46198,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *87 - - *138 + - *139 requestBody: required: true content: @@ -46330,7 +46269,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *87 - - *138 + - *139 responses: '204': description: Response @@ -46410,7 +46349,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *87 - - *138 + - *139 responses: '200': description: Response @@ -46447,7 +46386,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *87 - - *138 + - *139 requestBody: required: true content: @@ -46500,7 +46439,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *87 - - *138 + - *139 responses: '204': description: Response @@ -46599,6 +46538,272 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: alerts + "/orgs/{org}/dependabot/repository-access": + get: + summary: Lists the repositories Dependabot can access in an organization + description: |- + Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. + > [!NOTE] + > This operation supports both server-to-server and user-to-server access. + Unauthorized users will not see the existence of this endpoint. + tags: + - dependabot + operationId: dependabot/repository-access-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization + parameters: + - *87 + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 + responses: + '200': + description: Response + content: + application/json: + schema: + title: Dependabot Repository Access Details + description: Information about repositories that Dependabot is able + to access in an organization + type: object + properties: + default_level: + type: + - string + - 'null' + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + - + examples: + - internal + accessible_repositories: + type: array + items: + anyOf: + - type: 'null' + - *120 + additionalProperties: false + examples: + default: + value: + default_level: public + accessible_repositories: + - id: 123456 + node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= + name: example-repo + full_name: octocat/example-repo + owner: + name: octocat + email: octo@github.com + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://avatars.githubusercontent.com/u/1?v=4 + gravatar_id: 1 + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat/example-repo + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + starred_at: '"2020-07-09T00:17:55Z"' + user_view_type: default + private: false + html_url: https://github.com/octocat/example-repo + description: This is an example repository. + fork: false + url: https://api.github.com/repos/octocat/example-repo + archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} + commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} + compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/example-repo/contributors + deployments_url: https://api.github.com/repos/octocat/example-repo/deployments + downloads_url: https://api.github.com/repos/octocat/example-repo/downloads + events_url: https://api.github.com/repos/octocat/example-repo/events + forks_url: https://api.github.com/repos/octocat/example-repo/forks + git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} + keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} + languages_url: https://api.github.com/repos/octocat/example-repo/languages + merges_url: https://api.github.com/repos/octocat/example-repo/merges + milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} + releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers + statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers + subscription_url: https://api.github.com/repos/octocat/example-repo/subscription + tags_url: https://api.github.com/repos/octocat/example-repo/tags + teams_url: https://api.github.com/repos/octocat/example-repo/teams + trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access + patch: + summary: Updates Dependabot's repository access list for an organization + description: |- + Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. + + > [!NOTE] + > This operation supports both server-to-server and user-to-server access. + Unauthorized users will not see the existence of this endpoint. + + **Example request body:** + ```json + { + "repository_ids_to_add": [123, 456], + "repository_ids_to_remove": [789] + } + ``` + tags: + - dependabot + operationId: dependabot/update-repository-access-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization + parameters: + - *87 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_ids_to_add: + type: array + items: + type: integer + description: List of repository IDs to add. + repository_ids_to_remove: + type: array + items: + type: integer + description: List of repository IDs to remove. + example: + repository_ids_to_add: + - 123 + - 456 + repository_ids_to_remove: + - 789 + examples: + '204': + summary: Example with a 'succeeded' status. + add-example: + summary: Add repositories + value: + repository_ids_to_add: + - 123 + - 456 + remove-example: + summary: Remove repositories + value: + repository_ids_to_remove: + - 789 + responses: + '204': + description: Response + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access + "/orgs/{org}/dependabot/repository-access/default-level": + put: + summary: Set the default repository access level for Dependabot + description: |- + Sets the default level of repository access Dependabot will have while performing an update. Available values are: + - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. + - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. + + Unauthorized users will not see the existence of this endpoint. + + This operation supports both server-to-server and user-to-server access. + tags: + - dependabot + operationId: dependabot/set-repository-access-default-level + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot + parameters: + - *87 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + examples: + - internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access "/orgs/{org}/dependabot/secrets": get: summary: List organization secrets @@ -50365,7 +50570,7 @@ paths: - *87 - *373 responses: - '204': *151 + '204': *126 '404': *6 '422': *7 x-github: @@ -50774,7 +50979,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - *87 - - *139 + - *140 responses: '204': description: Response if requester is an organization member and user is @@ -50809,7 +51014,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - *87 - - *139 + - *140 responses: '204': description: Response @@ -50836,7 +51041,7 @@ paths: - *17 - *19 - *87 - - *139 + - *140 responses: '200': description: Response @@ -50880,7 +51085,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *87 - - *139 + - *140 - &381 name: codespace_name in: path @@ -50915,7 +51120,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *87 - - *139 + - *140 - *381 responses: '200': @@ -51098,13 +51303,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *87 - - *139 + - *140 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *142 + schema: *143 examples: default: value: @@ -51174,7 +51379,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - *87 - - *139 + - *140 responses: '200': description: Response @@ -51322,7 +51527,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - *87 - - *139 + - *140 requestBody: required: false content: @@ -51377,7 +51582,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - *87 - - *139 + - *140 responses: '204': description: Response @@ -52725,7 +52930,7 @@ paths: parameters: - *87 - *214 - - *138 + - *139 responses: '204': description: Response @@ -52756,7 +52961,7 @@ paths: parameters: - *87 - *214 - - *138 + - *139 responses: '204': description: Response @@ -52782,7 +52987,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *87 - - *139 + - *140 responses: '204': description: Response @@ -52808,8 +53013,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *87 + - *140 - *139 - - *138 responses: '204': description: Response @@ -52840,8 +53045,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *87 + - *140 - *139 - - *138 responses: '204': description: Response @@ -52870,7 +53075,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *87 - - *138 + - *139 responses: '200': description: Response @@ -52934,7 +53139,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *87 - - *138 + - *139 requestBody: required: true content: @@ -53027,7 +53232,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *87 - - *138 + - *139 responses: '204': description: Response @@ -53053,7 +53258,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *87 - - *138 + - *139 - *17 - *19 responses: @@ -53195,7 +53400,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *87 - - *138 + - *139 - *17 - *19 responses: @@ -53418,7 +53623,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *87 - - *139 + - *140 requestBody: required: false content: @@ -53476,7 +53681,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *87 - - *139 + - *140 responses: '204': description: Response @@ -54361,7 +54566,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *151 + '204': *126 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54678,7 +54883,7 @@ paths: responses: '500': *38 '404': *6 - '204': *151 + '204': *126 '403': *27 '422': *15 x-github: @@ -58491,7 +58696,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *87 - - *149 + - *150 responses: '200': description: Response @@ -58523,7 +58728,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *87 - - *149 + - *150 requestBody: required: true content: @@ -58570,9 +58775,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *87 - - *149 + - *150 responses: - '204': *151 + '204': *126 '403': *27 '404': *6 x-github: @@ -58776,7 +58981,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *87 - - *139 + - *140 responses: '204': description: Response if user is a public member @@ -58801,7 +59006,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *87 - - *139 + - *140 responses: '204': description: Response @@ -58823,7 +59028,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *87 - - *139 + - *140 responses: '204': description: Response @@ -61491,7 +61696,7 @@ paths: required: - vector_string - score - cvss_severities: *128 + cvss_severities: *129 cwes: type: - array @@ -62379,7 +62584,7 @@ paths: type: integer network_configurations: type: array - items: *144 + items: *145 examples: default: *447 headers: @@ -62458,9 +62663,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *145 examples: - default: *145 + default: *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62481,15 +62686,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *87 - - *146 + - *147 responses: '200': description: Response content: application/json: - schema: *144 + schema: *145 examples: - default: *145 + default: *146 headers: Link: *45 x-github: @@ -62511,7 +62716,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *87 - - *146 + - *147 requestBody: required: true content: @@ -62564,9 +62769,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *145 examples: - default: *145 + default: *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62586,7 +62791,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *87 - - *146 + - *147 responses: '204': description: Response @@ -63746,7 +63951,7 @@ paths: parameters: - *87 - *214 - - *139 + - *140 responses: '200': description: Response @@ -63818,7 +64023,7 @@ paths: parameters: - *87 - *214 - - *139 + - *140 requestBody: required: false content: @@ -63882,7 +64087,7 @@ paths: parameters: - *87 - *214 - - *139 + - *140 responses: '204': description: Response @@ -78206,19 +78411,19 @@ paths: items: type: object properties: - number: *126 - created_at: *133 - updated_at: *134 - url: *131 - html_url: *132 + number: *127 + created_at: *134 + updated_at: *135 + url: *132 + html_url: *133 instances_url: *532 state: *113 - fixed_at: *136 + fixed_at: *137 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *135 + dismissed_at: *136 dismissed_reason: *533 dismissed_comment: *534 rule: *535 @@ -78383,7 +78588,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *126 + schema: *127 responses: '200': description: Response @@ -78392,19 +78597,19 @@ paths: schema: &540 type: object properties: - number: *126 - created_at: *133 - updated_at: *134 - url: *131 - html_url: *132 + number: *127 + created_at: *134 + updated_at: *135 + url: *132 + html_url: *133 instances_url: *532 state: *113 - fixed_at: *136 + fixed_at: *137 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *135 + dismissed_at: *136 dismissed_reason: *533 dismissed_comment: *534 rule: @@ -80896,7 +81101,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *151 + '204': *126 '304': *35 '403': *27 '404': *6 @@ -82212,7 +82417,7 @@ paths: parameters: - *459 - *460 - - *139 + - *140 responses: '204': description: Response if user is a collaborator @@ -82260,7 +82465,7 @@ paths: parameters: - *459 - *460 - - *139 + - *140 requestBody: required: false content: @@ -82516,7 +82721,7 @@ paths: parameters: - *459 - *460 - - *139 + - *140 responses: '204': description: No Content when collaborator was removed from the repository. @@ -82549,7 +82754,7 @@ paths: parameters: - *459 - *460 - - *139 + - *140 responses: '200': description: if user has admin permissions @@ -86684,7 +86889,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *126 + number: *127 state: type: string description: The state of the Dependabot alert. @@ -86699,7 +86904,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *127 + package: *128 manifest_path: type: string description: The full path to the dependency manifest file, @@ -86732,12 +86937,12 @@ paths: - inconclusive - security_advisory: *591 - security_vulnerability: *130 - url: *131 - html_url: *132 - created_at: *133 - updated_at: *134 - dismissed_at: *135 + security_vulnerability: *131 + url: *132 + html_url: *133 + created_at: *134 + updated_at: *135 + dismissed_at: *136 dismissed_by: anyOf: - type: 'null' @@ -86761,7 +86966,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *136 + fixed_at: *137 auto_dismissed_at: *592 dismissal_request: *593 assignees: @@ -87029,7 +87234,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *126 + schema: *127 responses: '200': description: Response @@ -93609,7 +93814,7 @@ paths: - *459 - *460 responses: - '204': *151 + '204': *126 '409': *119 x-github: githubCloudOnly: false @@ -93630,7 +93835,7 @@ paths: - *459 - *460 responses: - '204': *151 + '204': *126 '409': *119 x-github: githubCloudOnly: false @@ -101904,7 +102109,7 @@ paths: - *460 - *687 responses: - '204': *151 + '204': *126 '404': *6 x-github: githubCloudOnly: false @@ -102266,7 +102471,7 @@ paths: - *459 - *460 responses: - '204': *151 + '204': *126 '422': *14 x-github: githubCloudOnly: false @@ -102288,7 +102493,7 @@ paths: - *459 - *460 responses: - '204': *151 + '204': *126 '422': *14 x-github: githubCloudOnly: false @@ -108700,14 +108905,14 @@ paths: items: &729 type: object properties: - number: *126 - created_at: *133 + number: *127 + created_at: *134 updated_at: anyOf: - type: 'null' - - *134 - url: *131 - html_url: *132 + - *135 + url: *132 + html_url: *133 locations_url: type: string format: uri @@ -110704,7 +110909,7 @@ paths: - 1124 - -435 '202': *37 - '204': *151 + '204': *126 '422': description: Repository contains more than 10,000 commits x-github: @@ -110776,7 +110981,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *151 + '204': *126 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110876,7 +111081,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *151 + '204': *126 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111077,7 +111282,7 @@ paths: - - 0 - 2 - 21 - '204': *151 + '204': *126 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -117297,7 +117502,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - *788 - - *139 + - *140 responses: '204': description: if user is a member @@ -117334,7 +117539,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - *788 - - *139 + - *140 responses: '204': description: Response @@ -117374,7 +117579,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - *788 - - *139 + - *140 responses: '204': description: Response @@ -117411,7 +117616,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *788 - - *139 + - *140 responses: '200': description: Response @@ -117453,7 +117658,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *788 - - *139 + - *140 requestBody: required: false content: @@ -117515,7 +117720,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *788 - - *139 + - *140 responses: '204': description: Response @@ -118510,7 +118715,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *139 + - *140 responses: '204': description: If the user is blocked @@ -118538,7 +118743,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *139 + - *140 responses: '204': description: Response @@ -118562,7 +118767,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *139 + - *140 responses: '204': description: Response @@ -120861,7 +121066,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *139 + - *140 responses: '204': description: if the person is followed by the authenticated user @@ -120891,7 +121096,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *139 + - *140 responses: '204': description: Response @@ -120916,7 +121121,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *139 + - *140 responses: '204': description: Response @@ -125238,7 +125443,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *139 + - *140 responses: '200': description: Response @@ -125276,7 +125481,7 @@ paths: - *17 - *108 - *109 - - *139 + - *140 requestBody: required: true content: @@ -125373,7 +125578,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *139 + - *140 requestBody: required: true content: @@ -125438,7 +125643,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *139 + - *140 - name: subject_digest description: Subject Digest in: path @@ -125469,7 +125674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *139 + - *140 - name: attestation_id description: Attestation ID in: path @@ -125507,7 +125712,7 @@ paths: - *17 - *108 - *109 - - *139 + - *140 - name: subject_digest description: Subject Digest in: path @@ -125591,7 +125796,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *139 + - *140 responses: '200': description: Response @@ -125624,7 +125829,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *139 + - *140 - *17 - *19 responses: @@ -125696,7 +125901,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *139 + - *140 - *87 - *17 - *19 @@ -125784,7 +125989,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *139 + - *140 - *17 - *19 responses: @@ -125852,7 +126057,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *139 + - *140 - *17 - *19 responses: @@ -125883,7 +126088,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *139 + - *140 - *17 - *19 responses: @@ -125914,7 +126119,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *139 + - *140 - name: target_user in: path required: true @@ -125941,7 +126146,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *139 + - *140 - *224 - *17 - *19 @@ -125975,7 +126180,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *139 + - *140 - *17 - *19 responses: @@ -126011,7 +126216,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *139 + - *140 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -126083,7 +126288,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *139 + - *140 responses: '200': description: Response @@ -126109,7 +126314,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *139 + - *140 - *17 - *19 responses: @@ -126165,7 +126370,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *139 + - *140 - *17 - *19 responses: @@ -126217,7 +126422,7 @@ paths: - nuget - container - *808 - - *139 + - *140 - *19 - *17 responses: @@ -126254,7 +126459,7 @@ paths: parameters: - *391 - *392 - - *139 + - *140 responses: '200': description: Response @@ -126285,7 +126490,7 @@ paths: parameters: - *391 - *392 - - *139 + - *140 responses: '204': description: Response @@ -126319,7 +126524,7 @@ paths: parameters: - *391 - *392 - - *139 + - *140 - name: token description: package token schema: @@ -126353,7 +126558,7 @@ paths: parameters: - *391 - *392 - - *139 + - *140 responses: '200': description: Response @@ -126422,7 +126627,7 @@ paths: - *391 - *392 - *394 - - *139 + - *140 responses: '200': description: Response @@ -126465,7 +126670,7 @@ paths: parameters: - *391 - *392 - - *139 + - *140 - *394 responses: '204': @@ -126500,7 +126705,7 @@ paths: parameters: - *391 - *392 - - *139 + - *140 - *394 responses: '204': @@ -126525,7 +126730,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *139 + - *140 - name: q description: Limit results to projects of the specified type. in: query @@ -126567,7 +126772,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - *407 - - *139 + - *140 responses: '200': description: Response @@ -126598,7 +126803,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - *407 - - *139 + - *140 - *17 - *108 - *109 @@ -126632,7 +126837,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project parameters: - - *139 + - *140 - *407 requestBody: required: true @@ -126745,7 +126950,7 @@ paths: parameters: - *407 - *839 - - *139 + - *140 responses: '200': description: Response @@ -126777,7 +126982,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - *407 - - *139 + - *140 - *108 - *109 - *17 @@ -126832,7 +127037,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *139 + - *140 - *407 requestBody: required: true @@ -126939,7 +127144,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *407 - - *139 + - *140 - *416 - name: fields description: |- @@ -126984,7 +127189,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - *407 - - *139 + - *140 - *416 requestBody: required: true @@ -127085,7 +127290,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - *407 - - *139 + - *140 - *416 responses: '204': @@ -127109,7 +127314,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-project-view parameters: - *407 - - *139 + - *140 - *841 - name: fields description: |- @@ -127166,7 +127371,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *139 + - *140 - *17 - *19 responses: @@ -127241,7 +127446,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *139 + - *140 - *17 - *19 responses: @@ -127314,7 +127519,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *139 + - *140 - name: type description: Limit results to repositories of the specified type. in: query @@ -127379,7 +127584,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *139 + - *140 - *17 - *19 responses: @@ -127411,7 +127616,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *139 + - *140 - *17 - *19 responses: @@ -127447,7 +127652,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *139 + - *140 - *843 - *110 - *17 @@ -127483,7 +127688,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *139 + - *140 - *17 - *19 responses: @@ -174226,7 +174431,7 @@ webhooks: type: string enum: - created - definition: *147 + definition: *148 enterprise: *845 sender: *4 required: @@ -174380,7 +174585,7 @@ webhooks: type: string enum: - updated - definition: *147 + definition: *148 enterprise: *845 installation: *846 sender: *4 @@ -246592,14 +246797,14 @@ webhooks: alert: &907 type: object properties: - number: *126 - created_at: *133 + number: *127 + created_at: *134 updated_at: anyOf: - type: 'null' - - *134 - url: *131 - html_url: *132 + - *135 + url: *132 + html_url: *133 locations_url: type: string format: uri @@ -247702,7 +247907,7 @@ webhooks: required: - vector_string - score - cvss_severities: *128 + cvss_severities: *129 cwes: type: array items: @@ -247969,7 +248174,7 @@ webhooks: required: - vector_string - score - cvss_severities: *128 + cvss_severities: *129 cwes: type: array items: diff --git a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json index 13bb52f8ab..01336ccf6c 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json @@ -49418,6 +49418,475 @@ } } }, + "/enterprises/{enterprise}/copilot/policies/coding_agent": { + "put": { + "summary": "Set the coding agent policy for an enterprise", + "description": "Sets the policy for Copilot coding agent usage across an enterprise.\n\nEnterprise owners can configure whether Copilot coding agent is enabled for all\norganizations, disabled for all organizations, configured by individual organization\nadmins, or enabled for selected organizations only.\n\nOnly enterprise owners can set the coding agent policy for their enterprise.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/set-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The coding agent policy configuration", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "policy_state": { + "type": "string", + "description": "The policy state for Copilot coding agent in the enterprise. Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, `enabled_for_selected_orgs`, or `configured_by_org_admins`.", + "enum": [ + "enabled_for_all_orgs", + "disabled_for_all_orgs", + "enabled_for_selected_orgs", + "configured_by_org_admins" + ] + } + }, + "required": [ + "policy_state" + ] + }, + "examples": { + "default": { + "summary": "Enable coding agent for all organizations", + "value": { + "policy_state": "enabled_for_all_orgs" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, + "/enterprises/{enterprise}/copilot/policies/coding_agent/organizations": { + "post": { + "summary": "Add organizations to the enterprise coding agent policy", + "description": "Enables Copilot coding agent for the specified organizations within the enterprise.\n\nThe enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before\nusing this endpoint. Organizations can be specified by login or matched via custom properties.\n\nOnly organizations that have Copilot enabled and belong to the enterprise will be affected.\n\nOnly enterprise owners can add organizations to the coding agent policy.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/add-organizations-to-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The organizations to enable Copilot coding agent for", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "organizations": { + "type": "array", + "description": "List of organization logins within the enterprise to enable Copilot coding agent for.", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "array", + "description": "List of custom property filters to match organizations. Organizations matching any of the specified property name/value pairs will be included. This is a one-time operation, setting the property on an organization in the future will not automatically update its coding agent policy.", + "items": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the custom property to filter by." + }, + "values": { + "type": "array", + "description": "The values of the custom property to match.", + "items": { + "type": "string" + } + } + }, + "required": [ + "property_name", + "values" + ] + } + } + } + }, + "examples": { + "default": { + "summary": "Add organizations that match a login or have a custom property", + "value": { + "organizations": [ + "my-org-1", + "my-org-2" + ], + "custom_properties": [ + { + "property_name": "department", + "values": [ + "engineering", + "security" + ] + } + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + }, + "delete": { + "summary": "Remove organizations from the enterprise coding agent policy", + "description": "Disables Copilot coding agent for the specified organizations within the enterprise.\n\nThe enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before\nusing this endpoint. Organizations can be specified by login or matched via custom properties.\n\nOnly organizations that have Copilot enabled and belong to the enterprise will be affected.\n\nOnly enterprise owners can remove organizations from the coding agent policy.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint.", + "tags": [ + "copilot" + ], + "operationId": "copilot/remove-organizations-from-enterprise-coding-agent-policy", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "description": "The organizations to disable Copilot coding agent for", + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "organizations": { + "type": "array", + "description": "List of organization logins within the enterprise to disable Copilot coding agent for.", + "items": { + "type": "string" + } + }, + "custom_properties": { + "type": "array", + "description": "List of custom property filters to match organizations. Organizations matching any of the specified property name/value pairs will be included. This is a one-time operation, setting the property on an organization in the future will not automatically update its coding agent policy.", + "items": { + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the custom property to filter by." + }, + "values": { + "type": "array", + "description": "The values of the custom property to match.", + "items": { + "type": "string" + } + } + }, + "required": [ + "property_name", + "values" + ] + } + } + } + }, + "examples": { + "default": { + "summary": "Remove organizations that match a login or have a custom property", + "value": { + "organizations": [ + "my-org-1", + "my-org-2" + ], + "custom_properties": [ + { + "property_name": "department", + "values": [ + "engineering", + "security" + ] + } + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + } + }, + "x-github": { + "enabledForGitHubApps": false, + "category": "copilot", + "subcategory": "copilot-coding-agent-management" + } + } + }, "/enterprises/{enterprise}/dependabot/alerts": { "get": { "summary": "List Dependabot alerts for an enterprise", @@ -130262,17 +130731,17 @@ } } }, - "/organizations/{org}/dependabot/repository-access": { + "/organizations/{org}/org-properties/values": { "get": { - "summary": "Lists the repositories Dependabot can access in an organization", - "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", + "summary": "Get all custom property values for an organization", + "description": "Gets all custom property values that are set for an organization.\n\nThe organization must belong to an enterprise.\n\nAccess requirements:\n- Organization admins\n- OAuth tokens and personal access tokens (classic) with the `read:org` scope\n- Actors with the organization-level \"read custom properties for an organization\" fine-grained permission or above", "tags": [ - "dependabot" + "orgs" ], - "operationId": "dependabot/repository-access-for-org", + "operationId": "orgs/custom-properties-for-orgs-get-organization-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-for-an-organization" }, "parameters": [ { @@ -130283,29 +130752,6 @@ "schema": { "type": "string" } - }, - { - "name": "page", - "in": "query", - "description": "The page number of results to fetch.", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "default": 1 - } - }, - { - "name": "per_page", - "in": "query", - "description": "Number of results per page.", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } } ], "responses": { @@ -130314,667 +130760,58 @@ "content": { "application/json": { "schema": { - "title": "Dependabot Repository Access Details", - "description": "Information about repositories that Dependabot is able to access in an organization", - "type": "object", - "properties": { - "default_level": { - "type": [ - "string", - "null" - ], - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal", - null - ], - "examples": [ - "internal" - ] - }, - "accessible_repositories": { - "type": "array", - "items": { - "anyOf": [ + "type": "array", + "items": { + "title": "Custom Property Value", + "description": "Custom property name and associated value", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "value": { + "oneOf": [ { - "type": "null" + "type": "string" }, { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "A unique identifier of the repository.", - "examples": [ - 1296269 - ] - }, - "node_id": { - "type": "string", - "description": "The GraphQL identifier of the repository.", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "type": "string", - "description": "The name of the repository.", - "examples": [ - "Hello-World" - ] - }, - "full_name": { - "type": "string", - "description": "The full, globally unique, name of the repository.", - "examples": [ - "octocat/Hello-World" - ] - }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { - "type": "string", - "format": "uri", - "description": "The URL to view the repository on GitHub.com.", - "examples": [ - "https://github.com/octocat/Hello-World" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The repository description.", - "examples": [ - "This your first repo!" - ] - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "description": "The URL to get more information about the repository from the GitHub API.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World" - ] - }, - "archive_url": { - "type": "string", - "description": "A template for the API URL to download the repository as an archive.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "description": "A template for the API URL to list the available assignees for issues in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "description": "A template for the API URL to get information about branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "description": "A template for the API URL to get information about collaborators of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "description": "A template for the API URL to get information about comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "description": "A template for the API URL to get information about commits on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "description": "A template for the API URL to compare two commits or refs.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "description": "A template for the API URL to get the contents of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "description": "A template for the API URL to list the contributors to the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the deployments of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the downloads on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the events of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the forks of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "description": "A template for the API URL to get information about Git commits of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "description": "A template for the API URL to get information about Git refs of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "description": "A template for the API URL to get information about Git tags of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "issue_comment_url": { - "type": "string", - "description": "A template for the API URL to get information about issue comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "description": "A template for the API URL to get information about issue events on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "description": "A template for the API URL to get information about issues on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "description": "A template for the API URL to get information about deploy keys on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "description": "A template for the API URL to get information about labels of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about the languages of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "description": "The API URL to merge branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "description": "A template for the API URL to get information about milestones of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "description": "A template for the API URL to get information about notifications on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "description": "A template for the API URL to get information about pull requests on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "description": "A template for the API URL to get information about releases on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the stargazers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "description": "A template for the API URL to get information about statuses of a commit.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the subscribers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "description": "The API URL to subscribe to notifications for this repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about tags on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/tags" - ] - }, - "teams_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the teams on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the hooks on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/hooks" - ] - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ] + "type": "array", + "items": { + "type": "string" + } } + ], + "description": "The value assigned to the property", + "type": [ + "null", + "string", + "array" ] } - } - }, - "additionalProperties": false + }, + "required": [ + "property_name", + "value" + ] + } }, "examples": { "default": { - "value": { - "default_level": "public", - "accessible_repositories": [ - { - "id": 123456, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", - "name": "example-repo", - "full_name": "octocat/example-repo", - "owner": { - "name": "octocat", - "email": "octo@github.com", - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", - "gravatar_id": 1, - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat/example-repo", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false, - "starred_at": "\"2020-07-09T00:17:55Z\"", - "user_view_type": "default" - }, - "private": false, - "html_url": "https://github.com/octocat/example-repo", - "description": "This is an example repository.", - "fork": false, - "url": "https://api.github.com/repos/octocat/example-repo", - "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", - "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", - "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", - "events_url": "https://api.github.com/repos/octocat/example-repo/events", - "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", - "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", - "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", - "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", - "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", - "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", - "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" - } - ] - } + "value": [ + { + "property_name": "environment", + "value": "production" + }, + { + "property_name": "service", + "value": "web" + }, + { + "property_name": "team", + "value": "octocat" + } + ] } } } @@ -131034,22 +130871,22 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" + "category": "orgs", + "subcategory": "custom-properties-for-orgs" } }, "patch": { - "summary": "Updates Dependabot's repository access list for an organization", - "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "summary": "Create or update custom property values for an organization", + "description": "Create new or update existing custom property values for an organization.\nTo remove a custom property value from an organization, set the property value to `null`.\n\nThe organization must belong to an enterprise.\n\nAccess requirements:\n- Organization admins\n- OAuth tokens and personal access tokens (classic) with the `admin:org` scope\n- Actors with the organization-level \"edit custom properties for an organization\" fine-grained permission", "tags": [ - "dependabot" + "orgs" ], - "operationId": "dependabot/update-repository-access-for-org", + "operationId": "orgs/custom-properties-for-orgs-create-or-update-organization-values", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization" }, "parameters": [ { @@ -131069,49 +130906,65 @@ "schema": { "type": "object", "properties": { - "repository_ids_to_add": { - "type": "array", - "items": { - "type": "integer" - }, - "description": "List of repository IDs to add." - }, - "repository_ids_to_remove": { + "properties": { "type": "array", + "description": "A list of custom property names and associated values to apply to the organization.", "items": { - "type": "integer" - }, - "description": "List of repository IDs to remove." + "title": "Custom Property Value", + "description": "Custom property name and associated value", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "The value assigned to the property", + "type": [ + "null", + "string", + "array" + ] + } + }, + "required": [ + "property_name", + "value" + ] + } } }, - "example": { - "repository_ids_to_add": [ - 123, - 456 - ], - "repository_ids_to_remove": [ - 789 - ] - } + "required": [ + "properties" + ] }, "examples": { - "204": { - "summary": "Example with a 'succeeded' status." - }, - "add-example": { - "summary": "Add repositories", - "value": { - "repository_ids_to_add": [ - 123, - 456 - ] - } - }, - "remove-example": { - "summary": "Remove repositories", + "default": { "value": { - "repository_ids_to_remove": [ - 789 + "properties": [ + { + "property_name": "environment", + "value": "production" + }, + { + "property_name": "service", + "value": "web" + }, + { + "property_name": "team", + "value": "octocat" + } ] } } @@ -131121,7 +130974,7 @@ }, "responses": { "204": { - "description": "Response" + "description": "No Content when custom property values are successfully created or updated" }, "403": { "description": "Forbidden", @@ -131174,111 +131027,19 @@ } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" - } - } - }, - "/organizations/{org}/dependabot/repository-access/default-level": { - "put": { - "summary": "Set the default repository access level for Dependabot", - "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", - "tags": [ - "dependabot" - ], - "operationId": "dependabot/set-repository-access-default-level", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "default_level": { - "type": "string", - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal" - ], - "examples": [ - "internal" - ] - } - }, - "required": [ - "default_level" - ] - }, - "examples": { - "204": { - "summary": "Example with a 'succeeded' status.", - "value": { - "default_level": "public" - } - } - } - } - } - }, - "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } }, - "404": { - "description": "Resource not found", + "422": { + "description": "Validation failed, or the endpoint has been spammed.", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", + "title": "Validation Error", + "description": "Validation Error", "type": "object", + "required": [ + "message", + "documentation_url" + ], "properties": { "message": { "type": "string" @@ -131286,11 +131047,56 @@ "documentation_url": { "type": "string" }, - "url": { - "type": "string" - }, - "status": { - "type": "string" + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": [ + "string", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "items": { + "type": "string" + } + } + ] + } + } + } } } } @@ -131299,405 +131105,24 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" + "category": "orgs", + "subcategory": "custom-properties-for-orgs" } } }, - "/organizations/{org}/org-properties/values": { + "/orgs/{org}": { "get": { - "summary": "Get all custom property values for an organization", - "description": "Gets all custom property values that are set for an organization.\n\nThe organization must belong to an enterprise.\n\nAccess requirements:\n- Organization admins\n- OAuth tokens and personal access tokens (classic) with the `read:org` scope\n- Actors with the organization-level \"read custom properties for an organization\" fine-grained permission or above", + "summary": "Get an organization", + "description": "Gets information about an organization.\n\nWhen the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, outside collaborators, guest collaborators, repository collaborators, or everyone with access to any repository within the organization to enable [two-factor authentication](https://docs.github.com/enterprise-cloud@latest//articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nTo see the full details about an organization, the authenticated user must be an organization owner.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to see the full details about an organization.\n\nTo see information about an organization's GitHub Enterprise Cloud plan, GitHub Apps need the `Organization plan` permission.", "tags": [ "orgs" ], - "operationId": "orgs/custom-properties-for-orgs-get-organization-values", + "operationId": "orgs/get", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties-for-orgs#get-all-custom-property-values-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Custom Property Value", - "description": "Custom property name and associated value", - "type": "object", - "properties": { - "property_name": { - "type": "string", - "description": "The name of the property" - }, - "value": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "description": "The value assigned to the property", - "type": [ - "null", - "string", - "array" - ] - } - }, - "required": [ - "property_name", - "value" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "property_name": "environment", - "value": "production" - }, - { - "property_name": "service", - "value": "web" - }, - { - "property_name": "team", - "value": "octocat" - } - ] - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "custom-properties-for-orgs" - } - }, - "patch": { - "summary": "Create or update custom property values for an organization", - "description": "Create new or update existing custom property values for an organization.\nTo remove a custom property value from an organization, set the property value to `null`.\n\nThe organization must belong to an enterprise.\n\nAccess requirements:\n- Organization admins\n- OAuth tokens and personal access tokens (classic) with the `admin:org` scope\n- Actors with the organization-level \"edit custom properties for an organization\" fine-grained permission", - "tags": [ - "orgs" - ], - "operationId": "orgs/custom-properties-for-orgs-create-or-update-organization-values", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties-for-orgs#create-or-update-custom-property-values-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "properties": { - "type": "array", - "description": "A list of custom property names and associated values to apply to the organization.", - "items": { - "title": "Custom Property Value", - "description": "Custom property name and associated value", - "type": "object", - "properties": { - "property_name": { - "type": "string", - "description": "The name of the property" - }, - "value": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "description": "The value assigned to the property", - "type": [ - "null", - "string", - "array" - ] - } - }, - "required": [ - "property_name", - "value" - ] - } - } - }, - "required": [ - "properties" - ] - }, - "examples": { - "default": { - "value": { - "properties": [ - { - "property_name": "environment", - "value": "production" - }, - { - "property_name": "service", - "value": "web" - }, - { - "property_name": "team", - "value": "octocat" - } - ] - } - } - } - } - } - }, - "responses": { - "204": { - "description": "No Content when custom property values are successfully created or updated" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": [ - "string", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "custom-properties-for-orgs" - } - } - }, - "/orgs/{org}": { - "get": { - "summary": "Get an organization", - "description": "Gets information about an organization.\n\nWhen the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, outside collaborators, guest collaborators, repository collaborators, or everyone with access to any repository within the organization to enable [two-factor authentication](https://docs.github.com/enterprise-cloud@latest//articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nTo see the full details about an organization, the authenticated user must be an organization owner.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to see the full details about an organization.\n\nTo see information about an organization's GitHub Enterprise Cloud plan, GitHub Apps need the `Organization plan` permission.", - "tags": [ - "orgs" - ], - "operationId": "orgs/get", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization" }, "parameters": [ { @@ -183143,6 +182568,1050 @@ } } }, + "/orgs/{org}/dependabot/repository-access": { + "get": { + "summary": "Lists the repositories Dependabot can access in an organization", + "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/repository-access-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "in": "query", + "description": "The page number of results to fetch.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "Number of results per page.", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": [ + "string", + "null" + ], + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal", + null + ], + "examples": [ + "internal" + ] + }, + "accessible_repositories": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "A unique identifier of the repository.", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "description": "The GraphQL identifier of the repository.", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "description": "The name of the repository.", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "description": "The full, globally unique, name of the repository.", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The URL to view the repository on GitHub.com.", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The repository description.", + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL to get more information about the repository from the GitHub API.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "description": "A template for the API URL to download the repository as an archive.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "description": "A template for the API URL to list the available assignees for issues in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "description": "A template for the API URL to get information about branches in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "description": "A template for the API URL to get information about collaborators of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "description": "A template for the API URL to get information about comments on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "description": "A template for the API URL to get information about commits on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "description": "A template for the API URL to compare two commits or refs.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "description": "A template for the API URL to get the contents of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "description": "A template for the API URL to list the contributors to the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the deployments of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the downloads on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the events of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the forks of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "description": "A template for the API URL to get information about Git commits of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "description": "A template for the API URL to get information about Git refs of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "description": "A template for the API URL to get information about Git tags of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "issue_comment_url": { + "type": "string", + "description": "A template for the API URL to get information about issue comments on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "description": "A template for the API URL to get information about issue events on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "description": "A template for the API URL to get information about issues on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "description": "A template for the API URL to get information about deploy keys on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "description": "A template for the API URL to get information about labels of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about the languages of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "description": "The API URL to merge branches in the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "description": "A template for the API URL to get information about milestones of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "description": "A template for the API URL to get information about notifications on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "description": "A template for the API URL to get information about pull requests on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "description": "A template for the API URL to get information about releases on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the stargazers on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "description": "A template for the API URL to get information about statuses of a commit.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the subscribers on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "description": "The API URL to subscribe to notifications for this repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about tags on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the teams on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the hooks on the repository.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/hooks" + ] + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ] + } + ] + } + } + }, + "additionalProperties": false + }, + "examples": { + "default": { + "value": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", + "owner": { + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" + }, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", + "fork": false, + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + } + ] + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "repository-access" + } + }, + "patch": { + "summary": "Updates Dependabot's repository access list for an organization", + "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/update-repository-access-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "repository_ids_to_add": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to add." + }, + "repository_ids_to_remove": { + "type": "array", + "items": { + "type": "integer" + }, + "description": "List of repository IDs to remove." + } + }, + "example": { + "repository_ids_to_add": [ + 123, + 456 + ], + "repository_ids_to_remove": [ + 789 + ] + } + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status." + }, + "add-example": { + "summary": "Add repositories", + "value": { + "repository_ids_to_add": [ + 123, + 456 + ] + } + }, + "remove-example": { + "summary": "Remove repositories", + "value": { + "repository_ids_to_remove": [ + 789 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, + "/orgs/{org}/dependabot/repository-access/default-level": { + "put": { + "summary": "Set the default repository access level for Dependabot", + "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", + "tags": [ + "dependabot" + ], + "operationId": "dependabot/set-repository-access-default-level", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "default_level": { + "type": "string", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "examples": [ + "internal" + ] + } + }, + "required": [ + "default_level" + ] + }, + "examples": { + "204": { + "summary": "Example with a 'succeeded' status.", + "value": { + "default_level": "public" + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "dependabot", + "subcategory": "repository-access" + } + } + }, "/orgs/{org}/dependabot/secrets": { "get": { "summary": "List organization secrets", diff --git a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml index 945a274a24..bbe2b23ad0 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml @@ -674,7 +674,7 @@ paths: - vulnerable_version_range - first_patched_version - vulnerable_functions - cvss_severities: &128 + cvss_severities: &129 type: - object - 'null' @@ -721,7 +721,7 @@ paths: required: - vector_string - score - epss: &129 + epss: &130 type: - object - 'null' @@ -13644,28 +13644,28 @@ paths: items: &314 type: object properties: - number: &126 + number: &127 type: integer description: The security alert number. readOnly: true - created_at: &133 + created_at: &134 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &134 + updated_at: &135 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - url: &131 + url: &132 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &132 + html_url: &133 type: string description: The GitHub URL of the alert resource. format: uri @@ -13686,7 +13686,7 @@ paths: - dismissed - fixed - - fixed_at: &136 + fixed_at: &137 type: - string - 'null' @@ -13698,7 +13698,7 @@ paths: anyOf: - type: 'null' - *4 - dismissed_at: &135 + dismissed_at: &136 type: - string - 'null' @@ -15454,7 +15454,7 @@ paths: - *39 - *116 responses: - '204': &151 + '204': &126 description: A header with no content is returned. '400': *14 '403': *27 @@ -16178,7 +16178,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &142 + items: &143 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -16391,7 +16391,7 @@ paths: - slug - parent - type - - &141 + - &142 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -16514,7 +16514,7 @@ paths: - created_at additionalProperties: false examples: - default: &143 + default: &144 value: total_seats: 2 seats: @@ -18111,6 +18111,211 @@ paths: enabledForGitHubApps: true category: copilot subcategory: copilot-usage-metrics + "/enterprises/{enterprise}/copilot/policies/coding_agent": + put: + summary: Set the coding agent policy for an enterprise + description: |- + Sets the policy for Copilot coding agent usage across an enterprise. + + Enterprise owners can configure whether Copilot coding agent is enabled for all + organizations, disabled for all organizations, configured by individual organization + admins, or enabled for selected organizations only. + + Only enterprise owners can set the coding agent policy for their enterprise. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/set-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#set-the-coding-agent-policy-for-an-enterprise + parameters: + - *39 + requestBody: + description: The coding agent policy configuration + required: true + content: + application/json: + schema: + type: object + properties: + policy_state: + type: string + description: The policy state for Copilot coding agent in the enterprise. + Can be one of `enabled_for_all_orgs`, `disabled_for_all_orgs`, + `enabled_for_selected_orgs`, or `configured_by_org_admins`. + enum: + - enabled_for_all_orgs + - disabled_for_all_orgs + - enabled_for_selected_orgs + - configured_by_org_admins + required: + - policy_state + examples: + default: + summary: Enable coding agent for all organizations + value: + policy_state: enabled_for_all_orgs + responses: + '204': *126 + '400': *14 + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management + "/enterprises/{enterprise}/copilot/policies/coding_agent/organizations": + post: + summary: Add organizations to the enterprise coding agent policy + description: |- + Enables Copilot coding agent for the specified organizations within the enterprise. + + The enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before + using this endpoint. Organizations can be specified by login or matched via custom properties. + + Only organizations that have Copilot enabled and belong to the enterprise will be affected. + + Only enterprise owners can add organizations to the coding agent policy. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/add-organizations-to-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#add-organizations-to-the-enterprise-coding-agent-policy + parameters: + - *39 + requestBody: + description: The organizations to enable Copilot coding agent for + required: true + content: + application/json: + schema: + type: object + properties: + organizations: + type: array + description: List of organization logins within the enterprise to + enable Copilot coding agent for. + items: + type: string + custom_properties: + type: array + description: List of custom property filters to match organizations. + Organizations matching any of the specified property name/value + pairs will be included. This is a one-time operation, setting + the property on an organization in the future will not automatically + update its coding agent policy. + items: + type: object + properties: + property_name: + type: string + description: The name of the custom property to filter by. + values: + type: array + description: The values of the custom property to match. + items: + type: string + required: + - property_name + - values + examples: + default: + summary: Add organizations that match a login or have a custom property + value: + organizations: + - my-org-1 + - my-org-2 + custom_properties: + - property_name: department + values: + - engineering + - security + responses: + '204': *126 + '400': *14 + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management + delete: + summary: Remove organizations from the enterprise coding agent policy + description: |- + Disables Copilot coding agent for the specified organizations within the enterprise. + + The enterprise's coding agent policy must be set to `enabled_for_selected_orgs` before + using this endpoint. Organizations can be specified by login or matched via custom properties. + + Only organizations that have Copilot enabled and belong to the enterprise will be affected. + + Only enterprise owners can remove organizations from the coding agent policy. + + OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:enterprise` scopes to use this endpoint. + tags: + - copilot + operationId: copilot/remove-organizations-from-enterprise-coding-agent-policy + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#remove-organizations-from-the-enterprise-coding-agent-policy + parameters: + - *39 + requestBody: + description: The organizations to disable Copilot coding agent for + required: true + content: + application/json: + schema: + type: object + properties: + organizations: + type: array + description: List of organization logins within the enterprise to + disable Copilot coding agent for. + items: + type: string + custom_properties: + type: array + description: List of custom property filters to match organizations. + Organizations matching any of the specified property name/value + pairs will be included. This is a one-time operation, setting + the property on an organization in the future will not automatically + update its coding agent policy. + items: + type: object + properties: + property_name: + type: string + description: The name of the custom property to filter by. + values: + type: array + description: The values of the custom property to match. + items: + type: string + required: + - property_name + - values + examples: + default: + summary: Remove organizations that match a login or have a custom + property + value: + organizations: + - my-org-1 + - my-org-2 + custom_properties: + - property_name: department + values: + - engineering + - security + responses: + '204': *126 + '400': *14 + x-github: + enabledForGitHubApps: false + category: copilot + subcategory: copilot-coding-agent-management "/enterprises/{enterprise}/dependabot/alerts": get: summary: List Dependabot alerts for an enterprise @@ -18248,7 +18453,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *126 + number: *127 state: type: string description: The state of the Dependabot alert. @@ -18263,7 +18468,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &127 + package: &128 type: object description: Details for the vulnerable package. readOnly: true @@ -18343,13 +18548,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &130 + items: &131 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *127 + package: *128 severity: type: string description: The severity of the vulnerability. @@ -18402,8 +18607,8 @@ paths: enum: - general - malware - cvss_severities: *128 - epss: *129 + cvss_severities: *129 + epss: *130 cwes: type: array description: Details for the advisory pertaining to Common @@ -18502,12 +18707,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *130 - url: *131 - html_url: *132 - created_at: *133 - updated_at: *134 - dismissed_at: *135 + security_vulnerability: *131 + url: *132 + html_url: *133 + created_at: *134 + updated_at: *135 + dismissed_at: *136 dismissed_by: anyOf: - type: 'null' @@ -18531,7 +18736,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *136 + fixed_at: *137 auto_dismissed_at: &592 type: - string @@ -19230,7 +19435,7 @@ paths: roles: type: array description: The list of enterprise roles available to the enterprise. - items: &140 + items: &141 title: Enterprise Role description: Enterprise custom roles type: object @@ -19358,7 +19563,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team parameters: - *39 - - &137 + - &138 name: team_slug description: The slug of the enterprise team name. in: path @@ -19401,8 +19606,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team parameters: - *39 - - *137 - - &138 + - *138 + - &139 name: role_id description: The unique identifier of the role. in: path @@ -19444,8 +19649,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team parameters: - *39 - - *137 - *138 + - *139 responses: '204': description: Response @@ -19479,7 +19684,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-user parameters: - *39 - - &139 + - &140 name: username description: The handle for the GitHub user account. in: path @@ -19519,8 +19724,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-an-enterprise-user parameters: - *39 + - *140 - *139 - - *138 responses: '204': description: Response @@ -19553,8 +19758,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-enterprise-user-role-assignment parameters: - *39 + - *140 - *139 - - *138 responses: '204': description: Response @@ -19588,13 +19793,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#get-an-enterprise-role parameters: - *39 - - *138 + - *139 responses: '200': description: Response content: application/json: - schema: *140 + schema: *141 examples: default: value: @@ -19648,7 +19853,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#list-teams-that-are-assigned-to-an-enterprise-role parameters: - *39 - - *138 + - *139 - *17 - *19 responses: @@ -19658,7 +19863,7 @@ paths: application/json: schema: type: array - items: *141 + items: *142 examples: default: &208 value: @@ -19699,7 +19904,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#list-users-that-are-assigned-to-an-enterprise-role parameters: - *39 - - *138 + - *139 - *17 - *19 responses: @@ -19732,7 +19937,7 @@ paths: description: Enterprise Team the user has gotten the role through type: array - items: *141 + items: *142 examples: default: value: @@ -19965,7 +20170,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *39 - - *139 + - *140 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -19981,9 +20186,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *142 + items: *143 examples: - default: *143 + default: *144 '500': *38 '401': *23 '403': *27 @@ -20026,7 +20231,7 @@ paths: type: integer network_configurations: type: array - items: &144 + items: &145 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -20177,9 +20382,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *145 examples: - default: &145 + default: &146 value: id: 123456789ABCDEF name: My network configuration @@ -20206,7 +20411,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - &146 + - &147 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -20218,9 +20423,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *145 examples: - default: *145 + default: *146 headers: Link: *45 x-github: @@ -20240,7 +20445,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise parameters: - *39 - - *146 + - *147 requestBody: required: true content: @@ -20293,9 +20498,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *145 examples: - default: *145 + default: *146 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -20313,7 +20518,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise parameters: - *39 - - *146 + - *147 responses: '204': description: Response @@ -20426,7 +20631,7 @@ paths: application/json: schema: type: array - items: &147 + items: &148 title: Custom Property for Organization description: Custom property defined for an organization allOf: @@ -20504,7 +20709,7 @@ paths: - property_name - value_type examples: - default: &148 + default: &149 value: - property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -20564,7 +20769,7 @@ paths: type: array description: The array of organization custom properties to create or update. - items: *147 + items: *148 minItems: 1 maxItems: 100 required: @@ -20597,9 +20802,9 @@ paths: application/json: schema: type: array - items: *147 + items: *148 examples: - default: *148 + default: *149 '403': *27 '404': *6 '422': *7 @@ -20626,7 +20831,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#get-an-organization-custom-property-definition-from-an-enterprise parameters: - *39 - - &149 + - &150 name: custom_property_name description: The custom property name in: path @@ -20638,9 +20843,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: &150 + default: &151 value: property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -20677,7 +20882,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#create-or-update-an-organization-custom-property-definition-on-an-enterprise parameters: - *39 - - *149 + - *150 requestBody: required: true content: @@ -20755,9 +20960,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: *150 + default: *151 '403': *27 '404': *6 '422': *7 @@ -20783,9 +20988,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties-for-orgs#remove-an-organization-custom-property-definition-from-an-enterprise parameters: - *39 - - *149 + - *150 responses: - '204': *151 + '204': *126 '403': *27 '404': *6 '422': *7 @@ -21164,7 +21369,7 @@ paths: parameters: - *39 - *87 - - *149 + - *150 responses: '200': description: Response @@ -21205,7 +21410,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *39 - - *149 + - *150 responses: '200': description: Response @@ -21235,7 +21440,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise parameters: - *39 - - *149 + - *150 requestBody: required: true content: @@ -21339,9 +21544,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *39 - - *149 + - *150 responses: - '204': *151 + '204': *126 '403': *27 '404': *6 x-github: @@ -23081,14 +23286,14 @@ paths: items: &439 type: object properties: - number: *126 - created_at: *133 + number: *127 + created_at: *134 updated_at: anyOf: - type: 'null' - - *134 - url: *131 - html_url: *132 + - *135 + url: *132 + html_url: *133 locations_url: type: string format: uri @@ -26307,7 +26512,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team parameters: - *39 - - *137 + - *138 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -26372,7 +26577,7 @@ paths: application/json: schema: type: array - items: *141 + items: *142 examples: default: *208 headers: @@ -26451,7 +26656,7 @@ paths: description: Response content: application/json: - schema: *141 + schema: *142 examples: default: &213 value: @@ -26639,7 +26844,7 @@ paths: parameters: - *39 - *209 - - *139 + - *140 responses: '200': description: User is a member of the enterprise team. @@ -26684,7 +26889,7 @@ paths: parameters: - *39 - *209 - - *139 + - *140 responses: '201': description: Successfully added team member @@ -26711,7 +26916,7 @@ paths: parameters: - *39 - *209 - - *139 + - *140 responses: '204': description: Response @@ -26969,7 +27174,7 @@ paths: description: Response content: application/json: - schema: *141 + schema: *142 examples: default: *213 headers: @@ -27049,7 +27254,7 @@ paths: description: Response content: application/json: - schema: *141 + schema: *142 examples: default: *213 headers: @@ -34216,272 +34421,6 @@ paths: enabledForGitHubApps: true category: actions subcategory: cache - "/organizations/{org}/dependabot/repository-access": - get: - summary: Lists the repositories Dependabot can access in an organization - description: |- - Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. - Unauthorized users will not see the existence of this endpoint. - tags: - - dependabot - operationId: dependabot/repository-access-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization - parameters: - - *87 - - name: page - in: query - description: The page number of results to fetch. - required: false - schema: - type: integer - minimum: 1 - default: 1 - - name: per_page - in: query - description: Number of results per page. - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - responses: - '200': - description: Response - content: - application/json: - schema: - title: Dependabot Repository Access Details - description: Information about repositories that Dependabot is able - to access in an organization - type: object - properties: - default_level: - type: - - string - - 'null' - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - - - examples: - - internal - accessible_repositories: - type: array - items: - anyOf: - - type: 'null' - - *120 - additionalProperties: false - examples: - default: - value: - default_level: public - accessible_repositories: - - id: 123456 - node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= - name: example-repo - full_name: octocat/example-repo - owner: - name: octocat - email: octo@github.com - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://avatars.githubusercontent.com/u/1?v=4 - gravatar_id: 1 - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat/example-repo - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - starred_at: '"2020-07-09T00:17:55Z"' - user_view_type: default - private: false - html_url: https://github.com/octocat/example-repo - description: This is an example repository. - fork: false - url: https://api.github.com/repos/octocat/example-repo - archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} - commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} - compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/example-repo/contributors - deployments_url: https://api.github.com/repos/octocat/example-repo/deployments - downloads_url: https://api.github.com/repos/octocat/example-repo/downloads - events_url: https://api.github.com/repos/octocat/example-repo/events - forks_url: https://api.github.com/repos/octocat/example-repo/forks - git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} - keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} - languages_url: https://api.github.com/repos/octocat/example-repo/languages - merges_url: https://api.github.com/repos/octocat/example-repo/merges - milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} - releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers - statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers - subscription_url: https://api.github.com/repos/octocat/example-repo/subscription - tags_url: https://api.github.com/repos/octocat/example-repo/tags - teams_url: https://api.github.com/repos/octocat/example-repo/teams - trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/example-repo/hooks - '403': *27 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access - patch: - summary: Updates Dependabot's repository access list for an organization - description: |- - Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. - - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. - Unauthorized users will not see the existence of this endpoint. - - **Example request body:** - ```json - { - "repository_ids_to_add": [123, 456], - "repository_ids_to_remove": [789] - } - ``` - tags: - - dependabot - operationId: dependabot/update-repository-access-for-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization - parameters: - - *87 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - repository_ids_to_add: - type: array - items: - type: integer - description: List of repository IDs to add. - repository_ids_to_remove: - type: array - items: - type: integer - description: List of repository IDs to remove. - example: - repository_ids_to_add: - - 123 - - 456 - repository_ids_to_remove: - - 789 - examples: - '204': - summary: Example with a 'succeeded' status. - add-example: - summary: Add repositories - value: - repository_ids_to_add: - - 123 - - 456 - remove-example: - summary: Remove repositories - value: - repository_ids_to_remove: - - 789 - responses: - '204': - description: Response - '403': *27 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access - "/organizations/{org}/dependabot/repository-access/default-level": - put: - summary: Set the default repository access level for Dependabot - description: |- - Sets the default level of repository access Dependabot will have while performing an update. Available values are: - - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. - - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. - - Unauthorized users will not see the existence of this endpoint. - - This operation supports both server-to-server and user-to-server access. - tags: - - dependabot - operationId: dependabot/set-repository-access-default-level - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot - parameters: - - *87 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - default_level: - type: string - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - examples: - - internal - required: - - default_level - examples: - '204': - summary: Example with a 'succeeded' status. - value: - default_level: public - responses: - '204': - description: Response - '403': *27 - '404': *6 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: dependabot - subcategory: repository-access "/organizations/{org}/org-properties/values": get: summary: Get all custom property values for an organization @@ -41064,7 +41003,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *87 - - *139 + - *140 responses: '204': description: If the user is blocked @@ -41090,7 +41029,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - *87 - - *139 + - *140 responses: '204': description: Response @@ -41111,7 +41050,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *87 - - *139 + - *140 responses: '204': description: Response @@ -42283,7 +42222,7 @@ paths: - 32 - 91 responses: - '204': *151 + '204': *126 '400': *14 '403': *27 '404': *6 @@ -42625,7 +42564,7 @@ paths: - *87 - *116 responses: - '204': *151 + '204': *126 '400': *14 '403': *27 '404': *6 @@ -44421,9 +44360,9 @@ paths: currently being billed. seats: type: array - items: *142 + items: *143 examples: - default: *143 + default: *144 headers: Link: *45 '500': *38 @@ -45285,7 +45224,7 @@ paths: schema: *122 examples: default: *123 - '204': *151 + '204': *126 '500': *38 '403': *27 '404': *6 @@ -45361,7 +45300,7 @@ paths: schema: *122 examples: default: *123 - '204': *151 + '204': *126 '500': *38 '403': *27 '404': *6 @@ -45860,7 +45799,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *87 - - *138 + - *139 responses: '200': description: Response @@ -45891,7 +45830,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *87 - - *138 + - *139 requestBody: required: true content: @@ -45962,7 +45901,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *87 - - *138 + - *139 responses: '204': description: Response @@ -46042,7 +45981,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *87 - - *138 + - *139 responses: '200': description: Response @@ -46079,7 +46018,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *87 - - *138 + - *139 requestBody: required: true content: @@ -46132,7 +46071,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *87 - - *138 + - *139 responses: '204': description: Response @@ -46231,6 +46170,272 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: alerts + "/orgs/{org}/dependabot/repository-access": + get: + summary: Lists the repositories Dependabot can access in an organization + description: |- + Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. + > [!NOTE] + > This operation supports both server-to-server and user-to-server access. + Unauthorized users will not see the existence of this endpoint. + tags: + - dependabot + operationId: dependabot/repository-access-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization + parameters: + - *87 + - name: page + in: query + description: The page number of results to fetch. + required: false + schema: + type: integer + minimum: 1 + default: 1 + - name: per_page + in: query + description: Number of results per page. + required: false + schema: + type: integer + minimum: 1 + maximum: 100 + default: 30 + responses: + '200': + description: Response + content: + application/json: + schema: + title: Dependabot Repository Access Details + description: Information about repositories that Dependabot is able + to access in an organization + type: object + properties: + default_level: + type: + - string + - 'null' + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + - + examples: + - internal + accessible_repositories: + type: array + items: + anyOf: + - type: 'null' + - *120 + additionalProperties: false + examples: + default: + value: + default_level: public + accessible_repositories: + - id: 123456 + node_id: MDEwOlJlcG9zaXRvcnkxMjM0NTY= + name: example-repo + full_name: octocat/example-repo + owner: + name: octocat + email: octo@github.com + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://avatars.githubusercontent.com/u/1?v=4 + gravatar_id: 1 + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat/example-repo + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + starred_at: '"2020-07-09T00:17:55Z"' + user_view_type: default + private: false + html_url: https://github.com/octocat/example-repo + description: This is an example repository. + fork: false + url: https://api.github.com/repos/octocat/example-repo + archive_url: https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/example-repo/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/example-repo/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/example-repo/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/example-repo/comments{/number} + commits_url: https://api.github.com/repos/octocat/example-repo/commits{/sha} + compare_url: https://api.github.com/repos/octocat/example-repo/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/example-repo/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/example-repo/contributors + deployments_url: https://api.github.com/repos/octocat/example-repo/deployments + downloads_url: https://api.github.com/repos/octocat/example-repo/downloads + events_url: https://api.github.com/repos/octocat/example-repo/events + forks_url: https://api.github.com/repos/octocat/example-repo/forks + git_commits_url: https://api.github.com/repos/octocat/example-repo/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/example-repo/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/example-repo/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/example-repo/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/example-repo/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/example-repo/issues{/number} + keys_url: https://api.github.com/repos/octocat/example-repo/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/example-repo/labels{/name} + languages_url: https://api.github.com/repos/octocat/example-repo/languages + merges_url: https://api.github.com/repos/octocat/example-repo/merges + milestones_url: https://api.github.com/repos/octocat/example-repo/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/example-repo/pulls{/number} + releases_url: https://api.github.com/repos/octocat/example-repo/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/example-repo/stargazers + statuses_url: https://api.github.com/repos/octocat/example-repo/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/example-repo/subscribers + subscription_url: https://api.github.com/repos/octocat/example-repo/subscription + tags_url: https://api.github.com/repos/octocat/example-repo/tags + teams_url: https://api.github.com/repos/octocat/example-repo/teams + trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access + patch: + summary: Updates Dependabot's repository access list for an organization + description: |- + Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. + + > [!NOTE] + > This operation supports both server-to-server and user-to-server access. + Unauthorized users will not see the existence of this endpoint. + + **Example request body:** + ```json + { + "repository_ids_to_add": [123, 456], + "repository_ids_to_remove": [789] + } + ``` + tags: + - dependabot + operationId: dependabot/update-repository-access-for-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization + parameters: + - *87 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + repository_ids_to_add: + type: array + items: + type: integer + description: List of repository IDs to add. + repository_ids_to_remove: + type: array + items: + type: integer + description: List of repository IDs to remove. + example: + repository_ids_to_add: + - 123 + - 456 + repository_ids_to_remove: + - 789 + examples: + '204': + summary: Example with a 'succeeded' status. + add-example: + summary: Add repositories + value: + repository_ids_to_add: + - 123 + - 456 + remove-example: + summary: Remove repositories + value: + repository_ids_to_remove: + - 789 + responses: + '204': + description: Response + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access + "/orgs/{org}/dependabot/repository-access/default-level": + put: + summary: Set the default repository access level for Dependabot + description: |- + Sets the default level of repository access Dependabot will have while performing an update. Available values are: + - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. + - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. + + Unauthorized users will not see the existence of this endpoint. + + This operation supports both server-to-server and user-to-server access. + tags: + - dependabot + operationId: dependabot/set-repository-access-default-level + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot + parameters: + - *87 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + default_level: + type: string + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + examples: + - internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': *27 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access "/orgs/{org}/dependabot/secrets": get: summary: List organization secrets @@ -49995,7 +50200,7 @@ paths: - *87 - *373 responses: - '204': *151 + '204': *126 '404': *6 '422': *7 x-github: @@ -50404,7 +50609,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - *87 - - *139 + - *140 responses: '204': description: Response if requester is an organization member and user is @@ -50439,7 +50644,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - *87 - - *139 + - *140 responses: '204': description: Response @@ -50467,7 +50672,7 @@ paths: - *17 - *19 - *87 - - *139 + - *140 responses: '200': description: Response @@ -50511,7 +50716,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *87 - - *139 + - *140 - &381 name: codespace_name in: path @@ -50546,7 +50751,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *87 - - *139 + - *140 - *381 responses: '200': @@ -50729,13 +50934,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *87 - - *139 + - *140 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *142 + schema: *143 examples: default: value: @@ -50805,7 +51010,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - *87 - - *139 + - *140 responses: '200': description: Response @@ -50953,7 +51158,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - *87 - - *139 + - *140 requestBody: required: false content: @@ -51009,7 +51214,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - *87 - - *139 + - *140 responses: '204': description: Response @@ -52244,7 +52449,7 @@ paths: parameters: - *87 - *214 - - *138 + - *139 responses: '204': description: Response @@ -52275,7 +52480,7 @@ paths: parameters: - *87 - *214 - - *138 + - *139 responses: '204': description: Response @@ -52301,7 +52506,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *87 - - *139 + - *140 responses: '204': description: Response @@ -52327,8 +52532,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *87 + - *140 - *139 - - *138 responses: '204': description: Response @@ -52359,8 +52564,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *87 + - *140 - *139 - - *138 responses: '204': description: Response @@ -52389,7 +52594,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *87 - - *138 + - *139 responses: '200': description: Response @@ -52453,7 +52658,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *87 - - *138 + - *139 requestBody: required: true content: @@ -52546,7 +52751,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *87 - - *138 + - *139 responses: '204': description: Response @@ -52572,7 +52777,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *87 - - *138 + - *139 - *17 - *19 responses: @@ -52714,7 +52919,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *87 - - *138 + - *139 - *17 - *19 responses: @@ -52937,7 +53142,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *87 - - *139 + - *140 requestBody: required: false content: @@ -52995,7 +53200,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *87 - - *139 + - *140 responses: '204': description: Response @@ -53880,7 +54085,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *151 + '204': *126 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54308,7 +54513,7 @@ paths: responses: '500': *38 '404': *6 - '204': *151 + '204': *126 '403': *27 '422': *15 x-github: @@ -58109,7 +58314,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *87 - - *149 + - *150 responses: '200': description: Response @@ -58141,7 +58346,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *87 - - *149 + - *150 requestBody: required: true content: @@ -58188,9 +58393,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *87 - - *149 + - *150 responses: - '204': *151 + '204': *126 '403': *27 '404': *6 x-github: @@ -58394,7 +58599,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *87 - - *139 + - *140 responses: '204': description: Response if user is a public member @@ -58419,7 +58624,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *87 - - *139 + - *140 responses: '204': description: Response @@ -58441,7 +58646,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *87 - - *139 + - *140 responses: '204': description: Response @@ -61080,7 +61285,7 @@ paths: - patched_versions - vulnerable_functions additionalProperties: false - cvss_severities: *128 + cvss_severities: *129 cwes: type: - array @@ -61967,7 +62172,7 @@ paths: type: integer network_configurations: type: array - items: *144 + items: *145 examples: default: *447 headers: @@ -62046,9 +62251,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *145 examples: - default: *145 + default: *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62069,15 +62274,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *87 - - *146 + - *147 responses: '200': description: Response content: application/json: - schema: *144 + schema: *145 examples: - default: *145 + default: *146 headers: Link: *45 x-github: @@ -62099,7 +62304,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *87 - - *146 + - *147 requestBody: required: true content: @@ -62152,9 +62357,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *145 examples: - default: *145 + default: *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62174,7 +62379,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *87 - - *146 + - *147 responses: '204': description: Response @@ -63326,7 +63531,7 @@ paths: parameters: - *87 - *214 - - *139 + - *140 responses: '200': description: Response @@ -63398,7 +63603,7 @@ paths: parameters: - *87 - *214 - - *139 + - *140 requestBody: required: false content: @@ -63462,7 +63667,7 @@ paths: parameters: - *87 - *214 - - *139 + - *140 responses: '204': description: Response @@ -77748,19 +77953,19 @@ paths: items: type: object properties: - number: *126 - created_at: *133 - updated_at: *134 - url: *131 - html_url: *132 + number: *127 + created_at: *134 + updated_at: *135 + url: *132 + html_url: *133 instances_url: *532 state: *113 - fixed_at: *136 + fixed_at: *137 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *135 + dismissed_at: *136 dismissed_reason: *533 dismissed_comment: *534 rule: *535 @@ -77925,7 +78130,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *126 + schema: *127 responses: '200': description: Response @@ -77934,19 +78139,19 @@ paths: schema: &540 type: object properties: - number: *126 - created_at: *133 - updated_at: *134 - url: *131 - html_url: *132 + number: *127 + created_at: *134 + updated_at: *135 + url: *132 + html_url: *133 instances_url: *532 state: *113 - fixed_at: *136 + fixed_at: *137 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *135 + dismissed_at: *136 dismissed_reason: *533 dismissed_comment: *534 rule: @@ -80436,7 +80641,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *151 + '204': *126 '304': *35 '403': *27 '404': *6 @@ -81752,7 +81957,7 @@ paths: parameters: - *459 - *460 - - *139 + - *140 responses: '204': description: Response if user is a collaborator @@ -81800,7 +82005,7 @@ paths: parameters: - *459 - *460 - - *139 + - *140 requestBody: required: false content: @@ -82056,7 +82261,7 @@ paths: parameters: - *459 - *460 - - *139 + - *140 responses: '204': description: No Content when collaborator was removed from the repository. @@ -82089,7 +82294,7 @@ paths: parameters: - *459 - *460 - - *139 + - *140 responses: '200': description: if user has admin permissions @@ -86224,7 +86429,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *126 + number: *127 state: type: string description: The state of the Dependabot alert. @@ -86239,7 +86444,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *127 + package: *128 manifest_path: type: string description: The full path to the dependency manifest file, @@ -86272,12 +86477,12 @@ paths: - inconclusive - security_advisory: *591 - security_vulnerability: *130 - url: *131 - html_url: *132 - created_at: *133 - updated_at: *134 - dismissed_at: *135 + security_vulnerability: *131 + url: *132 + html_url: *133 + created_at: *134 + updated_at: *135 + dismissed_at: *136 dismissed_by: anyOf: - type: 'null' @@ -86301,7 +86506,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *136 + fixed_at: *137 auto_dismissed_at: *592 dismissal_request: *593 assignees: @@ -86569,7 +86774,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *126 + schema: *127 responses: '200': description: Response @@ -93149,7 +93354,7 @@ paths: - *459 - *460 responses: - '204': *151 + '204': *126 '409': *119 x-github: githubCloudOnly: false @@ -93170,7 +93375,7 @@ paths: - *459 - *460 responses: - '204': *151 + '204': *126 '409': *119 x-github: githubCloudOnly: false @@ -101392,7 +101597,7 @@ paths: - *460 - *687 responses: - '204': *151 + '204': *126 '404': *6 x-github: githubCloudOnly: false @@ -101754,7 +101959,7 @@ paths: - *459 - *460 responses: - '204': *151 + '204': *126 '422': *14 x-github: githubCloudOnly: false @@ -101776,7 +101981,7 @@ paths: - *459 - *460 responses: - '204': *151 + '204': *126 '422': *14 x-github: githubCloudOnly: false @@ -108136,14 +108341,14 @@ paths: items: &729 type: object properties: - number: *126 - created_at: *133 + number: *127 + created_at: *134 updated_at: anyOf: - type: 'null' - - *134 - url: *131 - html_url: *132 + - *135 + url: *132 + html_url: *133 locations_url: type: string format: uri @@ -110136,7 +110341,7 @@ paths: - 1124 - -435 '202': *37 - '204': *151 + '204': *126 '422': description: Repository contains more than 10,000 commits x-github: @@ -110208,7 +110413,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *151 + '204': *126 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110308,7 +110513,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *151 + '204': *126 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110509,7 +110714,7 @@ paths: - - 0 - 2 - 21 - '204': *151 + '204': *126 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -116722,7 +116927,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - *788 - - *139 + - *140 responses: '204': description: if user is a member @@ -116759,7 +116964,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - *788 - - *139 + - *140 responses: '204': description: Response @@ -116799,7 +117004,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - *788 - - *139 + - *140 responses: '204': description: Response @@ -116836,7 +117041,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *788 - - *139 + - *140 responses: '200': description: Response @@ -116878,7 +117083,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *788 - - *139 + - *140 requestBody: required: false content: @@ -116940,7 +117145,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *788 - - *139 + - *140 responses: '204': description: Response @@ -118108,7 +118313,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *139 + - *140 responses: '204': description: If the user is blocked @@ -118136,7 +118341,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *139 + - *140 responses: '204': description: Response @@ -118160,7 +118365,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *139 + - *140 responses: '204': description: Response @@ -120459,7 +120664,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *139 + - *140 responses: '204': description: if the person is followed by the authenticated user @@ -120489,7 +120694,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *139 + - *140 responses: '204': description: Response @@ -120514,7 +120719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *139 + - *140 responses: '204': description: Response @@ -124836,7 +125041,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *139 + - *140 responses: '200': description: Response @@ -124874,7 +125079,7 @@ paths: - *17 - *108 - *109 - - *139 + - *140 requestBody: required: true content: @@ -124957,7 +125162,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *139 + - *140 requestBody: required: true content: @@ -125022,7 +125227,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *139 + - *140 - name: subject_digest description: Subject Digest in: path @@ -125053,7 +125258,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *139 + - *140 - name: attestation_id description: Attestation ID in: path @@ -125091,7 +125296,7 @@ paths: - *17 - *108 - *109 - - *139 + - *140 - name: subject_digest description: Subject Digest in: path @@ -125159,7 +125364,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *139 + - *140 responses: '200': description: Response @@ -125192,7 +125397,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *139 + - *140 - *17 - *19 responses: @@ -125264,7 +125469,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *139 + - *140 - *87 - *17 - *19 @@ -125352,7 +125557,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *139 + - *140 - *17 - *19 responses: @@ -125420,7 +125625,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *139 + - *140 - *17 - *19 responses: @@ -125451,7 +125656,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *139 + - *140 - *17 - *19 responses: @@ -125482,7 +125687,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *139 + - *140 - name: target_user in: path required: true @@ -125509,7 +125714,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *139 + - *140 - *224 - *17 - *19 @@ -125543,7 +125748,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *139 + - *140 - *17 - *19 responses: @@ -125579,7 +125784,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *139 + - *140 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -125651,7 +125856,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *139 + - *140 responses: '200': description: Response @@ -125677,7 +125882,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *139 + - *140 - *17 - *19 responses: @@ -125733,7 +125938,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *139 + - *140 - *17 - *19 responses: @@ -125785,7 +125990,7 @@ paths: - nuget - container - *807 - - *139 + - *140 - *19 - *17 responses: @@ -125822,7 +126027,7 @@ paths: parameters: - *391 - *392 - - *139 + - *140 responses: '200': description: Response @@ -125853,7 +126058,7 @@ paths: parameters: - *391 - *392 - - *139 + - *140 responses: '204': description: Response @@ -125887,7 +126092,7 @@ paths: parameters: - *391 - *392 - - *139 + - *140 - name: token description: package token schema: @@ -125921,7 +126126,7 @@ paths: parameters: - *391 - *392 - - *139 + - *140 responses: '200': description: Response @@ -125990,7 +126195,7 @@ paths: - *391 - *392 - *394 - - *139 + - *140 responses: '200': description: Response @@ -126033,7 +126238,7 @@ paths: parameters: - *391 - *392 - - *139 + - *140 - *394 responses: '204': @@ -126068,7 +126273,7 @@ paths: parameters: - *391 - *392 - - *139 + - *140 - *394 responses: '204': @@ -126093,7 +126298,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *139 + - *140 - name: q description: Limit results to projects of the specified type. in: query @@ -126135,7 +126340,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - *407 - - *139 + - *140 responses: '200': description: Response @@ -126166,7 +126371,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - *407 - - *139 + - *140 - *17 - *108 - *109 @@ -126200,7 +126405,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project parameters: - - *139 + - *140 - *407 requestBody: required: true @@ -126313,7 +126518,7 @@ paths: parameters: - *407 - *839 - - *139 + - *140 responses: '200': description: Response @@ -126345,7 +126550,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - *407 - - *139 + - *140 - *108 - *109 - *17 @@ -126400,7 +126605,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *139 + - *140 - *407 requestBody: required: true @@ -126507,7 +126712,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *407 - - *139 + - *140 - *416 - name: fields description: |- @@ -126552,7 +126757,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - *407 - - *139 + - *140 - *416 requestBody: required: true @@ -126653,7 +126858,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - *407 - - *139 + - *140 - *416 responses: '204': @@ -126677,7 +126882,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-project-view parameters: - *407 - - *139 + - *140 - *841 - name: fields description: |- @@ -126734,7 +126939,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *139 + - *140 - *17 - *19 responses: @@ -126809,7 +127014,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *139 + - *140 - *17 - *19 responses: @@ -126882,7 +127087,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *139 + - *140 - name: type description: Limit results to repositories of the specified type. in: query @@ -126947,7 +127152,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *139 + - *140 - *17 - *19 responses: @@ -126979,7 +127184,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *139 + - *140 - *17 - *19 responses: @@ -127015,7 +127220,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *139 + - *140 - *843 - *110 - *17 @@ -127051,7 +127256,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *139 + - *140 - *17 - *19 responses: @@ -173783,7 +173988,7 @@ webhooks: type: string enum: - created - definition: *147 + definition: *148 enterp{"code":"deadline_exceeded","msg":"operation timed out"}