diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index cb13f5ed65..39344d004f 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -3766,6 +3766,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", @@ -8100,236 +8356,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" - ], - "example": "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", @@ -19962,6 +19988,236 @@ } } }, + "/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" + ], + "example": "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", @@ -111693,329 +111949,6 @@ } } }, - "nullable-simple-repository": { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "example": 1296269, - "description": "A unique identifier of the repository." - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "description": "The GraphQL identifier of the repository." - }, - "name": { - "type": "string", - "example": "Hello-World", - "description": "The name of the repository." - }, - "full_name": { - "type": "string", - "example": "octocat/Hello-World", - "description": "The full, globally unique, name of the repository." - }, - "owner": { - "$ref": "#/components/schemas/simple-user" - }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World", - "description": "The URL to view the repository on GitHub.com." - }, - "description": { - "type": "string", - "example": "This your first repo!", - "nullable": true, - "description": "The repository description." - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World", - "description": "The URL to get more information about the repository from the GitHub API." - }, - "archive_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "description": "A template for the API URL to download the repository as an archive." - }, - "assignees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "description": "A template for the API URL to list the available assignees for issues in the repository." - }, - "blobs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." - }, - "branches_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "description": "A template for the API URL to get information about branches in the repository." - }, - "collaborators_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "description": "A template for the API URL to get information about collaborators of the repository." - }, - "comments_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "description": "A template for the API URL to get information about comments on the repository." - }, - "commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "description": "A template for the API URL to get information about commits on the repository." - }, - "compare_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "description": "A template for the API URL to compare two commits or refs." - }, - "contents_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "description": "A template for the API URL to get the contents of the repository." - }, - "contributors_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/contributors", - "description": "A template for the API URL to list the contributors to the repository." - }, - "deployments_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/deployments", - "description": "The API URL to list the deployments of the repository." - }, - "downloads_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/downloads", - "description": "The API URL to list the downloads on the repository." - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/events", - "description": "The API URL to list the events of the repository." - }, - "forks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/forks", - "description": "The API URL to list the forks of the repository." - }, - "git_commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "description": "A template for the API URL to get information about Git commits of the repository." - }, - "git_refs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "description": "A template for the API URL to get information about Git refs of the repository." - }, - "git_tags_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "description": "A template for the API URL to get information about Git tags of the repository." - }, - "issue_comment_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "description": "A template for the API URL to get information about issue comments on the repository." - }, - "issue_events_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "description": "A template for the API URL to get information about issue events on the repository." - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "description": "A template for the API URL to get information about issues on the repository." - }, - "keys_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "description": "A template for the API URL to get information about deploy keys on the repository." - }, - "labels_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "description": "A template for the API URL to get information about labels of the repository." - }, - "languages_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/languages", - "description": "The API URL to get information about the languages of the repository." - }, - "merges_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/merges", - "description": "The API URL to merge branches in the repository." - }, - "milestones_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "description": "A template for the API URL to get information about milestones of the repository." - }, - "notifications_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "description": "A template for the API URL to get information about notifications on the repository." - }, - "pulls_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "description": "A template for the API URL to get information about pull requests on the repository." - }, - "releases_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "description": "A template for the API URL to get information about releases on the repository." - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "description": "The API URL to list the stargazers on the repository." - }, - "statuses_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "description": "A template for the API URL to get information about statuses of a commit." - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "description": "The API URL to list the subscribers on the repository." - }, - "subscription_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscription", - "description": "The API URL to subscribe to notifications for this repository." - }, - "tags_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/tags", - "description": "The API URL to get information about tags on the repository." - }, - "teams_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/teams", - "description": "The API URL to list the teams on the repository." - }, - "trees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." - }, - "hooks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/hooks", - "description": "The API URL to list the hooks on the repository." - } - }, - "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" - ], - "nullable": 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", - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal" - ], - "example": "internal", - "nullable": true - }, - "accessible_repositories": { - "type": "array", - "items": { - "$ref": "#/components/schemas/nullable-simple-repository" - } - } - }, - "additionalProperties": false - }, "budget": { "type": "object", "properties": { @@ -115539,6 +115472,329 @@ ], "additionalProperties": true }, + "nullable-simple-repository": { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1296269, + "description": "A unique identifier of the repository." + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "description": "The GraphQL identifier of the repository." + }, + "name": { + "type": "string", + "example": "Hello-World", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World", + "description": "The full, globally unique, name of the repository." + }, + "owner": { + "$ref": "#/components/schemas/simple-user" + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World", + "description": "The URL to view the repository on GitHub.com." + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true, + "description": "The repository description." + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World", + "description": "The URL to get more information about the repository from the GitHub API." + }, + "archive_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "description": "A template for the API URL to download the repository as an archive." + }, + "assignees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "description": "A template for the API URL to list the available assignees for issues in the repository." + }, + "blobs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." + }, + "branches_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "description": "A template for the API URL to get information about branches in the repository." + }, + "collaborators_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "description": "A template for the API URL to get information about collaborators of the repository." + }, + "comments_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "description": "A template for the API URL to get information about comments on the repository." + }, + "commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "description": "A template for the API URL to get information about commits on the repository." + }, + "compare_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "description": "A template for the API URL to compare two commits or refs." + }, + "contents_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "description": "A template for the API URL to get the contents of the repository." + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/contributors", + "description": "A template for the API URL to list the contributors to the repository." + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "The API URL to list the deployments of the repository." + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/downloads", + "description": "The API URL to list the downloads on the repository." + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/events", + "description": "The API URL to list the events of the repository." + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/forks", + "description": "The API URL to list the forks of the repository." + }, + "git_commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "description": "A template for the API URL to get information about Git commits of the repository." + }, + "git_refs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "description": "A template for the API URL to get information about Git refs of the repository." + }, + "git_tags_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "description": "A template for the API URL to get information about Git tags of the repository." + }, + "issue_comment_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "description": "A template for the API URL to get information about issue comments on the repository." + }, + "issue_events_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "description": "A template for the API URL to get information about issue events on the repository." + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "description": "A template for the API URL to get information about issues on the repository." + }, + "keys_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "description": "A template for the API URL to get information about deploy keys on the repository." + }, + "labels_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "description": "A template for the API URL to get information about labels of the repository." + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/languages", + "description": "The API URL to get information about the languages of the repository." + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/merges", + "description": "The API URL to merge branches in the repository." + }, + "milestones_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "description": "A template for the API URL to get information about milestones of the repository." + }, + "notifications_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "description": "A template for the API URL to get information about notifications on the repository." + }, + "pulls_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "description": "A template for the API URL to get information about pull requests on the repository." + }, + "releases_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "description": "A template for the API URL to get information about releases on the repository." + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "description": "The API URL to list the stargazers on the repository." + }, + "statuses_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "description": "A template for the API URL to get information about statuses of a commit." + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "description": "The API URL to list the subscribers on the repository." + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscription", + "description": "The API URL to subscribe to notifications for this repository." + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/tags", + "description": "The API URL to get information about tags on the repository." + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." + }, + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the repository." + } + }, + "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" + ], + "nullable": 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", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "example": "internal", + "nullable": true + }, + "accessible_repositories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/nullable-simple-repository" + } + } + }, + "additionalProperties": false + }, "organization-dependabot-secret": { "title": "Dependabot Secret for an Organization", "description": "Secrets for GitHub Dependabot for an organization.", @@ -290018,84 +290274,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": [ @@ -292891,6 +293069,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/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 7ee291d862..5d8a0c68b0 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -2721,6 +2721,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 @@ -5702,184 +5913,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 - example: 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 @@ -14605,6 +14638,184 @@ 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 + example: 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 @@ -81245,298 +81456,6 @@ components: for the sum of all caches in a repository, in gigabytes. type: integer example: 10 - nullable-simple-repository: - title: Simple Repository - description: A GitHub repository. - type: object - properties: - id: - type: integer - format: int64 - example: 1296269 - description: A unique identifier of the repository. - node_id: - type: string - example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - description: The GraphQL identifier of the repository. - name: - type: string - example: Hello-World - description: The name of the repository. - full_name: - type: string - example: octocat/Hello-World - description: The full, globally unique, name of the repository. - owner: - "$ref": "#/components/schemas/simple-user" - private: - type: boolean - description: Whether the repository is private. - html_url: - type: string - format: uri - example: https://github.com/octocat/Hello-World - description: The URL to view the repository on GitHub.com. - description: - type: string - example: This your first repo! - nullable: true - description: The repository description. - fork: - type: boolean - description: Whether the repository is a fork. - url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World - description: The URL to get more information about the repository from the - GitHub API. - archive_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - description: A template for the API URL to download the repository as an - archive. - assignees_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - description: A template for the API URL to list the available assignees - for issues in the repository. - blobs_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - description: A template for the API URL to create or retrieve a raw Git - blob in the repository. - branches_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - description: A template for the API URL to get information about branches - in the repository. - collaborators_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - description: A template for the API URL to get information about collaborators - of the repository. - comments_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/comments{/number} - description: A template for the API URL to get information about comments - on the repository. - commits_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - description: A template for the API URL to get information about commits - on the repository. - compare_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - description: A template for the API URL to compare two commits or refs. - contents_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - description: A template for the API URL to get the contents of the repository. - contributors_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/contributors - description: A template for the API URL to list the contributors to the - repository. - deployments_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/deployments - description: The API URL to list the deployments of the repository. - downloads_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/downloads - description: The API URL to list the downloads on the repository. - events_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/events - description: The API URL to list the events of the repository. - forks_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/forks - description: The API URL to list the forks of the repository. - git_commits_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - description: A template for the API URL to get information about Git commits - of the repository. - git_refs_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - description: A template for the API URL to get information about Git refs - of the repository. - git_tags_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - description: A template for the API URL to get information about Git tags - of the repository. - issue_comment_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - description: A template for the API URL to get information about issue comments - on the repository. - issue_events_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - description: A template for the API URL to get information about issue events - on the repository. - issues_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/issues{/number} - description: A template for the API URL to get information about issues - on the repository. - keys_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - description: A template for the API URL to get information about deploy - keys on the repository. - labels_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/labels{/name} - description: A template for the API URL to get information about labels - of the repository. - languages_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/languages - description: The API URL to get information about the languages of the repository. - merges_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/merges - description: The API URL to merge branches in the repository. - milestones_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - description: A template for the API URL to get information about milestones - of the repository. - notifications_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - description: A template for the API URL to get information about notifications - on the repository. - pulls_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - description: A template for the API URL to get information about pull requests - on the repository. - releases_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/releases{/id} - description: A template for the API URL to get information about releases - on the repository. - stargazers_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/stargazers - description: The API URL to list the stargazers on the repository. - statuses_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - description: A template for the API URL to get information about statuses - of a commit. - subscribers_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/subscribers - description: The API URL to list the subscribers on the repository. - subscription_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/subscription - description: The API URL to subscribe to notifications for this repository. - tags_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/tags - description: The API URL to get information about tags on the repository. - teams_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/teams - description: The API URL to list the teams on the repository. - trees_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - description: A template for the API URL to create or retrieve a raw Git - tree of the repository. - hooks_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/hooks - description: The API URL to list the hooks on the repository. - 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 - nullable: 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 - description: The default repository access level for Dependabot updates. - enum: - - public - - internal - example: internal - nullable: true - accessible_repositories: - type: array - items: - "$ref": "#/components/schemas/nullable-simple-repository" - additionalProperties: false budget: type: object properties: @@ -84427,6 +84346,298 @@ components: required: - date additionalProperties: true + nullable-simple-repository: + title: Simple Repository + description: A GitHub repository. + type: object + properties: + id: + type: integer + format: int64 + example: 1296269 + description: A unique identifier of the repository. + node_id: + type: string + example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + description: The GraphQL identifier of the repository. + name: + type: string + example: Hello-World + description: The name of the repository. + full_name: + type: string + example: octocat/Hello-World + description: The full, globally unique, name of the repository. + owner: + "$ref": "#/components/schemas/simple-user" + private: + type: boolean + description: Whether the repository is private. + html_url: + type: string + format: uri + example: https://github.com/octocat/Hello-World + description: The URL to view the repository on GitHub.com. + description: + type: string + example: This your first repo! + nullable: true + description: The repository description. + fork: + type: boolean + description: Whether the repository is a fork. + url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World + description: The URL to get more information about the repository from the + GitHub API. + archive_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + description: A template for the API URL to download the repository as an + archive. + assignees_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + description: A template for the API URL to list the available assignees + for issues in the repository. + blobs_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + description: A template for the API URL to create or retrieve a raw Git + blob in the repository. + branches_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + description: A template for the API URL to get information about branches + in the repository. + collaborators_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + description: A template for the API URL to get information about collaborators + of the repository. + comments_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/comments{/number} + description: A template for the API URL to get information about comments + on the repository. + commits_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + description: A template for the API URL to get information about commits + on the repository. + compare_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + description: A template for the API URL to compare two commits or refs. + contents_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + description: A template for the API URL to get the contents of the repository. + contributors_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/contributors + description: A template for the API URL to list the contributors to the + repository. + deployments_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/deployments + description: The API URL to list the deployments of the repository. + downloads_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/downloads + description: The API URL to list the downloads on the repository. + events_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/events + description: The API URL to list the events of the repository. + forks_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/forks + description: The API URL to list the forks of the repository. + git_commits_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + description: A template for the API URL to get information about Git commits + of the repository. + git_refs_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + description: A template for the API URL to get information about Git refs + of the repository. + git_tags_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + description: A template for the API URL to get information about Git tags + of the repository. + issue_comment_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + description: A template for the API URL to get information about issue comments + on the repository. + issue_events_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + description: A template for the API URL to get information about issue events + on the repository. + issues_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues{/number} + description: A template for the API URL to get information about issues + on the repository. + keys_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + description: A template for the API URL to get information about deploy + keys on the repository. + labels_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/labels{/name} + description: A template for the API URL to get information about labels + of the repository. + languages_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/languages + description: The API URL to get information about the languages of the repository. + merges_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/merges + description: The API URL to merge branches in the repository. + milestones_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + description: A template for the API URL to get information about milestones + of the repository. + notifications_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + description: A template for the API URL to get information about notifications + on the repository. + pulls_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + description: A template for the API URL to get information about pull requests + on the repository. + releases_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/releases{/id} + description: A template for the API URL to get information about releases + on the repository. + stargazers_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/stargazers + description: The API URL to list the stargazers on the repository. + statuses_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + description: A template for the API URL to get information about statuses + of a commit. + subscribers_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/subscribers + description: The API URL to list the subscribers on the repository. + subscription_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/subscription + description: The API URL to subscribe to notifications for this repository. + tags_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/tags + description: The API URL to get information about tags on the repository. + teams_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/teams + description: The API URL to list the teams on the repository. + trees_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + description: A template for the API URL to create or retrieve a raw Git + tree of the repository. + hooks_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/hooks + description: The API URL to list the hooks on the repository. + 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 + nullable: 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 + description: The default repository access level for Dependabot updates. + enum: + - public + - internal + example: internal + nullable: true + accessible_repositories: + type: array + items: + "$ref": "#/components/schemas/nullable-simple-repository" + additionalProperties: false organization-dependabot-secret: title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. @@ -217234,78 +217445,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: @@ -219589,6 +219728,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/api.github.com/api.github.com.2026-03-10.json b/descriptions/api.github.com/api.github.com.2026-03-10.json index a00d6249d9..3cc0a2852c 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions/api.github.com/api.github.com.2026-03-10.json @@ -3766,6 +3766,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", @@ -8100,236 +8356,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" - ], - "example": "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", @@ -19922,6 +19948,236 @@ } } }, + "/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" + ], + "example": "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", @@ -23956,6 +24212,11 @@ "items": { "$ref": "#/components/schemas/simple-repository" } + }, + "examples": { + "default": { + "$ref": "#/components/examples/minimal-repository-items" + } } } }, @@ -72280,6 +72541,11 @@ "items": { "$ref": "#/components/schemas/simple-repository" } + }, + "examples": { + "default": { + "$ref": "#/components/examples/minimal-repository-items" + } } } }, @@ -111192,329 +111458,6 @@ } } }, - "nullable-simple-repository": { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "example": 1296269, - "description": "A unique identifier of the repository." - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "description": "The GraphQL identifier of the repository." - }, - "name": { - "type": "string", - "example": "Hello-World", - "description": "The name of the repository." - }, - "full_name": { - "type": "string", - "example": "octocat/Hello-World", - "description": "The full, globally unique, name of the repository." - }, - "owner": { - "$ref": "#/components/schemas/simple-user" - }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World", - "description": "The URL to view the repository on GitHub.com." - }, - "description": { - "type": "string", - "example": "This your first repo!", - "nullable": true, - "description": "The repository description." - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World", - "description": "The URL to get more information about the repository from the GitHub API." - }, - "archive_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "description": "A template for the API URL to download the repository as an archive." - }, - "assignees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "description": "A template for the API URL to list the available assignees for issues in the repository." - }, - "blobs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." - }, - "branches_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "description": "A template for the API URL to get information about branches in the repository." - }, - "collaborators_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "description": "A template for the API URL to get information about collaborators of the repository." - }, - "comments_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "description": "A template for the API URL to get information about comments on the repository." - }, - "commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "description": "A template for the API URL to get information about commits on the repository." - }, - "compare_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "description": "A template for the API URL to compare two commits or refs." - }, - "contents_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "description": "A template for the API URL to get the contents of the repository." - }, - "contributors_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/contributors", - "description": "A template for the API URL to list the contributors to the repository." - }, - "deployments_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/deployments", - "description": "The API URL to list the deployments of the repository." - }, - "downloads_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/downloads", - "description": "The API URL to list the downloads on the repository." - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/events", - "description": "The API URL to list the events of the repository." - }, - "forks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/forks", - "description": "The API URL to list the forks of the repository." - }, - "git_commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "description": "A template for the API URL to get information about Git commits of the repository." - }, - "git_refs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "description": "A template for the API URL to get information about Git refs of the repository." - }, - "git_tags_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "description": "A template for the API URL to get information about Git tags of the repository." - }, - "issue_comment_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "description": "A template for the API URL to get information about issue comments on the repository." - }, - "issue_events_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "description": "A template for the API URL to get information about issue events on the repository." - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "description": "A template for the API URL to get information about issues on the repository." - }, - "keys_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "description": "A template for the API URL to get information about deploy keys on the repository." - }, - "labels_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "description": "A template for the API URL to get information about labels of the repository." - }, - "languages_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/languages", - "description": "The API URL to get information about the languages of the repository." - }, - "merges_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/merges", - "description": "The API URL to merge branches in the repository." - }, - "milestones_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "description": "A template for the API URL to get information about milestones of the repository." - }, - "notifications_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "description": "A template for the API URL to get information about notifications on the repository." - }, - "pulls_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "description": "A template for the API URL to get information about pull requests on the repository." - }, - "releases_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "description": "A template for the API URL to get information about releases on the repository." - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "description": "The API URL to list the stargazers on the repository." - }, - "statuses_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "description": "A template for the API URL to get information about statuses of a commit." - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "description": "The API URL to list the subscribers on the repository." - }, - "subscription_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscription", - "description": "The API URL to subscribe to notifications for this repository." - }, - "tags_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/tags", - "description": "The API URL to get information about tags on the repository." - }, - "teams_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/teams", - "description": "The API URL to list the teams on the repository." - }, - "trees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." - }, - "hooks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/hooks", - "description": "The API URL to list the hooks on the repository." - } - }, - "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" - ], - "nullable": 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", - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal" - ], - "example": "internal", - "nullable": true - }, - "accessible_repositories": { - "type": "array", - "items": { - "$ref": "#/components/schemas/nullable-simple-repository" - } - } - }, - "additionalProperties": false - }, "budget": { "type": "object", "properties": { @@ -115033,6 +114976,329 @@ ], "additionalProperties": true }, + "nullable-simple-repository": { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1296269, + "description": "A unique identifier of the repository." + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "description": "The GraphQL identifier of the repository." + }, + "name": { + "type": "string", + "example": "Hello-World", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World", + "description": "The full, globally unique, name of the repository." + }, + "owner": { + "$ref": "#/components/schemas/simple-user" + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World", + "description": "The URL to view the repository on GitHub.com." + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true, + "description": "The repository description." + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World", + "description": "The URL to get more information about the repository from the GitHub API." + }, + "archive_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "description": "A template for the API URL to download the repository as an archive." + }, + "assignees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "description": "A template for the API URL to list the available assignees for issues in the repository." + }, + "blobs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." + }, + "branches_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "description": "A template for the API URL to get information about branches in the repository." + }, + "collaborators_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "description": "A template for the API URL to get information about collaborators of the repository." + }, + "comments_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "description": "A template for the API URL to get information about comments on the repository." + }, + "commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "description": "A template for the API URL to get information about commits on the repository." + }, + "compare_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "description": "A template for the API URL to compare two commits or refs." + }, + "contents_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "description": "A template for the API URL to get the contents of the repository." + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/contributors", + "description": "A template for the API URL to list the contributors to the repository." + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "The API URL to list the deployments of the repository." + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/downloads", + "description": "The API URL to list the downloads on the repository." + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/events", + "description": "The API URL to list the events of the repository." + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/forks", + "description": "The API URL to list the forks of the repository." + }, + "git_commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "description": "A template for the API URL to get information about Git commits of the repository." + }, + "git_refs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "description": "A template for the API URL to get information about Git refs of the repository." + }, + "git_tags_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "description": "A template for the API URL to get information about Git tags of the repository." + }, + "issue_comment_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "description": "A template for the API URL to get information about issue comments on the repository." + }, + "issue_events_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "description": "A template for the API URL to get information about issue events on the repository." + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "description": "A template for the API URL to get information about issues on the repository." + }, + "keys_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "description": "A template for the API URL to get information about deploy keys on the repository." + }, + "labels_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "description": "A template for the API URL to get information about labels of the repository." + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/languages", + "description": "The API URL to get information about the languages of the repository." + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/merges", + "description": "The API URL to merge branches in the repository." + }, + "milestones_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "description": "A template for the API URL to get information about milestones of the repository." + }, + "notifications_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "description": "A template for the API URL to get information about notifications on the repository." + }, + "pulls_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "description": "A template for the API URL to get information about pull requests on the repository." + }, + "releases_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "description": "A template for the API URL to get information about releases on the repository." + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "description": "The API URL to list the stargazers on the repository." + }, + "statuses_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "description": "A template for the API URL to get information about statuses of a commit." + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "description": "The API URL to list the subscribers on the repository." + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscription", + "description": "The API URL to subscribe to notifications for this repository." + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/tags", + "description": "The API URL to get information about tags on the repository." + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." + }, + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the repository." + } + }, + "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" + ], + "nullable": 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", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "example": "internal", + "nullable": true + }, + "accessible_repositories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/nullable-simple-repository" + } + } + }, + "additionalProperties": false + }, "organization-dependabot-secret": { "title": "Dependabot Secret for an Organization", "description": "Secrets for GitHub Dependabot for an organization.", @@ -289263,84 +289529,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": [ @@ -292135,6 +292323,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, @@ -293492,6 +293758,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, @@ -293715,131 +294106,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/api.github.com/api.github.com.2026-03-10.yaml b/descriptions/api.github.com/api.github.com.2026-03-10.yaml index e8ed0188c0..c059b19cff 100644 --- a/descriptions/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions/api.github.com/api.github.com.2026-03-10.yaml @@ -2721,6 +2721,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 @@ -5702,184 +5913,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 - example: 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 @@ -14572,6 +14605,184 @@ 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 + example: 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 @@ -17437,6 +17648,9 @@ paths: type: array items: "$ref": "#/components/schemas/simple-repository" + examples: + default: + "$ref": "#/components/examples/minimal-repository-items" headers: Link: "$ref": "#/components/headers/link" @@ -52553,6 +52767,9 @@ paths: type: array items: "$ref": "#/components/schemas/simple-repository" + examples: + default: + "$ref": "#/components/examples/minimal-repository-items" headers: Link: "$ref": "#/components/headers/link" @@ -80853,298 +81070,6 @@ components: for the sum of all caches in a repository, in gigabytes. type: integer example: 10 - nullable-simple-repository: - title: Simple Repository - description: A GitHub repository. - type: object - properties: - id: - type: integer - format: int64 - example: 1296269 - description: A unique identifier of the repository. - node_id: - type: string - example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - description: The GraphQL identifier of the repository. - name: - type: string - example: Hello-World - description: The name of the repository. - full_name: - type: string - example: octocat/Hello-World - description: The full, globally unique, name of the repository. - owner: - "$ref": "#/components/schemas/simple-user" - private: - type: boolean - description: Whether the repository is private. - html_url: - type: string - format: uri - example: https://github.com/octocat/Hello-World - description: The URL to view the repository on GitHub.com. - description: - type: string - example: This your first repo! - nullable: true - description: The repository description. - fork: - type: boolean - description: Whether the repository is a fork. - url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World - description: The URL to get more information about the repository from the - GitHub API. - archive_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - description: A template for the API URL to download the repository as an - archive. - assignees_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - description: A template for the API URL to list the available assignees - for issues in the repository. - blobs_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - description: A template for the API URL to create or retrieve a raw Git - blob in the repository. - branches_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - description: A template for the API URL to get information about branches - in the repository. - collaborators_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - description: A template for the API URL to get information about collaborators - of the repository. - comments_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/comments{/number} - description: A template for the API URL to get information about comments - on the repository. - commits_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - description: A template for the API URL to get information about commits - on the repository. - compare_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - description: A template for the API URL to compare two commits or refs. - contents_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - description: A template for the API URL to get the contents of the repository. - contributors_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/contributors - description: A template for the API URL to list the contributors to the - repository. - deployments_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/deployments - description: The API URL to list the deployments of the repository. - downloads_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/downloads - description: The API URL to list the downloads on the repository. - events_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/events - description: The API URL to list the events of the repository. - forks_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/forks - description: The API URL to list the forks of the repository. - git_commits_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - description: A template for the API URL to get information about Git commits - of the repository. - git_refs_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - description: A template for the API URL to get information about Git refs - of the repository. - git_tags_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - description: A template for the API URL to get information about Git tags - of the repository. - issue_comment_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - description: A template for the API URL to get information about issue comments - on the repository. - issue_events_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - description: A template for the API URL to get information about issue events - on the repository. - issues_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/issues{/number} - description: A template for the API URL to get information about issues - on the repository. - keys_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - description: A template for the API URL to get information about deploy - keys on the repository. - labels_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/labels{/name} - description: A template for the API URL to get information about labels - of the repository. - languages_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/languages - description: The API URL to get information about the languages of the repository. - merges_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/merges - description: The API URL to merge branches in the repository. - milestones_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - description: A template for the API URL to get information about milestones - of the repository. - notifications_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - description: A template for the API URL to get information about notifications - on the repository. - pulls_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - description: A template for the API URL to get information about pull requests - on the repository. - releases_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/releases{/id} - description: A template for the API URL to get information about releases - on the repository. - stargazers_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/stargazers - description: The API URL to list the stargazers on the repository. - statuses_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - description: A template for the API URL to get information about statuses - of a commit. - subscribers_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/subscribers - description: The API URL to list the subscribers on the repository. - subscription_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/subscription - description: The API URL to subscribe to notifications for this repository. - tags_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/tags - description: The API URL to get information about tags on the repository. - teams_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/teams - description: The API URL to list the teams on the repository. - trees_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - description: A template for the API URL to create or retrieve a raw Git - tree of the repository. - hooks_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/hooks - description: The API URL to list the hooks on the repository. - 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 - nullable: 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 - description: The default repository access level for Dependabot updates. - enum: - - public - - internal - example: internal - nullable: true - accessible_repositories: - type: array - items: - "$ref": "#/components/schemas/nullable-simple-repository" - additionalProperties: false budget: type: object properties: @@ -84030,6 +83955,298 @@ components: required: - date additionalProperties: true + nullable-simple-repository: + title: Simple Repository + description: A GitHub repository. + type: object + properties: + id: + type: integer + format: int64 + example: 1296269 + description: A unique identifier of the repository. + node_id: + type: string + example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + description: The GraphQL identifier of the repository. + name: + type: string + example: Hello-World + description: The name of the repository. + full_name: + type: string + example: octocat/Hello-World + description: The full, globally unique, name of the repository. + owner: + "$ref": "#/components/schemas/simple-user" + private: + type: boolean + description: Whether the repository is private. + html_url: + type: string + format: uri + example: https://github.com/octocat/Hello-World + description: The URL to view the repository on GitHub.com. + description: + type: string + example: This your first repo! + nullable: true + description: The repository description. + fork: + type: boolean + description: Whether the repository is a fork. + url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World + description: The URL to get more information about the repository from the + GitHub API. + archive_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + description: A template for the API URL to download the repository as an + archive. + assignees_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + description: A template for the API URL to list the available assignees + for issues in the repository. + blobs_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + description: A template for the API URL to create or retrieve a raw Git + blob in the repository. + branches_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + description: A template for the API URL to get information about branches + in the repository. + collaborators_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + description: A template for the API URL to get information about collaborators + of the repository. + comments_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/comments{/number} + description: A template for the API URL to get information about comments + on the repository. + commits_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + description: A template for the API URL to get information about commits + on the repository. + compare_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + description: A template for the API URL to compare two commits or refs. + contents_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + description: A template for the API URL to get the contents of the repository. + contributors_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/contributors + description: A template for the API URL to list the contributors to the + repository. + deployments_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/deployments + description: The API URL to list the deployments of the repository. + downloads_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/downloads + description: The API URL to list the downloads on the repository. + events_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/events + description: The API URL to list the events of the repository. + forks_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/forks + description: The API URL to list the forks of the repository. + git_commits_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + description: A template for the API URL to get information about Git commits + of the repository. + git_refs_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + description: A template for the API URL to get information about Git refs + of the repository. + git_tags_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + description: A template for the API URL to get information about Git tags + of the repository. + issue_comment_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + description: A template for the API URL to get information about issue comments + on the repository. + issue_events_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + description: A template for the API URL to get information about issue events + on the repository. + issues_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues{/number} + description: A template for the API URL to get information about issues + on the repository. + keys_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + description: A template for the API URL to get information about deploy + keys on the repository. + labels_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/labels{/name} + description: A template for the API URL to get information about labels + of the repository. + languages_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/languages + description: The API URL to get information about the languages of the repository. + merges_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/merges + description: The API URL to merge branches in the repository. + milestones_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + description: A template for the API URL to get information about milestones + of the repository. + notifications_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + description: A template for the API URL to get information about notifications + on the repository. + pulls_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + description: A template for the API URL to get information about pull requests + on the repository. + releases_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/releases{/id} + description: A template for the API URL to get information about releases + on the repository. + stargazers_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/stargazers + description: The API URL to list the stargazers on the repository. + statuses_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + description: A template for the API URL to get information about statuses + of a commit. + subscribers_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/subscribers + description: The API URL to list the subscribers on the repository. + subscription_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/subscription + description: The API URL to subscribe to notifications for this repository. + tags_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/tags + description: The API URL to get information about tags on the repository. + teams_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/teams + description: The API URL to list the teams on the repository. + trees_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + description: A template for the API URL to create or retrieve a raw Git + tree of the repository. + hooks_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/hooks + description: The API URL to list the hooks on the repository. + 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 + nullable: 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 + description: The default repository access level for Dependabot updates. + enum: + - public + - internal + example: internal + nullable: true + accessible_repositories: + type: array + items: + "$ref": "#/components/schemas/nullable-simple-repository" + additionalProperties: false organization-dependabot-secret: title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. @@ -216557,78 +216774,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: @@ -218911,6 +219056,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 @@ -220083,6 +220300,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 @@ -220267,118 +220596,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/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 6adc5f3326..bad14541f6 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -3780,6 +3780,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", @@ -8114,236 +8370,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" - ], - "example": "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", @@ -20064,6 +20090,236 @@ } } }, + "/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" + ], + "example": "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", @@ -112428,329 +112684,6 @@ } } }, - "nullable-simple-repository": { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "example": 1296269, - "description": "A unique identifier of the repository." - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "description": "The GraphQL identifier of the repository." - }, - "name": { - "type": "string", - "example": "Hello-World", - "description": "The name of the repository." - }, - "full_name": { - "type": "string", - "example": "octocat/Hello-World", - "description": "The full, globally unique, name of the repository." - }, - "owner": { - "$ref": "#/components/schemas/simple-user" - }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat/Hello-World", - "description": "The URL to view the repository on GitHub.com." - }, - "description": { - "type": "string", - "example": "This your first repo!", - "nullable": true, - "description": "The repository description." - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World", - "description": "The URL to get more information about the repository from the GitHub API." - }, - "archive_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "description": "A template for the API URL to download the repository as an archive." - }, - "assignees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "description": "A template for the API URL to list the available assignees for issues in the repository." - }, - "blobs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." - }, - "branches_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "description": "A template for the API URL to get information about branches in the repository." - }, - "collaborators_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "description": "A template for the API URL to get information about collaborators of the repository." - }, - "comments_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "description": "A template for the API URL to get information about comments on the repository." - }, - "commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "description": "A template for the API URL to get information about commits on the repository." - }, - "compare_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "description": "A template for the API URL to compare two commits or refs." - }, - "contents_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "description": "A template for the API URL to get the contents of the repository." - }, - "contributors_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/contributors", - "description": "A template for the API URL to list the contributors to the repository." - }, - "deployments_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/deployments", - "description": "The API URL to list the deployments of the repository." - }, - "downloads_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/downloads", - "description": "The API URL to list the downloads on the repository." - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/events", - "description": "The API URL to list the events of the repository." - }, - "forks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/forks", - "description": "The API URL to list the forks of the repository." - }, - "git_commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "description": "A template for the API URL to get information about Git commits of the repository." - }, - "git_refs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "description": "A template for the API URL to get information about Git refs of the repository." - }, - "git_tags_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "description": "A template for the API URL to get information about Git tags of the repository." - }, - "issue_comment_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "description": "A template for the API URL to get information about issue comments on the repository." - }, - "issue_events_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "description": "A template for the API URL to get information about issue events on the repository." - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "description": "A template for the API URL to get information about issues on the repository." - }, - "keys_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "description": "A template for the API URL to get information about deploy keys on the repository." - }, - "labels_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "description": "A template for the API URL to get information about labels of the repository." - }, - "languages_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/languages", - "description": "The API URL to get information about the languages of the repository." - }, - "merges_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/merges", - "description": "The API URL to merge branches in the repository." - }, - "milestones_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "description": "A template for the API URL to get information about milestones of the repository." - }, - "notifications_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "description": "A template for the API URL to get information about notifications on the repository." - }, - "pulls_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "description": "A template for the API URL to get information about pull requests on the repository." - }, - "releases_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "description": "A template for the API URL to get information about releases on the repository." - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "description": "The API URL to list the stargazers on the repository." - }, - "statuses_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "description": "A template for the API URL to get information about statuses of a commit." - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "description": "The API URL to list the subscribers on the repository." - }, - "subscription_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscription", - "description": "The API URL to subscribe to notifications for this repository." - }, - "tags_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/tags", - "description": "The API URL to get information about tags on the repository." - }, - "teams_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/teams", - "description": "The API URL to list the teams on the repository." - }, - "trees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." - }, - "hooks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/hooks", - "description": "The API URL to list the hooks on the repository." - } - }, - "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" - ], - "nullable": 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", - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal" - ], - "example": "internal", - "nullable": true - }, - "accessible_repositories": { - "type": "array", - "items": { - "$ref": "#/components/schemas/nullable-simple-repository" - } - } - }, - "additionalProperties": false - }, "budget": { "type": "object", "properties": { @@ -116286,6 +116219,329 @@ ], "additionalProperties": true }, + "nullable-simple-repository": { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1296269, + "description": "A unique identifier of the repository." + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "description": "The GraphQL identifier of the repository." + }, + "name": { + "type": "string", + "example": "Hello-World", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World", + "description": "The full, globally unique, name of the repository." + }, + "owner": { + "$ref": "#/components/schemas/simple-user" + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat/Hello-World", + "description": "The URL to view the repository on GitHub.com." + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true, + "description": "The repository description." + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World", + "description": "The URL to get more information about the repository from the GitHub API." + }, + "archive_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "description": "A template for the API URL to download the repository as an archive." + }, + "assignees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "description": "A template for the API URL to list the available assignees for issues in the repository." + }, + "blobs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." + }, + "branches_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "description": "A template for the API URL to get information about branches in the repository." + }, + "collaborators_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "description": "A template for the API URL to get information about collaborators of the repository." + }, + "comments_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "description": "A template for the API URL to get information about comments on the repository." + }, + "commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "description": "A template for the API URL to get information about commits on the repository." + }, + "compare_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "description": "A template for the API URL to compare two commits or refs." + }, + "contents_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "description": "A template for the API URL to get the contents of the repository." + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/contributors", + "description": "A template for the API URL to list the contributors to the repository." + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "The API URL to list the deployments of the repository." + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/downloads", + "description": "The API URL to list the downloads on the repository." + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/events", + "description": "The API URL to list the events of the repository." + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/forks", + "description": "The API URL to list the forks of the repository." + }, + "git_commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "description": "A template for the API URL to get information about Git commits of the repository." + }, + "git_refs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "description": "A template for the API URL to get information about Git refs of the repository." + }, + "git_tags_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "description": "A template for the API URL to get information about Git tags of the repository." + }, + "issue_comment_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "description": "A template for the API URL to get information about issue comments on the repository." + }, + "issue_events_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "description": "A template for the API URL to get information about issue events on the repository." + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "description": "A template for the API URL to get information about issues on the repository." + }, + "keys_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "description": "A template for the API URL to get information about deploy keys on the repository." + }, + "labels_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "description": "A template for the API URL to get information about labels of the repository." + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/languages", + "description": "The API URL to get information about the languages of the repository." + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/merges", + "description": "The API URL to merge branches in the repository." + }, + "milestones_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "description": "A template for the API URL to get information about milestones of the repository." + }, + "notifications_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "description": "A template for the API URL to get information about notifications on the repository." + }, + "pulls_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "description": "A template for the API URL to get information about pull requests on the repository." + }, + "releases_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "description": "A template for the API URL to get information about releases on the repository." + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "description": "The API URL to list the stargazers on the repository." + }, + "statuses_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "description": "A template for the API URL to get information about statuses of a commit." + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "description": "The API URL to list the subscribers on the repository." + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscription", + "description": "The API URL to subscribe to notifications for this repository." + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/tags", + "description": "The API URL to get information about tags on the repository." + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." + }, + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the repository." + } + }, + "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" + ], + "nullable": 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", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "example": "internal", + "nullable": true + }, + "accessible_repositories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/nullable-simple-repository" + } + } + }, + "additionalProperties": false + }, "organization-dependabot-secret": { "title": "Dependabot Secret for an Organization", "description": "Secrets for GitHub Dependabot for an organization.", @@ -292136,84 +292392,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": [ @@ -295021,6 +295199,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/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 6b15799279..cd14a5fbf3 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -2729,6 +2729,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 @@ -5710,184 +5921,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 - example: 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 +14692,184 @@ 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 + example: 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 @@ -81726,298 +81937,6 @@ components: for the sum of all caches in a repository, in gigabytes. type: integer example: 10 - nullable-simple-repository: - title: Simple Repository - description: A GitHub repository. - type: object - properties: - id: - type: integer - format: int64 - example: 1296269 - description: A unique identifier of the repository. - node_id: - type: string - example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - description: The GraphQL identifier of the repository. - name: - type: string - example: Hello-World - description: The name of the repository. - full_name: - type: string - example: octocat/Hello-World - description: The full, globally unique, name of the repository. - owner: - "$ref": "#/components/schemas/simple-user" - private: - type: boolean - description: Whether the repository is private. - html_url: - type: string - format: uri - example: https://github.com/octocat/Hello-World - description: The URL to view the repository on GitHub.com. - description: - type: string - example: This your first repo! - nullable: true - description: The repository description. - fork: - type: boolean - description: Whether the repository is a fork. - url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World - description: The URL to get more information about the repository from the - GitHub API. - archive_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - description: A template for the API URL to download the repository as an - archive. - assignees_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - description: A template for the API URL to list the available assignees - for issues in the repository. - blobs_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - description: A template for the API URL to create or retrieve a raw Git - blob in the repository. - branches_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - description: A template for the API URL to get information about branches - in the repository. - collaborators_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - description: A template for the API URL to get information about collaborators - of the repository. - comments_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/comments{/number} - description: A template for the API URL to get information about comments - on the repository. - commits_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - description: A template for the API URL to get information about commits - on the repository. - compare_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - description: A template for the API URL to compare two commits or refs. - contents_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - description: A template for the API URL to get the contents of the repository. - contributors_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/contributors - description: A template for the API URL to list the contributors to the - repository. - deployments_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/deployments - description: The API URL to list the deployments of the repository. - downloads_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/downloads - description: The API URL to list the downloads on the repository. - events_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/events - description: The API URL to list the events of the repository. - forks_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/forks - description: The API URL to list the forks of the repository. - git_commits_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - description: A template for the API URL to get information about Git commits - of the repository. - git_refs_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - description: A template for the API URL to get information about Git refs - of the repository. - git_tags_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - description: A template for the API URL to get information about Git tags - of the repository. - issue_comment_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - description: A template for the API URL to get information about issue comments - on the repository. - issue_events_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - description: A template for the API URL to get information about issue events - on the repository. - issues_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/issues{/number} - description: A template for the API URL to get information about issues - on the repository. - keys_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - description: A template for the API URL to get information about deploy - keys on the repository. - labels_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/labels{/name} - description: A template for the API URL to get information about labels - of the repository. - languages_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/languages - description: The API URL to get information about the languages of the repository. - merges_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/merges - description: The API URL to merge branches in the repository. - milestones_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - description: A template for the API URL to get information about milestones - of the repository. - notifications_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - description: A template for the API URL to get information about notifications - on the repository. - pulls_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - description: A template for the API URL to get information about pull requests - on the repository. - releases_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/releases{/id} - description: A template for the API URL to get information about releases - on the repository. - stargazers_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/stargazers - description: The API URL to list the stargazers on the repository. - statuses_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - description: A template for the API URL to get information about statuses - of a commit. - subscribers_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/subscribers - description: The API URL to list the subscribers on the repository. - subscription_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/subscription - description: The API URL to subscribe to notifications for this repository. - tags_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/tags - description: The API URL to get information about tags on the repository. - teams_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/teams - description: The API URL to list the teams on the repository. - trees_url: - type: string - example: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - description: A template for the API URL to create or retrieve a raw Git - tree of the repository. - hooks_url: - type: string - format: uri - example: https://api.github.com/repos/octocat/Hello-World/hooks - description: The API URL to list the hooks on the repository. - 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 - nullable: 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 - description: The default repository access level for Dependabot updates. - enum: - - public - - internal - example: internal - nullable: true - accessible_repositories: - type: array - items: - "$ref": "#/components/schemas/nullable-simple-repository" - additionalProperties: false budget: type: object properties: @@ -84914,6 +84833,298 @@ components: required: - date additionalProperties: true + nullable-simple-repository: + title: Simple Repository + description: A GitHub repository. + type: object + properties: + id: + type: integer + format: int64 + example: 1296269 + description: A unique identifier of the repository. + node_id: + type: string + example: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + description: The GraphQL identifier of the repository. + name: + type: string + example: Hello-World + description: The name of the repository. + full_name: + type: string + example: octocat/Hello-World + description: The full, globally unique, name of the repository. + owner: + "$ref": "#/components/schemas/simple-user" + private: + type: boolean + description: Whether the repository is private. + html_url: + type: string + format: uri + example: https://github.com/octocat/Hello-World + description: The URL to view the repository on GitHub.com. + description: + type: string + example: This your first repo! + nullable: true + description: The repository description. + fork: + type: boolean + description: Whether the repository is a fork. + url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World + description: The URL to get more information about the repository from the + GitHub API. + archive_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + description: A template for the API URL to download the repository as an + archive. + assignees_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + description: A template for the API URL to list the available assignees + for issues in the repository. + blobs_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + description: A template for the API URL to create or retrieve a raw Git + blob in the repository. + branches_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + description: A template for the API URL to get information about branches + in the repository. + collaborators_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + description: A template for the API URL to get information about collaborators + of the repository. + comments_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/comments{/number} + description: A template for the API URL to get information about comments + on the repository. + commits_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + description: A template for the API URL to get information about commits + on the repository. + compare_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + description: A template for the API URL to compare two commits or refs. + contents_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + description: A template for the API URL to get the contents of the repository. + contributors_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/contributors + description: A template for the API URL to list the contributors to the + repository. + deployments_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/deployments + description: The API URL to list the deployments of the repository. + downloads_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/downloads + description: The API URL to list the downloads on the repository. + events_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/events + description: The API URL to list the events of the repository. + forks_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/forks + description: The API URL to list the forks of the repository. + git_commits_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + description: A template for the API URL to get information about Git commits + of the repository. + git_refs_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + description: A template for the API URL to get information about Git refs + of the repository. + git_tags_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + description: A template for the API URL to get information about Git tags + of the repository. + issue_comment_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + description: A template for the API URL to get information about issue comments + on the repository. + issue_events_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + description: A template for the API URL to get information about issue events + on the repository. + issues_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/issues{/number} + description: A template for the API URL to get information about issues + on the repository. + keys_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + description: A template for the API URL to get information about deploy + keys on the repository. + labels_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/labels{/name} + description: A template for the API URL to get information about labels + of the repository. + languages_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/languages + description: The API URL to get information about the languages of the repository. + merges_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/merges + description: The API URL to merge branches in the repository. + milestones_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + description: A template for the API URL to get information about milestones + of the repository. + notifications_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + description: A template for the API URL to get information about notifications + on the repository. + pulls_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + description: A template for the API URL to get information about pull requests + on the repository. + releases_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/releases{/id} + description: A template for the API URL to get information about releases + on the repository. + stargazers_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/stargazers + description: The API URL to list the stargazers on the repository. + statuses_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + description: A template for the API URL to get information about statuses + of a commit. + subscribers_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/subscribers + description: The API URL to list the subscribers on the repository. + subscription_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/subscription + description: The API URL to subscribe to notifications for this repository. + tags_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/tags + description: The API URL to get information about tags on the repository. + teams_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/teams + description: The API URL to list the teams on the repository. + trees_url: + type: string + example: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + description: A template for the API URL to create or retrieve a raw Git + tree of the repository. + hooks_url: + type: string + format: uri + example: https://api.github.com/repos/octocat/Hello-World/hooks + description: The API URL to list the hooks on the repository. + 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 + nullable: 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 + description: The default repository access level for Dependabot updates. + enum: + - public + - internal + example: internal + nullable: true + accessible_repositories: + type: array + items: + "$ref": "#/components/schemas/nullable-simple-repository" + additionalProperties: false organization-dependabot-secret: title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. @@ -218627,78 +218838,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: @@ -220988,6 +221127,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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index bcc4529efd..fe7bdee7c5 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -22541,6 +22541,451 @@ } } }, + "/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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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", @@ -70358,17 +70803,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": [ { @@ -70382,551 +70827,227 @@ }, { "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", - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal" - ], - "example": "internal", - "nullable": true - }, - "accessible_repositories": { + "budgets": { "type": "array", "items": { - "title": "Simple Repository", - "description": "A GitHub repository.", "type": "object", "properties": { "id": { - "type": "integer", - "format": "int64", - "example": 1296269, - "description": "A unique identifier of the repository." - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "description": "The GraphQL identifier of the repository." - }, - "name": { - "type": "string", - "example": "Hello-World", - "description": "The name of the repository." - }, - "full_name": { "type": "string", - "example": "octocat/Hello-World", - "description": "The full, globally unique, name of the repository." + "description": "The unique identifier for the budget", + "example": "2066deda-923f-43f9-88d2-62395a28c0cdd" }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { + "budget_type": { + "description": "The type of pricing for the budget", + "example": "SkuPricing", + "oneOf": [ + { "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" + "enum": [ + "SkuPricing" + ] }, - "user_view_type": { + { "type": "string", - "example": "public" + "enum": [ + "ProductPricing" + ] } - }, - "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", - "example": "https://github.com/octocat/Hello-World", - "description": "The URL to view the repository on GitHub.com." - }, - "description": { - "type": "string", - "example": "This your first repo!", - "nullable": true, - "description": "The repository description." + "budget_amount": { + "type": "integer", + "description": "The budget amount limit in whole dollars. For license-based products, this represents the number of licenses." }, - "fork": { + "prevent_further_usage": { "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World", - "description": "The URL to get more information about the repository from the GitHub API." - }, - "archive_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "description": "A template for the API URL to download the repository as an archive." - }, - "assignees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "description": "A template for the API URL to list the available assignees for issues in the repository." - }, - "blobs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." - }, - "branches_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "description": "A template for the API URL to get information about branches in the repository." - }, - "collaborators_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "description": "A template for the API URL to get information about collaborators of the repository." - }, - "comments_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "description": "A template for the API URL to get information about comments on the repository." - }, - "commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "description": "A template for the API URL to get information about commits on the repository." - }, - "compare_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "description": "A template for the API URL to compare two commits or refs." - }, - "contents_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "description": "A template for the API URL to get the contents of the repository." - }, - "contributors_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/contributors", - "description": "A template for the API URL to list the contributors to the repository." - }, - "deployments_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/deployments", - "description": "The API URL to list the deployments of the repository." - }, - "downloads_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/downloads", - "description": "The API URL to list the downloads on the repository." - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/events", - "description": "The API URL to list the events of the repository." - }, - "forks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/forks", - "description": "The API URL to list the forks of the repository." - }, - "git_commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "description": "A template for the API URL to get information about Git commits of the repository." - }, - "git_refs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "description": "A template for the API URL to get information about Git refs of the repository." - }, - "git_tags_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "description": "A template for the API URL to get information about Git tags of the repository." - }, - "issue_comment_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "description": "A template for the API URL to get information about issue comments on the repository." - }, - "issue_events_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "description": "A template for the API URL to get information about issue events on the repository." - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "description": "A template for the API URL to get information about issues on the repository." - }, - "keys_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "description": "A template for the API URL to get information about deploy keys on the repository." - }, - "labels_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "description": "A template for the API URL to get information about labels of the repository." - }, - "languages_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/languages", - "description": "The API URL to get information about the languages of the repository." - }, - "merges_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/merges", - "description": "The API URL to merge branches in the repository." - }, - "milestones_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "description": "A template for the API URL to get information about milestones of the repository." - }, - "notifications_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "description": "A template for the API URL to get information about notifications on the repository." - }, - "pulls_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "description": "A template for the API URL to get information about pull requests on the repository." - }, - "releases_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "description": "A template for the API URL to get information about releases on the repository." - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "description": "The API URL to list the stargazers on the repository." - }, - "statuses_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "description": "A template for the API URL to get information about statuses of a commit." - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "description": "The API URL to list the subscribers on the repository." - }, - "subscription_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscription", - "description": "The API URL to subscribe to notifications for this repository." + "description": "The type of limit enforcement for the budget", + "example": true }, - "tags_url": { + "budget_scope": { "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/tags", - "description": "The API URL to get information about tags on the repository." + "description": "The scope of the budget (enterprise, organization, repository, cost center)", + "example": "enterprise" }, - "teams_url": { + "budget_entity_name": { "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/teams", - "description": "The API URL to list the teams on the repository." + "description": "The name of the entity for the budget (enterprise does not require a name).", + "example": "octocat/hello-world" }, - "trees_url": { + "budget_product_sku": { "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + "description": "A single product or sku to apply the budget to." }, - "hooks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/hooks", - "description": "The API URL to list the hooks on the repository." + "budget_alerting": { + "type": "object", + "properties": { + "will_alert": { + "type": "boolean", + "description": "Whether alerts are enabled for this budget", + "example": true + }, + "alert_recipients": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of user login names who will receive alerts", + "example": [ + "mona", + "lisa" + ] + } + }, + "required": [ + "will_alert", + "alert_recipients" + ] } }, "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" - ], - "nullable": true - } - } - }, - "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" + "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" } } } @@ -70959,8 +71080,8 @@ } } }, - "404": { - "description": "Resource not found", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { @@ -70989,20 +71110,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" + "category": "billing", + "subcategory": "budgets" } - }, - "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```", + } + }, + "/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/update-repository-access-for-org", + "operationId": "billing/get-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization" }, "parameters": [ { @@ -71013,71 +71136,135 @@ "schema": { "type": "string" } + }, + { + "name": "budget_id", + "description": "The ID corresponding to the budget.", + "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" + "responses": { + "200": { + "description": "Response when updating a budget", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ID of the budget." }, - "description": "List of repository IDs to add." - }, - "repository_ids_to_remove": { - "type": "array", - "items": { - "type": "integer" + "budget_scope": { + "type": "string", + "description": "The type of scope for the budget", + "example": "enterprise", + "enum": [ + "enterprise", + "organization", + "repository", + "cost_center" + ] }, - "description": "List of repository IDs to remove." - } - }, - "example": { - "repository_ids_to_add": [ - 123, - 456 - ], - "repository_ids_to_remove": [ - 789 + "budget_entity_name": { + "type": "string", + "description": "The name of the entity to apply the budget to", + "example": "octocat/hello-world" + }, + "budget_amount": { + "type": "integer", + "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." + }, + "prevent_further_usage": { + "type": "boolean", + "description": "Whether to prevent additional spending once the budget is exceeded", + "example": true + }, + "budget_product_sku": { + "type": "string", + "description": "A single product or sku to apply the budget to.", + "example": "actions_linux" + }, + "budget_type": { + "description": "The type of pricing for the budget", + "example": "ProductPricing", + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } + ] + }, + "budget_alerting": { + "type": "object", + "properties": { + "will_alert": { + "type": "boolean", + "description": "Whether alerts are enabled for this budget", + "example": true + }, + "alert_recipients": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of user login names who will receive alerts", + "example": [ + "mona", + "lisa" + ] + } + } + } + }, + "required": [ + "id", + "budget_amount", + "prevent_further_usage", + "budget_product_sku", + "budget_type", + "budget_alerting", + "budget_scope", + "budget_entity_name" ] - } - }, - "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 - ] + "examples": { + "default": { + "value": { + "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", + "budget_type": "ProductPricing", + "budget_product_sku": "actions_linux", + "budget_scope": "repository", + "budget_entity_name": "example-repo-name", + "budget_amount": 0.0, + "prevent_further_usage": true, + "budget_alerting": { + "will_alert": true, + "alert_recipients": [ + "mona", + "lisa" + ] + } + } } } } } - } - }, - "responses": { - "204": { - "description": "Response" }, - "403": { - "description": "Forbidden", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -71099,6 +71286,40 @@ } } } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } } } }, @@ -71127,74 +71348,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:\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" - ], - "example": "internal" - } - }, - "required": [ - "default_level" - ] - }, - "examples": { - "204": { - "summary": "Example with a 'succeeded' status.", - "value": { - "default_level": "public" - } - } - } - } - } - }, - "responses": { - "204": { - "description": "Response" }, "403": { "description": "Forbidden", @@ -71222,8 +71375,8 @@ } } }, - "404": { - "description": "Resource not found", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { @@ -71247,27 +71400,46 @@ } } } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" + "category": "billing", + "subcategory": "budgets" } - } - }, - "/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.", + }, + "patch": { + "summary": "Update a budget for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates an existing budget for an organization. The authenticated user must be an organization admin or billing manager.", "tags": [ "billing" ], - "operationId": "billing/get-all-budgets-org", + "operationId": "billing/update-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization" }, "parameters": [ { @@ -71280,210 +71452,275 @@ } }, { - "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", + "name": "budget_id", + "description": "The ID corresponding to the budget.", + "in": "path", + "required": true, "schema": { - "type": "string", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] + "type": "string" } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "budget_amount": { + "type": "integer", + "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." + }, + "prevent_further_usage": { + "type": "boolean", + "description": "Whether to prevent additional spending once the budget is exceeded" + }, + "budget_alerting": { + "type": "object", + "properties": { + "will_alert": { + "type": "boolean", + "description": "Whether alerts are enabled for this budget" + }, + "alert_recipients": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of user login names who will receive alerts" + } + } + }, + "budget_scope": { + "type": "string", + "description": "The scope of the budget", + "enum": [ + "enterprise", + "organization", + "repository", + "cost_center" + ] + }, + "budget_entity_name": { + "type": "string", + "description": "The name of the entity to apply the budget to" + }, + "budget_type": { + "description": "The type of pricing for the budget", + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } + ] + }, + "budget_product_sku": { + "type": "string", + "description": "A single product or SKU that will be covered in the budget" + } + } + }, + "examples": { + "update-budget": { + "summary": "Update budget example", + "value": { + "prevent_further_usage": false, + "budget_amount": 10, + "budget_alerting": { + "will_alert": false, + "alert_recipients": [] + } + } + } + } + } + } + }, "responses": { "200": { - "description": "Response when getting all budgets", + "description": "Budget updated successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { - "budgets": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier for the budget", - "example": "2066deda-923f-43f9-88d2-62395a28c0cdd" - }, - "budget_type": { - "description": "The type of pricing for the budget", - "example": "SkuPricing", - "oneOf": [ - { - "type": "string", - "enum": [ - "SkuPricing" - ] - }, - { - "type": "string", - "enum": [ - "ProductPricing" - ] - } - ] - }, - "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", - "example": true - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget (enterprise, organization, repository, cost center)", - "example": "enterprise" - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity for the budget (enterprise does not require a name).", - "example": "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", - "example": true - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts", - "example": [ - "mona", - "lisa" - ] - } + "message": { + "type": "string", + "example": "Budget successfully updated." + }, + "budget": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ID of the budget." + }, + "budget_amount": { + "type": "number", + "format": "float", + "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." + }, + "prevent_further_usage": { + "type": "boolean", + "description": "Whether to prevent additional spending once the budget is exceeded" + }, + "budget_alerting": { + "type": "object", + "required": [ + "will_alert", + "alert_recipients" + ], + "properties": { + "will_alert": { + "type": "boolean", + "description": "Whether alerts are enabled for this budget" }, - "required": [ - "will_alert", - "alert_recipients" - ] + "alert_recipients": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of user login names who will receive alerts" + } } }, - "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" + "budget_scope": { + "type": "string", + "description": "The scope of the budget", + "enum": [ + "enterprise", + "organization", + "repository", + "cost_center" + ] + }, + "budget_entity_name": { + "type": "string", + "description": "The name of the entity to apply the budget to", + "default": "" + }, + "budget_type": { + "description": "The type of pricing for the budget", + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } + ] + }, + "budget_product_sku": { + "type": "string", + "description": "A single product or SKU that will be covered in the budget" + } + } } - }, - "required": [ - "budgets" - ] + } }, "examples": { - "default": { + "update-budget": { "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": [] - } + "message": "Budget successfully updated.", + "budget": { + "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", + "budget_type": "ProductPricing", + "budget_product_sku": "actions_linux", + "budget_scope": "repository", + "budget_entity_name": "org-name/example-repo-name", + "budget_amount": 0.0, + "prevent_further_usage": true, + "budget_alerting": { + "will_alert": true, + "alert_recipients": [ + "mona", + "lisa" + ] } - ], - "has_next_page": false, - "total_count": 3 + } } } } } } }, - "404": { - "description": "Resource not found", + "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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -71534,8 +71771,8 @@ } } }, - "500": { - "description": "Internal Error", + "404": { + "description": "Budget not found or feature not enabled", "content": { "application/json": { "schema": { @@ -71556,281 +71793,95 @@ "type": "string" } } + }, + "examples": { + "budget-not-found": { + "value": { + "message": "Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found.", + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" + } + }, + "feature-not-enabled": { + "value": { + "message": "Not Found", + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" + } + } } } } - } - }, - "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", + "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": { - "id": { - "type": "string", - "description": "ID of the budget." - }, - "budget_scope": { - "type": "string", - "description": "The type of scope for the budget", - "example": "enterprise", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] + "message": { + "type": "string" }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity to apply the budget to", - "example": "octocat/hello-world" + "documentation_url": { + "type": "string" }, - "budget_amount": { - "type": "integer", - "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "Whether to prevent additional spending once the budget is exceeded", - "example": true - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or sku to apply the budget to.", - "example": "actions_linux" - }, - "budget_type": { - "description": "The type of pricing for the budget", - "example": "ProductPricing", - "oneOf": [ - { - "type": "string", - "enum": [ - "ProductPricing" - ] - }, - { - "type": "string", - "enum": [ - "SkuPricing" - ] - } - ] - }, - "budget_alerting": { - "type": "object", - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget", - "example": true - }, - "alert_recipients": { - "type": "array", - "items": { + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { "type": "string" }, - "description": "Array of user login names who will receive alerts", - "example": [ - "mona", - "lisa" - ] + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } } } } - }, - "required": [ - "id", - "budget_amount", - "prevent_further_usage", - "budget_product_sku", - "budget_type", - "budget_alerting", - "budget_scope", - "budget_entity_name" - ] - }, - "examples": { - "default": { - "value": { - "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", - "budget_type": "ProductPricing", - "budget_product_sku": "actions_linux", - "budget_scope": "repository", - "budget_entity_name": "example-repo-name", - "budget_amount": 0.0, - "prevent_further_usage": true, - "budget_alerting": { - "will_alert": true, - "alert_recipients": [ - "mona", - "lisa" - ] - } - } - } - } - } - } - }, - "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", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "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" - } - } - } - } - } - }, - "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", + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -71851,25 +71902,12 @@ "type": "string" } } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" + }, + "examples": { + "server-error": { + "value": { + "message": "Unable to update budget.", + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } } } @@ -71879,21 +71917,21 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, + "enabledForGitHubApps": false, "category": "billing", "subcategory": "budgets" } }, - "patch": { - "summary": "Update a budget for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates an existing budget for an organization. The authenticated user must be an organization admin or billing manager.", + "delete": { + "summary": "Delete a budget for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDeletes a budget by ID for an organization. The authenticated user must be an organization admin or billing manager.", "tags": [ "billing" ], - "operationId": "billing/update-budget-org", + "operationId": "billing/delete-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization" }, "parameters": [ { @@ -71915,93 +71953,9 @@ } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "budget_amount": { - "type": "integer", - "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "Whether to prevent additional spending once the budget is exceeded" - }, - "budget_alerting": { - "type": "object", - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget" - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts" - } - } - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity to apply the budget to" - }, - "budget_type": { - "description": "The type of pricing for the budget", - "oneOf": [ - { - "type": "string", - "enum": [ - "ProductPricing" - ] - }, - { - "type": "string", - "enum": [ - "SkuPricing" - ] - } - ] - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or SKU that will be covered in the budget" - } - } - }, - "examples": { - "update-budget": { - "summary": "Update budget example", - "value": { - "prevent_further_usage": false, - "budget_amount": 10, - "budget_alerting": { - "will_alert": false, - "alert_recipients": [] - } - } - } - } - } - } - }, "responses": { "200": { - "description": "Budget updated successfully", + "description": "Response when deleting a budget", "content": { "application/json": { "schema": { @@ -72009,104 +71963,23 @@ "properties": { "message": { "type": "string", - "example": "Budget successfully updated." + "description": "A message indicating the result of the deletion operation" }, - "budget": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "ID of the budget." - }, - "budget_amount": { - "type": "number", - "format": "float", - "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "Whether to prevent additional spending once the budget is exceeded" - }, - "budget_alerting": { - "type": "object", - "required": [ - "will_alert", - "alert_recipients" - ], - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget" - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts" - } - } - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity to apply the budget to", - "default": "" - }, - "budget_type": { - "description": "The type of pricing for the budget", - "oneOf": [ - { - "type": "string", - "enum": [ - "ProductPricing" - ] - }, - { - "type": "string", - "enum": [ - "SkuPricing" - ] - } - ] - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or SKU that will be covered in the budget" - } - } + "id": { + "type": "string", + "description": "The ID of the deleted budget" } - } + }, + "required": [ + "message", + "id" + ] }, "examples": { - "update-budget": { + "default": { "value": { - "message": "Budget successfully updated.", - "budget": { - "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", - "budget_type": "ProductPricing", - "budget_product_sku": "actions_linux", - "budget_scope": "repository", - "budget_entity_name": "org-name/example-repo-name", - "budget_amount": 0.0, - "prevent_further_usage": true, - "budget_alerting": { - "will_alert": true, - "alert_recipients": [ - "mona", - "lisa" - ] - } - } + "message": "Budget successfully deleted.", + "budget_id": "2c1feb79-3947-4dc8-a16e-80cbd732cc0b" } } } @@ -72173,8 +72046,8 @@ } } }, - "401": { - "description": "Requires authentication", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -72225,8 +72098,8 @@ } } }, - "404": { - "description": "Budget not found or feature not enabled", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { @@ -72247,347 +72120,20 @@ "type": "string" } } - }, - "examples": { - "budget-not-found": { - "value": { - "message": "Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found.", - "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" - } - }, - "feature-not-enabled": { - "value": { - "message": "Not Found", - "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" - } - } } } } }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", + "503": { + "description": "Service unavailable", "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", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - }, - "500": { - "description": "Internal server 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" - } - } - }, - "examples": { - "server-error": { - "value": { - "message": "Unable to update budget.", - "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "budgets" - } - }, - "delete": { - "summary": "Delete a budget for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDeletes a budget by ID for an organization. The authenticated user must be an organization admin or billing manager.", - "tags": [ - "billing" - ], - "operationId": "billing/delete-budget-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/budgets#delete-a-budget-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 deleting a budget", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string", - "description": "A message indicating the result of the deletion operation" - }, - "id": { - "type": "string", - "description": "The ID of the deleted budget" - } - }, - "required": [ - "message", - "id" - ] - }, - "examples": { - "default": { - "value": { - "message": "Budget successfully deleted.", - "budget_id": "2c1feb79-3947-4dc8-a16e-80cbd732cc0b" - } - } - } - } - } - }, - "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", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, + "code": { + "type": "string" + }, "message": { "type": "string" }, @@ -115184,519 +114730,1245 @@ "example": "https://api.github.com/repos/octocat/Hello-World/tags", "description": "The API URL to get information about tags on the repository." }, - "teams_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/teams", - "description": "The API URL to list the teams on the repository." - }, - "trees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." - }, - "hooks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/hooks", - "description": "The API URL to list the hooks on the repository." - } - }, - "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" - ] - } - }, - "required": [ - "number", - "state", - "dependency", - "security_advisory", - "security_vulnerability", - "url", - "html_url", - "created_at", - "updated_at", - "dismissed_at", - "dismissed_by", - "dismissed_reason", - "dismissed_comment", - "fixed_at", - "repository" - ], - "additionalProperties": false - } - }, - "examples": { - "default": { - "value": [ - { - "number": 2, - "state": "dismissed", - "dependency": { - "package": { - "ecosystem": "pip", - "name": "django" - }, - "manifest_path": "path/to/requirements.txt", - "scope": "runtime" - }, - "security_advisory": { - "ghsa_id": "GHSA-rf4j-j272-fj86", - "cve_id": "CVE-2018-6188", - "summary": "Django allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive", - "description": "django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive.", - "vulnerabilities": [ - { - "package": { - "ecosystem": "pip", - "name": "django" - }, - "severity": "high", - "vulnerable_version_range": ">= 2.0.0, < 2.0.2", - "first_patched_version": { - "identifier": "2.0.2" - } - }, - { - "package": { - "ecosystem": "pip", - "name": "django" - }, - "severity": "high", - "vulnerable_version_range": ">= 1.11.8, < 1.11.10", - "first_patched_version": { - "identifier": "1.11.10" - } - } - ], - "severity": "high", - "cvss": { - "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", - "score": 7.5 - }, - "cvss_severities": { - "cvss_v3": { - "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", - "score": 7.5 - }, - "cvss_v4": { - "vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N", - "score": 8.7 - } - }, - "epss": { - "percentage": 0.00045, - "percentile": "0.16001e0" - }, - "cwes": [ - { - "cwe_id": "CWE-200", - "name": "Exposure of Sensitive Information to an Unauthorized Actor" - } - ], - "identifiers": [ - { - "type": "GHSA", - "value": "GHSA-rf4j-j272-fj86" - }, - { - "type": "CVE", - "value": "CVE-2018-6188" - } - ], - "references": [ - { - "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6188" - }, - { - "url": "https://github.com/advisories/GHSA-rf4j-j272-fj86" - }, - { - "url": "https://usn.ubuntu.com/3559-1/" - }, - { - "url": "https://www.djangoproject.com/weblog/2018/feb/01/security-releases/" - }, - { - "url": "http://www.securitytracker.com/id/1040422" - } - ], - "published_at": "2018-10-03T21:13:54Z", - "updated_at": "2022-04-26T18:35:37Z", - "withdrawn_at": null - }, - "security_vulnerability": { - "package": { - "ecosystem": "pip", - "name": "django" - }, - "severity": "high", - "vulnerable_version_range": ">= 2.0.0, < 2.0.2", - "first_patched_version": { - "identifier": "2.0.2" - } - }, - "url": "https://api.github.com/repos/octo-org/octo-repo/dependabot/alerts/2", - "html_url": "https://github.com/octo-org/octo-repo/security/dependabot/2", - "created_at": "2022-06-15T07:43:03Z", - "updated_at": "2022-08-23T14:29:47Z", - "dismissed_at": "2022-08-23T14:29:47Z", - "dismissed_by": { - "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 - }, - "dismissed_reason": "tolerable_risk", - "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null, - "assignees": [ - { - "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 - } - ], - "repository": { - "id": 217723378, - "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", - "name": "octo-repo", - "full_name": "octo-org/octo-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 - }, - "private": true, - "html_url": "https://github.com/octo-org/octo-repo", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/octo-org/octo-repo", - "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}", - "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}", - "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors", - "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments", - "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads", - "events_url": "https://api.github.com/repos/octo-org/octo-repo/events", - "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks", - "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}", - "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks", - "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}", - "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}", - "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages", - "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges", - "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}", - "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers", - "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription", - "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags", - "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams", - "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}" - } - }, - { - "number": 1, - "state": "open", - "dependency": { - "package": { - "ecosystem": "pip", - "name": "ansible" - }, - "manifest_path": "path/to/requirements.txt", - "scope": "runtime" - }, - "security_advisory": { - "ghsa_id": "GHSA-8f4m-hccc-8qph", - "cve_id": "CVE-2021-20191", - "summary": "Insertion of Sensitive Information into Log File in ansible", - "description": "A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality.", - "vulnerabilities": [ - { - "package": { - "ecosystem": "pip", - "name": "ansible" - }, - "severity": "medium", - "vulnerable_version_range": ">= 2.9.0, < 2.9.18", - "first_patched_version": { - "identifier": "2.9.18" - } - }, - { - "package": { - "ecosystem": "pip", - "name": "ansible" - }, - "severity": "medium", - "vulnerable_version_range": "< 2.8.19", - "first_patched_version": { - "identifier": "2.8.19" - } - }, - { - "package": { - "ecosystem": "pip", - "name": "ansible" - }, - "severity": "medium", - "vulnerable_version_range": ">= 2.10.0, < 2.10.7", - "first_patched_version": { - "identifier": "2.10.7" - } - } - ], - "severity": "medium", - "cvss": { - "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", - "score": 5.5 - }, - "cvss_severities": { - "cvss_v3": { - "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", - "score": 5.5 - }, - "cvss_v4": { - "vector_string": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", - "score": 8.5 - } + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." + }, + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the repository." + } + }, + "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" + ] + } + }, + "required": [ + "number", + "state", + "dependency", + "security_advisory", + "security_vulnerability", + "url", + "html_url", + "created_at", + "updated_at", + "dismissed_at", + "dismissed_by", + "dismissed_reason", + "dismissed_comment", + "fixed_at", + "repository" + ], + "additionalProperties": false + } + }, + "examples": { + "default": { + "value": [ + { + "number": 2, + "state": "dismissed", + "dependency": { + "package": { + "ecosystem": "pip", + "name": "django" + }, + "manifest_path": "path/to/requirements.txt", + "scope": "runtime" + }, + "security_advisory": { + "ghsa_id": "GHSA-rf4j-j272-fj86", + "cve_id": "CVE-2018-6188", + "summary": "Django allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive", + "description": "django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive.", + "vulnerabilities": [ + { + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 2.0.0, < 2.0.2", + "first_patched_version": { + "identifier": "2.0.2" + } + }, + { + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 1.11.8, < 1.11.10", + "first_patched_version": { + "identifier": "1.11.10" + } + } + ], + "severity": "high", + "cvss": { + "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", + "score": 7.5 + }, + "cvss_severities": { + "cvss_v3": { + "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", + "score": 7.5 + }, + "cvss_v4": { + "vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N", + "score": 8.7 + } + }, + "epss": { + "percentage": 0.00045, + "percentile": "0.16001e0" + }, + "cwes": [ + { + "cwe_id": "CWE-200", + "name": "Exposure of Sensitive Information to an Unauthorized Actor" + } + ], + "identifiers": [ + { + "type": "GHSA", + "value": "GHSA-rf4j-j272-fj86" + }, + { + "type": "CVE", + "value": "CVE-2018-6188" + } + ], + "references": [ + { + "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6188" + }, + { + "url": "https://github.com/advisories/GHSA-rf4j-j272-fj86" + }, + { + "url": "https://usn.ubuntu.com/3559-1/" + }, + { + "url": "https://www.djangoproject.com/weblog/2018/feb/01/security-releases/" + }, + { + "url": "http://www.securitytracker.com/id/1040422" + } + ], + "published_at": "2018-10-03T21:13:54Z", + "updated_at": "2022-04-26T18:35:37Z", + "withdrawn_at": null + }, + "security_vulnerability": { + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 2.0.0, < 2.0.2", + "first_patched_version": { + "identifier": "2.0.2" + } + }, + "url": "https://api.github.com/repos/octo-org/octo-repo/dependabot/alerts/2", + "html_url": "https://github.com/octo-org/octo-repo/security/dependabot/2", + "created_at": "2022-06-15T07:43:03Z", + "updated_at": "2022-08-23T14:29:47Z", + "dismissed_at": "2022-08-23T14:29:47Z", + "dismissed_by": { + "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 + }, + "dismissed_reason": "tolerable_risk", + "dismissed_comment": "This alert is accurate but we use a sanitizer.", + "fixed_at": null, + "assignees": [ + { + "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 + } + ], + "repository": { + "id": 217723378, + "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", + "name": "octo-repo", + "full_name": "octo-org/octo-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 + }, + "private": true, + "html_url": "https://github.com/octo-org/octo-repo", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/octo-org/octo-repo", + "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors", + "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments", + "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads", + "events_url": "https://api.github.com/repos/octo-org/octo-repo/events", + "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks", + "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}", + "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks", + "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages", + "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges", + "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription", + "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags", + "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams", + "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}" + } + }, + { + "number": 1, + "state": "open", + "dependency": { + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "manifest_path": "path/to/requirements.txt", + "scope": "runtime" + }, + "security_advisory": { + "ghsa_id": "GHSA-8f4m-hccc-8qph", + "cve_id": "CVE-2021-20191", + "summary": "Insertion of Sensitive Information into Log File in ansible", + "description": "A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality.", + "vulnerabilities": [ + { + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": ">= 2.9.0, < 2.9.18", + "first_patched_version": { + "identifier": "2.9.18" + } + }, + { + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": "< 2.8.19", + "first_patched_version": { + "identifier": "2.8.19" + } + }, + { + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": ">= 2.10.0, < 2.10.7", + "first_patched_version": { + "identifier": "2.10.7" + } + } + ], + "severity": "medium", + "cvss": { + "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", + "score": 5.5 + }, + "cvss_severities": { + "cvss_v3": { + "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", + "score": 5.5 + }, + "cvss_v4": { + "vector_string": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", + "score": 8.5 + } + }, + "cwes": [ + { + "cwe_id": "CWE-532", + "name": "Insertion of Sensitive Information into Log File" + } + ], + "identifiers": [ + { + "type": "GHSA", + "value": "GHSA-8f4m-hccc-8qph" + }, + { + "type": "CVE", + "value": "CVE-2021-20191" + } + ], + "references": [ + { + "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20191" + }, + { + "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://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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "example": "internal", + "nullable": true + }, + "accessible_repositories": { + "type": "array", + "items": { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1296269, + "description": "A unique identifier of the repository." + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "description": "The GraphQL identifier of the repository." + }, + "name": { + "type": "string", + "example": "Hello-World", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World", + "description": "The full, globally unique, name of the repository." + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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", + "example": "https://github.com/octocat/Hello-World", + "description": "The URL to view the repository on GitHub.com." + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true, + "description": "The repository description." + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World", + "description": "The URL to get more information about the repository from the GitHub API." + }, + "archive_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "description": "A template for the API URL to download the repository as an archive." + }, + "assignees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "description": "A template for the API URL to list the available assignees for issues in the repository." + }, + "blobs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." + }, + "branches_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "description": "A template for the API URL to get information about branches in the repository." + }, + "collaborators_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "description": "A template for the API URL to get information about collaborators of the repository." + }, + "comments_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "description": "A template for the API URL to get information about comments on the repository." + }, + "commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "description": "A template for the API URL to get information about commits on the repository." + }, + "compare_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "description": "A template for the API URL to compare two commits or refs." + }, + "contents_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "description": "A template for the API URL to get the contents of the repository." + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/contributors", + "description": "A template for the API URL to list the contributors to the repository." + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "The API URL to list the deployments of the repository." + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/downloads", + "description": "The API URL to list the downloads on the repository." + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/events", + "description": "The API URL to list the events of the repository." + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/forks", + "description": "The API URL to list the forks of the repository." + }, + "git_commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "description": "A template for the API URL to get information about Git commits of the repository." + }, + "git_refs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "description": "A template for the API URL to get information about Git refs of the repository." + }, + "git_tags_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "description": "A template for the API URL to get information about Git tags of the repository." + }, + "issue_comment_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "description": "A template for the API URL to get information about issue comments on the repository." + }, + "issue_events_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "description": "A template for the API URL to get information about issue events on the repository." + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "description": "A template for the API URL to get information about issues on the repository." + }, + "keys_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "description": "A template for the API URL to get information about deploy keys on the repository." + }, + "labels_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "description": "A template for the API URL to get information about labels of the repository." + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/languages", + "description": "The API URL to get information about the languages of the repository." + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/merges", + "description": "The API URL to merge branches in the repository." + }, + "milestones_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "description": "A template for the API URL to get information about milestones of the repository." + }, + "notifications_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "description": "A template for the API URL to get information about notifications on the repository." + }, + "pulls_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "description": "A template for the API URL to get information about pull requests on the repository." + }, + "releases_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "description": "A template for the API URL to get information about releases on the repository." + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "description": "The API URL to list the stargazers on the repository." + }, + "statuses_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "description": "A template for the API URL to get information about statuses of a commit." + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "description": "The API URL to list the subscribers on the repository." + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscription", + "description": "The API URL to subscribe to notifications for this repository." + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/tags", + "description": "The API URL to get information about tags on the repository." + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." }, - "cwes": [ - { - "cwe_id": "CWE-532", - "name": "Insertion of Sensitive Information into Log File" - } - ], - "identifiers": [ - { - "type": "GHSA", - "value": "GHSA-8f4m-hccc-8qph" - }, - { - "type": "CVE", - "value": "CVE-2021-20191" - } - ], - "references": [ - { - "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20191" - }, - { - "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" + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." }, - "severity": "medium", - "vulnerable_version_range": "< 2.8.19", - "first_patched_version": { - "identifier": "2.8.19" + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the repository." } }, - "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", + "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" + ], + "nullable": true + } + } + }, + "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": { @@ -115718,42 +115990,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", - "nullable": true + "type": "string" }, "documentation_url": { - "type": "string", - "nullable": true + "type": "string" }, - "detail": { - "type": "string", - "nullable": true + "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", - "nullable": true + "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", @@ -115806,19 +116161,109 @@ } } } + } + }, + "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" + ], + "example": "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" @@ -115826,11 +116271,11 @@ "documentation_url": { "type": "string" }, - "errors": { - "type": "array", - "items": { - "type": "string" - } + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -115842,7 +116287,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "dependabot", - "subcategory": "alerts" + "subcategory": "repository-access" } } }, diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index b0623a9bbb..b097f3bb4f 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -458,7 +458,7 @@ paths: required: false schema: type: string - - &61 + - &62 name: direction description: The direction to sort the results by. in: query @@ -679,7 +679,7 @@ paths: required: - vector_string - score - cvss_severities: &63 + cvss_severities: &64 type: object nullable: true properties: @@ -719,7 +719,7 @@ paths: required: - vector_string - score - epss: &64 + epss: &65 type: object nullable: true readOnly: true @@ -990,7 +990,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &130 + schema: &129 title: Validation Error Simple description: Validation Error Simple type: object @@ -1141,7 +1141,7 @@ paths: GitHub. type: object nullable: true - properties: &80 + properties: &81 id: description: Unique identifier of the GitHub app example: 37 @@ -1274,7 +1274,7 @@ paths: about itself. example: 5 type: integer - required: &81 + required: &82 - id - node_id - owner @@ -1747,7 +1747,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &129 + schema: &128 title: Validation Error description: Validation Error type: object @@ -2131,7 +2131,7 @@ paths: parameters: - *17 - *19 - - &92 + - &93 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) @@ -2714,7 +2714,7 @@ paths: suspended_at: suspended_by: headers: - Link: &67 + Link: &68 example: ; rel="next", ; rel="last" schema: @@ -2903,7 +2903,7 @@ paths: - selected repositories: type: array - items: &79 + items: &80 title: Repository description: A repository on GitHub. type: object @@ -2927,7 +2927,7 @@ paths: title: License Simple description: License Simple type: object - properties: &88 + properties: &89 key: type: string example: mit @@ -2949,7 +2949,7 @@ paths: html_url: type: string format: uri - required: &89 + required: &90 - key - name - url @@ -7299,7 +7299,7 @@ paths: required: true content: application/json: - schema: &142 + schema: &141 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -7999,7 +7999,7 @@ paths: description: Response content: application/json: - schema: &189 + schema: &188 type: array description: A list of default code security configurations items: @@ -8015,7 +8015,7 @@ paths: default configuration: *49 examples: - default: &190 + default: &189 value: - default_for_new_repos: public configuration: @@ -8350,7 +8350,7 @@ paths: - *40 - *51 responses: - '204': &191 + '204': &61 description: A header with no content is returned. '400': *14 '403': *29 @@ -8477,7 +8477,7 @@ paths: default: value: default_for_new_repos: all - configuration: &188 + configuration: &187 value: id: 1325 target_type: organization @@ -8567,7 +8567,7 @@ paths: application/json: schema: type: array - items: &192 + items: &190 type: object description: Repositories associated with a code security configuration and attachment status @@ -8585,11 +8585,11 @@ paths: - failed - updating - removed_by_enterprise - repository: &66 + repository: &67 title: Simple Repository description: A GitHub repository. type: object - properties: &119 + properties: &208 id: type: integer format: int64 @@ -8816,7 +8816,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &120 + required: &209 - archive_url - assignees_url - blobs_url @@ -8868,7 +8868,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &193 + repository: &191 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -9149,6 +9149,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: + - *40 + 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': *61 + '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: + - *40 + 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': *61 + '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: + - *40 + 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': *61 + '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 @@ -9168,7 +9373,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &199 + - &197 name: classification in: query description: |- @@ -9177,7 +9382,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &200 + - &198 name: state in: query description: |- @@ -9186,7 +9391,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &201 + - &199 name: severity in: query description: |- @@ -9195,7 +9400,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &202 + - &200 name: ecosystem in: query description: |- @@ -9204,14 +9409,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &203 + - &201 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &204 + - &202 name: epss_percentage in: query description: |- @@ -9237,7 +9442,7 @@ paths: type: string enum: - patch - - &205 + - &203 name: assignee in: query description: |- @@ -9246,7 +9451,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &206 + - &204 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -9256,7 +9461,7 @@ paths: enum: - development - runtime - - &207 + - &205 name: sort in: query description: |- @@ -9271,7 +9476,7 @@ paths: - updated - epss_percentage default: created - - *61 + - *62 - *47 - *48 - *17 @@ -9282,11 +9487,11 @@ paths: application/json: schema: type: array - items: &208 + items: &206 type: object description: A Dependabot alert. properties: - number: &178 + number: &177 type: integer description: The security alert number. readOnly: true @@ -9304,7 +9509,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &62 + package: &63 type: object description: Details for the vulnerable package. readOnly: true @@ -9379,13 +9584,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &65 + items: &66 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *62 + package: *63 severity: type: string description: The severity of the vulnerability. @@ -9458,8 +9663,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *63 - epss: *64 + cvss_severities: *64 + epss: *65 cwes: type: array description: Details for the advisory pertaining to Common @@ -9558,30 +9763,30 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *65 - url: &181 + security_vulnerability: *66 + url: &180 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &182 + html_url: &181 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &179 + created_at: &178 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: &180 + updated_at: &179 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: &184 + dismissed_at: &183 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9611,7 +9816,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &183 + fixed_at: &182 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9668,7 +9873,7 @@ paths: description: The users assigned to this alert. readOnly: true items: *4 - repository: *66 + repository: *67 required: - number - state @@ -9687,7 +9892,7 @@ paths: - repository additionalProperties: false examples: - default: &209 + default: &207 value: - number: 2 state: dismissed @@ -10056,7 +10261,7 @@ paths: application/json: schema: type: array - items: &68 + items: &69 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10127,7 +10332,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *67 + Link: *68 '403': *29 x-github: githubCloudOnly: false @@ -10200,9 +10405,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *69 examples: - default: &76 + default: &77 value: id: 1 name: Justice League @@ -10231,7 +10436,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *40 - - &69 + - &70 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10250,7 +10455,7 @@ paths: type: array items: *4 examples: - default: &70 + default: &71 value: - login: octocat id: 1 @@ -10271,7 +10476,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10289,7 +10494,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *40 - - *69 + - *70 requestBody: required: true content: @@ -10320,7 +10525,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10338,7 +10543,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *40 - - *69 + - *70 requestBody: required: true content: @@ -10369,7 +10574,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10387,8 +10592,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *40 - - *69 - - &71 + - *70 + - &72 name: username description: The handle for the GitHub user account. in: path @@ -10402,7 +10607,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &72 + exampleKey1: &73 value: login: octocat id: 1 @@ -10438,8 +10643,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *40 - - *69 - - *71 + - *70 + - *72 responses: '201': description: Successfully added team member @@ -10447,7 +10652,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *72 + exampleKey1: *73 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10465,8 +10670,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *40 - - *69 - - *71 + - *70 + - *72 responses: '204': description: Response @@ -10488,7 +10693,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *40 - - *69 + - *70 - *17 - *19 responses: @@ -10498,11 +10703,11 @@ paths: application/json: schema: type: array - items: &73 + items: &74 title: Organization Simple description: A GitHub organization. type: object - properties: &195 + properties: &193 login: type: string example: github @@ -10543,7 +10748,7 @@ paths: type: string example: A great organization nullable: true - required: &196 + required: &194 - login - url - id @@ -10557,7 +10762,7 @@ paths: - avatar_url - description examples: - default: &74 + default: &75 value: login: github id: 1 @@ -10588,7 +10793,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *40 - - *69 + - *70 requestBody: required: true content: @@ -10616,9 +10821,9 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: - default: &116 + default: &117 value: - login: github id: 1 @@ -10649,7 +10854,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *40 - - *69 + - *70 requestBody: required: true content: @@ -10690,8 +10895,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *40 - - *69 - - &75 + - *70 + - &76 name: org description: The organization name. The name is not case sensitive. in: path @@ -10703,9 +10908,9 @@ paths: description: The team is assigned to the organization content: application/json: - schema: *73 + schema: *74 examples: - default: *74 + default: *75 '404': description: The team is not assigned to the organization x-github: @@ -10724,16 +10929,16 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *40 - - *69 - - *75 + - *70 + - *76 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *73 + schema: *74 examples: - default: *74 + default: *75 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10750,8 +10955,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *40 - - *69 - - *75 + - *70 + - *76 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -10775,7 +10980,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *40 - - &77 + - &78 name: team_slug description: The slug of the team name. in: path @@ -10787,11 +10992,11 @@ paths: description: Response content: application/json: - schema: *68 + schema: *69 examples: - default: *76 + default: *77 headers: - Link: *67 + Link: *68 '403': *29 x-github: githubCloudOnly: false @@ -10809,7 +11014,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *40 - - *77 + - *78 requestBody: required: true content: @@ -10864,11 +11069,11 @@ paths: description: Response content: application/json: - schema: *68 + schema: *69 examples: - default: *76 + default: *77 headers: - Link: *67 + Link: *68 '403': *29 x-github: githubCloudOnly: false @@ -10889,7 +11094,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *40 - - *77 + - *78 responses: '204': description: Response @@ -10927,7 +11132,7 @@ paths: application/json: schema: type: array - items: &111 + items: &112 title: Event description: Event type: object @@ -10937,7 +11142,7 @@ paths: type: type: string nullable: true - actor: &78 + actor: &79 title: Actor description: Actor type: object @@ -10977,7 +11182,7 @@ paths: - id - name - url - org: *78 + org: *79 payload: oneOf: - title: CreateEvent @@ -11310,7 +11515,7 @@ paths: - id labels: type: array - items: &84 + items: &85 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11385,7 +11590,7 @@ paths: properties: action: type: string - issue: &85 + issue: &86 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -11702,7 +11907,7 @@ paths: - node_id - name - description - repository: *79 + repository: *80 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11713,9 +11918,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *80 - required: *81 - author_association: &82 + properties: *81 + required: *82 + author_association: &83 title: author_association type: string example: OWNER @@ -11730,7 +11935,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &83 + reactions: &84 title: Reaction Rollup type: object properties: @@ -11791,7 +11996,7 @@ paths: description: Comments provide a way for people to collaborate on an issue. type: object - properties: &86 + properties: &87 id: description: Unique identifier of the issue comment example: 42 @@ -11834,7 +12039,7 @@ paths: issue_url: type: string format: uri - author_association: *82 + author_association: *83 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend @@ -11845,9 +12050,9 @@ paths: class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 - reactions: *83 + properties: *81 + required: *82 + reactions: *84 pin: title: Pinned Issue Comment description: Context around who pinned an issue @@ -11869,7 +12074,7 @@ paths: - pinned_at - pinned_by nullable: true - required: &87 + required: &88 - id - node_id - html_url @@ -11984,10 +12189,10 @@ paths: assignees: type: array items: *4 - label: *84 + label: *85 labels: type: array - items: *84 + items: *85 required: - action - issue @@ -11996,14 +12201,14 @@ paths: properties: action: type: string - issue: *85 + issue: *86 comment: &546 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 required: - action - issue @@ -12176,8 +12381,8 @@ paths: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 nullable: true allow_forking: type: boolean @@ -12266,7 +12471,7 @@ paths: type: string number: type: integer - pull_request: &90 + pull_request: &91 title: Pull Request Minimal type: object properties: @@ -12337,10 +12542,10 @@ paths: assignees: type: array items: *4 - label: *84 + label: *85 labels: type: array - items: *84 + items: *85 required: - action - number @@ -12350,7 +12555,7 @@ paths: properties: action: type: string - pull_request: *90 + pull_request: *91 comment: type: object properties: @@ -12601,7 +12806,7 @@ paths: - pull_request updated_at: type: string - pull_request: *90 + pull_request: *91 required: - action - review @@ -12650,7 +12855,7 @@ paths: updated_at: type: string format: date-time - reactions: *83 + reactions: *84 required: - action - comment @@ -12807,7 +13012,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *83 + reactions: *84 required: - assets_url - upload_url @@ -12899,7 +13104,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': &121 + '503': &120 description: Service unavailable content: application/json: @@ -12992,7 +13197,7 @@ paths: _links: type: object properties: - timeline: &91 + timeline: &92 title: Link With Type description: Hypermedia Link with Type type: object @@ -13004,17 +13209,17 @@ paths: required: - href - type - user: *91 - security_advisories: *91 - current_user: *91 - current_user_public: *91 - current_user_actor: *91 - current_user_organization: *91 + user: *92 + security_advisories: *92 + current_user: *92 + current_user_public: *92 + current_user_actor: *92 + current_user_organization: *92 current_user_organizations: type: array - items: *91 - repository_discussions: *91 - repository_discussions_category: *91 + items: *92 + repository_discussions: *92 + repository_discussions_category: *92 required: - timeline - user @@ -13076,7 +13281,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *92 + - *93 - *17 - *19 responses: @@ -13086,7 +13291,7 @@ paths: application/json: schema: type: array - items: &93 + items: &94 title: Base Gist description: Base Gist type: object @@ -13185,7 +13390,7 @@ paths: - created_at - updated_at examples: - default: &94 + default: &95 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -13230,7 +13435,7 @@ paths: site_admin: false truncated: false headers: - Link: *67 + Link: *68 '304': *37 '403': *29 x-github: @@ -13306,7 +13511,7 @@ paths: description: Response content: application/json: - schema: &95 + schema: &96 title: Gist Simple description: Gist Simple type: object @@ -13685,7 +13890,7 @@ paths: truncated: type: boolean examples: - default: &96 + default: &97 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13789,7 +13994,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *92 + - *93 - *17 - *19 responses: @@ -13799,11 +14004,11 @@ paths: application/json: schema: type: array - items: *93 + items: *94 examples: - default: *94 + default: *95 headers: - Link: *67 + Link: *68 '422': *15 '304': *37 '403': *29 @@ -13823,7 +14028,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *92 + - *93 - *17 - *19 responses: @@ -13833,11 +14038,11 @@ paths: application/json: schema: type: array - items: *93 + items: *94 examples: - default: *94 + default: *95 headers: - Link: *67 + Link: *68 '401': *25 '304': *37 '403': *29 @@ -13862,7 +14067,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &97 + - &98 name: gist_id description: The unique identifier of the gist. in: path @@ -13874,10 +14079,10 @@ paths: description: Response content: application/json: - schema: *95 + schema: *96 examples: - default: *96 - '403': &100 + default: *97 + '403': &101 description: Forbidden Gist content: application/json: @@ -13924,7 +14129,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *97 + - *98 requestBody: required: true content: @@ -13984,9 +14189,9 @@ paths: description: Response content: application/json: - schema: *95 + schema: *96 examples: - updateGist: *96 + updateGist: *97 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -14144,7 +14349,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *97 + - *98 responses: '204': description: Response @@ -14172,7 +14377,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *97 + - *98 - *17 - *19 responses: @@ -14182,7 +14387,7 @@ paths: application/json: schema: type: array - items: &98 + items: &99 title: Gist Comment description: A comment made to a gist. type: object @@ -14217,7 +14422,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *82 + author_association: *83 required: - url - id @@ -14257,7 +14462,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -14281,7 +14486,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *97 + - *98 requestBody: required: true content: @@ -14306,9 +14511,9 @@ paths: description: Response content: application/json: - schema: *98 + schema: *99 examples: - default: &99 + default: &100 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14365,8 +14570,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *97 - - &101 + - *98 + - &102 name: comment_id description: The unique identifier of the comment. in: path @@ -14379,12 +14584,12 @@ paths: description: Response content: application/json: - schema: *98 + schema: *99 examples: - default: *99 + default: *100 '304': *37 '404': *6 - '403': *100 + '403': *101 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14405,8 +14610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *97 - - *101 + - *98 + - *102 requestBody: required: true content: @@ -14431,9 +14636,9 @@ paths: description: Response content: application/json: - schema: *98 + schema: *99 examples: - default: *99 + default: *100 '404': *6 x-github: githubCloudOnly: false @@ -14450,8 +14655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *97 - - *101 + - *98 + - *102 responses: '204': description: Response @@ -14474,7 +14679,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *97 + - *98 - *17 - *19 responses: @@ -14575,7 +14780,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *97 + - *98 - *17 - *19 responses: @@ -14585,7 +14790,7 @@ paths: application/json: schema: type: array - items: *95 + items: *96 examples: default: value: @@ -14631,7 +14836,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '404': *6 '304': *37 '403': *29 @@ -14650,13 +14855,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *97 + - *98 responses: '201': description: Response content: application/json: - schema: *93 + schema: *94 examples: default: value: @@ -14727,7 +14932,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *97 + - *98 responses: '204': description: Response if gist is starred @@ -14757,7 +14962,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *97 + - *98 responses: '204': description: Response @@ -14779,7 +14984,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *97 + - *98 responses: '204': description: Response @@ -14807,7 +15012,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *97 + - *98 - name: sha in: path required: true @@ -14818,9 +15023,9 @@ paths: description: Response content: application/json: - schema: *95 + schema: *96 examples: - default: *96 + default: *97 '422': *15 '404': *6 '403': *29 @@ -14981,7 +15186,7 @@ paths: type: array items: allOf: - - *79 + - *80 repository_selection: type: string example: selected @@ -15104,7 +15309,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *67 + Link: *68 '403': *29 '304': *37 '401': *25 @@ -15206,8 +15411,8 @@ paths: - updated - comments default: created - - *61 - - *92 + - *62 + - *93 - name: collab in: query required: false @@ -15237,7 +15442,7 @@ paths: application/json: schema: type: array - items: *85 + items: *86 examples: default: &246 value: @@ -15484,7 +15689,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *67 + Link: *68 '422': *15 '304': *37 '404': *6 @@ -15523,8 +15728,8 @@ paths: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 examples: default: value: @@ -15809,7 +16014,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &102 + X-CommonMarker-Version: &103 example: 0.17.4 schema: type: string @@ -15864,7 +16069,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *102 + X-CommonMarker-Version: *103 content: text/html: schema: @@ -15893,7 +16098,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &105 + - &106 name: account_id description: account_id parameter in: path @@ -15905,7 +16110,7 @@ paths: description: Response content: application/json: - schema: &104 + schema: &105 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -15935,7 +16140,7 @@ paths: nullable: true id: type: integer - plan: &103 + plan: &104 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -16024,7 +16229,7 @@ paths: nullable: true updated_at: type: string - plan: *103 + plan: *104 required: - url - id @@ -16032,7 +16237,7 @@ paths: - login - marketplace_purchase examples: - default: &106 + default: &107 value: url: https://api.github.com/orgs/github type: Organization @@ -16117,9 +16322,9 @@ paths: application/json: schema: type: array - items: *103 + items: *104 examples: - default: &107 + default: &108 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -16137,7 +16342,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *67 + Link: *68 '404': *6 '401': *25 x-github: @@ -16159,14 +16364,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &108 + - &109 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &109 + - &110 name: sort description: The property to sort the results by. in: query @@ -16196,9 +16401,9 @@ paths: application/json: schema: type: array - items: *104 + items: *105 examples: - default: &110 + default: &111 value: - url: https://api.github.com/orgs/github type: Organization @@ -16249,7 +16454,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *67 + Link: *68 '404': *6 '422': *15 '401': *25 @@ -16272,15 +16477,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *105 + - *106 responses: '200': description: Response content: application/json: - schema: *104 + schema: *105 examples: - default: *106 + default: *107 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -16312,11 +16517,11 @@ paths: application/json: schema: type: array - items: *103 + items: *104 examples: - default: *107 + default: *108 headers: - Link: *67 + Link: *68 '401': *25 x-github: githubCloudOnly: false @@ -16337,8 +16542,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *108 - *109 + - *110 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16358,11 +16563,11 @@ paths: application/json: schema: type: array - items: *104 + items: *105 examples: - default: *110 + default: *111 headers: - Link: *67 + Link: *68 '401': *25 x-github: githubCloudOnly: false @@ -16648,7 +16853,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: default: value: @@ -16732,7 +16937,7 @@ paths: schema: type: boolean default: false - - *92 + - *93 - &584 name: before description: 'Only show notifications updated before the given time. This @@ -16758,14 +16963,14 @@ paths: application/json: schema: type: array - items: &112 + items: &113 title: Thread description: Thread type: object properties: id: type: string - repository: &160 + repository: &159 title: Minimal Repository description: Minimal Repository type: object @@ -17345,7 +17550,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -17429,7 +17634,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &113 + - &114 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 @@ -17443,7 +17648,7 @@ paths: description: Response content: application/json: - schema: *112 + schema: *113 examples: default: value: @@ -17545,7 +17750,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *113 + - *114 responses: '205': description: Reset Content @@ -17567,7 +17772,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *113 + - *114 responses: '204': description: No content @@ -17590,13 +17795,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *113 + - *114 responses: '200': description: Response content: application/json: - schema: &114 + schema: &115 title: Thread Subscription description: Thread Subscription type: object @@ -17633,7 +17838,7 @@ paths: - url - subscribed examples: - default: &115 + default: &116 value: subscribed: true ignored: false @@ -17664,7 +17869,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *113 + - *114 requestBody: required: false content: @@ -17685,9 +17890,9 @@ paths: description: Response content: application/json: - schema: *114 + schema: *115 examples: - default: *115 + default: *116 '304': *37 '403': *29 '401': *25 @@ -17710,7 +17915,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *113 + - *114 responses: '204': description: Response @@ -17805,9 +18010,9 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: - default: *116 + default: *117 headers: Link: example: ; rel="next" @@ -17834,13 +18039,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response content: application/json: - schema: &117 + schema: &118 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -17873,12 +18078,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: application/json: - schema: *117 + schema: *118 examples: selected_actions: *42 responses: @@ -17907,13 +18112,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response content: application/json: - schema: &118 + schema: &119 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -17946,12 +18151,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: application/json: - schema: *118 + schema: *119 examples: selected_actions: *44 responses: @@ -17965,271 +18170,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: - - *75 - - 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 - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - example: internal - nullable: true - accessible_repositories: - type: array - items: - title: Simple Repository - description: A GitHub repository. - type: object - properties: *119 - required: *120 - nullable: true - 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': *29 - '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: - - *75 - 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': *29 - '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: - - *75 - 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 - example: internal - required: - - default_level - examples: - '204': - summary: Example with a 'succeeded' status. - value: - default_level: public - responses: - '204': - description: Response - '403': *29 - '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 @@ -18246,7 +18186,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - - *75 + - *76 - name: page description: The page number of the results to fetch. in: query @@ -18418,8 +18358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - - *75 - - &122 + - *76 + - &121 name: budget_id description: The ID corresponding to the budget. in: path @@ -18516,7 +18456,7 @@ paths: '404': *6 '403': *29 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18536,8 +18476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - - *75 - - *122 + - *76 + - *121 requestBody: required: true content: @@ -18728,8 +18668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - - *75 - - *122 + - *76 + - *121 responses: '200': description: Response when deleting a budget @@ -18756,7 +18696,7 @@ paths: '404': *6 '403': *29 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18776,8 +18716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - - *75 - - &123 + - *76 + - &122 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, @@ -18786,7 +18726,7 @@ paths: required: false schema: type: integer - - &125 + - &124 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 @@ -18795,7 +18735,7 @@ paths: required: false schema: type: integer - - &124 + - &123 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 @@ -18817,7 +18757,7 @@ paths: required: false schema: type: string - - &126 + - &125 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -18934,7 +18874,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18954,8 +18894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - - *75 - - *123 + - *76 + - *122 - &734 name: month description: If specified, only return results for a single month. The value @@ -18965,7 +18905,7 @@ paths: required: false schema: type: integer - - *124 + - *123 responses: '200': description: Billing usage report response for an organization @@ -19041,7 +18981,7 @@ paths: '400': *14 '403': *29 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19064,10 +19004,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - - *75 - - *123 - - *125 + - *76 + - *122 - *124 + - *123 - &735 name: repository description: The repository name to query for usage in the format owner/repository. @@ -19075,7 +19015,7 @@ paths: required: false schema: type: string - - *126 + - *125 - &736 name: sku description: The SKU to query for usage. @@ -19187,7 +19127,7 @@ paths: '400': *14 '403': *29 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19213,13 +19153,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *75 + - *76 responses: '200': description: Response content: application/json: - schema: &127 + schema: &126 title: Organization Full description: Organization Full type: object @@ -19538,7 +19478,7 @@ paths: - updated_at - archived_at examples: - default-response: &128 + default-response: &127 value: login: github id: 1 @@ -19638,7 +19578,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *75 + - *76 requestBody: required: false content: @@ -19854,17 +19794,17 @@ paths: description: Response content: application/json: - schema: *127 + schema: *126 examples: - default: *128 + default: *127 '422': description: Validation failed content: application/json: schema: oneOf: + - *128 - *129 - - *130 '409': *54 x-github: githubCloudOnly: false @@ -19888,7 +19828,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *75 + - *76 responses: '202': *39 '404': *6 @@ -19913,7 +19853,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -19939,7 +19879,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19960,7 +19900,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: - - *75 + - *76 - *17 - *19 responses: @@ -20013,7 +19953,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20033,7 +19973,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *75 + - *76 - *17 - *19 responses: @@ -20051,7 +19991,7 @@ paths: type: integer runners: type: array - items: &131 + items: &130 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -20105,7 +20045,7 @@ paths: - display_name - source nullable: true - machine_size_details: &139 + machine_size_details: &138 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -20201,7 +20141,7 @@ paths: - public_ip_enabled - platform examples: - default: &159 + default: &158 value: total_count: 2 runners: @@ -20243,7 +20183,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20261,7 +20201,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -20338,9 +20278,9 @@ paths: description: Response content: application/json: - schema: *131 + schema: *130 examples: - default: &140 + default: &139 value: id: 5 name: My hosted ubuntu runner @@ -20381,7 +20321,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -20397,7 +20337,7 @@ paths: type: integer images: type: array - items: &132 + items: &131 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -20448,7 +20388,7 @@ paths: - latest_version - state examples: - default: &134 + default: &133 value: total_count: 2 image_versions: @@ -20479,8 +20419,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: - - *75 - - &133 + - *76 + - &132 name: image_definition_id description: Image definition ID of custom image in: path @@ -20492,7 +20432,7 @@ paths: description: Response content: application/json: - schema: *132 + schema: *131 examples: default: value: @@ -20522,8 +20462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *75 - - *133 + - *76 + - *132 responses: '204': description: Response @@ -20546,8 +20486,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: - - *133 - - *75 + - *132 + - *76 responses: '200': description: Response @@ -20563,7 +20503,7 @@ paths: type: integer image_versions: type: array - items: &135 + items: &134 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -20596,7 +20536,7 @@ paths: - created_on - state_details examples: - default: *134 + default: *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20616,9 +20556,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: - - *75 - - *133 - - &136 + - *76 + - *132 + - &135 name: version description: Version of a custom image in: path @@ -20631,7 +20571,7 @@ paths: description: Response content: application/json: - schema: *135 + schema: *134 examples: default: value: @@ -20657,9 +20597,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: - - *75 - - *133 - - *136 + - *76 + - *132 + - *135 responses: '204': description: Response @@ -20680,7 +20620,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: - - *75 + - *76 responses: '200': description: Response @@ -20696,7 +20636,7 @@ paths: type: integer images: type: array - items: &137 + items: &136 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -20732,7 +20672,7 @@ paths: - display_name - source examples: - default: &138 + default: &137 value: id: ubuntu-20.04 platform: linux-x64 @@ -20756,7 +20696,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: - - *75 + - *76 responses: '200': description: Response @@ -20772,9 +20712,9 @@ paths: type: integer images: type: array - items: *137 + items: *136 examples: - default: *138 + default: *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20791,7 +20731,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: - - *75 + - *76 responses: '200': description: Response @@ -20844,7 +20784,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: - - *75 + - *76 responses: '200': description: Response @@ -20860,7 +20800,7 @@ paths: type: integer machine_specs: type: array - items: *139 + items: *138 examples: default: value: @@ -20885,7 +20825,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: - - *75 + - *76 responses: '200': description: Response @@ -20929,8 +20869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *75 - - &141 + - *76 + - &140 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -20942,11 +20882,11 @@ paths: description: Response content: application/json: - schema: *131 + schema: *130 examples: - default: *140 + default: *139 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20964,8 +20904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *75 - - *141 + - *76 + - *140 requestBody: required: true content: @@ -21017,9 +20957,9 @@ paths: description: Response content: application/json: - schema: *131 + schema: *130 examples: - default: *140 + default: *139 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21035,16 +20975,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *75 - - *141 + - *76 + - *140 responses: '202': description: Response content: application/json: - schema: *131 + schema: *130 examples: - default: *140 + default: *139 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21064,7 +21004,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization parameters: - - *75 + - *76 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -21097,12 +21037,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: application/json: - schema: *142 + schema: *141 examples: default: *46 responses: @@ -21136,7 +21076,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *75 + - *76 - name: custom_property_name in: path required: true @@ -21169,7 +21109,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: - - *75 + - *76 responses: '200': description: A JSON serialized template for OIDC subject claim customization @@ -21189,7 +21129,7 @@ paths: required: - include_claim_keys examples: - default: &143 + default: &142 value: include_claim_keys: - repo @@ -21211,7 +21151,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: - - *75 + - *76 requestBody: required: true content: @@ -21228,13 +21168,13 @@ paths: items: type: string examples: - default: *143 + default: *142 responses: '201': description: Empty response content: application/json: - schema: &169 + schema: &168 title: Empty Object description: An object without any properties. type: object @@ -21264,7 +21204,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -21273,7 +21213,7 @@ paths: schema: type: object properties: - enabled_repositories: &144 + enabled_repositories: &143 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -21286,7 +21226,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: &145 + allowed_actions: &144 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -21299,7 +21239,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: &146 + sha_pinning_required: &145 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -21330,7 +21270,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *75 + - *76 responses: '204': description: Response @@ -21341,9 +21281,9 @@ paths: schema: type: object properties: - enabled_repositories: *144 - allowed_actions: *145 - sha_pinning_required: *146 + enabled_repositories: *143 + allowed_actions: *144 + sha_pinning_required: *145 required: - enabled_repositories examples: @@ -21371,7 +21311,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -21414,7 +21354,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -21456,13 +21396,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response content: application/json: - schema: &147 + schema: &146 type: object properties: approval_policy: @@ -21497,7 +21437,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *75 + - *76 responses: '204': description: Response @@ -21507,7 +21447,7 @@ paths: required: true content: application/json: - schema: *147 + schema: *146 examples: default: summary: Set approval policy to first time contributors @@ -21529,7 +21469,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: - - *75 + - *76 responses: '200': description: Response @@ -21561,7 +21501,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &148 + default: &147 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -21584,7 +21524,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: - - *75 + - *76 requestBody: required: true content: @@ -21612,7 +21552,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *148 + default: *147 responses: '204': description: Empty response for successful settings update @@ -21642,7 +21582,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: - - *75 + - *76 - *17 - *19 responses: @@ -21660,9 +21600,9 @@ paths: type: number repositories: type: array - items: *79 + items: *80 examples: - default: &152 + default: &151 value: total_count: 1 repositories: @@ -21802,7 +21742,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: - - *75 + - *76 responses: '204': description: Response @@ -21846,8 +21786,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: - - *75 - - &149 + - *76 + - &148 name: repository_id description: The unique identifier of the repository. in: path @@ -21875,8 +21815,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: - - *75 - - *149 + - *76 + - *148 responses: '204': description: Response @@ -21899,13 +21839,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response content: application/json: - schema: &150 + schema: &149 type: object properties: github_owned_allowed: @@ -21927,7 +21867,7 @@ paths: items: type: string examples: - default: &151 + default: &150 value: github_owned_allowed: true verified_allowed: false @@ -21952,7 +21892,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *75 + - *76 responses: '204': description: Response @@ -21960,9 +21900,9 @@ paths: required: false content: application/json: - schema: *150 + schema: *149 examples: - selected_actions: *151 + selected_actions: *150 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21982,7 +21922,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -22030,7 +21970,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -22077,7 +22017,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: - - *75 + - *76 - *17 - *19 responses: @@ -22092,9 +22032,9 @@ paths: type: integer repositories: type: array - items: *79 + items: *80 examples: - default: *152 + default: *151 '403': *29 '404': *6 x-github: @@ -22114,7 +22054,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: - - *75 + - *76 requestBody: required: true content: @@ -22162,8 +22102,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: - - *75 - - *149 + - *76 + - *148 responses: '204': description: No content @@ -22189,8 +22129,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: - - *75 - - *149 + - *76 + - *148 responses: '204': description: No content @@ -22218,7 +22158,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -22227,14 +22167,14 @@ paths: schema: &368 type: object properties: - default_workflow_permissions: &153 + default_workflow_permissions: &152 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &154 + can_approve_pull_request_reviews: &153 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -22242,7 +22182,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &155 + default: &154 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -22267,7 +22207,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *75 + - *76 responses: '204': description: Success response @@ -22278,10 +22218,10 @@ paths: schema: &369 type: object properties: - default_workflow_permissions: *153 - can_approve_pull_request_reviews: *154 + default_workflow_permissions: *152 + can_approve_pull_request_reviews: *153 examples: - default: *155 + default: *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22301,7 +22241,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: - - *75 + - *76 - *17 - *19 - name: visible_to_repository @@ -22326,7 +22266,7 @@ paths: type: number runner_groups: type: array - items: &156 + items: &155 type: object properties: id: @@ -22442,7 +22382,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: - - *75 + - *76 requestBody: required: true content: @@ -22514,9 +22454,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *155 examples: - default: &158 + default: &157 value: id: 2 name: octo-runner-group @@ -22551,8 +22491,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: - - *75 - - &157 + - *76 + - &156 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -22564,7 +22504,7 @@ paths: description: Response content: application/json: - schema: *156 + schema: *155 examples: default: value: @@ -22600,8 +22540,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: - - *75 - - *157 + - *76 + - *156 requestBody: required: true content: @@ -22655,9 +22595,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *155 examples: - default: *158 + default: *157 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22676,8 +22616,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: - - *75 - - *157 + - *76 + - *156 responses: '204': description: Response @@ -22700,8 +22640,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: - - *75 - - *157 + - *76 + - *156 - *17 - *19 responses: @@ -22719,11 +22659,11 @@ paths: type: number runners: type: array - items: *131 + items: *130 examples: - default: *159 + default: *158 headers: - Link: *67 + Link: *68 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22743,8 +22683,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: - - *75 - - *157 + - *76 + - *156 - *19 - *17 responses: @@ -22762,9 +22702,9 @@ paths: type: number repositories: type: array - items: *160 + items: *159 examples: - default: &198 + default: &196 value: total_count: 1 repositories: @@ -23016,8 +22956,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: - - *75 - - *157 + - *76 + - *156 requestBody: required: true content: @@ -23061,9 +23001,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: - - *75 - - *157 - - *149 + - *76 + - *156 + - *148 responses: '204': description: Response @@ -23085,9 +23025,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: - - *75 - - *157 - - *149 + - *76 + - *156 + - *148 responses: '204': description: Response @@ -23110,8 +23050,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: - - *75 - - *157 + - *76 + - *156 - *17 - *19 responses: @@ -23129,7 +23069,7 @@ paths: type: number runners: type: array - items: &162 + items: &161 title: Self hosted runners description: A self hosted runner type: object @@ -23158,7 +23098,7 @@ paths: type: boolean labels: type: array - items: &165 + items: &164 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -23188,7 +23128,7 @@ paths: - busy - labels examples: - default: &163 + default: &162 value: total_count: 2 runners: @@ -23228,7 +23168,7 @@ paths: name: no-gpu type: custom headers: - Link: *67 + Link: *68 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -23247,8 +23187,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: - - *75 - - *157 + - *76 + - *156 requestBody: required: true content: @@ -23292,9 +23232,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: - - *75 - - *157 - - &161 + - *76 + - *156 + - &160 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -23322,9 +23262,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: - - *75 - - *157 - - *161 + - *76 + - *156 + - *160 responses: '204': description: Response @@ -23354,7 +23294,7 @@ paths: in: query schema: type: string - - *75 + - *76 - *17 - *19 responses: @@ -23372,11 +23312,11 @@ paths: type: integer runners: type: array - items: *162 + items: *161 examples: - default: *163 + default: *162 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23398,7 +23338,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -23474,7 +23414,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: - - *75 + - *76 requestBody: required: true content: @@ -23527,7 +23467,7 @@ paths: - runner - encoded_jit_config properties: - runner: *162 + runner: *161 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -23584,13 +23524,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *75 + - *76 responses: '201': description: Response content: application/json: - schema: &164 + schema: &163 title: Authentication Token description: Authentication Token type: object @@ -23612,7 +23552,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *79 + items: *80 single_file: type: string example: config.yaml @@ -23659,13 +23599,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *75 + - *76 responses: '201': description: Response content: application/json: - schema: *164 + schema: *163 examples: default: &374 value: @@ -23692,14 +23632,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: - - *75 - - *161 + - *76 + - *160 responses: '200': description: Response content: application/json: - schema: *162 + schema: *161 examples: default: &375 value: @@ -23742,8 +23682,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: - - *75 - - *161 + - *76 + - *160 responses: '204': description: Response @@ -23769,10 +23709,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: - - *75 - - *161 + - *76 + - *160 responses: - '200': &166 + '200': &165 description: Response content: application/json: @@ -23786,7 +23726,7 @@ paths: type: integer labels: type: array - items: *165 + items: *164 examples: default: value: @@ -23825,8 +23765,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: - - *75 - - *161 + - *76 + - *160 requestBody: required: true content: @@ -23850,7 +23790,7 @@ paths: - gpu - accelerated responses: - '200': *166 + '200': *165 '404': *6 '422': *7 x-github: @@ -23874,8 +23814,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: - - *75 - - *161 + - *76 + - *160 requestBody: required: true content: @@ -23900,7 +23840,7 @@ paths: - gpu - accelerated responses: - '200': *166 + '200': *165 '404': *6 '422': *7 x-github: @@ -23924,8 +23864,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: - - *75 - - *161 + - *76 + - *160 responses: '200': &376 description: Response @@ -23941,7 +23881,7 @@ paths: type: integer labels: type: array - items: *165 + items: *164 examples: default: value: @@ -23982,8 +23922,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: - - *75 - - *161 + - *76 + - *160 - &377 name: name description: The name of a self-hosted runner's custom label. @@ -23992,7 +23932,7 @@ paths: schema: type: string responses: - '200': *166 + '200': *165 '404': *6 '422': *7 x-github: @@ -24017,7 +23957,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *75 + - *76 - *17 - *19 responses: @@ -24035,7 +23975,7 @@ paths: type: integer secrets: type: array - items: &167 + items: &166 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -24085,7 +24025,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24108,7 +24048,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *75 + - *76 responses: '200': description: Response @@ -24168,8 +24108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *75 - - &168 + - *76 + - &167 name: secret_name description: The name of the secret. in: path @@ -24181,7 +24121,7 @@ paths: description: Response content: application/json: - schema: *167 + schema: *166 examples: default: value: @@ -24211,8 +24151,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 requestBody: required: true content: @@ -24269,7 +24209,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -24295,8 +24235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 responses: '204': description: Response @@ -24322,8 +24262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - *19 - *17 responses: @@ -24341,9 +24281,9 @@ paths: type: integer repositories: type: array - items: *160 + items: *159 examples: - default: &172 + default: &171 value: total_count: 1 repositories: @@ -24435,8 +24375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 requestBody: required: true content: @@ -24488,8 +24428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - name: repository_id in: path required: true @@ -24522,8 +24462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - name: repository_id in: path required: true @@ -24555,7 +24495,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *75 + - *76 - &358 name: per_page description: The number of results per page (max 30). For more information, @@ -24580,7 +24520,7 @@ paths: type: integer variables: type: array - items: &170 + items: &169 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -24644,7 +24584,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24665,7 +24605,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *75 + - *76 requestBody: required: true content: @@ -24713,7 +24653,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -24738,8 +24678,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *75 - - &171 + - *76 + - &170 name: name description: The name of the variable. in: path @@ -24751,7 +24691,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *169 examples: default: value: @@ -24781,8 +24721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *75 - - *171 + - *76 + - *170 requestBody: required: true content: @@ -24844,8 +24784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *75 - - *171 + - *76 + - *170 responses: '204': description: Response @@ -24871,8 +24811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *75 - - *171 + - *76 + - *170 - *19 - *17 responses: @@ -24890,9 +24830,9 @@ paths: type: integer repositories: type: array - items: *160 + items: *159 examples: - default: *172 + default: *171 '409': description: Response when the visibility of the variable is not set to `selected` @@ -24918,8 +24858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *75 - - *171 + - *76 + - *170 requestBody: required: true content: @@ -24968,8 +24908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *75 - - *171 + - *76 + - *170 - name: repository_id in: path required: true @@ -25003,8 +24943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *75 - - *171 + - *76 + - *170 - name: repository_id in: path required: true @@ -25045,7 +24985,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *75 + - *76 requestBody: required: true content: @@ -25168,7 +25108,7 @@ paths: type: integer deployment_records: type: array - items: &173 + items: &172 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -25214,7 +25154,7 @@ paths: required: - total_count examples: - default: &174 + default: &173 value: total_count: 1 deployment_records: @@ -25251,7 +25191,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *75 + - *76 - name: cluster in: path description: The cluster name. @@ -25394,11 +25334,11 @@ paths: type: integer deployment_records: type: array - items: *173 + items: *172 required: - total_count examples: - default: *174 + default: *173 '403': description: Forbidden content: @@ -25445,7 +25385,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *75 + - *76 requestBody: required: true content: @@ -25608,7 +25548,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *75 + - *76 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -25633,9 +25573,9 @@ paths: type: integer deployment_records: type: array - items: *173 + items: *172 examples: - default: *174 + default: *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25655,7 +25595,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *75 + - *76 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -25740,7 +25680,7 @@ paths: - *17 - *47 - *48 - - *75 + - *76 requestBody: required: true content: @@ -25936,7 +25876,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *75 + - *76 requestBody: required: true content: @@ -26001,7 +25941,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *75 + - *76 - name: subject_digest description: Subject Digest in: path @@ -26036,7 +25976,7 @@ paths: - *17 - *47 - *48 - - *75 + - *76 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -26084,7 +26024,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *75 + - *76 - name: attestation_id description: Attestation ID in: path @@ -26122,7 +26062,7 @@ paths: - *17 - *47 - *48 - - *75 + - *76 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -26284,7 +26224,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *75 + - *76 - *17 - *19 responses: @@ -26296,7 +26236,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26315,8 +26255,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: If the user is blocked @@ -26341,8 +26281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -26362,8 +26302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -26388,15 +26328,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *75 + - *76 - *19 - *17 - - *61 + - *62 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &175 + schema: &174 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -26422,7 +26362,7 @@ paths: application/json: schema: type: array - items: &176 + items: &175 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -26453,7 +26393,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &197 + items: &195 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -26643,7 +26583,7 @@ paths: type: string format: date-time nullable: true - state: *175 + state: *174 contact_link: description: The contact link of the campaign. type: string @@ -26738,9 +26678,9 @@ paths: closed_at: state: open headers: - Link: *67 + Link: *68 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26764,7 +26704,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -26863,9 +26803,9 @@ paths: description: Response content: application/json: - schema: *176 + schema: *175 examples: - default: &177 + default: &176 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -26914,7 +26854,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26936,7 +26876,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *75 + - *76 - name: campaign_number description: The campaign number. in: path @@ -26948,16 +26888,16 @@ paths: description: Response content: application/json: - schema: *176 + schema: *175 examples: - default: *177 + default: *176 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26978,7 +26918,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *75 + - *76 - name: campaign_number description: The campaign number. in: path @@ -27027,7 +26967,7 @@ paths: type: string format: uri nullable: true - state: *175 + state: *174 examples: default: value: @@ -27037,9 +26977,9 @@ paths: description: Response content: application/json: - schema: *176 + schema: *175 examples: - default: *177 + default: *176 '400': description: Bad Request content: @@ -27051,7 +26991,7 @@ paths: content: application/json: schema: *3 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27072,7 +27012,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *75 + - *76 - name: campaign_number description: The campaign number. in: path @@ -27083,7 +27023,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27105,7 +27045,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *75 + - *76 - &428 name: tool_name description: The name of a code scanning tool. Only results by this tool will @@ -27113,7 +27053,7 @@ paths: but not both. in: query required: false - schema: &185 + schema: &184 type: string description: The name of the tool used to generate the code scanning analysis. - &429 @@ -27124,7 +27064,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &186 + schema: &185 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -27133,7 +27073,7 @@ paths: - *48 - *19 - *17 - - *61 + - *62 - name: state description: If specified, only code scanning alerts with this state will be returned. @@ -27191,18 +27131,18 @@ paths: items: type: object properties: - number: *178 - created_at: *179 - updated_at: *180 - url: *181 - html_url: *182 + number: *177 + created_at: *178 + updated_at: *179 + url: *180 + html_url: *181 instances_url: &433 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &187 + state: &186 type: string description: State of a code scanning alert. nullable: true @@ -27210,7 +27150,7 @@ paths: - open - dismissed - fixed - fixed_at: *183 + fixed_at: *182 dismissed_by: title: Simple User description: A GitHub user. @@ -27218,7 +27158,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *184 + dismissed_at: *183 dismissed_reason: &434 type: string description: "**Required when the state is dismissed.** The @@ -27290,13 +27230,13 @@ paths: tool: &437 type: object properties: - name: *185 + name: *184 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *186 + guid: *185 most_recent_instance: &438 type: object properties: @@ -27322,7 +27262,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: *187 + state: *186 commit_sha: type: string message: @@ -27367,7 +27307,7 @@ paths: - generated - test - library - repository: *66 + repository: *67 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -27622,9 +27562,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: *67 + Link: *68 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27646,7 +27586,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *75 + - *76 - name: target_type in: query description: The target type of the code security configuration @@ -27752,7 +27692,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *75 + - *76 requestBody: required: true content: @@ -27996,7 +27936,7 @@ paths: application/json: schema: *49 examples: - default: *188 + default: *187 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28018,15 +27958,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *75 + - *76 responses: '200': description: Response content: application/json: - schema: *189 + schema: *188 examples: - default: *190 + default: *189 '304': *37 '403': *29 '404': *6 @@ -28052,7 +27992,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *75 + - *76 requestBody: required: true content: @@ -28078,7 +28018,7 @@ paths: - 32 - 91 responses: - '204': *191 + '204': *61 '400': *14 '403': *29 '404': *6 @@ -28104,7 +28044,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *75 + - *76 - *51 responses: '200': @@ -28113,7 +28053,7 @@ paths: application/json: schema: *49 examples: - default: *188 + default: *187 '304': *37 '403': *29 '404': *6 @@ -28137,7 +28077,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *75 + - *76 - *51 requestBody: required: true @@ -28417,10 +28357,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *75 + - *76 - *51 responses: - '204': *191 + '204': *61 '400': *14 '403': *29 '404': *6 @@ -28448,7 +28388,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *75 + - *76 - *51 requestBody: required: true @@ -28512,7 +28452,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: - - *75 + - *76 - *51 requestBody: required: true @@ -28558,7 +28498,7 @@ paths: default: value: default_for_new_repos: all - configuration: *188 + configuration: *187 '403': *29 '404': *6 x-github: @@ -28582,7 +28522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *75 + - *76 - *51 - name: per_page description: The number of results per page (max 100). For more information, @@ -28611,13 +28551,13 @@ paths: application/json: schema: type: array - items: *192 + items: *190 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *193 + repository: *191 '403': *29 '404': *6 x-github: @@ -28641,7 +28581,7 @@ paths: parameters: - *17 - *19 - - *75 + - *76 responses: '200': description: Response @@ -28682,7 +28622,7 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *160 + repository: *159 machine: type: object title: Codespace machine @@ -29366,7 +29306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *75 + - *76 deprecated: true requestBody: required: true @@ -29433,7 +29373,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *75 + - *76 deprecated: true requestBody: required: true @@ -29488,7 +29428,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *75 + - *76 requestBody: required: true content: @@ -29540,7 +29480,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *75 + - *76 - *17 - *19 responses: @@ -29558,7 +29498,7 @@ paths: type: integer secrets: type: array - items: &194 + items: &192 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -29610,7 +29550,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29629,7 +29569,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *75 + - *76 responses: '200': description: Response @@ -29687,14 +29627,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 responses: '200': description: Response content: application/json: - schema: *194 + schema: *192 examples: default: &470 value: @@ -29703,7 +29643,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29723,8 +29663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 requestBody: required: true content: @@ -29779,7 +29719,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -29805,8 +29745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 responses: '204': description: Response @@ -29831,8 +29771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - *19 - *17 responses: @@ -29850,9 +29790,9 @@ paths: type: integer repositories: type: array - items: *160 + items: *159 examples: - default: *172 + default: *171 '404': *6 x-github: githubCloudOnly: false @@ -29874,8 +29814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 requestBody: required: true content: @@ -29925,8 +29865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - name: repository_id in: path required: true @@ -29959,8 +29899,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - name: repository_id in: path required: true @@ -29999,7 +29939,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: - - *75 + - *76 responses: '200': description: OK @@ -30140,7 +30080,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: - - *75 + - *76 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -30180,15 +30120,15 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *195 - required: *196 + properties: *193 + required: *194 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *197 - - *68 + - *195 + - *69 nullable: true pending_cancellation_date: type: string @@ -30312,7 +30252,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '500': *55 '401': *25 '403': *29 @@ -30346,7 +30286,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: - - *75 + - *76 requestBody: content: application/json: @@ -30424,7 +30364,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: - - *75 + - *76 requestBody: content: application/json: @@ -30504,7 +30444,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: - - *75 + - *76 requestBody: content: application/json: @@ -30581,7 +30521,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: - - *75 + - *76 requestBody: content: application/json: @@ -30659,7 +30599,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: - - *75 + - *76 responses: '200': description: Response @@ -30724,7 +30664,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: - - *75 + - *76 requestBody: required: true content: @@ -30779,7 +30719,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: - - *75 + - *76 - *17 - *19 responses: @@ -30794,12 +30734,12 @@ paths: type: integer repositories: type: array - items: *160 + items: *159 required: - total_count - repositories examples: - default: *198 + default: *196 '500': *55 '401': *25 '403': *29 @@ -30828,7 +30768,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: - - *75 + - *76 requestBody: required: true content: @@ -30884,8 +30824,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: - - *75 - - *149 + - *76 + - *148 responses: '204': description: No Content @@ -30918,8 +30858,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: - - *75 - - *149 + - *76 + - *148 responses: '204': description: No Content @@ -30958,7 +30898,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: - - *75 + - *76 responses: '200': description: OK @@ -31011,7 +30951,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: - - *75 + - *76 requestBody: description: The content exclusion rules to set required: true @@ -31102,7 +31042,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *75 + - *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`). @@ -31574,7 +31514,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: - - *75 + - *76 - *56 responses: '200': @@ -31584,7 +31524,7 @@ paths: schema: *57 examples: default: *58 - '204': *191 + '204': *61 '500': *55 '403': *29 '404': *6 @@ -31613,7 +31553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics parameters: - - *75 + - *76 responses: '200': description: Response @@ -31650,7 +31590,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: - - *75 + - *76 - *56 responses: '200': @@ -31660,7 +31600,7 @@ paths: schema: *57 examples: default: *58 - '204': *191 + '204': *61 '500': *55 '403': *29 '404': *6 @@ -31689,7 +31629,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics parameters: - - *75 + - *76 responses: '200': description: Response @@ -31722,13 +31662,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *75 + - *76 + - *197 + - *198 - *199 - *200 - *201 - *202 - - *203 - - *204 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -31758,7 +31698,7 @@ paths: enum: - patch - deployment - - *205 + - *203 - name: runtime_risk in: query description: |- @@ -31767,9 +31707,9 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *206 - - *207 - - *61 + - *204 + - *205 + - *62 - *47 - *48 - *17 @@ -31780,9 +31720,9 @@ paths: application/json: schema: type: array - items: *208 + items: *206 examples: - default: *209 + default: *207 '304': *37 '400': *14 '403': *29 @@ -31793,6 +31733,271 @@ 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: + - *76 + - 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 + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + example: internal + nullable: true + accessible_repositories: + type: array + items: + title: Simple Repository + description: A GitHub repository. + type: object + properties: *208 + required: *209 + nullable: true + 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': *29 + '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: + - *76 + 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': *29 + '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: + - *76 + 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 + example: internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access "/orgs/{org}/dependabot/secrets": get: summary: List organization secrets @@ -31808,7 +32013,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *75 + - *76 - *17 - *19 responses: @@ -31876,7 +32081,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31897,7 +32102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *75 + - *76 responses: '200': description: Response @@ -31943,8 +32148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 responses: '200': description: Response @@ -31978,8 +32183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 requestBody: required: true content: @@ -32036,7 +32241,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -32060,8 +32265,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 responses: '204': description: Response @@ -32085,8 +32290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - *19 - *17 responses: @@ -32104,9 +32309,9 @@ paths: type: integer repositories: type: array - items: *160 + items: *159 examples: - default: *172 + default: *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32127,8 +32332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 requestBody: required: true content: @@ -32178,8 +32383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - name: repository_id in: path required: true @@ -32210,8 +32415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - name: repository_id in: path required: true @@ -32241,7 +32446,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: - - *75 + - *76 responses: '200': description: Response @@ -32397,7 +32602,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *75 + - *76 - *17 - *19 responses: @@ -32407,7 +32612,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: 200-response: value: @@ -32479,7 +32684,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *75 + - *76 - *17 - *19 responses: @@ -32569,7 +32774,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -32593,7 +32798,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *75 + - *76 - *17 - *19 responses: @@ -32691,7 +32896,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -32714,7 +32919,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *75 + - *76 requestBody: required: true content: @@ -32823,7 +33028,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *75 + - *76 - &215 name: hook_id description: The unique identifier of the hook. You can find this value in @@ -32866,7 +33071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *75 + - *76 - *215 requestBody: required: false @@ -32953,7 +33158,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *75 + - *76 - *215 responses: '204': @@ -32981,7 +33186,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *75 + - *76 - *215 responses: '200': @@ -33012,7 +33217,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *75 + - *76 - *215 requestBody: required: false @@ -33063,7 +33268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *75 + - *76 - *215 - *17 - *216 @@ -33102,7 +33307,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *75 + - *76 - *215 - *16 responses: @@ -33137,7 +33342,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *75 + - *76 - *215 - *16 responses: @@ -33167,7 +33372,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *75 + - *76 - *215 responses: '204': @@ -33190,7 +33395,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *75 + - *76 - &226 name: actor_type in: path @@ -33230,7 +33435,7 @@ paths: type: string - *19 - *17 - - *61 + - *62 - name: sort description: The property to sort the results by. in: query @@ -33312,12 +33517,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *75 + - *76 - *222 - *223 - *19 - *17 - - *61 + - *62 - &232 name: sort description: The property to sort the results by. @@ -33395,7 +33600,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *75 + - *76 - *222 - *223 responses: @@ -33439,7 +33644,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *75 + - *76 - &228 name: user_id in: path @@ -33474,7 +33679,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *75 + - *76 - *222 - *223 - *226 @@ -33503,7 +33708,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *75 + - *76 - *222 - *223 - &229 @@ -33571,7 +33776,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *75 + - *76 - *228 - *222 - *223 @@ -33600,7 +33805,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *75 + - *76 - *226 - *227 - *222 @@ -33630,13 +33835,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *75 + - *76 - *228 - *222 - *223 - *19 - *17 - - *61 + - *62 - *232 - name: actor_name_substring in: query @@ -33710,7 +33915,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *75 + - *76 responses: '200': description: Response @@ -33787,7 +33992,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *75 + - *76 - *17 - *19 responses: @@ -33857,7 +34062,7 @@ paths: suspended_at: suspended_by: headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33876,7 +34081,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -33938,7 +34143,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -33993,7 +34198,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *75 + - *76 responses: '204': description: Response @@ -34017,7 +34222,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *75 + - *76 - *17 - *19 - name: role @@ -34055,7 +34260,7 @@ paths: examples: default: *237 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -34076,7 +34281,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *75 + - *76 requestBody: required: false content: @@ -34184,7 +34389,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *75 + - *76 - &238 name: invitation_id description: The unique identifier of the invitation. @@ -34215,7 +34420,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *75 + - *76 - *238 - *17 - *19 @@ -34226,7 +34431,7 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: default: &259 value: @@ -34244,7 +34449,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -34263,7 +34468,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#list-issue-fields-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -34414,7 +34619,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#create-issue-field-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -34561,7 +34766,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - - *75 + - *76 - &241 name: issue_field_id description: The unique identifier of the issue field. @@ -34696,10 +34901,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - - *75 + - *76 - *241 responses: - '204': *191 + '204': *61 '404': *6 '422': *7 x-github: @@ -34719,7 +34924,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -34765,7 +34970,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -34846,7 +35051,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *75 + - *76 - &244 name: issue_type_id description: The unique identifier of the issue type. @@ -34926,7 +35131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *75 + - *76 - *244 responses: '204': @@ -34960,7 +35165,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *75 + - *76 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -35008,8 +35213,8 @@ paths: - updated - comments default: created - - *61 - - *92 + - *62 + - *93 - *17 - *19 responses: @@ -35019,11 +35224,11 @@ paths: application/json: schema: type: array - items: *85 + items: *86 examples: default: *246 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -35043,7 +35248,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *75 + - *76 - 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) @@ -35081,9 +35286,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 '422': *15 x-github: githubCloudOnly: false @@ -35101,8 +35306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response if requester is an organization member and user is @@ -35136,8 +35341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -35163,8 +35368,8 @@ paths: parameters: - *17 - *19 - - *75 - - *71 + - *76 + - *72 responses: '200': description: Response @@ -35207,8 +35412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *75 - - *71 + - *76 + - *72 - &249 name: codespace_name in: path @@ -35242,8 +35447,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *75 - - *71 + - *76 + - *72 - *249 responses: '200': @@ -35425,8 +35630,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: - - *75 - - *71 + - *76 + - *72 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -35501,8 +35706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *75 - - *71 + - *76 + - *72 responses: '200': description: Response @@ -35552,7 +35757,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *73 + organization: *74 user: title: Simple User description: A GitHub user. @@ -35647,8 +35852,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *75 - - *71 + - *76 + - *72 requestBody: required: false content: @@ -35702,8 +35907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -35728,7 +35933,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *75 + - *76 - *17 - *19 - name: exclude @@ -35790,7 +35995,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *79 + items: *80 url: type: string format: uri @@ -35986,7 +36191,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -36002,7 +36207,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *75 + - *76 requestBody: required: true content: @@ -36256,7 +36461,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *75 + - *76 - &254 name: migration_id description: The unique identifier of the migration. @@ -36453,7 +36658,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *75 + - *76 - *254 responses: '302': @@ -36475,7 +36680,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *75 + - *76 - *254 responses: '204': @@ -36499,7 +36704,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *75 + - *76 - *254 - &698 name: repo_name @@ -36528,7 +36733,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *75 + - *76 - *254 - *17 - *19 @@ -36539,7 +36744,7 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: &266 value: @@ -36654,7 +36859,7 @@ paths: secret_scanning_delegated_alert_dismissal: status: disabled headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -36680,7 +36885,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response - list of organization roles @@ -36843,8 +37048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *75 - - *77 + - *76 + - *78 responses: '204': description: Response @@ -36869,8 +37074,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *75 - - *77 + - *76 + - *78 - &255 name: role_id description: The unique identifier of the role. @@ -36906,8 +37111,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *75 - - *77 + - *76 + - *78 - *255 responses: '204': @@ -36933,8 +37138,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -36959,8 +37164,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *75 - - *71 + - *76 + - *72 - *255 responses: '204': @@ -36991,8 +37196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *75 - - *71 + - *76 + - *72 - *255 responses: '204': @@ -37021,7 +37226,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *75 + - *76 - *255 responses: '200': @@ -37078,7 +37283,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: - - *75 + - *76 - *255 - *17 - *19 @@ -37192,7 +37397,7 @@ paths: examples: default: *259 headers: - Link: *67 + Link: *68 '404': description: Response if the organization or role does not exist. '422': @@ -37219,7 +37424,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: - - *75 + - *76 - *255 - *17 - *19 @@ -37349,9 +37554,9 @@ paths: - type - url examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 '404': description: Response if the organization or role does not exist. '422': @@ -37373,7 +37578,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *75 + - *76 - 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) @@ -37400,9 +37605,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37425,8 +37630,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *75 - - *71 + - *76 + - *72 requestBody: required: false content: @@ -37483,8 +37688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -37541,7 +37746,7 @@ paths: - docker - nuget - container - - *75 + - *76 - &699 name: visibility description: |- @@ -37630,7 +37835,7 @@ paths: required: true schema: type: string - - *75 + - *76 responses: '200': description: Response @@ -37690,7 +37895,7 @@ paths: parameters: - *262 - *263 - - *75 + - *76 responses: '204': description: Response @@ -37724,7 +37929,7 @@ paths: parameters: - *262 - *263 - - *75 + - *76 - name: token description: package token schema: @@ -37758,7 +37963,7 @@ paths: parameters: - *262 - *263 - - *75 + - *76 - *19 - *17 - name: state @@ -37905,7 +38110,7 @@ paths: parameters: - *262 - *263 - - *75 + - *76 - &265 name: package_version_id description: Unique identifier of the package version. @@ -37956,7 +38161,7 @@ paths: parameters: - *262 - *263 - - *75 + - *76 - *265 responses: '204': @@ -37991,7 +38196,7 @@ paths: parameters: - *262 - *263 - - *75 + - *76 - *265 responses: '204': @@ -38019,7 +38224,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: - - *75 + - *76 - *17 - *19 - &267 @@ -38032,7 +38237,7 @@ paths: enum: - created_at default: created_at - - *61 + - *62 - &268 name: owner description: A list of owner usernames to use to filter the results. @@ -38224,7 +38429,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38244,7 +38449,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: - - *75 + - *76 requestBody: required: true content: @@ -38310,7 +38515,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: - - *75 + - *76 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -38350,7 +38555,7 @@ paths: '422': *15 '404': *6 '403': *29 - '204': *191 + '204': *61 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38371,7 +38576,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: - - *75 + - *76 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -38391,11 +38596,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *266 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38416,11 +38621,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: - - *75 + - *76 - *17 - *19 - *267 - - *61 + - *62 - *268 - *269 - *270 @@ -38555,7 +38760,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38575,7 +38780,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: - - *75 + - *76 requestBody: required: true content: @@ -38635,7 +38840,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: - - *75 + - *76 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -38665,7 +38870,7 @@ paths: responses: '500': *55 '404': *6 - '204': *191 + '204': *61 '403': *29 '422': *15 x-github: @@ -38687,7 +38892,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: - - *75 + - *76 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -38706,11 +38911,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *266 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38732,7 +38937,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *75 + - *76 - *17 - *19 responses: @@ -38869,7 +39074,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *67 + Link: *68 '400': *14 '404': *6 x-github: @@ -38892,7 +39097,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -39219,7 +39424,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: - - *75 + - *76 responses: '200': description: Response @@ -39245,7 +39450,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -39267,8 +39472,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *75 - - *168 + - *76 + - *167 responses: '200': description: The specified private registry configuration for the organization @@ -39298,8 +39503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *75 - - *168 + - *76 + - *167 requestBody: required: true content: @@ -39462,8 +39667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *75 - - *168 + - *76 + - *167 responses: '204': description: Response @@ -39486,7 +39691,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *75 + - *76 - name: q description: Limit results to projects of the specified type. in: query @@ -39729,7 +39934,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -39756,7 +39961,7 @@ paths: required: true schema: type: integer - - *75 + - *76 responses: '200': description: Response @@ -39766,7 +39971,7 @@ paths: examples: default: *277 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -39786,7 +39991,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *75 + - *76 - *278 requestBody: required: true @@ -39834,7 +40039,7 @@ paths: description: The node ID of the project item. content: oneOf: - - *85 + - *86 - &480 title: Pull Request Simple description: Pull Request Simple @@ -39985,7 +40190,7 @@ paths: items: *4 requested_teams: type: array - items: *197 + items: *195 head: type: object properties: @@ -39993,7 +40198,7 @@ paths: type: string ref: type: string - repo: *79 + repo: *80 sha: type: string user: @@ -40016,7 +40221,7 @@ paths: type: string ref: type: string - repo: *79 + repo: *80 sha: type: string user: @@ -40060,7 +40265,7 @@ paths: - review_comments - review_comment - self - author_association: *82 + author_association: *83 auto_merge: &592 title: Auto merge description: The status of auto merging a pull request. @@ -40278,7 +40483,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - *278 - - *75 + - *76 - *17 - *47 - *48 @@ -40550,7 +40755,7 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -40570,7 +40775,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - *278 - - *75 + - *76 requestBody: required: true content: @@ -40870,7 +41075,7 @@ paths: required: true schema: type: integer - - *75 + - *76 responses: '200': description: Response @@ -40913,7 +41118,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -40935,7 +41140,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - *278 - - *75 + - *76 - 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. @@ -41703,7 +41908,7 @@ paths: data_type: sub_issues_progress value: headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -41723,7 +41928,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *75 + - *76 - *278 requestBody: required: true @@ -41830,7 +42035,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - *278 - - *75 + - *76 - &288 name: item_id description: The unique identifier of the project item. @@ -41861,7 +42066,7 @@ paths: examples: default: *287 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -41881,7 +42086,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - *278 - - *75 + - *76 - *288 requestBody: required: true @@ -41979,7 +42184,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - *278 - - *75 + - *76 - *288 responses: '204': @@ -42003,7 +42208,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - - *75 + - *76 - *278 requestBody: required: true @@ -42251,7 +42456,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - *278 - - *75 + - *76 - &732 name: view_number description: The number that identifies the project view. @@ -42288,7 +42493,7 @@ paths: examples: default: *287 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -42311,7 +42516,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -42436,7 +42641,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -42500,7 +42705,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *75 + - *76 - &292 name: custom_property_name description: The custom property name @@ -42549,7 +42754,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: - - *75 + - *76 - *292 requestBody: required: true @@ -42646,10 +42851,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *75 + - *76 - *292 responses: - '204': *191 + '204': *61 '403': *29 '404': *6 x-github: @@ -42670,7 +42875,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *75 + - *76 - *17 - *19 - name: repository_query @@ -42747,7 +42952,7 @@ paths: - property_name: team value: octocat headers: - Link: *67 + Link: *68 '403': *29 '404': *6 x-github: @@ -42775,7 +42980,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: - - *75 + - *76 requestBody: required: true content: @@ -42836,7 +43041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *75 + - *76 - *17 - *19 responses: @@ -42848,9 +43053,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42867,8 +43072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response if user is a public member @@ -42892,8 +43097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -42914,8 +43119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -42939,7 +43144,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *75 + - *76 - name: type description: Specifies the types of repositories you want returned. in: query @@ -42985,11 +43190,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *266 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43008,7 +43213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *75 + - *76 requestBody: required: true content: @@ -43565,8 +43770,8 @@ paths: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 nullable: true organization: title: Simple User @@ -43575,8 +43780,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *79 - source: *79 + parent: *80 + source: *80 forks: type: integer master_branch: @@ -44216,7 +44421,7 @@ paths: category: orgs subcategory: rules parameters: - - *75 + - *76 - *17 - *19 - &614 @@ -45313,7 +45518,7 @@ paths: category: orgs subcategory: rules parameters: - - *75 + - *76 requestBody: description: Request body required: true @@ -45463,7 +45668,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *75 + - *76 - &616 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally @@ -45620,7 +45825,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *75 + - *76 - &622 name: rule_suite_id description: |- @@ -45797,7 +46002,7 @@ paths: category: orgs subcategory: rules parameters: - - *75 + - *76 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45829,7 +46034,7 @@ paths: category: orgs subcategory: rules parameters: - - *75 + - *76 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45920,7 +46125,7 @@ paths: category: orgs subcategory: rules parameters: - - *75 + - *76 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45943,7 +46148,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *75 + - *76 - *17 - *19 - name: ruleset_id @@ -46018,7 +46223,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *75 + - *76 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46107,7 +46312,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *75 + - *76 - &628 name: state in: query @@ -46202,7 +46407,7 @@ paths: - created - updated default: created - - *61 + - *62 - *19 - *17 - &636 @@ -46271,8 +46476,8 @@ paths: items: type: object properties: - number: *178 - created_at: *179 + number: *177 + created_at: *178 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -46280,8 +46485,8 @@ paths: format: date-time readOnly: true nullable: true - url: *181 - html_url: *182 + url: *180 + html_url: *181 locations_url: type: string format: uri @@ -46338,7 +46543,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *66 + repository: *67 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -46931,9 +47136,9 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46958,7 +47163,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *75 + - *76 responses: '200': description: Response @@ -47094,7 +47299,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *75 + - *76 requestBody: required: true content: @@ -47182,8 +47387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *75 - - *61 + - *76 + - *62 - name: sort description: The property to sort the results by. in: query @@ -47413,7 +47618,7 @@ paths: required: - vector_string - score - cvss_severities: *63 + cvss_severities: *64 cwes: type: array nullable: true @@ -47480,14 +47685,14 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *197 + items: *195 private_fork: readOnly: true nullable: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *66 + - *67 required: - ghsa_id - cve_id @@ -47896,7 +48101,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *75 + - *76 responses: '200': description: Response @@ -47944,8 +48149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *75 - - *77 + - *76 + - *78 responses: '204': description: Response @@ -47970,8 +48175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *75 - - *77 + - *76 + - *78 responses: '204': description: Response @@ -47998,7 +48203,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Immutable releases settings response @@ -48047,7 +48252,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *75 + - *76 responses: '204': description: Response @@ -48104,7 +48309,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *75 + - *76 - *19 - *17 responses: @@ -48122,9 +48327,9 @@ paths: type: integer repositories: type: array - items: *160 + items: *159 examples: - default: *172 + default: *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48143,7 +48348,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *75 + - *76 requestBody: required: true content: @@ -48192,8 +48397,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: - - *75 - - *149 + - *76 + - *148 responses: '204': description: Response @@ -48215,8 +48420,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: - - *75 - - *149 + - *76 + - *148 responses: '204': description: Response @@ -48239,7 +48444,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *75 + - *76 - *17 - *19 responses: @@ -48328,7 +48533,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48347,7 +48552,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: - - *75 + - *76 requestBody: required: true content: @@ -48433,7 +48638,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: - - *75 + - *76 - &334 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. @@ -48450,7 +48655,7 @@ paths: examples: default: *333 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48469,7 +48674,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: - - *75 + - *76 - *334 requestBody: required: true @@ -48544,7 +48749,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: - - *75 + - *76 - *334 responses: '204': @@ -48568,7 +48773,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: - - *75 + - *76 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -48622,7 +48827,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: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48652,8 +48857,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *75 - - *77 + - *76 + - *78 - 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`). @@ -48709,7 +48914,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *75 + - *76 - *17 - *19 - name: team_type @@ -48731,11 +48936,11 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: default: *259 headers: - Link: *67 + Link: *68 '403': *29 x-github: githubCloudOnly: false @@ -48755,7 +48960,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *75 + - *76 requestBody: required: true content: @@ -49224,8 +49429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *75 - - *77 + - *76 + - *78 responses: '200': description: Response @@ -49254,8 +49459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *75 - - *77 + - *76 + - *78 requestBody: required: false content: @@ -49351,8 +49556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *75 - - *77 + - *76 + - *78 responses: '204': description: Response @@ -49379,8 +49584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *75 - - *77 + - *76 + - *78 - *17 - *19 responses: @@ -49394,7 +49599,7 @@ paths: examples: default: *237 headers: - Link: *67 + Link: *68 '422': *340 x-github: githubCloudOnly: false @@ -49415,8 +49620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *75 - - *77 + - *76 + - *78 - name: role description: Filters members returned by their role in the team. in: query @@ -49439,9 +49644,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49469,9 +49674,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *75 - - *77 - - *71 + - *76 + - *78 + - *72 responses: '200': description: Response @@ -49540,9 +49745,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *75 - - *77 - - *71 + - *76 + - *78 + - *72 requestBody: required: false content: @@ -49604,9 +49809,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *75 - - *77 - - *71 + - *76 + - *78 + - *72 responses: '204': description: Response @@ -49632,8 +49837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *75 - - *77 + - *76 + - *78 - *17 - *19 responses: @@ -49643,11 +49848,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *266 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49674,8 +49879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *75 - - *77 + - *76 + - *78 - *342 - *343 responses: @@ -49706,8 +49911,8 @@ paths: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 nullable: true forks: type: integer @@ -50252,8 +50457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *75 - - *77 + - *76 + - *78 - *342 - *343 requestBody: @@ -50300,8 +50505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *75 - - *77 + - *76 + - *78 - *342 - *343 responses: @@ -50327,8 +50532,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *75 - - *77 + - *76 + - *78 - *17 - *19 responses: @@ -50338,7 +50543,7 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: response-if-child-teams-exist: &682 value: @@ -50368,7 +50573,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50393,7 +50598,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *75 + - *76 - name: security_product in: path description: The security feature to enable or disable. @@ -51682,7 +51887,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52040,7 +52245,7 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *61 + - *62 responses: '200': description: Response @@ -52100,7 +52305,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52562,7 +52767,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -52672,7 +52877,7 @@ paths: description: Empty response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -52751,7 +52956,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52835,7 +53040,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52868,9 +53073,9 @@ paths: enabled: &360 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *145 + allowed_actions: *144 selected_actions_url: *359 - sha_pinning_required: *146 + sha_pinning_required: *145 required: - enabled examples: @@ -52911,8 +53116,8 @@ paths: type: object properties: enabled: *360 - allowed_actions: *145 - sha_pinning_required: *146 + allowed_actions: *144 + sha_pinning_required: *145 required: - enabled examples: @@ -53095,7 +53300,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *146 examples: default: *365 '404': *6 @@ -53127,7 +53332,7 @@ paths: required: true content: application/json: - schema: *147 + schema: *146 examples: default: summary: Set approval policy to first time contributors @@ -53160,7 +53365,7 @@ paths: application/json: schema: *366 examples: - default: *148 + default: *147 '403': *29 '404': *6 x-github: @@ -53188,7 +53393,7 @@ paths: application/json: schema: *367 examples: - default: *148 + default: *147 responses: '204': description: Empty response for successful settings update @@ -53219,9 +53424,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *149 examples: - default: *151 + default: *150 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -53249,9 +53454,9 @@ paths: required: false content: application/json: - schema: *150 + schema: *149 examples: - selected_actions: *151 + selected_actions: *150 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -53282,7 +53487,7 @@ paths: application/json: schema: *368 examples: - default: *155 + default: *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53317,7 +53522,7 @@ paths: application/json: schema: *369 examples: - default: *155 + default: *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53363,11 +53568,11 @@ paths: type: integer runners: type: array - items: *162 + items: *161 examples: - default: *163 + default: *162 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53504,7 +53709,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *163 examples: default: *373 x-github: @@ -53541,7 +53746,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *163 examples: default: *374 x-github: @@ -53567,13 +53772,13 @@ paths: parameters: - *342 - *343 - - *161 + - *160 responses: '200': description: Response content: application/json: - schema: *162 + schema: *161 examples: default: *375 x-github: @@ -53598,7 +53803,7 @@ paths: parameters: - *342 - *343 - - *161 + - *160 responses: '204': description: Response @@ -53626,9 +53831,9 @@ paths: parameters: - *342 - *343 - - *161 + - *160 responses: - '200': *166 + '200': *165 '404': *6 x-github: githubCloudOnly: false @@ -53652,7 +53857,7 @@ paths: parameters: - *342 - *343 - - *161 + - *160 requestBody: required: true content: @@ -53676,7 +53881,7 @@ paths: - gpu - accelerated responses: - '200': *166 + '200': *165 '404': *6 '422': *7 x-github: @@ -53702,7 +53907,7 @@ paths: parameters: - *342 - *343 - - *161 + - *160 requestBody: required: true content: @@ -53727,7 +53932,7 @@ paths: - gpu - accelerated responses: - '200': *166 + '200': *165 '404': *6 '422': *7 x-github: @@ -53753,7 +53958,7 @@ paths: parameters: - *342 - *343 - - *161 + - *160 responses: '200': *376 '404': *6 @@ -53784,10 +53989,10 @@ paths: parameters: - *342 - *343 - - *161 + - *160 - *377 responses: - '200': *166 + '200': *165 '404': *6 '422': *7 x-github: @@ -54009,7 +54214,7 @@ paths: that triggered the run. type: array nullable: true - items: *90 + items: *91 created_at: type: string format: date-time @@ -54121,8 +54326,8 @@ paths: - author - committer nullable: true - repository: *160 - head_repository: *160 + repository: *159 + head_repository: *159 head_repository_id: type: integer example: 5 @@ -54374,7 +54579,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: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54808,7 +55013,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -54841,7 +55046,7 @@ paths: - *17 - *19 - *381 - - *61 + - *62 responses: '200': description: Response @@ -54861,7 +55066,7 @@ paths: examples: default: *382 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55036,7 +55241,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -55099,7 +55304,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -55203,7 +55408,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -55266,7 +55471,7 @@ paths: examples: default: *386 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55419,7 +55624,7 @@ paths: reviewer: anyOf: - *4 - - *197 + - *195 required: - environment - wait_timer @@ -55631,8 +55836,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 required: &753 - id - node_id @@ -55728,7 +55933,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -55774,7 +55979,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -55968,7 +56173,7 @@ paths: examples: default: *388 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56024,7 +56229,7 @@ paths: parameters: - *342 - *343 - - *168 + - *167 responses: '200': description: Response @@ -56060,7 +56265,7 @@ paths: parameters: - *342 - *343 - - *168 + - *167 requestBody: required: true content: @@ -56091,7 +56296,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -56119,7 +56324,7 @@ paths: parameters: - *342 - *343 - - *168 + - *167 responses: '204': description: Response @@ -56167,7 +56372,7 @@ paths: examples: default: *392 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56216,7 +56421,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -56243,7 +56448,7 @@ paths: parameters: - *342 - *343 - - *171 + - *170 responses: '200': description: Response @@ -56279,7 +56484,7 @@ paths: parameters: - *342 - *343 - - *171 + - *170 requestBody: required: true content: @@ -56323,7 +56528,7 @@ paths: parameters: - *342 - *343 - - *171 + - *170 responses: '204': description: Response @@ -56451,7 +56656,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: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56701,7 +56906,7 @@ paths: examples: default: *402 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56796,7 +57001,7 @@ paths: parameters: - *342 - *343 - - *61 + - *62 - *17 - *47 - *48 @@ -56940,7 +57145,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '422': *7 x-github: githubCloudOnly: false @@ -56972,9 +57177,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -57630,7 +57835,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *197 + items: *195 apps: description: The list of apps with review dismissal access. @@ -57659,7 +57864,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *197 + items: *195 apps: description: The list of apps allowed to bypass pull request requirements. @@ -57748,7 +57953,7 @@ paths: type: string teams: type: array - items: *197 + items: *195 apps: type: array items: @@ -57944,7 +58149,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -58090,12 +58295,12 @@ paths: nullable: true oneOf: - *4 - - *169 + - *168 committer: nullable: true oneOf: - *4 - - *169 + - *168 parents: type: array items: @@ -58874,7 +59079,7 @@ paths: items: *4 teams: type: array - items: *197 + items: *195 apps: type: array items: *5 @@ -58892,7 +59097,7 @@ paths: items: *4 teams: type: array - items: *197 + items: *195 apps: type: array items: *5 @@ -60279,7 +60484,7 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: default: *259 '404': *6 @@ -60339,7 +60544,7 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: default: *259 '422': *15 @@ -60400,7 +60605,7 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: default: *259 '422': *15 @@ -60460,7 +60665,7 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: default: *259 '422': *15 @@ -60496,7 +60701,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 '404': *6 x-github: githubCloudOnly: false @@ -60555,7 +60760,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 '422': *15 x-github: githubCloudOnly: false @@ -60615,7 +60820,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 '422': *15 x-github: githubCloudOnly: false @@ -60675,7 +60880,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 '422': *15 x-github: githubCloudOnly: false @@ -61233,15 +61438,15 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *90 + items: *91 deployment: &745 title: Deployment description: A deployment created as the result of an Actions @@ -61309,8 +61514,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 required: - id - node_id @@ -61979,7 +62184,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: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62007,7 +62212,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -62132,7 +62337,7 @@ paths: nullable: true pull_requests: type: array - items: *90 + items: *91 nullable: true app: title: GitHub app @@ -62143,9 +62348,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 - repository: *160 + properties: *81 + required: *82 + repository: *159 created_at: type: string format: date-time @@ -62561,7 +62766,7 @@ paths: required: - app_id - setting - repository: *160 + repository: *159 examples: default: value: @@ -62981,7 +63186,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63009,7 +63214,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -63057,7 +63262,7 @@ paths: required: false schema: type: integer - - *61 + - *62 - *47 - *48 - name: sort @@ -63100,14 +63305,14 @@ paths: items: type: object properties: - number: *178 - created_at: *179 - updated_at: *180 - url: *181 - html_url: *182 + number: *177 + created_at: *178 + updated_at: *179 + url: *180 + html_url: *181 instances_url: *433 - state: *187 - fixed_at: *183 + state: *186 + fixed_at: *182 dismissed_by: title: Simple User description: A GitHub user. @@ -63115,7 +63320,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *184 + dismissed_at: *183 dismissed_reason: *434 dismissed_comment: *435 rule: *436 @@ -63253,7 +63458,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63283,7 +63488,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *178 + schema: *177 responses: '200': description: Response @@ -63292,14 +63497,14 @@ paths: schema: &441 type: object properties: - number: *178 - created_at: *179 - updated_at: *180 - url: *181 - html_url: *182 + number: *177 + created_at: *178 + updated_at: *179 + url: *180 + html_url: *181 instances_url: *433 - state: *187 - fixed_at: *183 + state: *186 + fixed_at: *182 dismissed_by: title: Simple User description: A GitHub user. @@ -63307,7 +63512,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *184 + dismissed_at: *183 dismissed_reason: *434 dismissed_comment: *435 rule: @@ -63465,7 +63670,7 @@ paths: '304': *37 '403': *439 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63612,7 +63817,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63685,7 +63890,7 @@ paths: status: '400' '403': *439 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63740,7 +63945,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63814,7 +64019,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63916,7 +64121,7 @@ paths: - source '403': *439 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63970,7 +64175,7 @@ paths: type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *61 + - *62 - name: sort description: The property by which to sort the results. in: query @@ -64091,7 +64296,7 @@ paths: warning: '' '403': *439 '404': *6 - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64200,7 +64405,7 @@ paths: content: application/json: schema: *3 - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64336,7 +64541,7 @@ paths: '400': *14 '403': *445 '404': *6 - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64478,7 +64683,7 @@ paths: commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c '403': *439 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64554,7 +64759,7 @@ paths: description: Found '403': *439 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64587,7 +64792,7 @@ paths: description: Response '403': *445 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64711,7 +64916,7 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *66 + controller_repo: *67 actor: *4 query_language: *456 query_pack_url: @@ -65037,7 +65242,7 @@ paths: content: application/json: schema: *3 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65075,7 +65280,7 @@ paths: examples: default: *459 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65130,7 +65335,7 @@ paths: schema: type: object properties: - repository: *66 + repository: *67 analysis_status: *461 artifact_size_in_bytes: type: integer @@ -65235,7 +65440,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65344,7 +65549,7 @@ paths: schedule: weekly '403': *439 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65431,7 +65636,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -65470,7 +65675,7 @@ paths: content: application/json: schema: *3 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65612,7 +65817,7 @@ paths: '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65681,7 +65886,7 @@ paths: '403': *439 '404': description: Not Found if the sarif id does not match any upload - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65760,7 +65965,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': *191 + '204': *61 '304': *37 '403': *29 '404': *6 @@ -66300,7 +66505,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -66603,7 +66808,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66665,7 +66870,7 @@ paths: examples: default: *466 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66717,7 +66922,7 @@ paths: parameters: - *342 - *343 - - *168 + - *167 responses: '200': description: Response @@ -66747,7 +66952,7 @@ paths: parameters: - *342 - *343 - - *168 + - *167 requestBody: required: true content: @@ -66775,7 +66980,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -66801,7 +67006,7 @@ paths: parameters: - *342 - *343 - - *168 + - *167 responses: '204': description: Response @@ -67014,7 +67219,7 @@ paths: admin: false role_name: write headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -67041,7 +67246,7 @@ paths: parameters: - *342 - *343 - - *71 + - *72 responses: '204': description: Response if user is a collaborator @@ -67089,7 +67294,7 @@ paths: parameters: - *342 - *343 - - *71 + - *72 requestBody: required: false content: @@ -67126,7 +67331,7 @@ paths: example: 42 type: integer format: int64 - repository: *160 + repository: *159 invitee: title: Simple User description: A GitHub user. @@ -67304,7 +67509,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *129 + schema: *128 '403': *29 x-github: triggersNotification: true @@ -67346,7 +67551,7 @@ paths: parameters: - *342 - *343 - - *71 + - *72 responses: '204': description: No Content when collaborator was removed from the repository. @@ -67379,7 +67584,7 @@ paths: parameters: - *342 - *343 - - *71 + - *72 responses: '200': description: if user has admin permissions @@ -67507,8 +67712,8 @@ paths: updated_at: type: string format: date-time - author_association: *82 - reactions: *83 + author_association: *83 + reactions: *84 required: - url - html_url @@ -67558,7 +67763,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67585,7 +67790,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 responses: '200': description: Response @@ -67652,7 +67857,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 requestBody: required: true content: @@ -67727,7 +67932,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 responses: '204': description: Response @@ -67750,7 +67955,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 - 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. @@ -67845,7 +68050,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -67866,7 +68071,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 requestBody: required: true content: @@ -67955,7 +68160,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 - &549 name: reaction_id description: The unique identifier of the reaction. @@ -68140,7 +68345,7 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *67 + Link: *68 '500': *55 '400': *14 '404': *6 @@ -68254,7 +68459,7 @@ paths: examples: default: *478 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68840,7 +69045,7 @@ paths: auto_merge: draft: false headers: - Link: *67 + Link: *68 '409': *54 x-github: githubCloudOnly: false @@ -69047,7 +69252,7 @@ paths: '422': *15 '404': *6 '500': *55 - '503': *121 + '503': *120 '409': *54 x-github: githubCloudOnly: false @@ -69115,7 +69320,7 @@ paths: examples: default: *484 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69341,7 +69546,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: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69435,7 +69640,7 @@ paths: type: string total_count: type: integer - repository: *160 + repository: *159 commit_url: type: string format: uri @@ -69658,7 +69863,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '301': *346 x-github: githubCloudOnly: false @@ -69738,8 +69943,8 @@ paths: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 nullable: true contributing: title: Community Health File @@ -70212,7 +70417,7 @@ paths: default: *491 '404': *6 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71290,7 +71495,7 @@ paths: '422': *15 '404': *6 '409': *54 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71411,7 +71616,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *67 + Link: *68 '204': description: Response if repository is empty '403': *29 @@ -71436,23 +71641,23 @@ paths: parameters: - *342 - *343 + - *197 + - *198 - *199 - *200 - *201 - - *202 - - *203 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *204 + - *202 - *495 + - *203 + - *204 - *205 - - *206 - - *207 - - *61 + - *62 - *47 - *48 - *17 @@ -71467,7 +71672,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *178 + number: *177 state: type: string description: The state of the Dependabot alert. @@ -71482,7 +71687,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *62 + package: *63 manifest_path: type: string description: The full path to the dependency manifest file, @@ -71511,12 +71716,12 @@ paths: - transitive - inconclusive security_advisory: *496 - security_vulnerability: *65 - url: *181 - html_url: *182 - created_at: *179 - updated_at: *180 - dismissed_at: *184 + security_vulnerability: *66 + url: *180 + html_url: *181 + created_at: *178 + updated_at: *179 + dismissed_at: *183 dismissed_by: title: Simple User description: A GitHub user. @@ -71540,7 +71745,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *183 + fixed_at: *182 auto_dismissed_at: *497 dismissal_request: *498 assignees: @@ -71808,7 +72013,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *178 + schema: *177 responses: '200': description: Response @@ -72184,7 +72389,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72237,7 +72442,7 @@ paths: parameters: - *342 - *343 - - *168 + - *167 responses: '200': description: Response @@ -72271,7 +72476,7 @@ paths: parameters: - *342 - *343 - - *168 + - *167 requestBody: required: true content: @@ -72299,7 +72504,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -72325,7 +72530,7 @@ paths: parameters: - *342 - *343 - - *168 + - *167 responses: '204': description: Response @@ -72484,7 +72689,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *67 + Link: *68 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -72725,7 +72930,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *67 + Link: *68 '404': *6 '403': *29 x-github: @@ -73115,7 +73320,7 @@ paths: examples: default: *507 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73540,8 +73745,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 required: - id - node_id @@ -73590,7 +73795,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -73954,7 +74159,7 @@ paths: reviewer: anyOf: - *4 - - *197 + - *195 required: - id - node_id @@ -74926,7 +75131,7 @@ paths: examples: default: *388 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74984,7 +75189,7 @@ paths: - *342 - *343 - *513 - - *168 + - *167 responses: '200': description: Response @@ -75017,7 +75222,7 @@ paths: - *342 - *343 - *513 - - *168 + - *167 requestBody: required: true content: @@ -75048,7 +75253,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -75077,7 +75282,7 @@ paths: - *342 - *343 - *513 - - *168 + - *167 responses: '204': description: Default response @@ -75126,7 +75331,7 @@ paths: examples: default: *392 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75176,7 +75381,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -75204,7 +75409,7 @@ paths: - *342 - *343 - *513 - - *171 + - *170 responses: '200': description: Response @@ -75235,7 +75440,7 @@ paths: parameters: - *342 - *343 - - *171 + - *170 - *513 requestBody: required: true @@ -75280,7 +75485,7 @@ paths: parameters: - *342 - *343 - - *171 + - *170 - *513 responses: '204': @@ -75314,7 +75519,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: 200-response: value: @@ -75395,7 +75600,7 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: value: @@ -75508,7 +75713,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *67 + Link: *68 '400': *14 x-github: githubCloudOnly: false @@ -75648,7 +75853,7 @@ paths: application/json: schema: oneOf: - - *129 + - *128 - *526 x-github: githubCloudOnly: false @@ -76234,7 +76439,7 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *67 + Link: *68 '409': *54 x-github: githubCloudOnly: false @@ -77074,7 +77279,7 @@ paths: status: unused message: headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -77588,7 +77793,7 @@ paths: - *342 - *343 responses: - '204': *191 + '204': *61 '409': *54 x-github: githubCloudOnly: false @@ -77609,7 +77814,7 @@ paths: - *342 - *343 responses: - '204': *191 + '204': *61 '409': *54 x-github: githubCloudOnly: false @@ -78619,7 +78824,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78892,8 +79097,8 @@ paths: - updated - comments default: created - - *61 - - *92 + - *62 + - *93 - *17 - *19 responses: @@ -78903,7 +79108,7 @@ paths: application/json: schema: type: array - items: *85 + items: *86 examples: default: &556 value: @@ -79053,7 +79258,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *67 + Link: *68 '301': *346 '422': *15 '404': *6 @@ -79166,7 +79371,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: &553 value: @@ -79323,7 +79528,7 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *121 + '503': *120 '404': *6 '410': *545 x-github: @@ -79355,7 +79560,7 @@ paths: parameters: - *342 - *343 - - *109 + - *110 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -79365,7 +79570,7 @@ paths: enum: - asc - desc - - *92 + - *93 - *17 - *19 responses: @@ -79408,7 +79613,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *67 + Link: *68 '422': *15 '404': *6 x-github: @@ -79437,7 +79642,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 responses: '200': description: Response @@ -79502,7 +79707,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 requestBody: required: true content: @@ -79546,7 +79751,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 responses: '204': description: Response @@ -79576,7 +79781,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 responses: '200': description: Response @@ -79657,7 +79862,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 responses: '204': description: Response @@ -79665,7 +79870,7 @@ paths: '403': *29 '404': *6 '410': *545 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79684,7 +79889,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 - 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. @@ -79714,7 +79919,7 @@ paths: examples: default: *548 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -79735,7 +79940,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 requestBody: required: true content: @@ -79800,7 +80005,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 - *549 responses: '204': @@ -79920,7 +80125,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *197 + requested_team: *195 dismissed_review: title: Issue Event Dismissed Review type: object @@ -79985,7 +80190,7 @@ paths: required: - from - to - author_association: *82 + author_association: *83 lock_reason: type: string nullable: true @@ -79998,8 +80203,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 required: - id - node_id @@ -80166,7 +80371,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *67 + Link: *68 '422': *15 x-github: githubCloudOnly: false @@ -80437,7 +80642,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: summary: Issue @@ -80793,11 +80998,11 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *553 '422': *15 - '503': *121 + '503': *120 '403': *29 '301': *346 '404': *6 @@ -80847,7 +81052,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *553 x-github: @@ -80892,7 +81097,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *553 x-github: @@ -80961,7 +81166,7 @@ paths: - *342 - *343 - *554 - - *92 + - *93 - *17 - *19 responses: @@ -80975,7 +81180,7 @@ paths: examples: default: *555 headers: - Link: *67 + Link: *68 '404': *6 '410': *545 x-github: @@ -81079,11 +81284,11 @@ paths: application/json: schema: type: array - items: *85 + items: *86 examples: default: *556 headers: - Link: *67 + Link: *68 '301': *346 '404': *6 '410': *545 @@ -81138,7 +81343,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *553 headers: @@ -81193,7 +81398,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *553 '301': *346 @@ -81239,11 +81444,11 @@ paths: application/json: schema: type: array - items: *85 + items: *86 examples: default: *556 headers: - Link: *67 + Link: *68 '301': *346 '404': *6 '410': *545 @@ -81310,8 +81515,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 label: type: object properties: @@ -81364,8 +81569,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 label: type: object properties: @@ -81453,8 +81658,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 assignee: *4 assigner: *4 required: @@ -81500,8 +81705,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 milestone: type: object properties: @@ -81551,8 +81756,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 milestone: type: object properties: @@ -81602,8 +81807,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 rename: type: object properties: @@ -81656,10 +81861,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 review_requester: *4 - requested_team: *197 + requested_team: *195 requested_reviewer: *4 required: - review_requester @@ -81703,10 +81908,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 review_requester: *4 - requested_team: *197 + requested_team: *195 requested_reviewer: *4 required: - review_requester @@ -81750,8 +81955,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 dismissed_review: type: object properties: @@ -81810,8 +82015,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 lock_reason: type: string example: '"off-topic"' @@ -81858,8 +82063,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 project_card: type: object properties: @@ -81924,8 +82129,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 project_card: type: object properties: @@ -81990,8 +82195,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 project_card: type: object properties: @@ -82115,7 +82320,7 @@ paths: name: label color: red headers: - Link: *67 + Link: *68 '410': *545 x-github: githubCloudOnly: false @@ -82170,7 +82375,7 @@ paths: data_type: date value: '2025-12-25' headers: - Link: *67 + Link: *68 '301': *346 '404': *6 '410': *545 @@ -82202,7 +82407,7 @@ paths: application/json: schema: type: array - items: *84 + items: *85 examples: default: &558 value: @@ -82221,7 +82426,7 @@ paths: color: a2eeef default: false headers: - Link: *67 + Link: *68 '301': *346 '404': *6 '410': *545 @@ -82285,7 +82490,7 @@ paths: application/json: schema: type: array - items: *84 + items: *85 examples: default: *558 '301': *346 @@ -82369,7 +82574,7 @@ paths: application/json: schema: type: array - items: *84 + items: *85 examples: default: *558 '301': *346 @@ -82433,7 +82638,7 @@ paths: application/json: schema: type: array - items: *84 + items: *85 examples: default: value: @@ -82554,7 +82759,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *553 '301': *346 @@ -82608,7 +82813,7 @@ paths: examples: default: *548 headers: - Link: *67 + Link: *68 '404': *6 '410': *545 x-github: @@ -82749,7 +82954,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *553 headers: @@ -82796,11 +83001,11 @@ paths: application/json: schema: type: array - items: *85 + items: *86 examples: default: *556 headers: - Link: *67 + Link: *68 '404': *6 '410': *545 x-github: @@ -82859,7 +83064,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *553 headers: @@ -82921,13 +83126,13 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *553 '403': *29 '404': *6 '422': *7 - '503': *121 + '503': *120 x-github: triggersNotification: true githubCloudOnly: false @@ -83017,7 +83222,7 @@ paths: issue_url: type: string format: uri - author_association: *82 + author_association: *83 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -83027,9 +83232,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 - reactions: *83 + properties: *81 + required: *82 + reactions: *84 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and @@ -83068,7 +83273,7 @@ paths: properties: type: type: string - issue: *85 + issue: *86 required: - event - created_at @@ -83268,7 +83473,7 @@ paths: type: string body_text: type: string - author_association: *82 + author_association: *83 required: - event - id @@ -83386,7 +83591,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *82 + author_association: *83 _links: type: object properties: @@ -83470,7 +83675,7 @@ paths: enum: - line - file - reactions: *83 + reactions: *84 body_html: type: string example: '"

comment body

"' @@ -83537,8 +83742,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 assignee: *4 required: - id @@ -83581,8 +83786,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 assignee: *4 required: - id @@ -83625,8 +83830,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 state_reason: type: string nullable: true @@ -83793,7 +83998,7 @@ paths: type: User site_admin: true headers: - Link: *67 + Link: *68 '404': *6 '410': *545 x-github: @@ -83873,7 +84078,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84029,11 +84234,11 @@ paths: application/json: schema: type: array - items: *84 + items: *85 examples: default: *558 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -84089,7 +84294,7 @@ paths: description: Response content: application/json: - schema: *84 + schema: *85 examples: default: &577 value: @@ -84135,7 +84340,7 @@ paths: description: Response content: application/json: - schema: *84 + schema: *85 examples: default: *577 '404': *6 @@ -84194,7 +84399,7 @@ paths: description: Response content: application/json: - schema: *84 + schema: *85 examples: default: value: @@ -84351,8 +84556,8 @@ paths: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 nullable: true required: - _links @@ -84648,7 +84853,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -84893,11 +85098,11 @@ paths: application/json: schema: type: array - items: *84 + items: *85 examples: default: *558 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84918,7 +85123,7 @@ paths: - *343 - *582 - *583 - - *92 + - *93 - *584 - *17 - *19 @@ -84929,11 +85134,11 @@ paths: application/json: schema: type: array - items: *112 + items: *113 examples: default: *585 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -85480,7 +85685,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85806,7 +86011,7 @@ paths: - *343 - *590 responses: - '204': *191 + '204': *61 '404': *6 x-github: githubCloudOnly: false @@ -86063,7 +86268,7 @@ paths: description: Empty response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -86131,7 +86336,7 @@ paths: - *342 - *343 responses: - '204': *191 + '204': *61 '422': *14 x-github: githubCloudOnly: false @@ -86153,7 +86358,7 @@ paths: - *342 - *343 responses: - '204': *191 + '204': *61 '422': *14 x-github: githubCloudOnly: false @@ -86341,7 +86546,7 @@ paths: examples: default: *591 headers: - Link: *67 + Link: *68 '304': *37 '422': *15 x-github: @@ -86600,7 +86805,7 @@ paths: type: string ref: type: string - repo: *79 + repo: *80 sha: type: string user: *4 @@ -86617,7 +86822,7 @@ paths: type: string ref: type: string - repo: *79 + repo: *80 sha: type: string user: *4 @@ -86647,7 +86852,7 @@ paths: - review_comments - review_comment - self - author_association: *82 + author_association: *83 auto_merge: *592 draft: description: Indicates whether or not the pull request is a draft. @@ -87287,7 +87492,7 @@ paths: enum: - asc - desc - - *92 + - *93 - *17 - *19 responses: @@ -87351,7 +87556,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87378,7 +87583,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 responses: '200': description: Response @@ -87463,7 +87668,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 requestBody: required: true content: @@ -87505,7 +87710,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 responses: '204': description: Response @@ -87528,7 +87733,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 - 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. @@ -87558,7 +87763,7 @@ paths: examples: default: *548 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -87579,7 +87784,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 requestBody: required: true content: @@ -87644,7 +87849,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 - *549 responses: '204': @@ -87714,7 +87919,7 @@ paths: application/json: schema: *3 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87884,7 +88089,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -87913,7 +88118,7 @@ paths: - *342 - *343 - *597 - - *109 + - *110 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -87923,7 +88128,7 @@ paths: enum: - asc - desc - - *92 + - *93 - *17 - *19 responses: @@ -87937,7 +88142,7 @@ paths: examples: default: *598 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88166,7 +88371,7 @@ paths: - *342 - *343 - *597 - - *101 + - *102 requestBody: required: true content: @@ -88290,7 +88495,7 @@ paths: examples: default: *599 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88346,10 +88551,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *67 + Link: *68 '422': *15 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88524,7 +88729,7 @@ paths: items: *4 teams: type: array - items: *197 + items: *195 required: - users - teams @@ -88565,7 +88770,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89780,7 +89985,7 @@ paths: type: string body_text: type: string - author_association: *82 + author_association: *83 required: - id - node_id @@ -89829,7 +90034,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90299,7 +90504,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *82 + author_association: *83 _links: type: object properties: @@ -90314,7 +90519,7 @@ paths: type: string body_html: type: string - reactions: *83 + reactions: *84 side: description: The side of the first line of the range for a multi-line comment. @@ -90426,7 +90631,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -90864,7 +91069,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -91558,7 +91763,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91715,7 +91920,7 @@ paths: examples: default: *548 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -92486,7 +92691,7 @@ paths: - *633 - *634 - *635 - - *61 + - *62 - *19 - *17 - *636 @@ -92505,8 +92710,8 @@ paths: items: &645 type: object properties: - number: *178 - created_at: *179 + number: *177 + created_at: *178 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -92514,8 +92719,8 @@ paths: format: date-time readOnly: true nullable: true - url: *181 - html_url: *182 + url: *180 + html_url: *181 locations_url: type: string format: uri @@ -92770,7 +92975,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92832,7 +93037,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92975,7 +93180,7 @@ paths: '422': description: State does not match the resolution or resolution comment, or assignee does not have write access to the repository - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -93108,11 +93313,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *67 + Link: *68 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93190,7 +93395,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -93219,7 +93424,7 @@ paths: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *121 + '503': *120 '200': description: Response content: @@ -93343,7 +93548,7 @@ paths: parameters: - *342 - *343 - - *61 + - *62 - name: sort description: The property to sort the results by. in: query @@ -94264,7 +94469,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *129 + schema: *128 examples: invalid_state_transition: value: @@ -94438,7 +94643,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '422': *15 x-github: githubCloudOnly: false @@ -94483,7 +94688,7 @@ paths: - 1124 - -435 '202': *39 - '204': *191 + '204': *61 '422': description: Repository contains more than 10,000 commits x-github: @@ -94553,7 +94758,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *191 + '204': *61 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94655,7 +94860,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *191 + '204': *61 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94856,7 +95061,7 @@ paths: - - 0 - 2 - 21 - '204': *191 + '204': *61 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94998,9 +95203,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95225,7 +95430,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95296,11 +95501,11 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: default: *259 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -95822,7 +96027,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *159 examples: default: value: @@ -96270,7 +96475,7 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: value: @@ -96376,7 +96581,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *149 + - *148 - *554 requestBody: required: true @@ -96448,7 +96653,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *121 + '503': *120 x-github: triggersNotification: true githubCloudOnly: false @@ -96479,7 +96684,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *149 + - *148 - *554 requestBody: required: true @@ -96552,7 +96757,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *121 + '503': *120 x-github: triggersNotification: true githubCloudOnly: false @@ -96578,7 +96783,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: - - *149 + - *148 - *554 - *241 responses: @@ -96587,7 +96792,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *121 + '503': *120 x-github: triggersNotification: true githubCloudOnly: false @@ -96704,7 +96909,7 @@ paths: html_url: type: string format: uri - repository: *160 + repository: *159 score: type: number file_size: @@ -96836,7 +97041,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *121 + '503': *120 '422': *15 '403': *29 x-github: @@ -97007,7 +97212,7 @@ paths: type: string sha: type: string - repository: *160 + repository: *159 score: type: number node_id: @@ -97387,10 +97592,10 @@ paths: type: string score: type: number - author_association: *82 + author_association: *83 draft: type: boolean - repository: *79 + repository: *80 body_html: type: string body_text: @@ -97408,17 +97613,17 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 pinned_comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true - reactions: *83 + reactions: *84 required: - assignee - closed_at @@ -97572,7 +97777,7 @@ paths: - quoted_text items: - "..." - '503': *121 + '503': *120 '422': *15 '304': *37 '403': *29 @@ -97983,8 +98188,8 @@ paths: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 nullable: true permissions: type: object @@ -98205,7 +98410,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *121 + '503': *120 '422': *15 '304': *37 x-github: @@ -98657,7 +98862,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *121 + '503': *120 '422': *15 x-github: githubCloudOnly: false @@ -98861,7 +99066,7 @@ paths: examples: default: *237 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98908,9 +99113,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -98937,7 +99142,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - *678 - - *71 + - *72 responses: '204': description: if user is a member @@ -98974,7 +99179,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - *678 - - *71 + - *72 responses: '204': description: Response @@ -99014,7 +99219,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - *678 - - *71 + - *72 responses: '204': description: Response @@ -99051,7 +99256,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *678 - - *71 + - *72 responses: '200': description: Response @@ -99093,7 +99298,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *678 - - *71 + - *72 requestBody: required: false content: @@ -99155,7 +99360,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *678 - - *71 + - *72 responses: '204': description: Response @@ -99192,11 +99397,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *266 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -99472,11 +99677,11 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: response-if-child-teams-exist: *682 headers: - Link: *67 + Link: *68 '404': *6 '403': *29 '422': *15 @@ -99942,7 +100147,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 '304': *37 '404': *6 '403': *29 @@ -99965,7 +100170,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: - - *71 + - *72 responses: '204': description: If the user is blocked @@ -99993,7 +100198,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *71 + - *72 responses: '204': description: Response @@ -100017,7 +100222,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *71 + - *72 responses: '204': description: Response @@ -100221,7 +100426,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100303,7 +100508,7 @@ paths: examples: default: *466 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100371,7 +100576,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *168 + - *167 responses: '200': description: Response @@ -100407,7 +100612,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *168 + - *167 requestBody: required: true content: @@ -100452,7 +100657,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -100480,7 +100685,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *168 + - *167 responses: '204': description: Response @@ -100505,7 +100710,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *168 + - *167 responses: '200': description: Response @@ -100521,9 +100726,9 @@ paths: type: integer repositories: type: array - items: *160 + items: *159 examples: - default: *198 + default: *196 '401': *25 '403': *29 '404': *6 @@ -100548,7 +100753,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *168 + - *167 requestBody: required: true content: @@ -100602,7 +100807,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *168 + - *167 - name: repository_id in: path required: true @@ -100635,7 +100840,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *168 + - *167 - name: repository_id in: path required: true @@ -102031,7 +102236,7 @@ paths: primary: true visibility: public headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -102209,9 +102414,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -102242,9 +102447,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -102264,7 +102469,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: - - *71 + - *72 responses: '204': description: if the person is followed by the authenticated user @@ -102294,7 +102499,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *71 + - *72 responses: '204': description: Response @@ -102319,7 +102524,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *71 + - *72 responses: '204': description: Response @@ -102518,7 +102723,7 @@ paths: revoked: false raw_key: string headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -102810,7 +103015,7 @@ paths: suspended_at: suspended_by: headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -102858,11 +103063,11 @@ paths: type: array items: allOf: - - *79 + - *80 examples: - default: *152 + default: *151 headers: - Link: *67 + Link: *68 '404': *6 '403': *29 '304': *37 @@ -102886,7 +103091,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *149 + - *148 responses: '204': description: Response @@ -102912,7 +103117,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *149 + - *148 responses: '204': description: Response @@ -103079,8 +103284,8 @@ paths: - updated - comments default: created - - *61 - - *92 + - *62 + - *93 - *17 - *19 responses: @@ -103090,11 +103295,11 @@ paths: application/json: schema: type: array - items: *85 + items: *86 examples: default: *246 headers: - Link: *67 + Link: *68 '404': *6 '304': *37 x-github: @@ -103176,7 +103381,7 @@ paths: verified: false read_only: false headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -103382,7 +103587,7 @@ paths: - id - type - login - plan: *103 + plan: *104 required: - billing_cycle - next_billing_date @@ -103426,7 +103631,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *67 + Link: *68 '304': *37 '401': *25 '404': *6 @@ -103459,7 +103664,7 @@ paths: examples: default: *697 headers: - Link: *67 + Link: *68 '304': *37 '401': *25 x-github: @@ -103580,7 +103785,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -103605,7 +103810,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *75 + - *76 responses: '200': description: Response @@ -103673,7 +103878,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *75 + - *76 requestBody: required: true content: @@ -103923,7 +104128,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -104500,11 +104705,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *266 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -104537,11 +104742,11 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: - default: *116 + default: *117 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -104989,7 +105194,7 @@ paths: examples: default: *702 headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -105098,7 +105303,7 @@ paths: application/json: schema: type: array - items: *79 + items: *80 examples: default: &709 summary: Default response @@ -105221,7 +105426,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *67 + Link: *68 '422': *15 '304': *37 '403': *29 @@ -105448,7 +105653,7 @@ paths: examples: default: *703 headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -105545,7 +105750,7 @@ paths: - provider: twitter url: https://twitter.com/github headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -105722,7 +105927,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -105886,7 +106091,7 @@ paths: - created - updated default: created - - *61 + - *62 - *17 - *19 responses: @@ -105896,7 +106101,7 @@ paths: application/json: schema: type: array - items: *79 + items: *80 examples: default-response: *709 application/vnd.github.v3.star+json: @@ -105910,7 +106115,7 @@ paths: starred_at: type: string format: date-time - repo: *79 + repo: *80 required: - starred_at - repo @@ -106038,7 +106243,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -106146,11 +106351,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *266 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -106236,7 +106441,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -106263,7 +106468,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *105 + - *106 responses: '200': description: Response @@ -106443,7 +106648,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: Link: example: ; rel="next" @@ -106583,7 +106788,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *71 + - *72 responses: '200': description: Response @@ -106621,7 +106826,7 @@ paths: - *17 - *47 - *48 - - *71 + - *72 requestBody: required: true content: @@ -106717,7 +106922,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *71 + - *72 requestBody: required: true content: @@ -106782,7 +106987,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *71 + - *72 - name: subject_digest description: Subject Digest in: path @@ -106813,7 +107018,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *71 + - *72 - name: attestation_id description: Attestation ID in: path @@ -106851,7 +107056,7 @@ paths: - *17 - *47 - *48 - - *71 + - *72 - name: subject_digest description: Subject Digest in: path @@ -106909,7 +107114,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -106935,7 +107140,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: - - *71 + - *72 responses: '200': description: Response @@ -106968,7 +107173,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -106978,7 +107183,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: default: value: @@ -107040,8 +107245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *71 - - *75 + - *72 + - *76 - *17 - *19 responses: @@ -107051,7 +107256,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: default: value: @@ -107128,7 +107333,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -107138,7 +107343,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: default: value: @@ -107196,7 +107401,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -107208,9 +107413,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107227,7 +107432,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *71 + - *72 - *17 - *19 responses: @@ -107239,9 +107444,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107258,7 +107463,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *71 + - *72 - name: target_user in: path required: true @@ -107285,8 +107490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *71 - - *92 + - *72 + - *93 - *17 - *19 responses: @@ -107296,11 +107501,11 @@ paths: application/json: schema: type: array - items: *93 + items: *94 examples: - default: *94 + default: *95 headers: - Link: *67 + Link: *68 '422': *15 x-github: githubCloudOnly: false @@ -107319,7 +107524,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -107333,7 +107538,7 @@ paths: examples: default: *718 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107355,7 +107560,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *71 + - *72 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -107427,7 +107632,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *71 + - *72 responses: '200': description: Response @@ -107453,7 +107658,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -107488,7 +107693,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107508,7 +107713,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -107518,11 +107723,11 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: - default: *116 + default: *117 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107560,7 +107765,7 @@ paths: - nuget - container - *699 - - *71 + - *72 - *19 - *17 responses: @@ -107597,7 +107802,7 @@ paths: parameters: - *262 - *263 - - *71 + - *72 responses: '200': description: Response @@ -107628,7 +107833,7 @@ paths: parameters: - *262 - *263 - - *71 + - *72 responses: '204': description: Response @@ -107662,7 +107867,7 @@ paths: parameters: - *262 - *263 - - *71 + - *72 - name: token description: package token schema: @@ -107696,7 +107901,7 @@ paths: parameters: - *262 - *263 - - *71 + - *72 responses: '200': description: Response @@ -107765,7 +107970,7 @@ paths: - *262 - *263 - *265 - - *71 + - *72 responses: '200': description: Response @@ -107808,7 +108013,7 @@ paths: parameters: - *262 - *263 - - *71 + - *72 - *265 responses: '204': @@ -107843,7 +108048,7 @@ paths: parameters: - *262 - *263 - - *71 + - *72 - *265 responses: '204': @@ -107868,7 +108073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *71 + - *72 - name: q description: Limit results to projects of the specified type. in: query @@ -107889,7 +108094,7 @@ paths: examples: default: *277 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -107910,7 +108115,7 @@ paths: url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - *278 - - *71 + - *72 responses: '200': description: Response @@ -107920,7 +108125,7 @@ paths: examples: default: *277 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -107941,7 +108146,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - *278 - - *71 + - *72 - *17 - *47 - *48 @@ -107956,7 +108161,7 @@ paths: examples: default: *720 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -107975,7 +108180,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - - *71 + - *72 - *278 requestBody: required: true @@ -108088,7 +108293,7 @@ paths: parameters: - *278 - *730 - - *71 + - *72 responses: '200': description: Response @@ -108098,7 +108303,7 @@ paths: examples: default: *731 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -108120,7 +108325,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - *278 - - *71 + - *72 - *47 - *48 - *17 @@ -108156,7 +108361,7 @@ paths: examples: default: *287 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -108175,7 +108380,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *71 + - *72 - *278 requestBody: required: true @@ -108282,7 +108487,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *278 - - *71 + - *72 - *288 - name: fields description: |- @@ -108307,7 +108512,7 @@ paths: examples: default: *287 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -108327,7 +108532,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - *278 - - *71 + - *72 - *288 requestBody: required: true @@ -108425,7 +108630,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - *278 - - *71 + - *72 - *288 responses: '204': @@ -108449,7 +108654,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - *278 - - *71 + - *72 - *732 - name: fields description: |- @@ -108480,7 +108685,7 @@ paths: examples: default: *287 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -108506,7 +108711,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -108516,7 +108721,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: default: value: @@ -108581,7 +108786,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -108591,7 +108796,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: default: value: @@ -108654,7 +108859,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *71 + - *72 - name: type description: Limit results to repositories of the specified type. in: query @@ -108697,11 +108902,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *266 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108721,12 +108926,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - - *71 - - *123 - - *125 + - *72 + - *122 - *124 + - *123 - *733 - - *126 + - *125 responses: '200': description: Response when getting a billing premium request usage report @@ -108834,7 +109039,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108854,10 +109059,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - - *71 - - *123 + - *72 + - *122 - *734 - - *124 + - *123 responses: '200': description: Response when getting a billing usage report @@ -108928,7 +109133,7 @@ paths: '400': *14 '403': *29 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108951,12 +109156,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - - *71 - - *123 - - *125 + - *72 + - *122 - *124 + - *123 - *735 - - *126 + - *125 - *736 responses: '200': @@ -109063,7 +109268,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109081,7 +109286,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -109095,7 +109300,7 @@ paths: examples: default: *705 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109113,7 +109318,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -109127,7 +109332,7 @@ paths: examples: default: *737 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109149,9 +109354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *71 + - *72 - *738 - - *61 + - *62 - *17 - *19 responses: @@ -109164,11 +109369,11 @@ paths: - type: array items: *739 - type: array - items: *79 + items: *80 examples: default-response: *709 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109185,7 +109390,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -109195,11 +109400,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *266 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109488,8 +109693,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 nullable: true organization: title: Simple User @@ -110948,8 +111153,8 @@ x-webhooks: type: string pull_requests: type: array - items: *90 - repository: *160 + items: *91 + repository: *159 status: example: completed type: string @@ -111036,7 +111241,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *90 + items: *91 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -127869,8 +128074,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 reactions: title: Reactions type: object @@ -134305,12 +134510,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *85 + blocked_issue: *86 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *85 - blocking_issue_repo: *79 + blocking_issue: *86 + blocking_issue_repo: *80 installation: *741 organization: *742 repository: *743 @@ -134396,12 +134601,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *85 + blocked_issue: *86 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *85 - blocking_issue_repo: *79 + blocking_issue: *86 + blocking_issue_repo: *80 installation: *741 organization: *742 repository: *743 @@ -134486,12 +134691,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *85 - blocked_issue_repo: *79 + blocked_issue: *86 + blocked_issue_repo: *80 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *85 + blocking_issue: *86 installation: *741 organization: *742 repository: *743 @@ -134577,12 +134782,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *85 - blocked_issue_repo: *79 + blocked_issue: *86 + blocked_issue_repo: *80 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *85 + blocking_issue: *86 installation: *741 organization: *742 repository: *743 @@ -135457,8 +135662,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -136457,8 +136662,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -137582,8 +137787,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -138593,8 +138798,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -139723,8 +139928,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -140718,8 +140923,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -141737,8 +141942,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -142725,8 +142930,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -143723,8 +143928,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true user: title: User @@ -145094,8 +145299,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true user: title: User @@ -146055,8 +146260,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -147069,8 +147274,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -148038,8 +148243,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -149859,8 +150064,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -223486,8 +223691,8 @@ x-webhooks: alert: &802 type: object properties: - number: *178 - created_at: *179 + number: *177 + created_at: *178 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -223495,8 +223700,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *181 - html_url: *182 + url: *180 + html_url: *181 locations_url: type: string format: uri @@ -224594,7 +224799,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *63 + cvss_severities: *64 cwes: type: array items: @@ -224858,7 +225063,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *63 + cvss_severities: *64 cwes: type: array items: @@ -226505,12 +226710,12 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *85 - parent_issue_repo: *79 + parent_issue: *86 + parent_issue_repo: *80 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *85 + sub_issue: *86 installation: *741 organization: *742 repository: *743 @@ -226597,12 +226802,12 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *85 - parent_issue_repo: *79 + parent_issue: *86 + parent_issue_repo: *80 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *85 + sub_issue: *86 installation: *741 organization: *742 repository: *743 @@ -226689,12 +226894,12 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *85 - sub_issue_repo: *79 + sub_issue: *86 + sub_issue_repo: *80 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *85 + parent_issue: *86 installation: *741 organization: *742 repository: *743 @@ -226781,12 +226986,12 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *85 - sub_issue_repo: *79 + sub_issue: *86 + sub_issue_repo: *80 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *85 + parent_issue: *86 installation: *741 organization: *742 repository: *743 diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index 7e48396b32..1c04ebcd57 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -22460,6 +22460,451 @@ } } }, + "/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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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", @@ -66996,17 +67441,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": [ { @@ -67020,551 +67465,227 @@ }, { "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", - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal" - ], - "example": "internal", - "nullable": true - }, - "accessible_repositories": { + "budgets": { "type": "array", "items": { - "title": "Simple Repository", - "description": "A GitHub repository.", "type": "object", "properties": { "id": { - "type": "integer", - "format": "int64", - "example": 1296269, - "description": "A unique identifier of the repository." - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "description": "The GraphQL identifier of the repository." - }, - "name": { - "type": "string", - "example": "Hello-World", - "description": "The name of the repository." - }, - "full_name": { "type": "string", - "example": "octocat/Hello-World", - "description": "The full, globally unique, name of the repository." + "description": "The unique identifier for the budget", + "example": "2066deda-923f-43f9-88d2-62395a28c0cdd" }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { + "budget_type": { + "description": "The type of pricing for the budget", + "example": "SkuPricing", + "oneOf": [ + { "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" + "enum": [ + "SkuPricing" + ] }, - "user_view_type": { + { "type": "string", - "example": "public" + "enum": [ + "ProductPricing" + ] } - }, - "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", - "example": "https://github.com/octocat/Hello-World", - "description": "The URL to view the repository on GitHub.com." - }, - "description": { - "type": "string", - "example": "This your first repo!", - "nullable": true, - "description": "The repository description." + "budget_amount": { + "type": "integer", + "description": "The budget amount limit in whole dollars. For license-based products, this represents the number of licenses." }, - "fork": { + "prevent_further_usage": { "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World", - "description": "The URL to get more information about the repository from the GitHub API." - }, - "archive_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "description": "A template for the API URL to download the repository as an archive." - }, - "assignees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "description": "A template for the API URL to list the available assignees for issues in the repository." - }, - "blobs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." - }, - "branches_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "description": "A template for the API URL to get information about branches in the repository." - }, - "collaborators_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "description": "A template for the API URL to get information about collaborators of the repository." - }, - "comments_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "description": "A template for the API URL to get information about comments on the repository." - }, - "commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "description": "A template for the API URL to get information about commits on the repository." - }, - "compare_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "description": "A template for the API URL to compare two commits or refs." - }, - "contents_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "description": "A template for the API URL to get the contents of the repository." - }, - "contributors_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/contributors", - "description": "A template for the API URL to list the contributors to the repository." - }, - "deployments_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/deployments", - "description": "The API URL to list the deployments of the repository." - }, - "downloads_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/downloads", - "description": "The API URL to list the downloads on the repository." - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/events", - "description": "The API URL to list the events of the repository." - }, - "forks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/forks", - "description": "The API URL to list the forks of the repository." - }, - "git_commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "description": "A template for the API URL to get information about Git commits of the repository." - }, - "git_refs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "description": "A template for the API URL to get information about Git refs of the repository." - }, - "git_tags_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "description": "A template for the API URL to get information about Git tags of the repository." - }, - "issue_comment_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "description": "A template for the API URL to get information about issue comments on the repository." - }, - "issue_events_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "description": "A template for the API URL to get information about issue events on the repository." - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "description": "A template for the API URL to get information about issues on the repository." - }, - "keys_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "description": "A template for the API URL to get information about deploy keys on the repository." - }, - "labels_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "description": "A template for the API URL to get information about labels of the repository." - }, - "languages_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/languages", - "description": "The API URL to get information about the languages of the repository." - }, - "merges_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/merges", - "description": "The API URL to merge branches in the repository." - }, - "milestones_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "description": "A template for the API URL to get information about milestones of the repository." - }, - "notifications_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "description": "A template for the API URL to get information about notifications on the repository." - }, - "pulls_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "description": "A template for the API URL to get information about pull requests on the repository." - }, - "releases_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "description": "A template for the API URL to get information about releases on the repository." - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "description": "The API URL to list the stargazers on the repository." - }, - "statuses_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "description": "A template for the API URL to get information about statuses of a commit." - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "description": "The API URL to list the subscribers on the repository." - }, - "subscription_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscription", - "description": "The API URL to subscribe to notifications for this repository." + "description": "The type of limit enforcement for the budget", + "example": true }, - "tags_url": { + "budget_scope": { "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/tags", - "description": "The API URL to get information about tags on the repository." + "description": "The scope of the budget (enterprise, organization, repository, cost center)", + "example": "enterprise" }, - "teams_url": { + "budget_entity_name": { "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/teams", - "description": "The API URL to list the teams on the repository." + "description": "The name of the entity for the budget (enterprise does not require a name).", + "example": "octocat/hello-world" }, - "trees_url": { + "budget_product_sku": { "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + "description": "A single product or sku to apply the budget to." }, - "hooks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/hooks", - "description": "The API URL to list the hooks on the repository." + "budget_alerting": { + "type": "object", + "properties": { + "will_alert": { + "type": "boolean", + "description": "Whether alerts are enabled for this budget", + "example": true + }, + "alert_recipients": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of user login names who will receive alerts", + "example": [ + "mona", + "lisa" + ] + } + }, + "required": [ + "will_alert", + "alert_recipients" + ] } }, "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" - ], - "nullable": true - } - } - }, - "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" + "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" } } } @@ -67597,8 +67718,8 @@ } } }, - "404": { - "description": "Resource not found", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { @@ -67627,20 +67748,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" + "category": "billing", + "subcategory": "budgets" } - }, - "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```", + } + }, + "/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/update-repository-access-for-org", + "operationId": "billing/get-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization" }, "parameters": [ { @@ -67651,71 +67774,135 @@ "schema": { "type": "string" } + }, + { + "name": "budget_id", + "description": "The ID corresponding to the budget.", + "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" + "responses": { + "200": { + "description": "Response when updating a budget", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ID of the budget." }, - "description": "List of repository IDs to add." - }, - "repository_ids_to_remove": { - "type": "array", - "items": { - "type": "integer" + "budget_scope": { + "type": "string", + "description": "The type of scope for the budget", + "example": "enterprise", + "enum": [ + "enterprise", + "organization", + "repository", + "cost_center" + ] }, - "description": "List of repository IDs to remove." - } - }, - "example": { - "repository_ids_to_add": [ - 123, - 456 - ], - "repository_ids_to_remove": [ - 789 + "budget_entity_name": { + "type": "string", + "description": "The name of the entity to apply the budget to", + "example": "octocat/hello-world" + }, + "budget_amount": { + "type": "integer", + "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." + }, + "prevent_further_usage": { + "type": "boolean", + "description": "Whether to prevent additional spending once the budget is exceeded", + "example": true + }, + "budget_product_sku": { + "type": "string", + "description": "A single product or sku to apply the budget to.", + "example": "actions_linux" + }, + "budget_type": { + "description": "The type of pricing for the budget", + "example": "ProductPricing", + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } + ] + }, + "budget_alerting": { + "type": "object", + "properties": { + "will_alert": { + "type": "boolean", + "description": "Whether alerts are enabled for this budget", + "example": true + }, + "alert_recipients": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of user login names who will receive alerts", + "example": [ + "mona", + "lisa" + ] + } + } + } + }, + "required": [ + "id", + "budget_amount", + "prevent_further_usage", + "budget_product_sku", + "budget_type", + "budget_alerting", + "budget_scope", + "budget_entity_name" ] - } - }, - "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 - ] + "examples": { + "default": { + "value": { + "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", + "budget_type": "ProductPricing", + "budget_product_sku": "actions_linux", + "budget_scope": "repository", + "budget_entity_name": "example-repo-name", + "budget_amount": 0.0, + "prevent_further_usage": true, + "budget_alerting": { + "will_alert": true, + "alert_recipients": [ + "mona", + "lisa" + ] + } + } } } } } - } - }, - "responses": { - "204": { - "description": "Response" }, - "403": { - "description": "Forbidden", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -67737,6 +67924,40 @@ } } } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } } } }, @@ -67765,74 +67986,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:\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" - ], - "example": "internal" - } - }, - "required": [ - "default_level" - ] - }, - "examples": { - "204": { - "summary": "Example with a 'succeeded' status.", - "value": { - "default_level": "public" - } - } - } - } - } - }, - "responses": { - "204": { - "description": "Response" }, "403": { "description": "Forbidden", @@ -67860,8 +68013,8 @@ } } }, - "404": { - "description": "Resource not found", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { @@ -67885,27 +68038,46 @@ } } } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" + "category": "billing", + "subcategory": "budgets" } - } - }, - "/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.", + }, + "patch": { + "summary": "Update a budget for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates an existing budget for an organization. The authenticated user must be an organization admin or billing manager.", "tags": [ "billing" ], - "operationId": "billing/get-all-budgets-org", + "operationId": "billing/update-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization" }, "parameters": [ { @@ -67918,210 +68090,275 @@ } }, { - "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", + "name": "budget_id", + "description": "The ID corresponding to the budget.", + "in": "path", + "required": true, "schema": { - "type": "string", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] + "type": "string" } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "budget_amount": { + "type": "integer", + "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." + }, + "prevent_further_usage": { + "type": "boolean", + "description": "Whether to prevent additional spending once the budget is exceeded" + }, + "budget_alerting": { + "type": "object", + "properties": { + "will_alert": { + "type": "boolean", + "description": "Whether alerts are enabled for this budget" + }, + "alert_recipients": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of user login names who will receive alerts" + } + } + }, + "budget_scope": { + "type": "string", + "description": "The scope of the budget", + "enum": [ + "enterprise", + "organization", + "repository", + "cost_center" + ] + }, + "budget_entity_name": { + "type": "string", + "description": "The name of the entity to apply the budget to" + }, + "budget_type": { + "description": "The type of pricing for the budget", + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } + ] + }, + "budget_product_sku": { + "type": "string", + "description": "A single product or SKU that will be covered in the budget" + } + } + }, + "examples": { + "update-budget": { + "summary": "Update budget example", + "value": { + "prevent_further_usage": false, + "budget_amount": 10, + "budget_alerting": { + "will_alert": false, + "alert_recipients": [] + } + } + } + } + } + } + }, "responses": { "200": { - "description": "Response when getting all budgets", + "description": "Budget updated successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { - "budgets": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier for the budget", - "example": "2066deda-923f-43f9-88d2-62395a28c0cdd" - }, - "budget_type": { - "description": "The type of pricing for the budget", - "example": "SkuPricing", - "oneOf": [ - { - "type": "string", - "enum": [ - "SkuPricing" - ] - }, - { - "type": "string", - "enum": [ - "ProductPricing" - ] - } - ] - }, - "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", - "example": true - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget (enterprise, organization, repository, cost center)", - "example": "enterprise" - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity for the budget (enterprise does not require a name).", - "example": "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", - "example": true - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts", - "example": [ - "mona", - "lisa" - ] - } + "message": { + "type": "string", + "example": "Budget successfully updated." + }, + "budget": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ID of the budget." + }, + "budget_amount": { + "type": "number", + "format": "float", + "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." + }, + "prevent_further_usage": { + "type": "boolean", + "description": "Whether to prevent additional spending once the budget is exceeded" + }, + "budget_alerting": { + "type": "object", + "required": [ + "will_alert", + "alert_recipients" + ], + "properties": { + "will_alert": { + "type": "boolean", + "description": "Whether alerts are enabled for this budget" }, - "required": [ - "will_alert", - "alert_recipients" - ] + "alert_recipients": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of user login names who will receive alerts" + } } }, - "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" + "budget_scope": { + "type": "string", + "description": "The scope of the budget", + "enum": [ + "enterprise", + "organization", + "repository", + "cost_center" + ] + }, + "budget_entity_name": { + "type": "string", + "description": "The name of the entity to apply the budget to", + "default": "" + }, + "budget_type": { + "description": "The type of pricing for the budget", + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } + ] + }, + "budget_product_sku": { + "type": "string", + "description": "A single product or SKU that will be covered in the budget" + } + } } - }, - "required": [ - "budgets" - ] + } }, "examples": { - "default": { + "update-budget": { "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": [] - } + "message": "Budget successfully updated.", + "budget": { + "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", + "budget_type": "ProductPricing", + "budget_product_sku": "actions_linux", + "budget_scope": "repository", + "budget_entity_name": "org-name/example-repo-name", + "budget_amount": 0.0, + "prevent_further_usage": true, + "budget_alerting": { + "will_alert": true, + "alert_recipients": [ + "mona", + "lisa" + ] } - ], - "has_next_page": false, - "total_count": 3 + } } } } } } }, - "404": { - "description": "Resource not found", + "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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -68172,8 +68409,8 @@ } } }, - "500": { - "description": "Internal Error", + "404": { + "description": "Budget not found or feature not enabled", "content": { "application/json": { "schema": { @@ -68194,281 +68431,95 @@ "type": "string" } } + }, + "examples": { + "budget-not-found": { + "value": { + "message": "Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found.", + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" + } + }, + "feature-not-enabled": { + "value": { + "message": "Not Found", + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" + } + } } } } - } - }, - "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", + "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": { - "id": { - "type": "string", - "description": "ID of the budget." - }, - "budget_scope": { - "type": "string", - "description": "The type of scope for the budget", - "example": "enterprise", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] + "message": { + "type": "string" }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity to apply the budget to", - "example": "octocat/hello-world" + "documentation_url": { + "type": "string" }, - "budget_amount": { - "type": "integer", - "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "Whether to prevent additional spending once the budget is exceeded", - "example": true - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or sku to apply the budget to.", - "example": "actions_linux" - }, - "budget_type": { - "description": "The type of pricing for the budget", - "example": "ProductPricing", - "oneOf": [ - { - "type": "string", - "enum": [ - "ProductPricing" - ] - }, - { - "type": "string", - "enum": [ - "SkuPricing" - ] - } - ] - }, - "budget_alerting": { - "type": "object", - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget", - "example": true - }, - "alert_recipients": { - "type": "array", - "items": { + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { "type": "string" }, - "description": "Array of user login names who will receive alerts", - "example": [ - "mona", - "lisa" - ] + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } } } } - }, - "required": [ - "id", - "budget_amount", - "prevent_further_usage", - "budget_product_sku", - "budget_type", - "budget_alerting", - "budget_scope", - "budget_entity_name" - ] - }, - "examples": { - "default": { - "value": { - "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", - "budget_type": "ProductPricing", - "budget_product_sku": "actions_linux", - "budget_scope": "repository", - "budget_entity_name": "example-repo-name", - "budget_amount": 0.0, - "prevent_further_usage": true, - "budget_alerting": { - "will_alert": true, - "alert_recipients": [ - "mona", - "lisa" - ] - } - } - } - } - } - } - }, - "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", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "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" - } - } - } - } - } - }, - "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", + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -68489,25 +68540,12 @@ "type": "string" } } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" + }, + "examples": { + "server-error": { + "value": { + "message": "Unable to update budget.", + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } } } @@ -68517,21 +68555,21 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, + "enabledForGitHubApps": false, "category": "billing", "subcategory": "budgets" } }, - "patch": { - "summary": "Update a budget for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates an existing budget for an organization. The authenticated user must be an organization admin or billing manager.", + "delete": { + "summary": "Delete a budget for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDeletes a budget by ID for an organization. The authenticated user must be an organization admin or billing manager.", "tags": [ "billing" ], - "operationId": "billing/update-budget-org", + "operationId": "billing/delete-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization" }, "parameters": [ { @@ -68553,93 +68591,9 @@ } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "budget_amount": { - "type": "integer", - "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "Whether to prevent additional spending once the budget is exceeded" - }, - "budget_alerting": { - "type": "object", - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget" - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts" - } - } - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity to apply the budget to" - }, - "budget_type": { - "description": "The type of pricing for the budget", - "oneOf": [ - { - "type": "string", - "enum": [ - "ProductPricing" - ] - }, - { - "type": "string", - "enum": [ - "SkuPricing" - ] - } - ] - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or SKU that will be covered in the budget" - } - } - }, - "examples": { - "update-budget": { - "summary": "Update budget example", - "value": { - "prevent_further_usage": false, - "budget_amount": 10, - "budget_alerting": { - "will_alert": false, - "alert_recipients": [] - } - } - } - } - } - } - }, "responses": { "200": { - "description": "Budget updated successfully", + "description": "Response when deleting a budget", "content": { "application/json": { "schema": { @@ -68647,104 +68601,23 @@ "properties": { "message": { "type": "string", - "example": "Budget successfully updated." + "description": "A message indicating the result of the deletion operation" }, - "budget": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "ID of the budget." - }, - "budget_amount": { - "type": "number", - "format": "float", - "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "Whether to prevent additional spending once the budget is exceeded" - }, - "budget_alerting": { - "type": "object", - "required": [ - "will_alert", - "alert_recipients" - ], - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget" - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts" - } - } - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity to apply the budget to", - "default": "" - }, - "budget_type": { - "description": "The type of pricing for the budget", - "oneOf": [ - { - "type": "string", - "enum": [ - "ProductPricing" - ] - }, - { - "type": "string", - "enum": [ - "SkuPricing" - ] - } - ] - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or SKU that will be covered in the budget" - } - } + "id": { + "type": "string", + "description": "The ID of the deleted budget" } - } + }, + "required": [ + "message", + "id" + ] }, "examples": { - "update-budget": { + "default": { "value": { - "message": "Budget successfully updated.", - "budget": { - "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", - "budget_type": "ProductPricing", - "budget_product_sku": "actions_linux", - "budget_scope": "repository", - "budget_entity_name": "org-name/example-repo-name", - "budget_amount": 0.0, - "prevent_further_usage": true, - "budget_alerting": { - "will_alert": true, - "alert_recipients": [ - "mona", - "lisa" - ] - } - } + "message": "Budget successfully deleted.", + "budget_id": "2c1feb79-3947-4dc8-a16e-80cbd732cc0b" } } } @@ -68811,8 +68684,8 @@ } } }, - "401": { - "description": "Requires authentication", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -68863,8 +68736,8 @@ } } }, - "404": { - "description": "Budget not found or feature not enabled", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { @@ -68885,347 +68758,20 @@ "type": "string" } } - }, - "examples": { - "budget-not-found": { - "value": { - "message": "Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found.", - "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" - } - }, - "feature-not-enabled": { - "value": { - "message": "Not Found", - "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" - } - } } } } }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", + "503": { + "description": "Service unavailable", "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", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - }, - "500": { - "description": "Internal server 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" - } - } - }, - "examples": { - "server-error": { - "value": { - "message": "Unable to update budget.", - "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "budgets" - } - }, - "delete": { - "summary": "Delete a budget for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDeletes a budget by ID for an organization. The authenticated user must be an organization admin or billing manager.", - "tags": [ - "billing" - ], - "operationId": "billing/delete-budget-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/budgets#delete-a-budget-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 deleting a budget", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string", - "description": "A message indicating the result of the deletion operation" - }, - "id": { - "type": "string", - "description": "The ID of the deleted budget" - } - }, - "required": [ - "message", - "id" - ] - }, - "examples": { - "default": { - "value": { - "message": "Budget successfully deleted.", - "budget_id": "2c1feb79-3947-4dc8-a16e-80cbd732cc0b" - } - } - } - } - } - }, - "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", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, + "code": { + "type": "string" + }, "message": { "type": "string" }, @@ -111724,519 +111270,1245 @@ "example": "https://api.github.com/repos/octocat/Hello-World/tags", "description": "The API URL to get information about tags on the repository." }, - "teams_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/teams", - "description": "The API URL to list the teams on the repository." - }, - "trees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." - }, - "hooks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/hooks", - "description": "The API URL to list the hooks on the repository." - } - }, - "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" - ] - } - }, - "required": [ - "number", - "state", - "dependency", - "security_advisory", - "security_vulnerability", - "url", - "html_url", - "created_at", - "updated_at", - "dismissed_at", - "dismissed_by", - "dismissed_reason", - "dismissed_comment", - "fixed_at", - "repository" - ], - "additionalProperties": false - } - }, - "examples": { - "default": { - "value": [ - { - "number": 2, - "state": "dismissed", - "dependency": { - "package": { - "ecosystem": "pip", - "name": "django" - }, - "manifest_path": "path/to/requirements.txt", - "scope": "runtime" - }, - "security_advisory": { - "ghsa_id": "GHSA-rf4j-j272-fj86", - "cve_id": "CVE-2018-6188", - "summary": "Django allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive", - "description": "django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive.", - "vulnerabilities": [ - { - "package": { - "ecosystem": "pip", - "name": "django" - }, - "severity": "high", - "vulnerable_version_range": ">= 2.0.0, < 2.0.2", - "first_patched_version": { - "identifier": "2.0.2" - } - }, - { - "package": { - "ecosystem": "pip", - "name": "django" - }, - "severity": "high", - "vulnerable_version_range": ">= 1.11.8, < 1.11.10", - "first_patched_version": { - "identifier": "1.11.10" - } - } - ], - "severity": "high", - "cvss": { - "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", - "score": 7.5 - }, - "cvss_severities": { - "cvss_v3": { - "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", - "score": 7.5 - }, - "cvss_v4": { - "vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N", - "score": 8.7 - } - }, - "epss": { - "percentage": 0.00045, - "percentile": "0.16001e0" - }, - "cwes": [ - { - "cwe_id": "CWE-200", - "name": "Exposure of Sensitive Information to an Unauthorized Actor" - } - ], - "identifiers": [ - { - "type": "GHSA", - "value": "GHSA-rf4j-j272-fj86" - }, - { - "type": "CVE", - "value": "CVE-2018-6188" - } - ], - "references": [ - { - "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6188" - }, - { - "url": "https://github.com/advisories/GHSA-rf4j-j272-fj86" - }, - { - "url": "https://usn.ubuntu.com/3559-1/" - }, - { - "url": "https://www.djangoproject.com/weblog/2018/feb/01/security-releases/" - }, - { - "url": "http://www.securitytracker.com/id/1040422" - } - ], - "published_at": "2018-10-03T21:13:54Z", - "updated_at": "2022-04-26T18:35:37Z", - "withdrawn_at": null - }, - "security_vulnerability": { - "package": { - "ecosystem": "pip", - "name": "django" - }, - "severity": "high", - "vulnerable_version_range": ">= 2.0.0, < 2.0.2", - "first_patched_version": { - "identifier": "2.0.2" - } - }, - "url": "https://api.github.com/repos/octo-org/octo-repo/dependabot/alerts/2", - "html_url": "https://github.com/octo-org/octo-repo/security/dependabot/2", - "created_at": "2022-06-15T07:43:03Z", - "updated_at": "2022-08-23T14:29:47Z", - "dismissed_at": "2022-08-23T14:29:47Z", - "dismissed_by": { - "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 - }, - "dismissed_reason": "tolerable_risk", - "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null, - "assignees": [ - { - "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 - } - ], - "repository": { - "id": 217723378, - "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", - "name": "octo-repo", - "full_name": "octo-org/octo-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 - }, - "private": true, - "html_url": "https://github.com/octo-org/octo-repo", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/octo-org/octo-repo", - "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}", - "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}", - "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors", - "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments", - "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads", - "events_url": "https://api.github.com/repos/octo-org/octo-repo/events", - "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks", - "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}", - "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks", - "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}", - "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}", - "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages", - "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges", - "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}", - "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers", - "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription", - "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags", - "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams", - "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}" - } - }, - { - "number": 1, - "state": "open", - "dependency": { - "package": { - "ecosystem": "pip", - "name": "ansible" - }, - "manifest_path": "path/to/requirements.txt", - "scope": "runtime" - }, - "security_advisory": { - "ghsa_id": "GHSA-8f4m-hccc-8qph", - "cve_id": "CVE-2021-20191", - "summary": "Insertion of Sensitive Information into Log File in ansible", - "description": "A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality.", - "vulnerabilities": [ - { - "package": { - "ecosystem": "pip", - "name": "ansible" - }, - "severity": "medium", - "vulnerable_version_range": ">= 2.9.0, < 2.9.18", - "first_patched_version": { - "identifier": "2.9.18" - } - }, - { - "package": { - "ecosystem": "pip", - "name": "ansible" - }, - "severity": "medium", - "vulnerable_version_range": "< 2.8.19", - "first_patched_version": { - "identifier": "2.8.19" - } - }, - { - "package": { - "ecosystem": "pip", - "name": "ansible" - }, - "severity": "medium", - "vulnerable_version_range": ">= 2.10.0, < 2.10.7", - "first_patched_version": { - "identifier": "2.10.7" - } - } - ], - "severity": "medium", - "cvss": { - "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", - "score": 5.5 - }, - "cvss_severities": { - "cvss_v3": { - "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", - "score": 5.5 - }, - "cvss_v4": { - "vector_string": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", - "score": 8.5 - } + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." + }, + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the repository." + } + }, + "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" + ] + } + }, + "required": [ + "number", + "state", + "dependency", + "security_advisory", + "security_vulnerability", + "url", + "html_url", + "created_at", + "updated_at", + "dismissed_at", + "dismissed_by", + "dismissed_reason", + "dismissed_comment", + "fixed_at", + "repository" + ], + "additionalProperties": false + } + }, + "examples": { + "default": { + "value": [ + { + "number": 2, + "state": "dismissed", + "dependency": { + "package": { + "ecosystem": "pip", + "name": "django" + }, + "manifest_path": "path/to/requirements.txt", + "scope": "runtime" + }, + "security_advisory": { + "ghsa_id": "GHSA-rf4j-j272-fj86", + "cve_id": "CVE-2018-6188", + "summary": "Django allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive", + "description": "django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive.", + "vulnerabilities": [ + { + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 2.0.0, < 2.0.2", + "first_patched_version": { + "identifier": "2.0.2" + } + }, + { + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 1.11.8, < 1.11.10", + "first_patched_version": { + "identifier": "1.11.10" + } + } + ], + "severity": "high", + "cvss": { + "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", + "score": 7.5 + }, + "cvss_severities": { + "cvss_v3": { + "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", + "score": 7.5 + }, + "cvss_v4": { + "vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N", + "score": 8.7 + } + }, + "epss": { + "percentage": 0.00045, + "percentile": "0.16001e0" + }, + "cwes": [ + { + "cwe_id": "CWE-200", + "name": "Exposure of Sensitive Information to an Unauthorized Actor" + } + ], + "identifiers": [ + { + "type": "GHSA", + "value": "GHSA-rf4j-j272-fj86" + }, + { + "type": "CVE", + "value": "CVE-2018-6188" + } + ], + "references": [ + { + "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6188" + }, + { + "url": "https://github.com/advisories/GHSA-rf4j-j272-fj86" + }, + { + "url": "https://usn.ubuntu.com/3559-1/" + }, + { + "url": "https://www.djangoproject.com/weblog/2018/feb/01/security-releases/" + }, + { + "url": "http://www.securitytracker.com/id/1040422" + } + ], + "published_at": "2018-10-03T21:13:54Z", + "updated_at": "2022-04-26T18:35:37Z", + "withdrawn_at": null + }, + "security_vulnerability": { + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 2.0.0, < 2.0.2", + "first_patched_version": { + "identifier": "2.0.2" + } + }, + "url": "https://api.github.com/repos/octo-org/octo-repo/dependabot/alerts/2", + "html_url": "https://github.com/octo-org/octo-repo/security/dependabot/2", + "created_at": "2022-06-15T07:43:03Z", + "updated_at": "2022-08-23T14:29:47Z", + "dismissed_at": "2022-08-23T14:29:47Z", + "dismissed_by": { + "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 + }, + "dismissed_reason": "tolerable_risk", + "dismissed_comment": "This alert is accurate but we use a sanitizer.", + "fixed_at": null, + "assignees": [ + { + "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 + } + ], + "repository": { + "id": 217723378, + "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", + "name": "octo-repo", + "full_name": "octo-org/octo-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 + }, + "private": true, + "html_url": "https://github.com/octo-org/octo-repo", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/octo-org/octo-repo", + "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors", + "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments", + "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads", + "events_url": "https://api.github.com/repos/octo-org/octo-repo/events", + "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks", + "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}", + "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks", + "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages", + "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges", + "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription", + "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags", + "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams", + "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}" + } + }, + { + "number": 1, + "state": "open", + "dependency": { + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "manifest_path": "path/to/requirements.txt", + "scope": "runtime" + }, + "security_advisory": { + "ghsa_id": "GHSA-8f4m-hccc-8qph", + "cve_id": "CVE-2021-20191", + "summary": "Insertion of Sensitive Information into Log File in ansible", + "description": "A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality.", + "vulnerabilities": [ + { + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": ">= 2.9.0, < 2.9.18", + "first_patched_version": { + "identifier": "2.9.18" + } + }, + { + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": "< 2.8.19", + "first_patched_version": { + "identifier": "2.8.19" + } + }, + { + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": ">= 2.10.0, < 2.10.7", + "first_patched_version": { + "identifier": "2.10.7" + } + } + ], + "severity": "medium", + "cvss": { + "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", + "score": 5.5 + }, + "cvss_severities": { + "cvss_v3": { + "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", + "score": 5.5 + }, + "cvss_v4": { + "vector_string": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", + "score": 8.5 + } + }, + "cwes": [ + { + "cwe_id": "CWE-532", + "name": "Insertion of Sensitive Information into Log File" + } + ], + "identifiers": [ + { + "type": "GHSA", + "value": "GHSA-8f4m-hccc-8qph" + }, + { + "type": "CVE", + "value": "CVE-2021-20191" + } + ], + "references": [ + { + "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20191" + }, + { + "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://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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "example": "internal", + "nullable": true + }, + "accessible_repositories": { + "type": "array", + "items": { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1296269, + "description": "A unique identifier of the repository." + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "description": "The GraphQL identifier of the repository." + }, + "name": { + "type": "string", + "example": "Hello-World", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World", + "description": "The full, globally unique, name of the repository." + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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", + "example": "https://github.com/octocat/Hello-World", + "description": "The URL to view the repository on GitHub.com." + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true, + "description": "The repository description." + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World", + "description": "The URL to get more information about the repository from the GitHub API." + }, + "archive_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "description": "A template for the API URL to download the repository as an archive." + }, + "assignees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "description": "A template for the API URL to list the available assignees for issues in the repository." + }, + "blobs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." + }, + "branches_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "description": "A template for the API URL to get information about branches in the repository." + }, + "collaborators_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "description": "A template for the API URL to get information about collaborators of the repository." + }, + "comments_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "description": "A template for the API URL to get information about comments on the repository." + }, + "commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "description": "A template for the API URL to get information about commits on the repository." + }, + "compare_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "description": "A template for the API URL to compare two commits or refs." + }, + "contents_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "description": "A template for the API URL to get the contents of the repository." + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/contributors", + "description": "A template for the API URL to list the contributors to the repository." + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "The API URL to list the deployments of the repository." + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/downloads", + "description": "The API URL to list the downloads on the repository." + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/events", + "description": "The API URL to list the events of the repository." + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/forks", + "description": "The API URL to list the forks of the repository." + }, + "git_commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "description": "A template for the API URL to get information about Git commits of the repository." + }, + "git_refs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "description": "A template for the API URL to get information about Git refs of the repository." + }, + "git_tags_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "description": "A template for the API URL to get information about Git tags of the repository." + }, + "issue_comment_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "description": "A template for the API URL to get information about issue comments on the repository." + }, + "issue_events_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "description": "A template for the API URL to get information about issue events on the repository." + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "description": "A template for the API URL to get information about issues on the repository." + }, + "keys_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "description": "A template for the API URL to get information about deploy keys on the repository." + }, + "labels_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "description": "A template for the API URL to get information about labels of the repository." + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/languages", + "description": "The API URL to get information about the languages of the repository." + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/merges", + "description": "The API URL to merge branches in the repository." + }, + "milestones_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "description": "A template for the API URL to get information about milestones of the repository." + }, + "notifications_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "description": "A template for the API URL to get information about notifications on the repository." + }, + "pulls_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "description": "A template for the API URL to get information about pull requests on the repository." + }, + "releases_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "description": "A template for the API URL to get information about releases on the repository." + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "description": "The API URL to list the stargazers on the repository." + }, + "statuses_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "description": "A template for the API URL to get information about statuses of a commit." + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "description": "The API URL to list the subscribers on the repository." + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscription", + "description": "The API URL to subscribe to notifications for this repository." + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/tags", + "description": "The API URL to get information about tags on the repository." + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." }, - "cwes": [ - { - "cwe_id": "CWE-532", - "name": "Insertion of Sensitive Information into Log File" - } - ], - "identifiers": [ - { - "type": "GHSA", - "value": "GHSA-8f4m-hccc-8qph" - }, - { - "type": "CVE", - "value": "CVE-2021-20191" - } - ], - "references": [ - { - "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20191" - }, - { - "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" + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." }, - "severity": "medium", - "vulnerable_version_range": "< 2.8.19", - "first_patched_version": { - "identifier": "2.8.19" + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the repository." } }, - "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", + "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" + ], + "nullable": true + } + } + }, + "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": { @@ -112258,42 +112530,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", - "nullable": true + "type": "string" }, "documentation_url": { - "type": "string", - "nullable": true + "type": "string" }, - "detail": { - "type": "string", - "nullable": true + "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", - "nullable": true + "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", @@ -112346,19 +112701,109 @@ } } } + } + }, + "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" + ], + "example": "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" @@ -112366,11 +112811,11 @@ "documentation_url": { "type": "string" }, - "errors": { - "type": "array", - "items": { - "type": "string" - } + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -112382,7 +112827,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "dependabot", - "subcategory": "alerts" + "subcategory": "repository-access" } } }, diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml index b92c1fbda7..dbd202eb49 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml @@ -448,7 +448,7 @@ paths: required: false schema: type: string - - &61 + - &62 name: direction description: The direction to sort the results by. in: query @@ -651,7 +651,7 @@ paths: - vulnerable_version_range - first_patched_version - vulnerable_functions - cvss_severities: &63 + cvss_severities: &64 type: object nullable: true properties: @@ -691,7 +691,7 @@ paths: required: - vector_string - score - epss: &64 + epss: &65 type: object nullable: true readOnly: true @@ -961,7 +961,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &130 + schema: &129 title: Validation Error Simple description: Validation Error Simple type: object @@ -1109,7 +1109,7 @@ paths: GitHub. type: object nullable: true - properties: &80 + properties: &81 id: description: Unique identifier of the GitHub app example: 37 @@ -1242,7 +1242,7 @@ paths: about itself. example: 5 type: integer - required: &81 + required: &82 - id - node_id - owner @@ -1715,7 +1715,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &129 + schema: &128 title: Validation Error description: Validation Error type: object @@ -2099,7 +2099,7 @@ paths: parameters: - *17 - *19 - - &92 + - &93 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) @@ -2682,7 +2682,7 @@ paths: suspended_at: suspended_by: headers: - Link: &67 + Link: &68 example: ; rel="next", ; rel="last" schema: @@ -2871,7 +2871,7 @@ paths: - selected repositories: type: array - items: &79 + items: &80 title: Repository description: A repository on GitHub. type: object @@ -2895,7 +2895,7 @@ paths: title: License Simple description: License Simple type: object - properties: &88 + properties: &89 key: type: string example: mit @@ -2917,7 +2917,7 @@ paths: html_url: type: string format: uri - required: &89 + required: &90 - key - name - url @@ -7251,7 +7251,7 @@ paths: required: true content: application/json: - schema: &142 + schema: &141 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -7951,7 +7951,7 @@ paths: description: Response content: application/json: - schema: &189 + schema: &188 type: array description: A list of default code security configurations items: @@ -7967,7 +7967,7 @@ paths: default configuration: *49 examples: - default: &190 + default: &189 value: - default_for_new_repos: public configuration: @@ -8302,7 +8302,7 @@ paths: - *40 - *51 responses: - '204': &191 + '204': &61 description: A header with no content is returned. '400': *14 '403': *29 @@ -8429,7 +8429,7 @@ paths: default: value: default_for_new_repos: all - configuration: &188 + configuration: &187 value: id: 1325 target_type: organization @@ -8519,7 +8519,7 @@ paths: application/json: schema: type: array - items: &192 + items: &190 type: object description: Repositories associated with a code security configuration and attachment status @@ -8537,11 +8537,11 @@ paths: - failed - updating - removed_by_enterprise - repository: &66 + repository: &67 title: Simple Repository description: A GitHub repository. type: object - properties: &119 + properties: &208 id: type: integer format: int64 @@ -8768,7 +8768,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &120 + required: &209 - archive_url - assignees_url - blobs_url @@ -8820,7 +8820,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &193 + repository: &191 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -9101,6 +9101,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: + - *40 + 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': *61 + '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: + - *40 + 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': *61 + '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: + - *40 + 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': *61 + '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 @@ -9120,7 +9325,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &199 + - &197 name: classification in: query description: |- @@ -9129,7 +9334,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &200 + - &198 name: state in: query description: |- @@ -9138,7 +9343,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &201 + - &199 name: severity in: query description: |- @@ -9147,7 +9352,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &202 + - &200 name: ecosystem in: query description: |- @@ -9156,14 +9361,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &203 + - &201 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &204 + - &202 name: epss_percentage in: query description: |- @@ -9189,7 +9394,7 @@ paths: type: string enum: - patch - - &205 + - &203 name: assignee in: query description: |- @@ -9198,7 +9403,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &206 + - &204 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -9208,7 +9413,7 @@ paths: enum: - development - runtime - - &207 + - &205 name: sort in: query description: |- @@ -9223,7 +9428,7 @@ paths: - updated - epss_percentage default: created - - *61 + - *62 - *47 - *48 - *17 @@ -9234,11 +9439,11 @@ paths: application/json: schema: type: array - items: &208 + items: &206 type: object description: A Dependabot alert. properties: - number: &178 + number: &177 type: integer description: The security alert number. readOnly: true @@ -9256,7 +9461,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &62 + package: &63 type: object description: Details for the vulnerable package. readOnly: true @@ -9331,13 +9536,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &65 + items: &66 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *62 + package: *63 severity: type: string description: The severity of the vulnerability. @@ -9389,8 +9594,8 @@ paths: enum: - general - malware - cvss_severities: *63 - epss: *64 + cvss_severities: *64 + epss: *65 cwes: type: array description: Details for the advisory pertaining to Common @@ -9488,30 +9693,30 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *65 - url: &181 + security_vulnerability: *66 + url: &180 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &182 + html_url: &181 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &179 + created_at: &178 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: &180 + updated_at: &179 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: &184 + dismissed_at: &183 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9541,7 +9746,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &183 + fixed_at: &182 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9598,7 +9803,7 @@ paths: description: The users assigned to this alert. readOnly: true items: *4 - repository: *66 + repository: *67 required: - number - state @@ -9617,7 +9822,7 @@ paths: - repository additionalProperties: false examples: - default: &209 + default: &207 value: - number: 2 state: dismissed @@ -9986,7 +10191,7 @@ paths: application/json: schema: type: array - items: &68 + items: &69 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10057,7 +10262,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *67 + Link: *68 '403': *29 x-github: githubCloudOnly: false @@ -10130,9 +10335,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *69 examples: - default: &76 + default: &77 value: id: 1 name: Justice League @@ -10161,7 +10366,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *40 - - &69 + - &70 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10180,7 +10385,7 @@ paths: type: array items: *4 examples: - default: &70 + default: &71 value: - login: octocat id: 1 @@ -10201,7 +10406,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10219,7 +10424,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *40 - - *69 + - *70 requestBody: required: true content: @@ -10250,7 +10455,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10268,7 +10473,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *40 - - *69 + - *70 requestBody: required: true content: @@ -10299,7 +10504,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10317,8 +10522,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *40 - - *69 - - &71 + - *70 + - &72 name: username description: The handle for the GitHub user account. in: path @@ -10332,7 +10537,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &72 + exampleKey1: &73 value: login: octocat id: 1 @@ -10368,8 +10573,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *40 - - *69 - - *71 + - *70 + - *72 responses: '201': description: Successfully added team member @@ -10377,7 +10582,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *72 + exampleKey1: *73 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10395,8 +10600,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *40 - - *69 - - *71 + - *70 + - *72 responses: '204': description: Response @@ -10418,7 +10623,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *40 - - *69 + - *70 - *17 - *19 responses: @@ -10428,11 +10633,11 @@ paths: application/json: schema: type: array - items: &73 + items: &74 title: Organization Simple description: A GitHub organization. type: object - properties: &195 + properties: &193 login: type: string example: github @@ -10473,7 +10678,7 @@ paths: type: string example: A great organization nullable: true - required: &196 + required: &194 - login - url - id @@ -10487,7 +10692,7 @@ paths: - avatar_url - description examples: - default: &74 + default: &75 value: login: github id: 1 @@ -10518,7 +10723,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *40 - - *69 + - *70 requestBody: required: true content: @@ -10546,9 +10751,9 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: - default: &116 + default: &117 value: - login: github id: 1 @@ -10579,7 +10784,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *40 - - *69 + - *70 requestBody: required: true content: @@ -10620,8 +10825,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *40 - - *69 - - &75 + - *70 + - &76 name: org description: The organization name. The name is not case sensitive. in: path @@ -10633,9 +10838,9 @@ paths: description: The team is assigned to the organization content: application/json: - schema: *73 + schema: *74 examples: - default: *74 + default: *75 '404': description: The team is not assigned to the organization x-github: @@ -10654,16 +10859,16 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *40 - - *69 - - *75 + - *70 + - *76 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *73 + schema: *74 examples: - default: *74 + default: *75 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10680,8 +10885,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *40 - - *69 - - *75 + - *70 + - *76 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -10705,7 +10910,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *40 - - &77 + - &78 name: team_slug description: The slug of the team name. in: path @@ -10717,11 +10922,11 @@ paths: description: Response content: application/json: - schema: *68 + schema: *69 examples: - default: *76 + default: *77 headers: - Link: *67 + Link: *68 '403': *29 x-github: githubCloudOnly: false @@ -10739,7 +10944,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *40 - - *77 + - *78 requestBody: required: true content: @@ -10794,11 +10999,11 @@ paths: description: Response content: application/json: - schema: *68 + schema: *69 examples: - default: *76 + default: *77 headers: - Link: *67 + Link: *68 '403': *29 x-github: githubCloudOnly: false @@ -10819,7 +11024,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *40 - - *77 + - *78 responses: '204': description: Response @@ -10857,7 +11062,7 @@ paths: application/json: schema: type: array - items: &111 + items: &112 title: Event description: Event type: object @@ -10867,7 +11072,7 @@ paths: type: type: string nullable: true - actor: &78 + actor: &79 title: Actor description: Actor type: object @@ -10907,7 +11112,7 @@ paths: - id - name - url - org: *78 + org: *79 payload: oneOf: - title: CreateEvent @@ -11240,7 +11445,7 @@ paths: - id labels: type: array - items: &84 + items: &85 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11315,7 +11520,7 @@ paths: properties: action: type: string - issue: &85 + issue: &86 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -11625,7 +11830,7 @@ paths: - node_id - name - description - repository: *79 + repository: *80 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11636,9 +11841,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *80 - required: *81 - author_association: &82 + properties: *81 + required: *82 + author_association: &83 title: author_association type: string example: OWNER @@ -11653,7 +11858,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &83 + reactions: &84 title: Reaction Rollup type: object properties: @@ -11714,7 +11919,7 @@ paths: description: Comments provide a way for people to collaborate on an issue. type: object - properties: &86 + properties: &87 id: description: Unique identifier of the issue comment example: 42 @@ -11757,7 +11962,7 @@ paths: issue_url: type: string format: uri - author_association: *82 + author_association: *83 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend @@ -11768,9 +11973,9 @@ paths: class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 - reactions: *83 + properties: *81 + required: *82 + reactions: *84 pin: title: Pinned Issue Comment description: Context around who pinned an issue @@ -11792,7 +11997,7 @@ paths: - pinned_at - pinned_by nullable: true - required: &87 + required: &88 - id - node_id - html_url @@ -11906,10 +12111,10 @@ paths: assignees: type: array items: *4 - label: *84 + label: *85 labels: type: array - items: *84 + items: *85 required: - action - issue @@ -11918,14 +12123,14 @@ paths: properties: action: type: string - issue: *85 + issue: *86 comment: &546 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 required: - action - issue @@ -12098,8 +12303,8 @@ paths: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 nullable: true allow_forking: type: boolean @@ -12188,7 +12393,7 @@ paths: type: string number: type: integer - pull_request: &90 + pull_request: &91 title: Pull Request Minimal type: object properties: @@ -12259,10 +12464,10 @@ paths: assignees: type: array items: *4 - label: *84 + label: *85 labels: type: array - items: *84 + items: *85 required: - action - number @@ -12272,7 +12477,7 @@ paths: properties: action: type: string - pull_request: *90 + pull_request: *91 comment: type: object properties: @@ -12523,7 +12728,7 @@ paths: - pull_request updated_at: type: string - pull_request: *90 + pull_request: *91 required: - action - review @@ -12572,7 +12777,7 @@ paths: updated_at: type: string format: date-time - reactions: *83 + reactions: *84 required: - action - comment @@ -12729,7 +12934,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *83 + reactions: *84 required: - assets_url - upload_url @@ -12821,7 +13026,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': &121 + '503': &120 description: Service unavailable content: application/json: @@ -12914,7 +13119,7 @@ paths: _links: type: object properties: - timeline: &91 + timeline: &92 title: Link With Type description: Hypermedia Link with Type type: object @@ -12926,17 +13131,17 @@ paths: required: - href - type - user: *91 - security_advisories: *91 - current_user: *91 - current_user_public: *91 - current_user_actor: *91 - current_user_organization: *91 + user: *92 + security_advisories: *92 + current_user: *92 + current_user_public: *92 + current_user_actor: *92 + current_user_organization: *92 current_user_organizations: type: array - items: *91 - repository_discussions: *91 - repository_discussions_category: *91 + items: *92 + repository_discussions: *92 + repository_discussions_category: *92 required: - timeline - user @@ -12998,7 +13203,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *92 + - *93 - *17 - *19 responses: @@ -13008,7 +13213,7 @@ paths: application/json: schema: type: array - items: &93 + items: &94 title: Base Gist description: Base Gist type: object @@ -13093,7 +13298,7 @@ paths: - created_at - updated_at examples: - default: &94 + default: &95 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -13138,7 +13343,7 @@ paths: site_admin: false truncated: false headers: - Link: *67 + Link: *68 '304': *37 '403': *29 x-github: @@ -13214,7 +13419,7 @@ paths: description: Response content: application/json: - schema: &95 + schema: &96 title: Gist Simple description: Gist Simple type: object @@ -13382,7 +13587,7 @@ paths: truncated: type: boolean examples: - default: &96 + default: &97 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13486,7 +13691,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *92 + - *93 - *17 - *19 responses: @@ -13496,11 +13701,11 @@ paths: application/json: schema: type: array - items: *93 + items: *94 examples: - default: *94 + default: *95 headers: - Link: *67 + Link: *68 '422': *15 '304': *37 '403': *29 @@ -13520,7 +13725,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *92 + - *93 - *17 - *19 responses: @@ -13530,11 +13735,11 @@ paths: application/json: schema: type: array - items: *93 + items: *94 examples: - default: *94 + default: *95 headers: - Link: *67 + Link: *68 '401': *25 '304': *37 '403': *29 @@ -13559,7 +13764,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &97 + - &98 name: gist_id description: The unique identifier of the gist. in: path @@ -13571,10 +13776,10 @@ paths: description: Response content: application/json: - schema: *95 + schema: *96 examples: - default: *96 - '403': &100 + default: *97 + '403': &101 description: Forbidden Gist content: application/json: @@ -13621,7 +13826,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *97 + - *98 requestBody: required: true content: @@ -13681,9 +13886,9 @@ paths: description: Response content: application/json: - schema: *95 + schema: *96 examples: - updateGist: *96 + updateGist: *97 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -13841,7 +14046,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *97 + - *98 responses: '204': description: Response @@ -13869,7 +14074,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *97 + - *98 - *17 - *19 responses: @@ -13879,7 +14084,7 @@ paths: application/json: schema: type: array - items: &98 + items: &99 title: Gist Comment description: A comment made to a gist. type: object @@ -13914,7 +14119,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *82 + author_association: *83 required: - url - id @@ -13954,7 +14159,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -13978,7 +14183,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *97 + - *98 requestBody: required: true content: @@ -14003,9 +14208,9 @@ paths: description: Response content: application/json: - schema: *98 + schema: *99 examples: - default: &99 + default: &100 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14062,8 +14267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *97 - - &101 + - *98 + - &102 name: comment_id description: The unique identifier of the comment. in: path @@ -14076,12 +14281,12 @@ paths: description: Response content: application/json: - schema: *98 + schema: *99 examples: - default: *99 + default: *100 '304': *37 '404': *6 - '403': *100 + '403': *101 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14102,8 +14307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *97 - - *101 + - *98 + - *102 requestBody: required: true content: @@ -14128,9 +14333,9 @@ paths: description: Response content: application/json: - schema: *98 + schema: *99 examples: - default: *99 + default: *100 '404': *6 x-github: githubCloudOnly: false @@ -14147,8 +14352,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *97 - - *101 + - *98 + - *102 responses: '204': description: Response @@ -14171,7 +14376,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *97 + - *98 - *17 - *19 responses: @@ -14272,7 +14477,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *97 + - *98 - *17 - *19 responses: @@ -14282,7 +14487,7 @@ paths: application/json: schema: type: array - items: *95 + items: *96 examples: default: value: @@ -14328,7 +14533,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '404': *6 '304': *37 '403': *29 @@ -14347,13 +14552,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *97 + - *98 responses: '201': description: Response content: application/json: - schema: *93 + schema: *94 examples: default: value: @@ -14423,7 +14628,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *97 + - *98 responses: '204': description: Response if gist is starred @@ -14453,7 +14658,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *97 + - *98 responses: '204': description: Response @@ -14475,7 +14680,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *97 + - *98 responses: '204': description: Response @@ -14503,7 +14708,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *97 + - *98 - name: sha in: path required: true @@ -14514,9 +14719,9 @@ paths: description: Response content: application/json: - schema: *95 + schema: *96 examples: - default: *96 + default: *97 '422': *15 '404': *6 '403': *29 @@ -14677,7 +14882,7 @@ paths: type: array items: allOf: - - *79 + - *80 repository_selection: type: string example: selected @@ -14800,7 +15005,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *67 + Link: *68 '403': *29 '304': *37 '401': *25 @@ -14902,8 +15107,8 @@ paths: - updated - comments default: created - - *61 - - *92 + - *62 + - *93 - name: collab in: query required: false @@ -14933,7 +15138,7 @@ paths: application/json: schema: type: array - items: *85 + items: *86 examples: default: &246 value: @@ -15180,7 +15385,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *67 + Link: *68 '422': *15 '304': *37 '404': *6 @@ -15219,8 +15424,8 @@ paths: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 examples: default: value: @@ -15505,7 +15710,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &102 + X-CommonMarker-Version: &103 example: 0.17.4 schema: type: string @@ -15560,7 +15765,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *102 + X-CommonMarker-Version: *103 content: text/html: schema: @@ -15589,7 +15794,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &105 + - &106 name: account_id description: account_id parameter in: path @@ -15601,7 +15806,7 @@ paths: description: Response content: application/json: - schema: &104 + schema: &105 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -15631,7 +15836,7 @@ paths: nullable: true id: type: integer - plan: &103 + plan: &104 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -15720,7 +15925,7 @@ paths: nullable: true updated_at: type: string - plan: *103 + plan: *104 required: - url - id @@ -15728,7 +15933,7 @@ paths: - login - marketplace_purchase examples: - default: &106 + default: &107 value: url: https://api.github.com/orgs/github type: Organization @@ -15813,9 +16018,9 @@ paths: application/json: schema: type: array - items: *103 + items: *104 examples: - default: &107 + default: &108 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -15833,7 +16038,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *67 + Link: *68 '404': *6 '401': *25 x-github: @@ -15855,14 +16060,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &108 + - &109 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &109 + - &110 name: sort description: The property to sort the results by. in: query @@ -15892,9 +16097,9 @@ paths: application/json: schema: type: array - items: *104 + items: *105 examples: - default: &110 + default: &111 value: - url: https://api.github.com/orgs/github type: Organization @@ -15945,7 +16150,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *67 + Link: *68 '404': *6 '422': *15 '401': *25 @@ -15968,15 +16173,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *105 + - *106 responses: '200': description: Response content: application/json: - schema: *104 + schema: *105 examples: - default: *106 + default: *107 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -16008,11 +16213,11 @@ paths: application/json: schema: type: array - items: *103 + items: *104 examples: - default: *107 + default: *108 headers: - Link: *67 + Link: *68 '401': *25 x-github: githubCloudOnly: false @@ -16033,8 +16238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *108 - *109 + - *110 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16054,11 +16259,11 @@ paths: application/json: schema: type: array - items: *104 + items: *105 examples: - default: *110 + default: *111 headers: - Link: *67 + Link: *68 '401': *25 x-github: githubCloudOnly: false @@ -16344,7 +16549,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: default: value: @@ -16428,7 +16633,7 @@ paths: schema: type: boolean default: false - - *92 + - *93 - &584 name: before description: 'Only show notifications updated before the given time. This @@ -16454,14 +16659,14 @@ paths: application/json: schema: type: array - items: &112 + items: &113 title: Thread description: Thread type: object properties: id: type: string - repository: &160 + repository: &159 title: Minimal Repository description: Minimal Repository type: object @@ -17039,7 +17244,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -17123,7 +17328,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &113 + - &114 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 @@ -17137,7 +17342,7 @@ paths: description: Response content: application/json: - schema: *112 + schema: *113 examples: default: value: @@ -17239,7 +17444,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *113 + - *114 responses: '205': description: Reset Content @@ -17261,7 +17466,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *113 + - *114 responses: '204': description: No content @@ -17284,13 +17489,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *113 + - *114 responses: '200': description: Response content: application/json: - schema: &114 + schema: &115 title: Thread Subscription description: Thread Subscription type: object @@ -17327,7 +17532,7 @@ paths: - url - subscribed examples: - default: &115 + default: &116 value: subscribed: true ignored: false @@ -17358,7 +17563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *113 + - *114 requestBody: required: false content: @@ -17379,9 +17584,9 @@ paths: description: Response content: application/json: - schema: *114 + schema: *115 examples: - default: *115 + default: *116 '304': *37 '403': *29 '401': *25 @@ -17404,7 +17609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *113 + - *114 responses: '204': description: Response @@ -17499,9 +17704,9 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: - default: *116 + default: *117 headers: Link: example: ; rel="next" @@ -17528,13 +17733,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response content: application/json: - schema: &117 + schema: &118 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -17567,12 +17772,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: application/json: - schema: *117 + schema: *118 examples: selected_actions: *42 responses: @@ -17601,13 +17806,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response content: application/json: - schema: &118 + schema: &119 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -17640,12 +17845,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: application/json: - schema: *118 + schema: *119 examples: selected_actions: *44 responses: @@ -17659,271 +17864,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: - - *75 - - 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 - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - example: internal - nullable: true - accessible_repositories: - type: array - items: - title: Simple Repository - description: A GitHub repository. - type: object - properties: *119 - required: *120 - nullable: true - 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': *29 - '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: - - *75 - 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': *29 - '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: - - *75 - 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 - example: internal - required: - - default_level - examples: - '204': - summary: Example with a 'succeeded' status. - value: - default_level: public - responses: - '204': - description: Response - '403': *29 - '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 @@ -17940,7 +17880,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - - *75 + - *76 - name: page description: The page number of the results to fetch. in: query @@ -18112,8 +18052,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - - *75 - - &122 + - *76 + - &121 name: budget_id description: The ID corresponding to the budget. in: path @@ -18210,7 +18150,7 @@ paths: '404': *6 '403': *29 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18230,8 +18170,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - - *75 - - *122 + - *76 + - *121 requestBody: required: true content: @@ -18422,8 +18362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - - *75 - - *122 + - *76 + - *121 responses: '200': description: Response when deleting a budget @@ -18450,7 +18390,7 @@ paths: '404': *6 '403': *29 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18470,8 +18410,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - - *75 - - &123 + - *76 + - &122 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, @@ -18480,7 +18420,7 @@ paths: required: false schema: type: integer - - &125 + - &124 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 @@ -18489,7 +18429,7 @@ paths: required: false schema: type: integer - - &124 + - &123 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 @@ -18511,7 +18451,7 @@ paths: required: false schema: type: string - - &126 + - &125 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -18628,7 +18568,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18648,8 +18588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - - *75 - - *123 + - *76 + - *122 - &734 name: month description: If specified, only return results for a single month. The value @@ -18659,7 +18599,7 @@ paths: required: false schema: type: integer - - *124 + - *123 responses: '200': description: Billing usage report response for an organization @@ -18735,7 +18675,7 @@ paths: '400': *14 '403': *29 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18758,10 +18698,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - - *75 - - *123 - - *125 + - *76 + - *122 - *124 + - *123 - &735 name: repository description: The repository name to query for usage in the format owner/repository. @@ -18769,7 +18709,7 @@ paths: required: false schema: type: string - - *126 + - *125 - &736 name: sku description: The SKU to query for usage. @@ -18881,7 +18821,7 @@ paths: '400': *14 '403': *29 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18907,13 +18847,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *75 + - *76 responses: '200': description: Response content: application/json: - schema: &127 + schema: &126 title: Organization Full description: Organization Full type: object @@ -19227,7 +19167,7 @@ paths: - updated_at - archived_at examples: - default-response: &128 + default-response: &127 value: login: github id: 1 @@ -19326,7 +19266,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *75 + - *76 requestBody: required: false content: @@ -19538,17 +19478,17 @@ paths: description: Response content: application/json: - schema: *127 + schema: *126 examples: - default: *128 + default: *127 '422': description: Validation failed content: application/json: schema: oneOf: + - *128 - *129 - - *130 '409': *54 x-github: githubCloudOnly: false @@ -19572,7 +19512,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *75 + - *76 responses: '202': *39 '404': *6 @@ -19598,7 +19538,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -19624,7 +19564,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19645,7 +19585,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: - - *75 + - *76 - *17 - *19 responses: @@ -19698,7 +19638,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19718,7 +19658,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *75 + - *76 - *17 - *19 responses: @@ -19736,7 +19676,7 @@ paths: type: integer runners: type: array - items: &131 + items: &130 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -19790,7 +19730,7 @@ paths: - display_name - source nullable: true - machine_size_details: &139 + machine_size_details: &138 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -19886,7 +19826,7 @@ paths: - public_ip_enabled - platform examples: - default: &159 + default: &158 value: total_count: 2 runners: @@ -19928,7 +19868,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19946,7 +19886,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -20023,9 +19963,9 @@ paths: description: Response content: application/json: - schema: *131 + schema: *130 examples: - default: &140 + default: &139 value: id: 5 name: My hosted ubuntu runner @@ -20066,7 +20006,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -20082,7 +20022,7 @@ paths: type: integer images: type: array - items: &132 + items: &131 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -20133,7 +20073,7 @@ paths: - latest_version - state examples: - default: &134 + default: &133 value: total_count: 2 image_versions: @@ -20164,8 +20104,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: - - *75 - - &133 + - *76 + - &132 name: image_definition_id description: Image definition ID of custom image in: path @@ -20177,7 +20117,7 @@ paths: description: Response content: application/json: - schema: *132 + schema: *131 examples: default: value: @@ -20207,8 +20147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *75 - - *133 + - *76 + - *132 responses: '204': description: Response @@ -20231,8 +20171,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: - - *133 - - *75 + - *132 + - *76 responses: '200': description: Response @@ -20248,7 +20188,7 @@ paths: type: integer image_versions: type: array - items: &135 + items: &134 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -20281,7 +20221,7 @@ paths: - created_on - state_details examples: - default: *134 + default: *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20301,9 +20241,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: - - *75 - - *133 - - &136 + - *76 + - *132 + - &135 name: version description: Version of a custom image in: path @@ -20316,7 +20256,7 @@ paths: description: Response content: application/json: - schema: *135 + schema: *134 examples: default: value: @@ -20342,9 +20282,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: - - *75 - - *133 - - *136 + - *76 + - *132 + - *135 responses: '204': description: Response @@ -20365,7 +20305,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: - - *75 + - *76 responses: '200': description: Response @@ -20381,7 +20321,7 @@ paths: type: integer images: type: array - items: &137 + items: &136 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -20417,7 +20357,7 @@ paths: - display_name - source examples: - default: &138 + default: &137 value: id: ubuntu-20.04 platform: linux-x64 @@ -20441,7 +20381,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: - - *75 + - *76 responses: '200': description: Response @@ -20457,9 +20397,9 @@ paths: type: integer images: type: array - items: *137 + items: *136 examples: - default: *138 + default: *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20476,7 +20416,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: - - *75 + - *76 responses: '200': description: Response @@ -20529,7 +20469,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: - - *75 + - *76 responses: '200': description: Response @@ -20545,7 +20485,7 @@ paths: type: integer machine_specs: type: array - items: *139 + items: *138 examples: default: value: @@ -20570,7 +20510,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: - - *75 + - *76 responses: '200': description: Response @@ -20614,8 +20554,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *75 - - &141 + - *76 + - &140 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -20627,11 +20567,11 @@ paths: description: Response content: application/json: - schema: *131 + schema: *130 examples: - default: *140 + default: *139 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20649,8 +20589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *75 - - *141 + - *76 + - *140 requestBody: required: true content: @@ -20702,9 +20642,9 @@ paths: description: Response content: application/json: - schema: *131 + schema: *130 examples: - default: *140 + default: *139 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20720,16 +20660,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *75 - - *141 + - *76 + - *140 responses: '202': description: Response content: application/json: - schema: *131 + schema: *130 examples: - default: *140 + default: *139 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -20749,7 +20689,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization parameters: - - *75 + - *76 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -20782,12 +20722,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: application/json: - schema: *142 + schema: *141 examples: default: *46 responses: @@ -20821,7 +20761,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *75 + - *76 - name: custom_property_name in: path required: true @@ -20854,7 +20794,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: - - *75 + - *76 responses: '200': description: A JSON serialized template for OIDC subject claim customization @@ -20874,7 +20814,7 @@ paths: required: - include_claim_keys examples: - default: &143 + default: &142 value: include_claim_keys: - repo @@ -20896,7 +20836,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: - - *75 + - *76 requestBody: required: true content: @@ -20913,13 +20853,13 @@ paths: items: type: string examples: - default: *143 + default: *142 responses: '201': description: Empty response content: application/json: - schema: &169 + schema: &168 title: Empty Object description: An object without any properties. type: object @@ -20949,7 +20889,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -20958,7 +20898,7 @@ paths: schema: type: object properties: - enabled_repositories: &144 + enabled_repositories: &143 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -20971,7 +20911,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: &145 + allowed_actions: &144 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -20984,7 +20924,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: &146 + sha_pinning_required: &145 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -21015,7 +20955,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *75 + - *76 responses: '204': description: Response @@ -21026,9 +20966,9 @@ paths: schema: type: object properties: - enabled_repositories: *144 - allowed_actions: *145 - sha_pinning_required: *146 + enabled_repositories: *143 + allowed_actions: *144 + sha_pinning_required: *145 required: - enabled_repositories examples: @@ -21056,7 +20996,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -21099,7 +21039,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -21141,13 +21081,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response content: application/json: - schema: &147 + schema: &146 type: object properties: approval_policy: @@ -21182,7 +21122,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *75 + - *76 responses: '204': description: Response @@ -21192,7 +21132,7 @@ paths: required: true content: application/json: - schema: *147 + schema: *146 examples: default: summary: Set approval policy to first time contributors @@ -21214,7 +21154,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: - - *75 + - *76 responses: '200': description: Response @@ -21246,7 +21186,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &148 + default: &147 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -21269,7 +21209,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: - - *75 + - *76 requestBody: required: true content: @@ -21297,7 +21237,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *148 + default: *147 responses: '204': description: Empty response for successful settings update @@ -21327,7 +21267,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: - - *75 + - *76 - *17 - *19 responses: @@ -21345,9 +21285,9 @@ paths: type: number repositories: type: array - items: *79 + items: *80 examples: - default: &152 + default: &151 value: total_count: 1 repositories: @@ -21487,7 +21427,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: - - *75 + - *76 responses: '204': description: Response @@ -21531,8 +21471,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: - - *75 - - &149 + - *76 + - &148 name: repository_id description: The unique identifier of the repository. in: path @@ -21560,8 +21500,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: - - *75 - - *149 + - *76 + - *148 responses: '204': description: Response @@ -21584,13 +21524,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response content: application/json: - schema: &150 + schema: &149 type: object properties: github_owned_allowed: @@ -21612,7 +21552,7 @@ paths: items: type: string examples: - default: &151 + default: &150 value: github_owned_allowed: true verified_allowed: false @@ -21637,7 +21577,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *75 + - *76 responses: '204': description: Response @@ -21645,9 +21585,9 @@ paths: required: false content: application/json: - schema: *150 + schema: *149 examples: - selected_actions: *151 + selected_actions: *150 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21667,7 +21607,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -21715,7 +21655,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -21762,7 +21702,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: - - *75 + - *76 - *17 - *19 responses: @@ -21777,9 +21717,9 @@ paths: type: integer repositories: type: array - items: *79 + items: *80 examples: - default: *152 + default: *151 '403': *29 '404': *6 x-github: @@ -21799,7 +21739,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: - - *75 + - *76 requestBody: required: true content: @@ -21847,8 +21787,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: - - *75 - - *149 + - *76 + - *148 responses: '204': description: No content @@ -21874,8 +21814,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: - - *75 - - *149 + - *76 + - *148 responses: '204': description: No content @@ -21903,7 +21843,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -21912,14 +21852,14 @@ paths: schema: &368 type: object properties: - default_workflow_permissions: &153 + default_workflow_permissions: &152 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &154 + can_approve_pull_request_reviews: &153 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -21927,7 +21867,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &155 + default: &154 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -21952,7 +21892,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *75 + - *76 responses: '204': description: Success response @@ -21963,10 +21903,10 @@ paths: schema: &369 type: object properties: - default_workflow_permissions: *153 - can_approve_pull_request_reviews: *154 + default_workflow_permissions: *152 + can_approve_pull_request_reviews: *153 examples: - default: *155 + default: *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21986,7 +21926,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: - - *75 + - *76 - *17 - *19 - name: visible_to_repository @@ -22011,7 +21951,7 @@ paths: type: number runner_groups: type: array - items: &156 + items: &155 type: object properties: id: @@ -22127,7 +22067,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: - - *75 + - *76 requestBody: required: true content: @@ -22199,9 +22139,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *155 examples: - default: &158 + default: &157 value: id: 2 name: octo-runner-group @@ -22236,8 +22176,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: - - *75 - - &157 + - *76 + - &156 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -22249,7 +22189,7 @@ paths: description: Response content: application/json: - schema: *156 + schema: *155 examples: default: value: @@ -22285,8 +22225,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: - - *75 - - *157 + - *76 + - *156 requestBody: required: true content: @@ -22340,9 +22280,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *155 examples: - default: *158 + default: *157 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22361,8 +22301,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: - - *75 - - *157 + - *76 + - *156 responses: '204': description: Response @@ -22385,8 +22325,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: - - *75 - - *157 + - *76 + - *156 - *17 - *19 responses: @@ -22404,11 +22344,11 @@ paths: type: number runners: type: array - items: *131 + items: *130 examples: - default: *159 + default: *158 headers: - Link: *67 + Link: *68 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22428,8 +22368,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: - - *75 - - *157 + - *76 + - *156 - *19 - *17 responses: @@ -22447,9 +22387,9 @@ paths: type: number repositories: type: array - items: *160 + items: *159 examples: - default: &198 + default: &196 value: total_count: 1 repositories: @@ -22701,8 +22641,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: - - *75 - - *157 + - *76 + - *156 requestBody: required: true content: @@ -22746,9 +22686,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: - - *75 - - *157 - - *149 + - *76 + - *156 + - *148 responses: '204': description: Response @@ -22770,9 +22710,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: - - *75 - - *157 - - *149 + - *76 + - *156 + - *148 responses: '204': description: Response @@ -22795,8 +22735,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: - - *75 - - *157 + - *76 + - *156 - *17 - *19 responses: @@ -22814,7 +22754,7 @@ paths: type: number runners: type: array - items: &162 + items: &161 title: Self hosted runners description: A self hosted runner type: object @@ -22843,7 +22783,7 @@ paths: type: boolean labels: type: array - items: &165 + items: &164 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -22873,7 +22813,7 @@ paths: - busy - labels examples: - default: &163 + default: &162 value: total_count: 2 runners: @@ -22913,7 +22853,7 @@ paths: name: no-gpu type: custom headers: - Link: *67 + Link: *68 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22932,8 +22872,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: - - *75 - - *157 + - *76 + - *156 requestBody: required: true content: @@ -22977,9 +22917,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: - - *75 - - *157 - - &161 + - *76 + - *156 + - &160 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -23007,9 +22947,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: - - *75 - - *157 - - *161 + - *76 + - *156 + - *160 responses: '204': description: Response @@ -23039,7 +22979,7 @@ paths: in: query schema: type: string - - *75 + - *76 - *17 - *19 responses: @@ -23057,11 +22997,11 @@ paths: type: integer runners: type: array - items: *162 + items: *161 examples: - default: *163 + default: *162 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23083,7 +23023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -23159,7 +23099,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: - - *75 + - *76 requestBody: required: true content: @@ -23212,7 +23152,7 @@ paths: - runner - encoded_jit_config properties: - runner: *162 + runner: *161 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -23269,13 +23209,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *75 + - *76 responses: '201': description: Response content: application/json: - schema: &164 + schema: &163 title: Authentication Token description: Authentication Token type: object @@ -23297,7 +23237,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *79 + items: *80 single_file: type: string example: config.yaml @@ -23344,13 +23284,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *75 + - *76 responses: '201': description: Response content: application/json: - schema: *164 + schema: *163 examples: default: &374 value: @@ -23377,14 +23317,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: - - *75 - - *161 + - *76 + - *160 responses: '200': description: Response content: application/json: - schema: *162 + schema: *161 examples: default: &375 value: @@ -23427,8 +23367,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: - - *75 - - *161 + - *76 + - *160 responses: '204': description: Response @@ -23454,10 +23394,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: - - *75 - - *161 + - *76 + - *160 responses: - '200': &166 + '200': &165 description: Response content: application/json: @@ -23471,7 +23411,7 @@ paths: type: integer labels: type: array - items: *165 + items: *164 examples: default: value: @@ -23510,8 +23450,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: - - *75 - - *161 + - *76 + - *160 requestBody: required: true content: @@ -23535,7 +23475,7 @@ paths: - gpu - accelerated responses: - '200': *166 + '200': *165 '404': *6 '422': *7 x-github: @@ -23559,8 +23499,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: - - *75 - - *161 + - *76 + - *160 requestBody: required: true content: @@ -23585,7 +23525,7 @@ paths: - gpu - accelerated responses: - '200': *166 + '200': *165 '404': *6 '422': *7 x-github: @@ -23609,8 +23549,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: - - *75 - - *161 + - *76 + - *160 responses: '200': &376 description: Response @@ -23626,7 +23566,7 @@ paths: type: integer labels: type: array - items: *165 + items: *164 examples: default: value: @@ -23667,8 +23607,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: - - *75 - - *161 + - *76 + - *160 - &377 name: name description: The name of a self-hosted runner's custom label. @@ -23677,7 +23617,7 @@ paths: schema: type: string responses: - '200': *166 + '200': *165 '404': *6 '422': *7 x-github: @@ -23702,7 +23642,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *75 + - *76 - *17 - *19 responses: @@ -23720,7 +23660,7 @@ paths: type: integer secrets: type: array - items: &167 + items: &166 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -23770,7 +23710,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23793,7 +23733,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *75 + - *76 responses: '200': description: Response @@ -23853,8 +23793,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *75 - - &168 + - *76 + - &167 name: secret_name description: The name of the secret. in: path @@ -23866,7 +23806,7 @@ paths: description: Response content: application/json: - schema: *167 + schema: *166 examples: default: value: @@ -23896,8 +23836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 requestBody: required: true content: @@ -23954,7 +23894,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -23980,8 +23920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 responses: '204': description: Response @@ -24007,8 +23947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - *19 - *17 responses: @@ -24026,9 +23966,9 @@ paths: type: integer repositories: type: array - items: *160 + items: *159 examples: - default: &172 + default: &171 value: total_count: 1 repositories: @@ -24120,8 +24060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 requestBody: required: true content: @@ -24173,8 +24113,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - name: repository_id in: path required: true @@ -24207,8 +24147,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - name: repository_id in: path required: true @@ -24240,7 +24180,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *75 + - *76 - &358 name: per_page description: The number of results per page (max 30). For more information, @@ -24265,7 +24205,7 @@ paths: type: integer variables: type: array - items: &170 + items: &169 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -24329,7 +24269,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24350,7 +24290,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *75 + - *76 requestBody: required: true content: @@ -24398,7 +24338,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -24423,8 +24363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *75 - - &171 + - *76 + - &170 name: name description: The name of the variable. in: path @@ -24436,7 +24376,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *169 examples: default: value: @@ -24466,8 +24406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *75 - - *171 + - *76 + - *170 requestBody: required: true content: @@ -24529,8 +24469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *75 - - *171 + - *76 + - *170 responses: '204': description: Response @@ -24556,8 +24496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *75 - - *171 + - *76 + - *170 - *19 - *17 responses: @@ -24575,9 +24515,9 @@ paths: type: integer repositories: type: array - items: *160 + items: *159 examples: - default: *172 + default: *171 '409': description: Response when the visibility of the variable is not set to `selected` @@ -24603,8 +24543,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *75 - - *171 + - *76 + - *170 requestBody: required: true content: @@ -24653,8 +24593,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *75 - - *171 + - *76 + - *170 - name: repository_id in: path required: true @@ -24688,8 +24628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *75 - - *171 + - *76 + - *170 - name: repository_id in: path required: true @@ -24730,7 +24670,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *75 + - *76 requestBody: required: true content: @@ -24853,7 +24793,7 @@ paths: type: integer deployment_records: type: array - items: &173 + items: &172 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -24899,7 +24839,7 @@ paths: required: - total_count examples: - default: &174 + default: &173 value: total_count: 1 deployment_records: @@ -24936,7 +24876,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *75 + - *76 - name: cluster in: path description: The cluster name. @@ -25079,11 +25019,11 @@ paths: type: integer deployment_records: type: array - items: *173 + items: *172 required: - total_count examples: - default: *174 + default: *173 '403': description: Forbidden content: @@ -25130,7 +25070,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *75 + - *76 requestBody: required: true content: @@ -25293,7 +25233,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *75 + - *76 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -25318,9 +25258,9 @@ paths: type: integer deployment_records: type: array - items: *173 + items: *172 examples: - default: *174 + default: *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25340,7 +25280,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *75 + - *76 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -25425,7 +25365,7 @@ paths: - *17 - *47 - *48 - - *75 + - *76 requestBody: required: true content: @@ -25607,7 +25547,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *75 + - *76 requestBody: required: true content: @@ -25672,7 +25612,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *75 + - *76 - name: subject_digest description: Subject Digest in: path @@ -25707,7 +25647,7 @@ paths: - *17 - *47 - *48 - - *75 + - *76 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -25755,7 +25695,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *75 + - *76 - name: attestation_id description: Attestation ID in: path @@ -25793,7 +25733,7 @@ paths: - *17 - *47 - *48 - - *75 + - *76 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -25938,7 +25878,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *75 + - *76 - *17 - *19 responses: @@ -25950,7 +25890,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25969,8 +25909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: If the user is blocked @@ -25995,8 +25935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -26016,8 +25956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -26042,15 +25982,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *75 + - *76 - *19 - *17 - - *61 + - *62 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &175 + schema: &174 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -26076,7 +26016,7 @@ paths: application/json: schema: type: array - items: &176 + items: &175 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -26107,7 +26047,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &197 + items: &195 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -26297,7 +26237,7 @@ paths: type: string format: date-time nullable: true - state: *175 + state: *174 contact_link: description: The contact link of the campaign. type: string @@ -26392,9 +26332,9 @@ paths: closed_at: state: open headers: - Link: *67 + Link: *68 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26418,7 +26358,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -26517,9 +26457,9 @@ paths: description: Response content: application/json: - schema: *176 + schema: *175 examples: - default: &177 + default: &176 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -26568,7 +26508,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26590,7 +26530,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *75 + - *76 - name: campaign_number description: The campaign number. in: path @@ -26602,16 +26542,16 @@ paths: description: Response content: application/json: - schema: *176 + schema: *175 examples: - default: *177 + default: *176 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26632,7 +26572,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *75 + - *76 - name: campaign_number description: The campaign number. in: path @@ -26681,7 +26621,7 @@ paths: type: string format: uri nullable: true - state: *175 + state: *174 examples: default: value: @@ -26691,9 +26631,9 @@ paths: description: Response content: application/json: - schema: *176 + schema: *175 examples: - default: *177 + default: *176 '400': description: Bad Request content: @@ -26705,7 +26645,7 @@ paths: content: application/json: schema: *3 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26726,7 +26666,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *75 + - *76 - name: campaign_number description: The campaign number. in: path @@ -26737,7 +26677,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26759,7 +26699,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *75 + - *76 - &428 name: tool_name description: The name of a code scanning tool. Only results by this tool will @@ -26767,7 +26707,7 @@ paths: but not both. in: query required: false - schema: &185 + schema: &184 type: string description: The name of the tool used to generate the code scanning analysis. - &429 @@ -26778,7 +26718,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &186 + schema: &185 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -26787,7 +26727,7 @@ paths: - *48 - *19 - *17 - - *61 + - *62 - name: state description: If specified, only code scanning alerts with this state will be returned. @@ -26845,18 +26785,18 @@ paths: items: type: object properties: - number: *178 - created_at: *179 - updated_at: *180 - url: *181 - html_url: *182 + number: *177 + created_at: *178 + updated_at: *179 + url: *180 + html_url: *181 instances_url: &433 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &187 + state: &186 type: string description: State of a code scanning alert. nullable: true @@ -26864,7 +26804,7 @@ paths: - open - dismissed - fixed - fixed_at: *183 + fixed_at: *182 dismissed_by: title: Simple User description: A GitHub user. @@ -26872,7 +26812,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *184 + dismissed_at: *183 dismissed_reason: &434 type: string description: "**Required when the state is dismissed.** The @@ -26944,13 +26884,13 @@ paths: tool: &437 type: object properties: - name: *185 + name: *184 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *186 + guid: *185 most_recent_instance: &438 type: object properties: @@ -26976,7 +26916,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: *187 + state: *186 commit_sha: type: string message: @@ -27021,7 +26961,7 @@ paths: - generated - test - library - repository: *66 + repository: *67 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -27276,9 +27216,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: *67 + Link: *68 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27300,7 +27240,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *75 + - *76 - name: target_type in: query description: The target type of the code security configuration @@ -27406,7 +27346,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *75 + - *76 requestBody: required: true content: @@ -27650,7 +27590,7 @@ paths: application/json: schema: *49 examples: - default: *188 + default: *187 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27672,15 +27612,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *75 + - *76 responses: '200': description: Response content: application/json: - schema: *189 + schema: *188 examples: - default: *190 + default: *189 '304': *37 '403': *29 '404': *6 @@ -27706,7 +27646,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *75 + - *76 requestBody: required: true content: @@ -27732,7 +27672,7 @@ paths: - 32 - 91 responses: - '204': *191 + '204': *61 '400': *14 '403': *29 '404': *6 @@ -27758,7 +27698,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *75 + - *76 - *51 responses: '200': @@ -27767,7 +27707,7 @@ paths: application/json: schema: *49 examples: - default: *188 + default: *187 '304': *37 '403': *29 '404': *6 @@ -27791,7 +27731,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *75 + - *76 - *51 requestBody: required: true @@ -28071,10 +28011,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *75 + - *76 - *51 responses: - '204': *191 + '204': *61 '400': *14 '403': *29 '404': *6 @@ -28102,7 +28042,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *75 + - *76 - *51 requestBody: required: true @@ -28166,7 +28106,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: - - *75 + - *76 - *51 requestBody: required: true @@ -28212,7 +28152,7 @@ paths: default: value: default_for_new_repos: all - configuration: *188 + configuration: *187 '403': *29 '404': *6 x-github: @@ -28236,7 +28176,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *75 + - *76 - *51 - name: per_page description: The number of results per page (max 100). For more information, @@ -28265,13 +28205,13 @@ paths: application/json: schema: type: array - items: *192 + items: *190 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *193 + repository: *191 '403': *29 '404': *6 x-github: @@ -28295,7 +28235,7 @@ paths: parameters: - *17 - *19 - - *75 + - *76 responses: '200': description: Response @@ -28336,7 +28276,7 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *160 + repository: *159 machine: type: object title: Codespace machine @@ -29020,7 +28960,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *75 + - *76 deprecated: true requestBody: required: true @@ -29087,7 +29027,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *75 + - *76 deprecated: true requestBody: required: true @@ -29142,7 +29082,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *75 + - *76 requestBody: required: true content: @@ -29194,7 +29134,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *75 + - *76 - *17 - *19 responses: @@ -29212,7 +29152,7 @@ paths: type: integer secrets: type: array - items: &194 + items: &192 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -29264,7 +29204,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29283,7 +29223,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *75 + - *76 responses: '200': description: Response @@ -29341,14 +29281,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 responses: '200': description: Response content: application/json: - schema: *194 + schema: *192 examples: default: &470 value: @@ -29357,7 +29297,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29377,8 +29317,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 requestBody: required: true content: @@ -29433,7 +29373,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -29459,8 +29399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 responses: '204': description: Response @@ -29485,8 +29425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - *19 - *17 responses: @@ -29504,9 +29444,9 @@ paths: type: integer repositories: type: array - items: *160 + items: *159 examples: - default: *172 + default: *171 '404': *6 x-github: githubCloudOnly: false @@ -29528,8 +29468,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 requestBody: required: true content: @@ -29579,8 +29519,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - name: repository_id in: path required: true @@ -29613,8 +29553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - name: repository_id in: path required: true @@ -29653,7 +29593,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: - - *75 + - *76 responses: '200': description: OK @@ -29794,7 +29734,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: - - *75 + - *76 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -29834,15 +29774,15 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *195 - required: *196 + properties: *193 + required: *194 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *197 - - *68 + - *195 + - *69 nullable: true pending_cancellation_date: type: string @@ -29966,7 +29906,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '500': *55 '401': *25 '403': *29 @@ -30000,7 +29940,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: - - *75 + - *76 requestBody: content: application/json: @@ -30078,7 +30018,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: - - *75 + - *76 requestBody: content: application/json: @@ -30158,7 +30098,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: - - *75 + - *76 requestBody: content: application/json: @@ -30235,7 +30175,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: - - *75 + - *76 requestBody: content: application/json: @@ -30313,7 +30253,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: - - *75 + - *76 responses: '200': description: Response @@ -30378,7 +30318,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: - - *75 + - *76 requestBody: required: true content: @@ -30433,7 +30373,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: - - *75 + - *76 - *17 - *19 responses: @@ -30448,12 +30388,12 @@ paths: type: integer repositories: type: array - items: *160 + items: *159 required: - total_count - repositories examples: - default: *198 + default: *196 '500': *55 '401': *25 '403': *29 @@ -30482,7 +30422,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: - - *75 + - *76 requestBody: required: true content: @@ -30538,8 +30478,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: - - *75 - - *149 + - *76 + - *148 responses: '204': description: No Content @@ -30572,8 +30512,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: - - *75 - - *149 + - *76 + - *148 responses: '204': description: No Content @@ -30612,7 +30552,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: - - *75 + - *76 responses: '200': description: OK @@ -30665,7 +30605,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: - - *75 + - *76 requestBody: description: The content exclusion rules to set required: true @@ -30756,7 +30696,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *75 + - *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`). @@ -31228,7 +31168,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: - - *75 + - *76 - *56 responses: '200': @@ -31238,7 +31178,7 @@ paths: schema: *57 examples: default: *58 - '204': *191 + '204': *61 '500': *55 '403': *29 '404': *6 @@ -31267,7 +31207,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics parameters: - - *75 + - *76 responses: '200': description: Response @@ -31304,7 +31244,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: - - *75 + - *76 - *56 responses: '200': @@ -31314,7 +31254,7 @@ paths: schema: *57 examples: default: *58 - '204': *191 + '204': *61 '500': *55 '403': *29 '404': *6 @@ -31343,7 +31283,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics parameters: - - *75 + - *76 responses: '200': description: Response @@ -31376,13 +31316,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *75 + - *76 + - *197 + - *198 - *199 - *200 - *201 - *202 - - *203 - - *204 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -31412,7 +31352,7 @@ paths: enum: - patch - deployment - - *205 + - *203 - name: runtime_risk in: query description: |- @@ -31421,9 +31361,9 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *206 - - *207 - - *61 + - *204 + - *205 + - *62 - *47 - *48 - *17 @@ -31434,9 +31374,9 @@ paths: application/json: schema: type: array - items: *208 + items: *206 examples: - default: *209 + default: *207 '304': *37 '400': *14 '403': *29 @@ -31447,6 +31387,271 @@ 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: + - *76 + - 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 + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + example: internal + nullable: true + accessible_repositories: + type: array + items: + title: Simple Repository + description: A GitHub repository. + type: object + properties: *208 + required: *209 + nullable: true + 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': *29 + '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: + - *76 + 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': *29 + '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: + - *76 + 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 + example: internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access "/orgs/{org}/dependabot/secrets": get: summary: List organization secrets @@ -31462,7 +31667,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *75 + - *76 - *17 - *19 responses: @@ -31530,7 +31735,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31551,7 +31756,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *75 + - *76 responses: '200': description: Response @@ -31597,8 +31802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 responses: '200': description: Response @@ -31632,8 +31837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 requestBody: required: true content: @@ -31688,7 +31893,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -31712,8 +31917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 responses: '204': description: Response @@ -31737,8 +31942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - *19 - *17 responses: @@ -31756,9 +31961,9 @@ paths: type: integer repositories: type: array - items: *160 + items: *159 examples: - default: *172 + default: *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31779,8 +31984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 requestBody: required: true content: @@ -31830,8 +32035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - name: repository_id in: path required: true @@ -31862,8 +32067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - name: repository_id in: path required: true @@ -31893,7 +32098,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: - - *75 + - *76 responses: '200': description: Response @@ -32049,7 +32254,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *75 + - *76 - *17 - *19 responses: @@ -32059,7 +32264,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: 200-response: value: @@ -32131,7 +32336,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *75 + - *76 - *17 - *19 responses: @@ -32221,7 +32426,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -32245,7 +32450,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *75 + - *76 - *17 - *19 responses: @@ -32343,7 +32548,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -32366,7 +32571,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *75 + - *76 requestBody: required: true content: @@ -32475,7 +32680,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *75 + - *76 - &215 name: hook_id description: The unique identifier of the hook. You can find this value in @@ -32518,7 +32723,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *75 + - *76 - *215 requestBody: required: false @@ -32605,7 +32810,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *75 + - *76 - *215 responses: '204': @@ -32633,7 +32838,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *75 + - *76 - *215 responses: '200': @@ -32664,7 +32869,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *75 + - *76 - *215 requestBody: required: false @@ -32715,7 +32920,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *75 + - *76 - *215 - *17 - *216 @@ -32754,7 +32959,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *75 + - *76 - *215 - *16 responses: @@ -32789,7 +32994,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *75 + - *76 - *215 - *16 responses: @@ -32819,7 +33024,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *75 + - *76 - *215 responses: '204': @@ -32842,7 +33047,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *75 + - *76 - &226 name: actor_type in: path @@ -32882,7 +33087,7 @@ paths: type: string - *19 - *17 - - *61 + - *62 - name: sort description: The property to sort the results by. in: query @@ -32964,12 +33169,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *75 + - *76 - *222 - *223 - *19 - *17 - - *61 + - *62 - &232 name: sort description: The property to sort the results by. @@ -33047,7 +33252,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *75 + - *76 - *222 - *223 responses: @@ -33091,7 +33296,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *75 + - *76 - &228 name: user_id in: path @@ -33126,7 +33331,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *75 + - *76 - *222 - *223 - *226 @@ -33155,7 +33360,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *75 + - *76 - *222 - *223 - &229 @@ -33223,7 +33428,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *75 + - *76 - *228 - *222 - *223 @@ -33252,7 +33457,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *75 + - *76 - *226 - *227 - *222 @@ -33282,13 +33487,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *75 + - *76 - *228 - *222 - *223 - *19 - *17 - - *61 + - *62 - *232 - name: actor_name_substring in: query @@ -33362,7 +33567,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *75 + - *76 responses: '200': description: Response @@ -33439,7 +33644,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *75 + - *76 - *17 - *19 responses: @@ -33509,7 +33714,7 @@ paths: suspended_at: suspended_by: headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33528,7 +33733,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -33590,7 +33795,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -33645,7 +33850,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *75 + - *76 responses: '204': description: Response @@ -33669,7 +33874,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *75 + - *76 - *17 - *19 - name: role @@ -33707,7 +33912,7 @@ paths: examples: default: *237 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -33728,7 +33933,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *75 + - *76 requestBody: required: false content: @@ -33836,7 +34041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *75 + - *76 - &238 name: invitation_id description: The unique identifier of the invitation. @@ -33867,7 +34072,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *75 + - *76 - *238 - *17 - *19 @@ -33878,7 +34083,7 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: default: &259 value: @@ -33896,7 +34101,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -33915,7 +34120,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#list-issue-fields-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -34066,7 +34271,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#create-issue-field-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -34213,7 +34418,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - - *75 + - *76 - &241 name: issue_field_id description: The unique identifier of the issue field. @@ -34348,10 +34553,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - - *75 + - *76 - *241 responses: - '204': *191 + '204': *61 '404': *6 '422': *7 x-github: @@ -34371,7 +34576,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -34417,7 +34622,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -34498,7 +34703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *75 + - *76 - &244 name: issue_type_id description: The unique identifier of the issue type. @@ -34578,7 +34783,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *75 + - *76 - *244 responses: '204': @@ -34612,7 +34817,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *75 + - *76 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -34660,8 +34865,8 @@ paths: - updated - comments default: created - - *61 - - *92 + - *62 + - *93 - *17 - *19 responses: @@ -34671,11 +34876,11 @@ paths: application/json: schema: type: array - items: *85 + items: *86 examples: default: *246 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -34695,7 +34900,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *75 + - *76 - 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) @@ -34733,9 +34938,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 '422': *15 x-github: githubCloudOnly: false @@ -34753,8 +34958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response if requester is an organization member and user is @@ -34788,8 +34993,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -34816,8 +35021,8 @@ paths: parameters: - *17 - *19 - - *75 - - *71 + - *76 + - *72 responses: '200': description: Response @@ -34860,8 +35065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *75 - - *71 + - *76 + - *72 - &249 name: codespace_name in: path @@ -34895,8 +35100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *75 - - *71 + - *76 + - *72 - *249 responses: '200': @@ -35078,8 +35283,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: - - *75 - - *71 + - *76 + - *72 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -35154,8 +35359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *75 - - *71 + - *76 + - *72 responses: '200': description: Response @@ -35205,7 +35410,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *73 + organization: *74 user: title: Simple User description: A GitHub user. @@ -35300,8 +35505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *75 - - *71 + - *76 + - *72 requestBody: required: false content: @@ -35356,8 +35561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -35382,7 +35587,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *75 + - *76 - *17 - *19 - name: exclude @@ -35444,7 +35649,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *66 + items: *67 url: type: string format: uri @@ -35640,7 +35845,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -35656,7 +35861,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *75 + - *76 requestBody: required: true content: @@ -35910,7 +36115,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *75 + - *76 - &254 name: migration_id description: The unique identifier of the migration. @@ -36107,7 +36312,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *75 + - *76 - *254 responses: '302': @@ -36129,7 +36334,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *75 + - *76 - *254 responses: '204': @@ -36153,7 +36358,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *75 + - *76 - *254 - &697 name: repo_name @@ -36182,7 +36387,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *75 + - *76 - *254 - *17 - *19 @@ -36193,9 +36398,9 @@ paths: application/json: schema: type: array - items: *66 + items: *67 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -36221,7 +36426,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response - list of organization roles @@ -36384,8 +36589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *75 - - *77 + - *76 + - *78 responses: '204': description: Response @@ -36410,8 +36615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *75 - - *77 + - *76 + - *78 - &255 name: role_id description: The unique identifier of the role. @@ -36447,8 +36652,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *75 - - *77 + - *76 + - *78 - *255 responses: '204': @@ -36474,8 +36679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -36500,8 +36705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *75 - - *71 + - *76 + - *72 - *255 responses: '204': @@ -36532,8 +36737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *75 - - *71 + - *76 + - *72 - *255 responses: '204': @@ -36562,7 +36767,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *75 + - *76 - *255 responses: '200': @@ -36619,7 +36824,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: - - *75 + - *76 - *255 - *17 - *19 @@ -36733,7 +36938,7 @@ paths: examples: default: *259 headers: - Link: *67 + Link: *68 '404': description: Response if the organization or role does not exist. '422': @@ -36760,7 +36965,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: - - *75 + - *76 - *255 - *17 - *19 @@ -36890,9 +37095,9 @@ paths: - type - url examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 '404': description: Response if the organization or role does not exist. '422': @@ -36914,7 +37119,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *75 + - *76 - 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) @@ -36941,9 +37146,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36966,8 +37171,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *75 - - *71 + - *76 + - *72 requestBody: required: false content: @@ -37024,8 +37229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -37082,7 +37287,7 @@ paths: - docker - nuget - container - - *75 + - *76 - &698 name: visibility description: |- @@ -37171,7 +37376,7 @@ paths: required: true schema: type: string - - *75 + - *76 responses: '200': description: Response @@ -37231,7 +37436,7 @@ paths: parameters: - *262 - *263 - - *75 + - *76 responses: '204': description: Response @@ -37265,7 +37470,7 @@ paths: parameters: - *262 - *263 - - *75 + - *76 - name: token description: package token schema: @@ -37299,7 +37504,7 @@ paths: parameters: - *262 - *263 - - *75 + - *76 - *19 - *17 - name: state @@ -37446,7 +37651,7 @@ paths: parameters: - *262 - *263 - - *75 + - *76 - &265 name: package_version_id description: Unique identifier of the package version. @@ -37497,7 +37702,7 @@ paths: parameters: - *262 - *263 - - *75 + - *76 - *265 responses: '204': @@ -37532,7 +37737,7 @@ paths: parameters: - *262 - *263 - - *75 + - *76 - *265 responses: '204': @@ -37560,7 +37765,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: - - *75 + - *76 - *17 - *19 - &266 @@ -37573,7 +37778,7 @@ paths: enum: - created_at default: created_at - - *61 + - *62 - &267 name: owner description: A list of owner usernames to use to filter the results. @@ -37765,7 +37970,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37785,7 +37990,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: - - *75 + - *76 requestBody: required: true content: @@ -37851,7 +38056,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: - - *75 + - *76 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -37891,7 +38096,7 @@ paths: '422': *15 '404': *6 '403': *29 - '204': *191 + '204': *61 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37912,7 +38117,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: - - *75 + - *76 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -37932,7 +38137,7 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: &273 value: @@ -38047,7 +38252,7 @@ paths: secret_scanning_delegated_alert_dismissal: status: disabled headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38068,11 +38273,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: - - *75 + - *76 - *17 - *19 - *266 - - *61 + - *62 - *267 - *268 - *269 @@ -38207,7 +38412,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38227,7 +38432,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: - - *75 + - *76 requestBody: required: true content: @@ -38287,7 +38492,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: - - *75 + - *76 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -38317,7 +38522,7 @@ paths: responses: '500': *55 '404': *6 - '204': *191 + '204': *61 '403': *29 '422': *15 x-github: @@ -38339,7 +38544,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: - - *75 + - *76 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -38358,11 +38563,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *273 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38384,7 +38589,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *75 + - *76 - *17 - *19 responses: @@ -38521,7 +38726,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *67 + Link: *68 '400': *14 '404': *6 x-github: @@ -38544,7 +38749,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -38871,7 +39076,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: - - *75 + - *76 responses: '200': description: Response @@ -38897,7 +39102,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -38919,8 +39124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *75 - - *168 + - *76 + - *167 responses: '200': description: The specified private registry configuration for the organization @@ -38950,8 +39155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *75 - - *168 + - *76 + - *167 requestBody: required: true content: @@ -39114,8 +39319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *75 - - *168 + - *76 + - *167 responses: '204': description: Response @@ -39138,7 +39343,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *75 + - *76 - name: q description: Limit results to projects of the specified type. in: query @@ -39381,7 +39586,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -39408,7 +39613,7 @@ paths: required: true schema: type: integer - - *75 + - *76 responses: '200': description: Response @@ -39418,7 +39623,7 @@ paths: examples: default: *277 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -39438,7 +39643,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *75 + - *76 - *278 requestBody: required: true @@ -39486,7 +39691,7 @@ paths: description: The node ID of the project item. content: oneOf: - - *85 + - *86 - &480 title: Pull Request Simple description: Pull Request Simple @@ -39626,7 +39831,7 @@ paths: items: *4 requested_teams: type: array - items: *197 + items: *195 head: type: object properties: @@ -39634,7 +39839,7 @@ paths: type: string ref: type: string - repo: *79 + repo: *80 sha: type: string user: @@ -39657,7 +39862,7 @@ paths: type: string ref: type: string - repo: *79 + repo: *80 sha: type: string user: @@ -39701,7 +39906,7 @@ paths: - review_comments - review_comment - self - author_association: *82 + author_association: *83 auto_merge: &592 title: Auto merge description: The status of auto merging a pull request. @@ -39917,7 +40122,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - *278 - - *75 + - *76 - *17 - *47 - *48 @@ -40189,7 +40394,7 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -40209,7 +40414,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - *278 - - *75 + - *76 requestBody: required: true content: @@ -40509,7 +40714,7 @@ paths: required: true schema: type: integer - - *75 + - *76 responses: '200': description: Response @@ -40552,7 +40757,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -40574,7 +40779,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - *278 - - *75 + - *76 - 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. @@ -41342,7 +41547,7 @@ paths: data_type: sub_issues_progress value: headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -41362,7 +41567,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *75 + - *76 - *278 requestBody: required: true @@ -41469,7 +41674,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - *278 - - *75 + - *76 - &288 name: item_id description: The unique identifier of the project item. @@ -41500,7 +41705,7 @@ paths: examples: default: *287 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -41520,7 +41725,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - *278 - - *75 + - *76 - *288 requestBody: required: true @@ -41618,7 +41823,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - *278 - - *75 + - *76 - *288 responses: '204': @@ -41642,7 +41847,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - - *75 + - *76 - *278 requestBody: required: true @@ -41890,7 +42095,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - *278 - - *75 + - *76 - &732 name: view_number description: The number that identifies the project view. @@ -41927,7 +42132,7 @@ paths: examples: default: *287 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -41950,7 +42155,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -42075,7 +42280,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -42139,7 +42344,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *75 + - *76 - &292 name: custom_property_name description: The custom property name @@ -42188,7 +42393,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: - - *75 + - *76 - *292 requestBody: required: true @@ -42285,10 +42490,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *75 + - *76 - *292 responses: - '204': *191 + '204': *61 '403': *29 '404': *6 x-github: @@ -42309,7 +42514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *75 + - *76 - *17 - *19 - name: repository_query @@ -42386,7 +42591,7 @@ paths: - property_name: team value: octocat headers: - Link: *67 + Link: *68 '403': *29 '404': *6 x-github: @@ -42414,7 +42619,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: - - *75 + - *76 requestBody: required: true content: @@ -42475,7 +42680,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *75 + - *76 - *17 - *19 responses: @@ -42487,9 +42692,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42506,8 +42711,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response if user is a public member @@ -42531,8 +42736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -42553,8 +42758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -42578,7 +42783,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *75 + - *76 - name: type description: Specifies the types of repositories you want returned. in: query @@ -42624,11 +42829,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *273 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42647,7 +42852,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *75 + - *76 requestBody: required: true content: @@ -43198,8 +43403,8 @@ paths: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 nullable: true organization: title: Simple User @@ -43208,8 +43413,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *79 - source: *79 + parent: *80 + source: *80 forks: type: integer master_branch: @@ -43849,7 +44054,7 @@ paths: category: orgs subcategory: rules parameters: - - *75 + - *76 - *17 - *19 - &614 @@ -44946,7 +45151,7 @@ paths: category: orgs subcategory: rules parameters: - - *75 + - *76 requestBody: description: Request body required: true @@ -45096,7 +45301,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *75 + - *76 - &616 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally @@ -45253,7 +45458,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *75 + - *76 - &622 name: rule_suite_id description: |- @@ -45430,7 +45635,7 @@ paths: category: orgs subcategory: rules parameters: - - *75 + - *76 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45462,7 +45667,7 @@ paths: category: orgs subcategory: rules parameters: - - *75 + - *76 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45553,7 +45758,7 @@ paths: category: orgs subcategory: rules parameters: - - *75 + - *76 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45576,7 +45781,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *75 + - *76 - *17 - *19 - name: ruleset_id @@ -45651,7 +45856,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *75 + - *76 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45740,7 +45945,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *75 + - *76 - &628 name: state in: query @@ -45835,7 +46040,7 @@ paths: - created - updated default: created - - *61 + - *62 - *19 - *17 - &636 @@ -45904,8 +46109,8 @@ paths: items: type: object properties: - number: *178 - created_at: *179 + number: *177 + created_at: *178 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -45913,8 +46118,8 @@ paths: format: date-time readOnly: true nullable: true - url: *181 - html_url: *182 + url: *180 + html_url: *181 locations_url: type: string format: uri @@ -45971,7 +46176,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *66 + repository: *67 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -46564,9 +46769,9 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46591,7 +46796,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *75 + - *76 responses: '200': description: Response @@ -46727,7 +46932,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *75 + - *76 requestBody: required: true content: @@ -46815,8 +47020,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *75 - - *61 + - *76 + - *62 - name: sort description: The property to sort the results by. in: query @@ -47028,7 +47233,7 @@ paths: - patched_versions - vulnerable_functions additionalProperties: false - cvss_severities: *63 + cvss_severities: *64 cwes: type: array nullable: true @@ -47095,14 +47300,14 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *197 + items: *195 private_fork: readOnly: true nullable: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *66 + - *67 required: - ghsa_id - cve_id @@ -47510,7 +47715,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *75 + - *76 responses: '200': description: Response @@ -47558,8 +47763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *75 - - *77 + - *76 + - *78 responses: '204': description: Response @@ -47584,8 +47789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *75 - - *77 + - *76 + - *78 responses: '204': description: Response @@ -47612,7 +47817,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Immutable releases settings response @@ -47661,7 +47866,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *75 + - *76 responses: '204': description: Response @@ -47718,7 +47923,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *75 + - *76 - *19 - *17 responses: @@ -47736,9 +47941,9 @@ paths: type: integer repositories: type: array - items: *160 + items: *159 examples: - default: *172 + default: *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47757,7 +47962,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *75 + - *76 requestBody: required: true content: @@ -47806,8 +48011,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: - - *75 - - *149 + - *76 + - *148 responses: '204': description: Response @@ -47829,8 +48034,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: - - *75 - - *149 + - *76 + - *148 responses: '204': description: Response @@ -47853,7 +48058,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *75 + - *76 - *17 - *19 responses: @@ -47942,7 +48147,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47961,7 +48166,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: - - *75 + - *76 requestBody: required: true content: @@ -48047,7 +48252,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: - - *75 + - *76 - &334 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. @@ -48064,7 +48269,7 @@ paths: examples: default: *333 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48083,7 +48288,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: - - *75 + - *76 - *334 requestBody: required: true @@ -48158,7 +48363,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: - - *75 + - *76 - *334 responses: '204': @@ -48182,7 +48387,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: - - *75 + - *76 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -48236,7 +48441,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: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48266,8 +48471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *75 - - *77 + - *76 + - *78 - 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`). @@ -48323,7 +48528,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *75 + - *76 - *17 - *19 - name: team_type @@ -48345,11 +48550,11 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: default: *259 headers: - Link: *67 + Link: *68 '403': *29 x-github: githubCloudOnly: false @@ -48369,7 +48574,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *75 + - *76 requestBody: required: true content: @@ -48830,8 +49035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *75 - - *77 + - *76 + - *78 responses: '200': description: Response @@ -48860,8 +49065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *75 - - *77 + - *76 + - *78 requestBody: required: false content: @@ -48957,8 +49162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *75 - - *77 + - *76 + - *78 responses: '204': description: Response @@ -48985,8 +49190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *75 - - *77 + - *76 + - *78 - *17 - *19 responses: @@ -49000,7 +49205,7 @@ paths: examples: default: *237 headers: - Link: *67 + Link: *68 '422': *340 x-github: githubCloudOnly: false @@ -49021,8 +49226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *75 - - *77 + - *76 + - *78 - name: role description: Filters members returned by their role in the team. in: query @@ -49045,9 +49250,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49075,9 +49280,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *75 - - *77 - - *71 + - *76 + - *78 + - *72 responses: '200': description: Response @@ -49146,9 +49351,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *75 - - *77 - - *71 + - *76 + - *78 + - *72 requestBody: required: false content: @@ -49210,9 +49415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *75 - - *77 - - *71 + - *76 + - *78 + - *72 responses: '204': description: Response @@ -49238,8 +49443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *75 - - *77 + - *76 + - *78 - *17 - *19 responses: @@ -49249,11 +49454,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *273 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49280,8 +49485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *75 - - *77 + - *76 + - *78 - *342 - *343 responses: @@ -49312,8 +49517,8 @@ paths: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 nullable: true forks: type: integer @@ -49851,8 +50056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *75 - - *77 + - *76 + - *78 - *342 - *343 requestBody: @@ -49899,8 +50104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *75 - - *77 + - *76 + - *78 - *342 - *343 responses: @@ -49926,8 +50131,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *75 - - *77 + - *76 + - *78 - *17 - *19 responses: @@ -49937,7 +50142,7 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: response-if-child-teams-exist: &682 value: @@ -49967,7 +50172,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49992,7 +50197,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *75 + - *76 - name: security_product in: path description: The security feature to enable or disable. @@ -51273,7 +51478,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51631,7 +51836,7 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *61 + - *62 responses: '200': description: Response @@ -51691,7 +51896,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52153,7 +52358,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -52263,7 +52468,7 @@ paths: description: Empty response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -52342,7 +52547,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52426,7 +52631,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52459,9 +52664,9 @@ paths: enabled: &360 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *145 + allowed_actions: *144 selected_actions_url: *359 - sha_pinning_required: *146 + sha_pinning_required: *145 required: - enabled examples: @@ -52502,8 +52707,8 @@ paths: type: object properties: enabled: *360 - allowed_actions: *145 - sha_pinning_required: *146 + allowed_actions: *144 + sha_pinning_required: *145 required: - enabled examples: @@ -52686,7 +52891,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *146 examples: default: *365 '404': *6 @@ -52718,7 +52923,7 @@ paths: required: true content: application/json: - schema: *147 + schema: *146 examples: default: summary: Set approval policy to first time contributors @@ -52751,7 +52956,7 @@ paths: application/json: schema: *366 examples: - default: *148 + default: *147 '403': *29 '404': *6 x-github: @@ -52779,7 +52984,7 @@ paths: application/json: schema: *367 examples: - default: *148 + default: *147 responses: '204': description: Empty response for successful settings update @@ -52810,9 +53015,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *149 examples: - default: *151 + default: *150 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52840,9 +53045,9 @@ paths: required: false content: application/json: - schema: *150 + schema: *149 examples: - selected_actions: *151 + selected_actions: *150 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52873,7 +53078,7 @@ paths: application/json: schema: *368 examples: - default: *155 + default: *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52908,7 +53113,7 @@ paths: application/json: schema: *369 examples: - default: *155 + default: *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52954,11 +53159,11 @@ paths: type: integer runners: type: array - items: *162 + items: *161 examples: - default: *163 + default: *162 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53095,7 +53300,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *163 examples: default: *373 x-github: @@ -53132,7 +53337,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *163 examples: default: *374 x-github: @@ -53158,13 +53363,13 @@ paths: parameters: - *342 - *343 - - *161 + - *160 responses: '200': description: Response content: application/json: - schema: *162 + schema: *161 examples: default: *375 x-github: @@ -53189,7 +53394,7 @@ paths: parameters: - *342 - *343 - - *161 + - *160 responses: '204': description: Response @@ -53217,9 +53422,9 @@ paths: parameters: - *342 - *343 - - *161 + - *160 responses: - '200': *166 + '200': *165 '404': *6 x-github: githubCloudOnly: false @@ -53243,7 +53448,7 @@ paths: parameters: - *342 - *343 - - *161 + - *160 requestBody: required: true content: @@ -53267,7 +53472,7 @@ paths: - gpu - accelerated responses: - '200': *166 + '200': *165 '404': *6 '422': *7 x-github: @@ -53293,7 +53498,7 @@ paths: parameters: - *342 - *343 - - *161 + - *160 requestBody: required: true content: @@ -53318,7 +53523,7 @@ paths: - gpu - accelerated responses: - '200': *166 + '200': *165 '404': *6 '422': *7 x-github: @@ -53344,7 +53549,7 @@ paths: parameters: - *342 - *343 - - *161 + - *160 responses: '200': *376 '404': *6 @@ -53375,10 +53580,10 @@ paths: parameters: - *342 - *343 - - *161 + - *160 - *377 responses: - '200': *166 + '200': *165 '404': *6 '422': *7 x-github: @@ -53600,7 +53805,7 @@ paths: that triggered the run. type: array nullable: true - items: *90 + items: *91 created_at: type: string format: date-time @@ -53712,8 +53917,8 @@ paths: - author - committer nullable: true - repository: *160 - head_repository: *160 + repository: *159 + head_repository: *159 head_repository_id: type: integer example: 5 @@ -53965,7 +54170,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: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54399,7 +54604,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -54432,7 +54637,7 @@ paths: - *17 - *19 - *381 - - *61 + - *62 responses: '200': description: Response @@ -54452,7 +54657,7 @@ paths: examples: default: *382 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54627,7 +54832,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -54690,7 +54895,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -54794,7 +54999,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -54857,7 +55062,7 @@ paths: examples: default: *386 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55010,7 +55215,7 @@ paths: reviewer: anyOf: - *4 - - *197 + - *195 required: - environment - wait_timer @@ -55222,8 +55427,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 required: &753 - id - node_id @@ -55319,7 +55524,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -55365,7 +55570,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -55559,7 +55764,7 @@ paths: examples: default: *388 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55615,7 +55820,7 @@ paths: parameters: - *342 - *343 - - *168 + - *167 responses: '200': description: Response @@ -55651,7 +55856,7 @@ paths: parameters: - *342 - *343 - - *168 + - *167 requestBody: required: true content: @@ -55682,7 +55887,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -55710,7 +55915,7 @@ paths: parameters: - *342 - *343 - - *168 + - *167 responses: '204': description: Response @@ -55758,7 +55963,7 @@ paths: examples: default: *392 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55807,7 +56012,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -55834,7 +56039,7 @@ paths: parameters: - *342 - *343 - - *171 + - *170 responses: '200': description: Response @@ -55870,7 +56075,7 @@ paths: parameters: - *342 - *343 - - *171 + - *170 requestBody: required: true content: @@ -55914,7 +56119,7 @@ paths: parameters: - *342 - *343 - - *171 + - *170 responses: '204': description: Response @@ -56042,7 +56247,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: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56286,7 +56491,7 @@ paths: examples: default: *402 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56381,7 +56586,7 @@ paths: parameters: - *342 - *343 - - *61 + - *62 - *17 - *47 - *48 @@ -56525,7 +56730,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '422': *7 x-github: githubCloudOnly: false @@ -56557,9 +56762,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -57199,7 +57404,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *197 + items: *195 apps: description: The list of apps with review dismissal access. @@ -57228,7 +57433,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *197 + items: *195 apps: description: The list of apps allowed to bypass pull request requirements. @@ -57317,7 +57522,7 @@ paths: type: string teams: type: array - items: *197 + items: *195 apps: type: array items: @@ -57513,7 +57718,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -57659,12 +57864,12 @@ paths: nullable: true oneOf: - *4 - - *169 + - *168 committer: nullable: true oneOf: - *4 - - *169 + - *168 parents: type: array items: @@ -58443,7 +58648,7 @@ paths: items: *4 teams: type: array - items: *197 + items: *195 apps: type: array items: *5 @@ -58461,7 +58666,7 @@ paths: items: *4 teams: type: array - items: *197 + items: *195 apps: type: array items: *5 @@ -59848,7 +60053,7 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: default: *259 '404': *6 @@ -59908,7 +60113,7 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: default: *259 '422': *15 @@ -59969,7 +60174,7 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: default: *259 '422': *15 @@ -60029,7 +60234,7 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: default: *259 '422': *15 @@ -60065,7 +60270,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 '404': *6 x-github: githubCloudOnly: false @@ -60124,7 +60329,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 '422': *15 x-github: githubCloudOnly: false @@ -60184,7 +60389,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 '422': *15 x-github: githubCloudOnly: false @@ -60244,7 +60449,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 '422': *15 x-github: githubCloudOnly: false @@ -60802,15 +61007,15 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *90 + items: *91 deployment: &745 title: Deployment description: A deployment created as the result of an Actions @@ -60878,8 +61083,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 required: - id - node_id @@ -61548,7 +61753,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: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61576,7 +61781,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -61701,7 +61906,7 @@ paths: nullable: true pull_requests: type: array - items: *90 + items: *91 nullable: true app: title: GitHub app @@ -61712,9 +61917,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 - repository: *160 + properties: *81 + required: *82 + repository: *159 created_at: type: string format: date-time @@ -62130,7 +62335,7 @@ paths: required: - app_id - setting - repository: *160 + repository: *159 examples: default: value: @@ -62550,7 +62755,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62578,7 +62783,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -62626,7 +62831,7 @@ paths: required: false schema: type: integer - - *61 + - *62 - *47 - *48 - name: sort @@ -62669,14 +62874,14 @@ paths: items: type: object properties: - number: *178 - created_at: *179 - updated_at: *180 - url: *181 - html_url: *182 + number: *177 + created_at: *178 + updated_at: *179 + url: *180 + html_url: *181 instances_url: *433 - state: *187 - fixed_at: *183 + state: *186 + fixed_at: *182 dismissed_by: title: Simple User description: A GitHub user. @@ -62684,7 +62889,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *184 + dismissed_at: *183 dismissed_reason: *434 dismissed_comment: *435 rule: *436 @@ -62822,7 +63027,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62852,7 +63057,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *178 + schema: *177 responses: '200': description: Response @@ -62861,14 +63066,14 @@ paths: schema: &441 type: object properties: - number: *178 - created_at: *179 - updated_at: *180 - url: *181 - html_url: *182 + number: *177 + created_at: *178 + updated_at: *179 + url: *180 + html_url: *181 instances_url: *433 - state: *187 - fixed_at: *183 + state: *186 + fixed_at: *182 dismissed_by: title: Simple User description: A GitHub user. @@ -62876,7 +63081,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *184 + dismissed_at: *183 dismissed_reason: *434 dismissed_comment: *435 rule: @@ -63034,7 +63239,7 @@ paths: '304': *37 '403': *439 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63181,7 +63386,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63254,7 +63459,7 @@ paths: status: '400' '403': *439 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63309,7 +63514,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63383,7 +63588,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63485,7 +63690,7 @@ paths: - source '403': *439 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63539,7 +63744,7 @@ paths: type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *61 + - *62 - name: sort description: The property by which to sort the results. in: query @@ -63660,7 +63865,7 @@ paths: warning: '' '403': *439 '404': *6 - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63769,7 +63974,7 @@ paths: content: application/json: schema: *3 - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63905,7 +64110,7 @@ paths: '400': *14 '403': *445 '404': *6 - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64047,7 +64252,7 @@ paths: commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c '403': *439 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64123,7 +64328,7 @@ paths: description: Found '403': *439 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64156,7 +64361,7 @@ paths: description: Response '403': *445 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64280,7 +64485,7 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *66 + controller_repo: *67 actor: *4 query_language: *456 query_pack_url: @@ -64606,7 +64811,7 @@ paths: content: application/json: schema: *3 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64644,7 +64849,7 @@ paths: examples: default: *459 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64699,7 +64904,7 @@ paths: schema: type: object properties: - repository: *66 + repository: *67 analysis_status: *461 artifact_size_in_bytes: type: integer @@ -64804,7 +65009,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64911,7 +65116,7 @@ paths: schedule: weekly '403': *439 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64998,7 +65203,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -65037,7 +65242,7 @@ paths: content: application/json: schema: *3 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65179,7 +65384,7 @@ paths: '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65248,7 +65453,7 @@ paths: '403': *439 '404': description: Not Found if the sarif id does not match any upload - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65327,7 +65532,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': *191 + '204': *61 '304': *37 '403': *29 '404': *6 @@ -65867,7 +66072,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -66170,7 +66375,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66232,7 +66437,7 @@ paths: examples: default: *466 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66284,7 +66489,7 @@ paths: parameters: - *342 - *343 - - *168 + - *167 responses: '200': description: Response @@ -66314,7 +66519,7 @@ paths: parameters: - *342 - *343 - - *168 + - *167 requestBody: required: true content: @@ -66342,7 +66547,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -66368,7 +66573,7 @@ paths: parameters: - *342 - *343 - - *168 + - *167 responses: '204': description: Response @@ -66581,7 +66786,7 @@ paths: admin: false role_name: write headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -66608,7 +66813,7 @@ paths: parameters: - *342 - *343 - - *71 + - *72 responses: '204': description: Response if user is a collaborator @@ -66656,7 +66861,7 @@ paths: parameters: - *342 - *343 - - *71 + - *72 requestBody: required: false content: @@ -66693,7 +66898,7 @@ paths: example: 42 type: integer format: int64 - repository: *160 + repository: *159 invitee: title: Simple User description: A GitHub user. @@ -66871,7 +67076,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *129 + schema: *128 '403': *29 x-github: triggersNotification: true @@ -66913,7 +67118,7 @@ paths: parameters: - *342 - *343 - - *71 + - *72 responses: '204': description: No Content when collaborator was removed from the repository. @@ -66946,7 +67151,7 @@ paths: parameters: - *342 - *343 - - *71 + - *72 responses: '200': description: if user has admin permissions @@ -67074,8 +67279,8 @@ paths: updated_at: type: string format: date-time - author_association: *82 - reactions: *83 + author_association: *83 + reactions: *84 required: - url - html_url @@ -67125,7 +67330,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67152,7 +67357,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 responses: '200': description: Response @@ -67219,7 +67424,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 requestBody: required: true content: @@ -67294,7 +67499,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 responses: '204': description: Response @@ -67317,7 +67522,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 - 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. @@ -67412,7 +67617,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -67433,7 +67638,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 requestBody: required: true content: @@ -67522,7 +67727,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 - &549 name: reaction_id description: The unique identifier of the reaction. @@ -67707,7 +67912,7 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *67 + Link: *68 '500': *55 '400': *14 '404': *6 @@ -67821,7 +68026,7 @@ paths: examples: default: *478 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68407,7 +68612,7 @@ paths: auto_merge: draft: false headers: - Link: *67 + Link: *68 '409': *54 x-github: githubCloudOnly: false @@ -68614,7 +68819,7 @@ paths: '422': *15 '404': *6 '500': *55 - '503': *121 + '503': *120 '409': *54 x-github: githubCloudOnly: false @@ -68682,7 +68887,7 @@ paths: examples: default: *484 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68908,7 +69113,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: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69002,7 +69207,7 @@ paths: type: string total_count: type: integer - repository: *160 + repository: *159 commit_url: type: string format: uri @@ -69225,7 +69430,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '301': *346 x-github: githubCloudOnly: false @@ -69305,8 +69510,8 @@ paths: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 nullable: true contributing: title: Community Health File @@ -69779,7 +69984,7 @@ paths: default: *491 '404': *6 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70857,7 +71062,7 @@ paths: '422': *15 '404': *6 '409': *54 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70978,7 +71183,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *67 + Link: *68 '204': description: Response if repository is empty '403': *29 @@ -71003,23 +71208,23 @@ paths: parameters: - *342 - *343 + - *197 + - *198 - *199 - *200 - *201 - - *202 - - *203 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *204 + - *202 - *495 + - *203 + - *204 - *205 - - *206 - - *207 - - *61 + - *62 - *47 - *48 - *17 @@ -71034,7 +71239,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *178 + number: *177 state: type: string description: The state of the Dependabot alert. @@ -71049,7 +71254,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *62 + package: *63 manifest_path: type: string description: The full path to the dependency manifest file, @@ -71078,12 +71283,12 @@ paths: - transitive - inconclusive security_advisory: *496 - security_vulnerability: *65 - url: *181 - html_url: *182 - created_at: *179 - updated_at: *180 - dismissed_at: *184 + security_vulnerability: *66 + url: *180 + html_url: *181 + created_at: *178 + updated_at: *179 + dismissed_at: *183 dismissed_by: title: Simple User description: A GitHub user. @@ -71107,7 +71312,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *183 + fixed_at: *182 auto_dismissed_at: *497 dismissal_request: *498 assignees: @@ -71375,7 +71580,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *178 + schema: *177 responses: '200': description: Response @@ -71751,7 +71956,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71804,7 +72009,7 @@ paths: parameters: - *342 - *343 - - *168 + - *167 responses: '200': description: Response @@ -71838,7 +72043,7 @@ paths: parameters: - *342 - *343 - - *168 + - *167 requestBody: required: true content: @@ -71866,7 +72071,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -71892,7 +72097,7 @@ paths: parameters: - *342 - *343 - - *168 + - *167 responses: '204': description: Response @@ -72051,7 +72256,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *67 + Link: *68 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -72292,7 +72497,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *67 + Link: *68 '404': *6 '403': *29 x-github: @@ -72682,7 +72887,7 @@ paths: examples: default: *507 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73107,8 +73312,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 required: - id - node_id @@ -73157,7 +73362,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -73521,7 +73726,7 @@ paths: reviewer: anyOf: - *4 - - *197 + - *195 required: - id - node_id @@ -74493,7 +74698,7 @@ paths: examples: default: *388 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74551,7 +74756,7 @@ paths: - *342 - *343 - *513 - - *168 + - *167 responses: '200': description: Response @@ -74584,7 +74789,7 @@ paths: - *342 - *343 - *513 - - *168 + - *167 requestBody: required: true content: @@ -74615,7 +74820,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -74644,7 +74849,7 @@ paths: - *342 - *343 - *513 - - *168 + - *167 responses: '204': description: Default response @@ -74693,7 +74898,7 @@ paths: examples: default: *392 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74743,7 +74948,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -74771,7 +74976,7 @@ paths: - *342 - *343 - *513 - - *171 + - *170 responses: '200': description: Response @@ -74802,7 +75007,7 @@ paths: parameters: - *342 - *343 - - *171 + - *170 - *513 requestBody: required: true @@ -74847,7 +75052,7 @@ paths: parameters: - *342 - *343 - - *171 + - *170 - *513 responses: '204': @@ -74881,7 +75086,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: 200-response: value: @@ -74962,7 +75167,7 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: value: @@ -75075,7 +75280,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *67 + Link: *68 '400': *14 x-github: githubCloudOnly: false @@ -75215,7 +75420,7 @@ paths: application/json: schema: oneOf: - - *129 + - *128 - *526 x-github: githubCloudOnly: false @@ -75801,7 +76006,7 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *67 + Link: *68 '409': *54 x-github: githubCloudOnly: false @@ -76641,7 +76846,7 @@ paths: status: unused message: headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -77155,7 +77360,7 @@ paths: - *342 - *343 responses: - '204': *191 + '204': *61 '409': *54 x-github: githubCloudOnly: false @@ -77176,7 +77381,7 @@ paths: - *342 - *343 responses: - '204': *191 + '204': *61 '409': *54 x-github: githubCloudOnly: false @@ -78186,7 +78391,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78459,8 +78664,8 @@ paths: - updated - comments default: created - - *61 - - *92 + - *62 + - *93 - *17 - *19 responses: @@ -78470,7 +78675,7 @@ paths: application/json: schema: type: array - items: *85 + items: *86 examples: default: &556 value: @@ -78620,7 +78825,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *67 + Link: *68 '301': *346 '422': *15 '404': *6 @@ -78726,7 +78931,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: &553 value: @@ -78864,7 +79069,7 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *121 + '503': *120 '404': *6 '410': *545 x-github: @@ -78896,7 +79101,7 @@ paths: parameters: - *342 - *343 - - *109 + - *110 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -78906,7 +79111,7 @@ paths: enum: - asc - desc - - *92 + - *93 - *17 - *19 responses: @@ -78949,7 +79154,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *67 + Link: *68 '422': *15 '404': *6 x-github: @@ -78978,7 +79183,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 responses: '200': description: Response @@ -79043,7 +79248,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 requestBody: required: true content: @@ -79087,7 +79292,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 responses: '204': description: Response @@ -79117,7 +79322,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 responses: '200': description: Response @@ -79198,7 +79403,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 responses: '204': description: Response @@ -79206,7 +79411,7 @@ paths: '403': *29 '404': *6 '410': *545 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79225,7 +79430,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 - 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. @@ -79255,7 +79460,7 @@ paths: examples: default: *548 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -79276,7 +79481,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 requestBody: required: true content: @@ -79341,7 +79546,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 - *549 responses: '204': @@ -79461,7 +79666,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *197 + requested_team: *195 dismissed_review: title: Issue Event Dismissed Review type: object @@ -79526,7 +79731,7 @@ paths: required: - from - to - author_association: *82 + author_association: *83 lock_reason: type: string nullable: true @@ -79539,8 +79744,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 required: - id - node_id @@ -79707,7 +79912,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *67 + Link: *68 '422': *15 x-github: githubCloudOnly: false @@ -79978,7 +80183,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: summary: Issue @@ -80310,11 +80515,11 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *553 '422': *15 - '503': *121 + '503': *120 '403': *29 '301': *346 '404': *6 @@ -80364,7 +80569,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *553 x-github: @@ -80409,7 +80614,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *553 x-github: @@ -80478,7 +80683,7 @@ paths: - *342 - *343 - *554 - - *92 + - *93 - *17 - *19 responses: @@ -80492,7 +80697,7 @@ paths: examples: default: *555 headers: - Link: *67 + Link: *68 '404': *6 '410': *545 x-github: @@ -80596,11 +80801,11 @@ paths: application/json: schema: type: array - items: *85 + items: *86 examples: default: *556 headers: - Link: *67 + Link: *68 '301': *346 '404': *6 '410': *545 @@ -80655,7 +80860,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *553 headers: @@ -80710,7 +80915,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *553 '301': *346 @@ -80756,11 +80961,11 @@ paths: application/json: schema: type: array - items: *85 + items: *86 examples: default: *556 headers: - Link: *67 + Link: *68 '301': *346 '404': *6 '410': *545 @@ -80827,8 +81032,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 label: type: object properties: @@ -80881,8 +81086,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 label: type: object properties: @@ -80970,8 +81175,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 assignee: *4 assigner: *4 required: @@ -81017,8 +81222,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 milestone: type: object properties: @@ -81068,8 +81273,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 milestone: type: object properties: @@ -81119,8 +81324,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 rename: type: object properties: @@ -81173,10 +81378,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 review_requester: *4 - requested_team: *197 + requested_team: *195 requested_reviewer: *4 required: - review_requester @@ -81220,10 +81425,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 review_requester: *4 - requested_team: *197 + requested_team: *195 requested_reviewer: *4 required: - review_requester @@ -81267,8 +81472,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 dismissed_review: type: object properties: @@ -81327,8 +81532,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 lock_reason: type: string example: '"off-topic"' @@ -81375,8 +81580,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 project_card: type: object properties: @@ -81441,8 +81646,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 project_card: type: object properties: @@ -81507,8 +81712,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 project_card: type: object properties: @@ -81632,7 +81837,7 @@ paths: name: label color: red headers: - Link: *67 + Link: *68 '410': *545 x-github: githubCloudOnly: false @@ -81687,7 +81892,7 @@ paths: data_type: date value: '2025-12-25' headers: - Link: *67 + Link: *68 '301': *346 '404': *6 '410': *545 @@ -81719,7 +81924,7 @@ paths: application/json: schema: type: array - items: *84 + items: *85 examples: default: &558 value: @@ -81738,7 +81943,7 @@ paths: color: a2eeef default: false headers: - Link: *67 + Link: *68 '301': *346 '404': *6 '410': *545 @@ -81802,7 +82007,7 @@ paths: application/json: schema: type: array - items: *84 + items: *85 examples: default: *558 '301': *346 @@ -81886,7 +82091,7 @@ paths: application/json: schema: type: array - items: *84 + items: *85 examples: default: *558 '301': *346 @@ -81950,7 +82155,7 @@ paths: application/json: schema: type: array - items: *84 + items: *85 examples: default: value: @@ -82071,7 +82276,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *553 '301': *346 @@ -82125,7 +82330,7 @@ paths: examples: default: *548 headers: - Link: *67 + Link: *68 '404': *6 '410': *545 x-github: @@ -82266,7 +82471,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *553 headers: @@ -82313,11 +82518,11 @@ paths: application/json: schema: type: array - items: *85 + items: *86 examples: default: *556 headers: - Link: *67 + Link: *68 '404': *6 '410': *545 x-github: @@ -82376,7 +82581,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *553 headers: @@ -82438,13 +82643,13 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *553 '403': *29 '404': *6 '422': *7 - '503': *121 + '503': *120 x-github: triggersNotification: true githubCloudOnly: false @@ -82534,7 +82739,7 @@ paths: issue_url: type: string format: uri - author_association: *82 + author_association: *83 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -82544,9 +82749,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 - reactions: *83 + properties: *81 + required: *82 + reactions: *84 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and @@ -82585,7 +82790,7 @@ paths: properties: type: type: string - issue: *85 + issue: *86 required: - event - created_at @@ -82785,7 +82990,7 @@ paths: type: string body_text: type: string - author_association: *82 + author_association: *83 required: - event - id @@ -82903,7 +83108,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *82 + author_association: *83 _links: type: object properties: @@ -82987,7 +83192,7 @@ paths: enum: - line - file - reactions: *83 + reactions: *84 body_html: type: string example: '"

comment body

"' @@ -83054,8 +83259,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 assignee: *4 required: - id @@ -83098,8 +83303,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 assignee: *4 required: - id @@ -83142,8 +83347,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 state_reason: type: string nullable: true @@ -83310,7 +83515,7 @@ paths: type: User site_admin: true headers: - Link: *67 + Link: *68 '404': *6 '410': *545 x-github: @@ -83390,7 +83595,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83546,11 +83751,11 @@ paths: application/json: schema: type: array - items: *84 + items: *85 examples: default: *558 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -83606,7 +83811,7 @@ paths: description: Response content: application/json: - schema: *84 + schema: *85 examples: default: &577 value: @@ -83652,7 +83857,7 @@ paths: description: Response content: application/json: - schema: *84 + schema: *85 examples: default: *577 '404': *6 @@ -83711,7 +83916,7 @@ paths: description: Response content: application/json: - schema: *84 + schema: *85 examples: default: value: @@ -83868,8 +84073,8 @@ paths: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 nullable: true required: - _links @@ -84165,7 +84370,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -84410,11 +84615,11 @@ paths: application/json: schema: type: array - items: *84 + items: *85 examples: default: *558 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84435,7 +84640,7 @@ paths: - *343 - *582 - *583 - - *92 + - *93 - *584 - *17 - *19 @@ -84446,11 +84651,11 @@ paths: application/json: schema: type: array - items: *112 + items: *113 examples: default: *585 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -84997,7 +85202,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85323,7 +85528,7 @@ paths: - *343 - *590 responses: - '204': *191 + '204': *61 '404': *6 x-github: githubCloudOnly: false @@ -85580,7 +85785,7 @@ paths: description: Empty response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -85648,7 +85853,7 @@ paths: - *342 - *343 responses: - '204': *191 + '204': *61 '422': *14 x-github: githubCloudOnly: false @@ -85670,7 +85875,7 @@ paths: - *342 - *343 responses: - '204': *191 + '204': *61 '422': *14 x-github: githubCloudOnly: false @@ -85858,7 +86063,7 @@ paths: examples: default: *591 headers: - Link: *67 + Link: *68 '304': *37 '422': *15 x-github: @@ -86106,7 +86311,7 @@ paths: type: string ref: type: string - repo: *79 + repo: *80 sha: type: string user: *4 @@ -86123,7 +86328,7 @@ paths: type: string ref: type: string - repo: *79 + repo: *80 sha: type: string user: *4 @@ -86153,7 +86358,7 @@ paths: - review_comments - review_comment - self - author_association: *82 + author_association: *83 auto_merge: *592 draft: description: Indicates whether or not the pull request is a draft. @@ -86771,7 +86976,7 @@ paths: enum: - asc - desc - - *92 + - *93 - *17 - *19 responses: @@ -86835,7 +87040,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86862,7 +87067,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 responses: '200': description: Response @@ -86947,7 +87152,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 requestBody: required: true content: @@ -86989,7 +87194,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 responses: '204': description: Response @@ -87012,7 +87217,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 - 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. @@ -87042,7 +87247,7 @@ paths: examples: default: *548 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -87063,7 +87268,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 requestBody: required: true content: @@ -87128,7 +87333,7 @@ paths: parameters: - *342 - *343 - - *101 + - *102 - *549 responses: '204': @@ -87198,7 +87403,7 @@ paths: application/json: schema: *3 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87368,7 +87573,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -87397,7 +87602,7 @@ paths: - *342 - *343 - *597 - - *109 + - *110 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -87407,7 +87612,7 @@ paths: enum: - asc - desc - - *92 + - *93 - *17 - *19 responses: @@ -87421,7 +87626,7 @@ paths: examples: default: *598 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87650,7 +87855,7 @@ paths: - *342 - *343 - *597 - - *101 + - *102 requestBody: required: true content: @@ -87774,7 +87979,7 @@ paths: examples: default: *599 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87830,10 +88035,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *67 + Link: *68 '422': *15 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88008,7 +88213,7 @@ paths: items: *4 teams: type: array - items: *197 + items: *195 required: - users - teams @@ -88049,7 +88254,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89244,7 +89449,7 @@ paths: type: string body_text: type: string - author_association: *82 + author_association: *83 required: - id - node_id @@ -89293,7 +89498,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89763,7 +89968,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *82 + author_association: *83 _links: type: object properties: @@ -89778,7 +89983,7 @@ paths: type: string body_html: type: string - reactions: *83 + reactions: *84 side: description: The side of the first line of the range for a multi-line comment. @@ -89890,7 +90095,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -90328,7 +90533,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -91022,7 +91227,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91179,7 +91384,7 @@ paths: examples: default: *548 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -91950,7 +92155,7 @@ paths: - *633 - *634 - *635 - - *61 + - *62 - *19 - *17 - *636 @@ -91969,8 +92174,8 @@ paths: items: &645 type: object properties: - number: *178 - created_at: *179 + number: *177 + created_at: *178 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -91978,8 +92183,8 @@ paths: format: date-time readOnly: true nullable: true - url: *181 - html_url: *182 + url: *180 + html_url: *181 locations_url: type: string format: uri @@ -92234,7 +92439,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92296,7 +92501,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92439,7 +92644,7 @@ paths: '422': description: State does not match the resolution or resolution comment, or assignee does not have write access to the repository - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -92572,11 +92777,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *67 + Link: *68 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92654,7 +92859,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -92683,7 +92888,7 @@ paths: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *121 + '503': *120 '200': description: Response content: @@ -92807,7 +93012,7 @@ paths: parameters: - *342 - *343 - - *61 + - *62 - name: sort description: The property to sort the results by. in: query @@ -93724,7 +93929,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *129 + schema: *128 examples: invalid_state_transition: value: @@ -93898,7 +94103,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '422': *15 x-github: githubCloudOnly: false @@ -93943,7 +94148,7 @@ paths: - 1124 - -435 '202': *39 - '204': *191 + '204': *61 '422': description: Repository contains more than 10,000 commits x-github: @@ -94013,7 +94218,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *191 + '204': *61 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94115,7 +94320,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *191 + '204': *61 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94316,7 +94521,7 @@ paths: - - 0 - 2 - 21 - '204': *191 + '204': *61 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94458,9 +94663,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94685,7 +94890,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94756,11 +94961,11 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: default: *259 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -95282,7 +95487,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *159 examples: default: value: @@ -95729,7 +95934,7 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: value: @@ -95835,7 +96040,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *149 + - *148 - *554 requestBody: required: true @@ -95907,7 +96112,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *121 + '503': *120 x-github: triggersNotification: true githubCloudOnly: false @@ -95938,7 +96143,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *149 + - *148 - *554 requestBody: required: true @@ -96011,7 +96216,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *121 + '503': *120 x-github: triggersNotification: true githubCloudOnly: false @@ -96037,7 +96242,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: - - *149 + - *148 - *554 - *241 responses: @@ -96046,7 +96251,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *121 + '503': *120 x-github: triggersNotification: true githubCloudOnly: false @@ -96163,7 +96368,7 @@ paths: html_url: type: string format: uri - repository: *160 + repository: *159 score: type: number file_size: @@ -96295,7 +96500,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *121 + '503': *120 '422': *15 '403': *29 x-github: @@ -96466,7 +96671,7 @@ paths: type: string sha: type: string - repository: *160 + repository: *159 score: type: number node_id: @@ -96839,10 +97044,10 @@ paths: type: string score: type: number - author_association: *82 + author_association: *83 draft: type: boolean - repository: *79 + repository: *80 body_html: type: string body_text: @@ -96860,17 +97065,17 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 pinned_comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true - reactions: *83 + reactions: *84 required: - closed_at - comments @@ -97022,7 +97227,7 @@ paths: - quoted_text items: - "..." - '503': *121 + '503': *120 '422': *15 '304': *37 '403': *29 @@ -97433,8 +97638,8 @@ paths: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 nullable: true permissions: type: object @@ -97655,7 +97860,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *121 + '503': *120 '422': *15 '304': *37 x-github: @@ -98107,7 +98312,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *121 + '503': *120 '422': *15 x-github: githubCloudOnly: false @@ -98311,7 +98516,7 @@ paths: examples: default: *237 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98358,9 +98563,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -98387,7 +98592,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - *678 - - *71 + - *72 responses: '204': description: if user is a member @@ -98424,7 +98629,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - *678 - - *71 + - *72 responses: '204': description: Response @@ -98464,7 +98669,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - *678 - - *71 + - *72 responses: '204': description: Response @@ -98501,7 +98706,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *678 - - *71 + - *72 responses: '200': description: Response @@ -98543,7 +98748,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *678 - - *71 + - *72 requestBody: required: false content: @@ -98605,7 +98810,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *678 - - *71 + - *72 responses: '204': description: Response @@ -98642,11 +98847,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *273 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -98921,11 +99126,11 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: response-if-child-teams-exist: *682 headers: - Link: *67 + Link: *68 '404': *6 '403': *29 '422': *15 @@ -99550,7 +99755,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 '304': *37 '404': *6 '403': *29 @@ -99573,7 +99778,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: - - *71 + - *72 responses: '204': description: If the user is blocked @@ -99601,7 +99806,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *71 + - *72 responses: '204': description: Response @@ -99625,7 +99830,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *71 + - *72 responses: '204': description: Response @@ -99829,7 +100034,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99911,7 +100116,7 @@ paths: examples: default: *466 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99979,7 +100184,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *168 + - *167 responses: '200': description: Response @@ -100015,7 +100220,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *168 + - *167 requestBody: required: true content: @@ -100060,7 +100265,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -100088,7 +100293,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *168 + - *167 responses: '204': description: Response @@ -100113,7 +100318,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *168 + - *167 responses: '200': description: Response @@ -100129,9 +100334,9 @@ paths: type: integer repositories: type: array - items: *160 + items: *159 examples: - default: *198 + default: *196 '401': *25 '403': *29 '404': *6 @@ -100156,7 +100361,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *168 + - *167 requestBody: required: true content: @@ -100210,7 +100415,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *168 + - *167 - name: repository_id in: path required: true @@ -100243,7 +100448,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *168 + - *167 - name: repository_id in: path required: true @@ -101639,7 +101844,7 @@ paths: primary: true visibility: public headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -101817,9 +102022,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -101850,9 +102055,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -101872,7 +102077,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: - - *71 + - *72 responses: '204': description: if the person is followed by the authenticated user @@ -101902,7 +102107,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *71 + - *72 responses: '204': description: Response @@ -101927,7 +102132,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *71 + - *72 responses: '204': description: Response @@ -102126,7 +102331,7 @@ paths: revoked: false raw_key: string headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -102418,7 +102623,7 @@ paths: suspended_at: suspended_by: headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -102466,11 +102671,11 @@ paths: type: array items: allOf: - - *79 + - *80 examples: - default: *152 + default: *151 headers: - Link: *67 + Link: *68 '404': *6 '403': *29 '304': *37 @@ -102494,7 +102699,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *149 + - *148 responses: '204': description: Response @@ -102520,7 +102725,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *149 + - *148 responses: '204': description: Response @@ -102687,8 +102892,8 @@ paths: - updated - comments default: created - - *61 - - *92 + - *62 + - *93 - *17 - *19 responses: @@ -102698,11 +102903,11 @@ paths: application/json: schema: type: array - items: *85 + items: *86 examples: default: *246 headers: - Link: *67 + Link: *68 '404': *6 '304': *37 x-github: @@ -102784,7 +102989,7 @@ paths: verified: false read_only: false headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -102990,7 +103195,7 @@ paths: - id - type - login - plan: *103 + plan: *104 required: - billing_cycle - next_billing_date @@ -103034,7 +103239,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *67 + Link: *68 '304': *37 '401': *25 '404': *6 @@ -103067,7 +103272,7 @@ paths: examples: default: *696 headers: - Link: *67 + Link: *68 '304': *37 '401': *25 x-github: @@ -103188,7 +103393,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -103213,7 +103418,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *75 + - *76 responses: '200': description: Response @@ -103281,7 +103486,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *75 + - *76 requestBody: required: true content: @@ -103531,7 +103736,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -104108,9 +104313,9 @@ paths: application/json: schema: type: array - items: *66 + items: *67 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -104143,11 +104348,11 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: - default: *116 + default: *117 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -104595,7 +104800,7 @@ paths: examples: default: *701 headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -104704,7 +104909,7 @@ paths: application/json: schema: type: array - items: *79 + items: *80 examples: default: &708 summary: Default response @@ -104827,7 +105032,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *67 + Link: *68 '422': *15 '304': *37 '403': *29 @@ -105055,7 +105260,7 @@ paths: examples: default: *702 headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -105153,7 +105358,7 @@ paths: - provider: twitter url: https://twitter.com/github headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -105330,7 +105535,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -105494,7 +105699,7 @@ paths: - created - updated default: created - - *61 + - *62 - *17 - *19 responses: @@ -105504,7 +105709,7 @@ paths: application/json: schema: type: array - items: *79 + items: *80 examples: default-response: *708 application/vnd.github.v3.star+json: @@ -105518,7 +105723,7 @@ paths: starred_at: type: string format: date-time - repo: *79 + repo: *80 required: - starred_at - repo @@ -105646,7 +105851,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -105754,11 +105959,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *273 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -105844,7 +106049,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -105871,7 +106076,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *105 + - *106 responses: '200': description: Response @@ -106051,7 +106256,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: Link: example: ; rel="next" @@ -106191,7 +106396,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *71 + - *72 responses: '200': description: Response @@ -106229,7 +106434,7 @@ paths: - *17 - *47 - *48 - - *71 + - *72 requestBody: required: true content: @@ -106311,7 +106516,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *71 + - *72 requestBody: required: true content: @@ -106376,7 +106581,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *71 + - *72 - name: subject_digest description: Subject Digest in: path @@ -106407,7 +106612,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *71 + - *72 - name: attestation_id description: Attestation ID in: path @@ -106445,7 +106650,7 @@ paths: - *17 - *47 - *48 - - *71 + - *72 - name: subject_digest description: Subject Digest in: path @@ -106487,7 +106692,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -106513,7 +106718,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: - - *71 + - *72 responses: '200': description: Response @@ -106546,7 +106751,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -106556,7 +106761,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: default: value: @@ -106618,8 +106823,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *71 - - *75 + - *72 + - *76 - *17 - *19 responses: @@ -106629,7 +106834,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: default: value: @@ -106706,7 +106911,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -106716,7 +106921,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: default: value: @@ -106774,7 +106979,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -106786,9 +106991,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106805,7 +107010,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *71 + - *72 - *17 - *19 responses: @@ -106817,9 +107022,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106836,7 +107041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *71 + - *72 - name: target_user in: path required: true @@ -106863,8 +107068,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *71 - - *92 + - *72 + - *93 - *17 - *19 responses: @@ -106874,11 +107079,11 @@ paths: application/json: schema: type: array - items: *93 + items: *94 examples: - default: *94 + default: *95 headers: - Link: *67 + Link: *68 '422': *15 x-github: githubCloudOnly: false @@ -106897,7 +107102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -106911,7 +107116,7 @@ paths: examples: default: *718 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106933,7 +107138,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *71 + - *72 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -107005,7 +107210,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *71 + - *72 responses: '200': description: Response @@ -107031,7 +107236,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -107066,7 +107271,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107086,7 +107291,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -107096,11 +107301,11 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: - default: *116 + default: *117 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107138,7 +107343,7 @@ paths: - nuget - container - *698 - - *71 + - *72 - *19 - *17 responses: @@ -107175,7 +107380,7 @@ paths: parameters: - *262 - *263 - - *71 + - *72 responses: '200': description: Response @@ -107206,7 +107411,7 @@ paths: parameters: - *262 - *263 - - *71 + - *72 responses: '204': description: Response @@ -107240,7 +107445,7 @@ paths: parameters: - *262 - *263 - - *71 + - *72 - name: token description: package token schema: @@ -107274,7 +107479,7 @@ paths: parameters: - *262 - *263 - - *71 + - *72 responses: '200': description: Response @@ -107343,7 +107548,7 @@ paths: - *262 - *263 - *265 - - *71 + - *72 responses: '200': description: Response @@ -107386,7 +107591,7 @@ paths: parameters: - *262 - *263 - - *71 + - *72 - *265 responses: '204': @@ -107421,7 +107626,7 @@ paths: parameters: - *262 - *263 - - *71 + - *72 - *265 responses: '204': @@ -107446,7 +107651,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *71 + - *72 - name: q description: Limit results to projects of the specified type. in: query @@ -107467,7 +107672,7 @@ paths: examples: default: *277 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -107488,7 +107693,7 @@ paths: url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - *278 - - *71 + - *72 responses: '200': description: Response @@ -107498,7 +107703,7 @@ paths: examples: default: *277 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -107519,7 +107724,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - *278 - - *71 + - *72 - *17 - *47 - *48 @@ -107534,7 +107739,7 @@ paths: examples: default: *720 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -107553,7 +107758,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - - *71 + - *72 - *278 requestBody: required: true @@ -107666,7 +107871,7 @@ paths: parameters: - *278 - *730 - - *71 + - *72 responses: '200': description: Response @@ -107676,7 +107881,7 @@ paths: examples: default: *731 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -107698,7 +107903,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - *278 - - *71 + - *72 - *47 - *48 - *17 @@ -107734,7 +107939,7 @@ paths: examples: default: *287 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -107753,7 +107958,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *71 + - *72 - *278 requestBody: required: true @@ -107860,7 +108065,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *278 - - *71 + - *72 - *288 - name: fields description: |- @@ -107885,7 +108090,7 @@ paths: examples: default: *287 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -107905,7 +108110,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - *278 - - *71 + - *72 - *288 requestBody: required: true @@ -108003,7 +108208,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - *278 - - *71 + - *72 - *288 responses: '204': @@ -108027,7 +108232,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - *278 - - *71 + - *72 - *732 - name: fields description: |- @@ -108058,7 +108263,7 @@ paths: examples: default: *287 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -108084,7 +108289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -108094,7 +108299,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: default: value: @@ -108159,7 +108364,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -108169,7 +108374,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: default: value: @@ -108232,7 +108437,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *71 + - *72 - name: type description: Limit results to repositories of the specified type. in: query @@ -108275,11 +108480,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *273 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108299,12 +108504,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - - *71 - - *123 - - *125 + - *72 + - *122 - *124 + - *123 - *733 - - *126 + - *125 responses: '200': description: Response when getting a billing premium request usage report @@ -108412,7 +108617,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108432,10 +108637,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - - *71 - - *123 + - *72 + - *122 - *734 - - *124 + - *123 responses: '200': description: Response when getting a billing usage report @@ -108506,7 +108711,7 @@ paths: '400': *14 '403': *29 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108529,12 +108734,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - - *71 - - *123 - - *125 + - *72 + - *122 - *124 + - *123 - *735 - - *126 + - *125 - *736 responses: '200': @@ -108641,7 +108846,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108659,7 +108864,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -108673,7 +108878,7 @@ paths: examples: default: *704 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108691,7 +108896,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -108705,7 +108910,7 @@ paths: examples: default: *737 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108727,9 +108932,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *71 + - *72 - *738 - - *61 + - *62 - *17 - *19 responses: @@ -108742,11 +108947,11 @@ paths: - type: array items: *739 - type: array - items: *79 + items: *80 examples: default-response: *708 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108763,7 +108968,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -108773,11 +108978,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *273 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109066,8 +109271,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 nullable: true organization: title: Simple User @@ -110515,8 +110720,8 @@ x-webhooks: type: string pull_requests: type: array - items: *90 - repository: *160 + items: *91 + repository: *159 status: example: completed type: string @@ -110603,7 +110808,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *90 + items: *91 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -127436,8 +127641,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 reactions: title: Reactions type: object @@ -133872,12 +134077,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *85 + blocked_issue: *86 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *85 - blocking_issue_repo: *79 + blocking_issue: *86 + blocking_issue_repo: *80 installation: *741 organization: *742 repository: *743 @@ -133963,12 +134168,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *85 + blocked_issue: *86 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *85 - blocking_issue_repo: *79 + blocking_issue: *86 + blocking_issue_repo: *80 installation: *741 organization: *742 repository: *743 @@ -134053,12 +134258,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *85 - blocked_issue_repo: *79 + blocked_issue: *86 + blocked_issue_repo: *80 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *85 + blocking_issue: *86 installation: *741 organization: *742 repository: *743 @@ -134144,12 +134349,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *85 - blocked_issue_repo: *79 + blocked_issue: *86 + blocked_issue_repo: *80 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *85 + blocking_issue: *86 installation: *741 organization: *742 repository: *743 @@ -135024,8 +135229,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -136024,8 +136229,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -137149,8 +137354,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -138160,8 +138365,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -139290,8 +139495,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -140285,8 +140490,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -141304,8 +141509,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -142292,8 +142497,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -143290,8 +143495,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true user: title: User @@ -144661,8 +144866,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true user: title: User @@ -145622,8 +145827,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -146636,8 +146841,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -147605,8 +147810,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -149426,8 +149631,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *676 issue_dependencies_summary: *677 @@ -222705,8 +222910,8 @@ x-webhooks: alert: &802 type: object properties: - number: *178 - created_at: *179 + number: *177 + created_at: *178 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -222714,8 +222919,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *181 - html_url: *182 + url: *180 + html_url: *181 locations_url: type: string format: uri @@ -223802,7 +224007,7 @@ x-webhooks: description, and severity. type: object properties: - cvss_severities: *63 + cvss_severities: *64 cwes: type: array items: @@ -224054,7 +224259,7 @@ x-webhooks: description, and severity. type: object properties: - cvss_severities: *63 + cvss_severities: *64 cwes: type: array items: @@ -225700,12 +225905,12 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *85 - parent_issue_repo: *79 + parent_issue: *86 + parent_issue_repo: *80 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *85 + sub_issue: *86 installation: *741 organization: *742 repository: *743 @@ -225792,12 +225997,12 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *85 - parent_issue_repo: *79 + parent_issue: *86 + parent_issue_repo: *80 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *85 + sub_issue: *86 installation: *741 organization: *742 repository: *743 @@ -225884,12 +226089,12 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *85 - sub_issue_repo: *79 + sub_issue: *86 + sub_issue_repo: *80 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *85 + parent_issue: *86 installation: *741 organization: *742 repository: *743 @@ -225976,12 +226181,12 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *85 - sub_issue_repo: *79 + sub_issue: *86 + sub_issue_repo: *80 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *85 + parent_issue: *86 installation: *741 organization: *742 repository: *743 diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 2baae77f6c..79f1f0c12c 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -22782,6 +22782,451 @@ } } }, + "/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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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", @@ -71823,17 +72268,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": [ { @@ -71847,551 +72292,227 @@ }, { "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", - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal" - ], - "example": "internal", - "nullable": true - }, - "accessible_repositories": { + "budgets": { "type": "array", "items": { - "title": "Simple Repository", - "description": "A GitHub repository.", "type": "object", "properties": { "id": { - "type": "integer", - "format": "int64", - "example": 1296269, - "description": "A unique identifier of the repository." - }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "description": "The GraphQL identifier of the repository." - }, - "name": { - "type": "string", - "example": "Hello-World", - "description": "The name of the repository." - }, - "full_name": { "type": "string", - "example": "octocat/Hello-World", - "description": "The full, globally unique, name of the repository." + "description": "The unique identifier for the budget", + "example": "2066deda-923f-43f9-88d2-62395a28c0cdd" }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { - "type": "string", - "example": "octocat" - }, - "id": { - "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", - "nullable": true - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { + "budget_type": { + "description": "The type of pricing for the budget", + "example": "SkuPricing", + "oneOf": [ + { "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" + "enum": [ + "SkuPricing" + ] }, - "user_view_type": { + { "type": "string", - "example": "public" + "enum": [ + "ProductPricing" + ] } - }, - "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", - "example": "https://github.com/octocat/Hello-World", - "description": "The URL to view the repository on GitHub.com." - }, - "description": { - "type": "string", - "example": "This your first repo!", - "nullable": true, - "description": "The repository description." + "budget_amount": { + "type": "integer", + "description": "The budget amount limit in whole dollars. For license-based products, this represents the number of licenses." }, - "fork": { + "prevent_further_usage": { "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World", - "description": "The URL to get more information about the repository from the GitHub API." - }, - "archive_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "description": "A template for the API URL to download the repository as an archive." - }, - "assignees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "description": "A template for the API URL to list the available assignees for issues in the repository." - }, - "blobs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." - }, - "branches_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "description": "A template for the API URL to get information about branches in the repository." - }, - "collaborators_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "description": "A template for the API URL to get information about collaborators of the repository." - }, - "comments_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "description": "A template for the API URL to get information about comments on the repository." - }, - "commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "description": "A template for the API URL to get information about commits on the repository." - }, - "compare_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "description": "A template for the API URL to compare two commits or refs." - }, - "contents_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "description": "A template for the API URL to get the contents of the repository." - }, - "contributors_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/contributors", - "description": "A template for the API URL to list the contributors to the repository." - }, - "deployments_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/deployments", - "description": "The API URL to list the deployments of the repository." - }, - "downloads_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/downloads", - "description": "The API URL to list the downloads on the repository." - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/events", - "description": "The API URL to list the events of the repository." - }, - "forks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/forks", - "description": "The API URL to list the forks of the repository." - }, - "git_commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "description": "A template for the API URL to get information about Git commits of the repository." - }, - "git_refs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "description": "A template for the API URL to get information about Git refs of the repository." - }, - "git_tags_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "description": "A template for the API URL to get information about Git tags of the repository." - }, - "issue_comment_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "description": "A template for the API URL to get information about issue comments on the repository." - }, - "issue_events_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "description": "A template for the API URL to get information about issue events on the repository." - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "description": "A template for the API URL to get information about issues on the repository." - }, - "keys_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "description": "A template for the API URL to get information about deploy keys on the repository." - }, - "labels_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "description": "A template for the API URL to get information about labels of the repository." - }, - "languages_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/languages", - "description": "The API URL to get information about the languages of the repository." - }, - "merges_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/merges", - "description": "The API URL to merge branches in the repository." - }, - "milestones_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "description": "A template for the API URL to get information about milestones of the repository." - }, - "notifications_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "description": "A template for the API URL to get information about notifications on the repository." - }, - "pulls_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "description": "A template for the API URL to get information about pull requests on the repository." - }, - "releases_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "description": "A template for the API URL to get information about releases on the repository." - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "description": "The API URL to list the stargazers on the repository." - }, - "statuses_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "description": "A template for the API URL to get information about statuses of a commit." - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "description": "The API URL to list the subscribers on the repository." - }, - "subscription_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscription", - "description": "The API URL to subscribe to notifications for this repository." + "description": "The type of limit enforcement for the budget", + "example": true }, - "tags_url": { + "budget_scope": { "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/tags", - "description": "The API URL to get information about tags on the repository." + "description": "The scope of the budget (enterprise, organization, repository, cost center)", + "example": "enterprise" }, - "teams_url": { + "budget_entity_name": { "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/teams", - "description": "The API URL to list the teams on the repository." + "description": "The name of the entity for the budget (enterprise does not require a name).", + "example": "octocat/hello-world" }, - "trees_url": { + "budget_product_sku": { "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + "description": "A single product or sku to apply the budget to." }, - "hooks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/hooks", - "description": "The API URL to list the hooks on the repository." + "budget_alerting": { + "type": "object", + "properties": { + "will_alert": { + "type": "boolean", + "description": "Whether alerts are enabled for this budget", + "example": true + }, + "alert_recipients": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of user login names who will receive alerts", + "example": [ + "mona", + "lisa" + ] + } + }, + "required": [ + "will_alert", + "alert_recipients" + ] } }, "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" - ], - "nullable": true - } - } - }, - "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" + "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" } } } @@ -72424,8 +72545,8 @@ } } }, - "404": { - "description": "Resource not found", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { @@ -72454,20 +72575,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" + "category": "billing", + "subcategory": "budgets" } - }, - "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```", + } + }, + "/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/update-repository-access-for-org", + "operationId": "billing/get-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization" }, "parameters": [ { @@ -72478,71 +72601,135 @@ "schema": { "type": "string" } + }, + { + "name": "budget_id", + "description": "The ID corresponding to the budget.", + "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" + "responses": { + "200": { + "description": "Response when updating a budget", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ID of the budget." }, - "description": "List of repository IDs to add." - }, - "repository_ids_to_remove": { - "type": "array", - "items": { - "type": "integer" + "budget_scope": { + "type": "string", + "description": "The type of scope for the budget", + "example": "enterprise", + "enum": [ + "enterprise", + "organization", + "repository", + "cost_center" + ] }, - "description": "List of repository IDs to remove." - } - }, - "example": { - "repository_ids_to_add": [ - 123, - 456 - ], - "repository_ids_to_remove": [ - 789 + "budget_entity_name": { + "type": "string", + "description": "The name of the entity to apply the budget to", + "example": "octocat/hello-world" + }, + "budget_amount": { + "type": "integer", + "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." + }, + "prevent_further_usage": { + "type": "boolean", + "description": "Whether to prevent additional spending once the budget is exceeded", + "example": true + }, + "budget_product_sku": { + "type": "string", + "description": "A single product or sku to apply the budget to.", + "example": "actions_linux" + }, + "budget_type": { + "description": "The type of pricing for the budget", + "example": "ProductPricing", + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } + ] + }, + "budget_alerting": { + "type": "object", + "properties": { + "will_alert": { + "type": "boolean", + "description": "Whether alerts are enabled for this budget", + "example": true + }, + "alert_recipients": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of user login names who will receive alerts", + "example": [ + "mona", + "lisa" + ] + } + } + } + }, + "required": [ + "id", + "budget_amount", + "prevent_further_usage", + "budget_product_sku", + "budget_type", + "budget_alerting", + "budget_scope", + "budget_entity_name" ] - } - }, - "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 - ] + "examples": { + "default": { + "value": { + "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", + "budget_type": "ProductPricing", + "budget_product_sku": "actions_linux", + "budget_scope": "repository", + "budget_entity_name": "example-repo-name", + "budget_amount": 0.0, + "prevent_further_usage": true, + "budget_alerting": { + "will_alert": true, + "alert_recipients": [ + "mona", + "lisa" + ] + } + } } } } } - } - }, - "responses": { - "204": { - "description": "Response" }, - "403": { - "description": "Forbidden", + "400": { + "description": "Bad Request", "content": { "application/json": { "schema": { @@ -72564,6 +72751,40 @@ } } } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } } } }, @@ -72592,74 +72813,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:\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" - ], - "example": "internal" - } - }, - "required": [ - "default_level" - ] - }, - "examples": { - "204": { - "summary": "Example with a 'succeeded' status.", - "value": { - "default_level": "public" - } - } - } - } - } - }, - "responses": { - "204": { - "description": "Response" }, "403": { "description": "Forbidden", @@ -72687,8 +72840,8 @@ } } }, - "404": { - "description": "Resource not found", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { @@ -72712,27 +72865,46 @@ } } } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" + "category": "billing", + "subcategory": "budgets" } - } - }, - "/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.", + }, + "patch": { + "summary": "Update a budget for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates an existing budget for an organization. The authenticated user must be an organization admin or billing manager.", "tags": [ "billing" ], - "operationId": "billing/get-all-budgets-org", + "operationId": "billing/update-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization" }, "parameters": [ { @@ -72745,210 +72917,275 @@ } }, { - "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", + "name": "budget_id", + "description": "The ID corresponding to the budget.", + "in": "path", + "required": true, "schema": { - "type": "string", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] + "type": "string" } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "budget_amount": { + "type": "integer", + "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." + }, + "prevent_further_usage": { + "type": "boolean", + "description": "Whether to prevent additional spending once the budget is exceeded" + }, + "budget_alerting": { + "type": "object", + "properties": { + "will_alert": { + "type": "boolean", + "description": "Whether alerts are enabled for this budget" + }, + "alert_recipients": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of user login names who will receive alerts" + } + } + }, + "budget_scope": { + "type": "string", + "description": "The scope of the budget", + "enum": [ + "enterprise", + "organization", + "repository", + "cost_center" + ] + }, + "budget_entity_name": { + "type": "string", + "description": "The name of the entity to apply the budget to" + }, + "budget_type": { + "description": "The type of pricing for the budget", + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } + ] + }, + "budget_product_sku": { + "type": "string", + "description": "A single product or SKU that will be covered in the budget" + } + } + }, + "examples": { + "update-budget": { + "summary": "Update budget example", + "value": { + "prevent_further_usage": false, + "budget_amount": 10, + "budget_alerting": { + "will_alert": false, + "alert_recipients": [] + } + } + } + } + } + } + }, "responses": { "200": { - "description": "Response when getting all budgets", + "description": "Budget updated successfully", "content": { "application/json": { "schema": { "type": "object", "properties": { - "budgets": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier for the budget", - "example": "2066deda-923f-43f9-88d2-62395a28c0cdd" - }, - "budget_type": { - "description": "The type of pricing for the budget", - "example": "SkuPricing", - "oneOf": [ - { - "type": "string", - "enum": [ - "SkuPricing" - ] - }, - { - "type": "string", - "enum": [ - "ProductPricing" - ] - } - ] - }, - "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", - "example": true - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget (enterprise, organization, repository, cost center)", - "example": "enterprise" - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity for the budget (enterprise does not require a name).", - "example": "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", - "example": true - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts", - "example": [ - "mona", - "lisa" - ] - } + "message": { + "type": "string", + "example": "Budget successfully updated." + }, + "budget": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ID of the budget." + }, + "budget_amount": { + "type": "number", + "format": "float", + "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." + }, + "prevent_further_usage": { + "type": "boolean", + "description": "Whether to prevent additional spending once the budget is exceeded" + }, + "budget_alerting": { + "type": "object", + "required": [ + "will_alert", + "alert_recipients" + ], + "properties": { + "will_alert": { + "type": "boolean", + "description": "Whether alerts are enabled for this budget" }, - "required": [ - "will_alert", - "alert_recipients" - ] + "alert_recipients": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of user login names who will receive alerts" + } } }, - "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" + "budget_scope": { + "type": "string", + "description": "The scope of the budget", + "enum": [ + "enterprise", + "organization", + "repository", + "cost_center" + ] + }, + "budget_entity_name": { + "type": "string", + "description": "The name of the entity to apply the budget to", + "default": "" + }, + "budget_type": { + "description": "The type of pricing for the budget", + "oneOf": [ + { + "type": "string", + "enum": [ + "ProductPricing" + ] + }, + { + "type": "string", + "enum": [ + "SkuPricing" + ] + } + ] + }, + "budget_product_sku": { + "type": "string", + "description": "A single product or SKU that will be covered in the budget" + } + } } - }, - "required": [ - "budgets" - ] + } }, "examples": { - "default": { + "update-budget": { "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": [] - } + "message": "Budget successfully updated.", + "budget": { + "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", + "budget_type": "ProductPricing", + "budget_product_sku": "actions_linux", + "budget_scope": "repository", + "budget_entity_name": "org-name/example-repo-name", + "budget_amount": 0.0, + "prevent_further_usage": true, + "budget_alerting": { + "will_alert": true, + "alert_recipients": [ + "mona", + "lisa" + ] } - ], - "has_next_page": false, - "total_count": 3 + } } } } } } }, - "404": { - "description": "Resource not found", + "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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "401": { + "description": "Requires authentication", "content": { "application/json": { "schema": { @@ -72999,8 +73236,8 @@ } } }, - "500": { - "description": "Internal Error", + "404": { + "description": "Budget not found or feature not enabled", "content": { "application/json": { "schema": { @@ -73021,281 +73258,95 @@ "type": "string" } } + }, + "examples": { + "budget-not-found": { + "value": { + "message": "Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found.", + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" + } + }, + "feature-not-enabled": { + "value": { + "message": "Not Found", + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" + } + } } } } - } - }, - "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", + "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": { - "id": { - "type": "string", - "description": "ID of the budget." - }, - "budget_scope": { - "type": "string", - "description": "The type of scope for the budget", - "example": "enterprise", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] + "message": { + "type": "string" }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity to apply the budget to", - "example": "octocat/hello-world" + "documentation_url": { + "type": "string" }, - "budget_amount": { - "type": "integer", - "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "Whether to prevent additional spending once the budget is exceeded", - "example": true - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or sku to apply the budget to.", - "example": "actions_linux" - }, - "budget_type": { - "description": "The type of pricing for the budget", - "example": "ProductPricing", - "oneOf": [ - { - "type": "string", - "enum": [ - "ProductPricing" - ] - }, - { - "type": "string", - "enum": [ - "SkuPricing" - ] - } - ] - }, - "budget_alerting": { - "type": "object", - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget", - "example": true - }, - "alert_recipients": { - "type": "array", - "items": { + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { "type": "string" }, - "description": "Array of user login names who will receive alerts", - "example": [ - "mona", - "lisa" - ] + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } } } } - }, - "required": [ - "id", - "budget_amount", - "prevent_further_usage", - "budget_product_sku", - "budget_type", - "budget_alerting", - "budget_scope", - "budget_entity_name" - ] - }, - "examples": { - "default": { - "value": { - "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", - "budget_type": "ProductPricing", - "budget_product_sku": "actions_linux", - "budget_scope": "repository", - "budget_entity_name": "example-repo-name", - "budget_amount": 0.0, - "prevent_further_usage": true, - "budget_alerting": { - "will_alert": true, - "alert_recipients": [ - "mona", - "lisa" - ] - } - } - } - } - } - } - }, - "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", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "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" - } - } - } - } - } - }, - "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", + "description": "Internal server error", "content": { "application/json": { "schema": { @@ -73316,25 +73367,12 @@ "type": "string" } } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" + }, + "examples": { + "server-error": { + "value": { + "message": "Unable to update budget.", + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } } } @@ -73344,21 +73382,21 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": true, + "enabledForGitHubApps": false, "category": "billing", "subcategory": "budgets" } }, - "patch": { - "summary": "Update a budget for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates an existing budget for an organization. The authenticated user must be an organization admin or billing manager.", + "delete": { + "summary": "Delete a budget for an organization", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDeletes a budget by ID for an organization. The authenticated user must be an organization admin or billing manager.", "tags": [ "billing" ], - "operationId": "billing/update-budget-org", + "operationId": "billing/delete-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization" }, "parameters": [ { @@ -73380,93 +73418,9 @@ } } ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "budget_amount": { - "type": "integer", - "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "Whether to prevent additional spending once the budget is exceeded" - }, - "budget_alerting": { - "type": "object", - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget" - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts" - } - } - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity to apply the budget to" - }, - "budget_type": { - "description": "The type of pricing for the budget", - "oneOf": [ - { - "type": "string", - "enum": [ - "ProductPricing" - ] - }, - { - "type": "string", - "enum": [ - "SkuPricing" - ] - } - ] - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or SKU that will be covered in the budget" - } - } - }, - "examples": { - "update-budget": { - "summary": "Update budget example", - "value": { - "prevent_further_usage": false, - "budget_amount": 10, - "budget_alerting": { - "will_alert": false, - "alert_recipients": [] - } - } - } - } - } - } - }, "responses": { "200": { - "description": "Budget updated successfully", + "description": "Response when deleting a budget", "content": { "application/json": { "schema": { @@ -73474,104 +73428,23 @@ "properties": { "message": { "type": "string", - "example": "Budget successfully updated." + "description": "A message indicating the result of the deletion operation" }, - "budget": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "ID of the budget." - }, - "budget_amount": { - "type": "number", - "format": "float", - "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "Whether to prevent additional spending once the budget is exceeded" - }, - "budget_alerting": { - "type": "object", - "required": [ - "will_alert", - "alert_recipients" - ], - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget" - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts" - } - } - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity to apply the budget to", - "default": "" - }, - "budget_type": { - "description": "The type of pricing for the budget", - "oneOf": [ - { - "type": "string", - "enum": [ - "ProductPricing" - ] - }, - { - "type": "string", - "enum": [ - "SkuPricing" - ] - } - ] - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or SKU that will be covered in the budget" - } - } + "id": { + "type": "string", + "description": "The ID of the deleted budget" } - } + }, + "required": [ + "message", + "id" + ] }, "examples": { - "update-budget": { + "default": { "value": { - "message": "Budget successfully updated.", - "budget": { - "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", - "budget_type": "ProductPricing", - "budget_product_sku": "actions_linux", - "budget_scope": "repository", - "budget_entity_name": "org-name/example-repo-name", - "budget_amount": 0.0, - "prevent_further_usage": true, - "budget_alerting": { - "will_alert": true, - "alert_recipients": [ - "mona", - "lisa" - ] - } - } + "message": "Budget successfully deleted.", + "budget_id": "2c1feb79-3947-4dc8-a16e-80cbd732cc0b" } } } @@ -73638,8 +73511,8 @@ } } }, - "401": { - "description": "Requires authentication", + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { @@ -73690,8 +73563,8 @@ } } }, - "404": { - "description": "Budget not found or feature not enabled", + "500": { + "description": "Internal Error", "content": { "application/json": { "schema": { @@ -73712,347 +73585,20 @@ "type": "string" } } - }, - "examples": { - "budget-not-found": { - "value": { - "message": "Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found.", - "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" - } - }, - "feature-not-enabled": { - "value": { - "message": "Not Found", - "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" - } - } } } } }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", + "503": { + "description": "Service unavailable", "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", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - }, - "500": { - "description": "Internal server 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" - } - } - }, - "examples": { - "server-error": { - "value": { - "message": "Unable to update budget.", - "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "budgets" - } - }, - "delete": { - "summary": "Delete a budget for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDeletes a budget by ID for an organization. The authenticated user must be an organization admin or billing manager.", - "tags": [ - "billing" - ], - "operationId": "billing/delete-budget-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/budgets#delete-a-budget-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 deleting a budget", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string", - "description": "A message indicating the result of the deletion operation" - }, - "id": { - "type": "string", - "description": "The ID of the deleted budget" - } - }, - "required": [ - "message", - "id" - ] - }, - "examples": { - "default": { - "value": { - "message": "Budget successfully deleted.", - "budget_id": "2c1feb79-3947-4dc8-a16e-80cbd732cc0b" - } - } - } - } - } - }, - "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", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "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" - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, + "code": { + "type": "string" + }, "message": { "type": "string" }, @@ -117354,519 +116900,1245 @@ "example": "https://api.github.com/repos/octocat/Hello-World/tags", "description": "The API URL to get information about tags on the repository." }, - "teams_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/teams", - "description": "The API URL to list the teams on the repository." - }, - "trees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." - }, - "hooks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/hooks", - "description": "The API URL to list the hooks on the repository." - } - }, - "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" - ] - } - }, - "required": [ - "number", - "state", - "dependency", - "security_advisory", - "security_vulnerability", - "url", - "html_url", - "created_at", - "updated_at", - "dismissed_at", - "dismissed_by", - "dismissed_reason", - "dismissed_comment", - "fixed_at", - "repository" - ], - "additionalProperties": false - } - }, - "examples": { - "default": { - "value": [ - { - "number": 2, - "state": "dismissed", - "dependency": { - "package": { - "ecosystem": "pip", - "name": "django" - }, - "manifest_path": "path/to/requirements.txt", - "scope": "runtime" - }, - "security_advisory": { - "ghsa_id": "GHSA-rf4j-j272-fj86", - "cve_id": "CVE-2018-6188", - "summary": "Django allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive", - "description": "django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive.", - "vulnerabilities": [ - { - "package": { - "ecosystem": "pip", - "name": "django" - }, - "severity": "high", - "vulnerable_version_range": ">= 2.0.0, < 2.0.2", - "first_patched_version": { - "identifier": "2.0.2" - } - }, - { - "package": { - "ecosystem": "pip", - "name": "django" - }, - "severity": "high", - "vulnerable_version_range": ">= 1.11.8, < 1.11.10", - "first_patched_version": { - "identifier": "1.11.10" - } - } - ], - "severity": "high", - "cvss": { - "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", - "score": 7.5 - }, - "cvss_severities": { - "cvss_v3": { - "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", - "score": 7.5 - }, - "cvss_v4": { - "vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N", - "score": 8.7 - } - }, - "epss": { - "percentage": 0.00045, - "percentile": "0.16001e0" - }, - "cwes": [ - { - "cwe_id": "CWE-200", - "name": "Exposure of Sensitive Information to an Unauthorized Actor" - } - ], - "identifiers": [ - { - "type": "GHSA", - "value": "GHSA-rf4j-j272-fj86" - }, - { - "type": "CVE", - "value": "CVE-2018-6188" - } - ], - "references": [ - { - "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6188" - }, - { - "url": "https://github.com/advisories/GHSA-rf4j-j272-fj86" - }, - { - "url": "https://usn.ubuntu.com/3559-1/" - }, - { - "url": "https://www.djangoproject.com/weblog/2018/feb/01/security-releases/" - }, - { - "url": "http://www.securitytracker.com/id/1040422" - } - ], - "published_at": "2018-10-03T21:13:54Z", - "updated_at": "2022-04-26T18:35:37Z", - "withdrawn_at": null - }, - "security_vulnerability": { - "package": { - "ecosystem": "pip", - "name": "django" - }, - "severity": "high", - "vulnerable_version_range": ">= 2.0.0, < 2.0.2", - "first_patched_version": { - "identifier": "2.0.2" - } - }, - "url": "https://api.github.com/repos/octo-org/octo-repo/dependabot/alerts/2", - "html_url": "https://github.com/octo-org/octo-repo/security/dependabot/2", - "created_at": "2022-06-15T07:43:03Z", - "updated_at": "2022-08-23T14:29:47Z", - "dismissed_at": "2022-08-23T14:29:47Z", - "dismissed_by": { - "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 - }, - "dismissed_reason": "tolerable_risk", - "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null, - "assignees": [ - { - "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 - } - ], - "repository": { - "id": 217723378, - "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", - "name": "octo-repo", - "full_name": "octo-org/octo-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 - }, - "private": true, - "html_url": "https://github.com/octo-org/octo-repo", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/octo-org/octo-repo", - "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}", - "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}", - "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors", - "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments", - "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads", - "events_url": "https://api.github.com/repos/octo-org/octo-repo/events", - "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks", - "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}", - "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks", - "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}", - "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}", - "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages", - "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges", - "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}", - "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers", - "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription", - "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags", - "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams", - "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}" - } - }, - { - "number": 1, - "state": "open", - "dependency": { - "package": { - "ecosystem": "pip", - "name": "ansible" - }, - "manifest_path": "path/to/requirements.txt", - "scope": "runtime" - }, - "security_advisory": { - "ghsa_id": "GHSA-8f4m-hccc-8qph", - "cve_id": "CVE-2021-20191", - "summary": "Insertion of Sensitive Information into Log File in ansible", - "description": "A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality.", - "vulnerabilities": [ - { - "package": { - "ecosystem": "pip", - "name": "ansible" - }, - "severity": "medium", - "vulnerable_version_range": ">= 2.9.0, < 2.9.18", - "first_patched_version": { - "identifier": "2.9.18" - } - }, - { - "package": { - "ecosystem": "pip", - "name": "ansible" - }, - "severity": "medium", - "vulnerable_version_range": "< 2.8.19", - "first_patched_version": { - "identifier": "2.8.19" - } - }, - { - "package": { - "ecosystem": "pip", - "name": "ansible" - }, - "severity": "medium", - "vulnerable_version_range": ">= 2.10.0, < 2.10.7", - "first_patched_version": { - "identifier": "2.10.7" - } - } - ], - "severity": "medium", - "cvss": { - "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", - "score": 5.5 - }, - "cvss_severities": { - "cvss_v3": { - "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", - "score": 5.5 - }, - "cvss_v4": { - "vector_string": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", - "score": 8.5 - } + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." + }, + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the repository." + } + }, + "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" + ] + } + }, + "required": [ + "number", + "state", + "dependency", + "security_advisory", + "security_vulnerability", + "url", + "html_url", + "created_at", + "updated_at", + "dismissed_at", + "dismissed_by", + "dismissed_reason", + "dismissed_comment", + "fixed_at", + "repository" + ], + "additionalProperties": false + } + }, + "examples": { + "default": { + "value": [ + { + "number": 2, + "state": "dismissed", + "dependency": { + "package": { + "ecosystem": "pip", + "name": "django" + }, + "manifest_path": "path/to/requirements.txt", + "scope": "runtime" + }, + "security_advisory": { + "ghsa_id": "GHSA-rf4j-j272-fj86", + "cve_id": "CVE-2018-6188", + "summary": "Django allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive", + "description": "django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive.", + "vulnerabilities": [ + { + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 2.0.0, < 2.0.2", + "first_patched_version": { + "identifier": "2.0.2" + } + }, + { + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 1.11.8, < 1.11.10", + "first_patched_version": { + "identifier": "1.11.10" + } + } + ], + "severity": "high", + "cvss": { + "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", + "score": 7.5 + }, + "cvss_severities": { + "cvss_v3": { + "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", + "score": 7.5 + }, + "cvss_v4": { + "vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N", + "score": 8.7 + } + }, + "epss": { + "percentage": 0.00045, + "percentile": "0.16001e0" + }, + "cwes": [ + { + "cwe_id": "CWE-200", + "name": "Exposure of Sensitive Information to an Unauthorized Actor" + } + ], + "identifiers": [ + { + "type": "GHSA", + "value": "GHSA-rf4j-j272-fj86" + }, + { + "type": "CVE", + "value": "CVE-2018-6188" + } + ], + "references": [ + { + "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6188" + }, + { + "url": "https://github.com/advisories/GHSA-rf4j-j272-fj86" + }, + { + "url": "https://usn.ubuntu.com/3559-1/" + }, + { + "url": "https://www.djangoproject.com/weblog/2018/feb/01/security-releases/" + }, + { + "url": "http://www.securitytracker.com/id/1040422" + } + ], + "published_at": "2018-10-03T21:13:54Z", + "updated_at": "2022-04-26T18:35:37Z", + "withdrawn_at": null + }, + "security_vulnerability": { + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 2.0.0, < 2.0.2", + "first_patched_version": { + "identifier": "2.0.2" + } + }, + "url": "https://api.github.com/repos/octo-org/octo-repo/dependabot/alerts/2", + "html_url": "https://github.com/octo-org/octo-repo/security/dependabot/2", + "created_at": "2022-06-15T07:43:03Z", + "updated_at": "2022-08-23T14:29:47Z", + "dismissed_at": "2022-08-23T14:29:47Z", + "dismissed_by": { + "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 + }, + "dismissed_reason": "tolerable_risk", + "dismissed_comment": "This alert is accurate but we use a sanitizer.", + "fixed_at": null, + "assignees": [ + { + "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 + } + ], + "repository": { + "id": 217723378, + "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", + "name": "octo-repo", + "full_name": "octo-org/octo-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 + }, + "private": true, + "html_url": "https://github.com/octo-org/octo-repo", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/octo-org/octo-repo", + "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors", + "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments", + "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads", + "events_url": "https://api.github.com/repos/octo-org/octo-repo/events", + "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks", + "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}", + "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks", + "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages", + "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges", + "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription", + "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags", + "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams", + "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}" + } + }, + { + "number": 1, + "state": "open", + "dependency": { + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "manifest_path": "path/to/requirements.txt", + "scope": "runtime" + }, + "security_advisory": { + "ghsa_id": "GHSA-8f4m-hccc-8qph", + "cve_id": "CVE-2021-20191", + "summary": "Insertion of Sensitive Information into Log File in ansible", + "description": "A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality.", + "vulnerabilities": [ + { + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": ">= 2.9.0, < 2.9.18", + "first_patched_version": { + "identifier": "2.9.18" + } + }, + { + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": "< 2.8.19", + "first_patched_version": { + "identifier": "2.8.19" + } + }, + { + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": ">= 2.10.0, < 2.10.7", + "first_patched_version": { + "identifier": "2.10.7" + } + } + ], + "severity": "medium", + "cvss": { + "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", + "score": 5.5 + }, + "cvss_severities": { + "cvss_v3": { + "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", + "score": 5.5 + }, + "cvss_v4": { + "vector_string": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", + "score": 8.5 + } + }, + "cwes": [ + { + "cwe_id": "CWE-532", + "name": "Insertion of Sensitive Information into Log File" + } + ], + "identifiers": [ + { + "type": "GHSA", + "value": "GHSA-8f4m-hccc-8qph" + }, + { + "type": "CVE", + "value": "CVE-2021-20191" + } + ], + "references": [ + { + "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20191" + }, + { + "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://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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "example": "internal", + "nullable": true + }, + "accessible_repositories": { + "type": "array", + "items": { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1296269, + "description": "A unique identifier of the repository." + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "description": "The GraphQL identifier of the repository." + }, + "name": { + "type": "string", + "example": "Hello-World", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World", + "description": "The full, globally unique, name of the repository." + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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", + "example": "https://github.com/octocat/Hello-World", + "description": "The URL to view the repository on GitHub.com." + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true, + "description": "The repository description." + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World", + "description": "The URL to get more information about the repository from the GitHub API." + }, + "archive_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "description": "A template for the API URL to download the repository as an archive." + }, + "assignees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "description": "A template for the API URL to list the available assignees for issues in the repository." + }, + "blobs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." + }, + "branches_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "description": "A template for the API URL to get information about branches in the repository." + }, + "collaborators_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "description": "A template for the API URL to get information about collaborators of the repository." + }, + "comments_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "description": "A template for the API URL to get information about comments on the repository." + }, + "commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "description": "A template for the API URL to get information about commits on the repository." + }, + "compare_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "description": "A template for the API URL to compare two commits or refs." + }, + "contents_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "description": "A template for the API URL to get the contents of the repository." + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/contributors", + "description": "A template for the API URL to list the contributors to the repository." + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "The API URL to list the deployments of the repository." + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/downloads", + "description": "The API URL to list the downloads on the repository." + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/events", + "description": "The API URL to list the events of the repository." + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/forks", + "description": "The API URL to list the forks of the repository." + }, + "git_commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "description": "A template for the API URL to get information about Git commits of the repository." + }, + "git_refs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "description": "A template for the API URL to get information about Git refs of the repository." + }, + "git_tags_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "description": "A template for the API URL to get information about Git tags of the repository." + }, + "issue_comment_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "description": "A template for the API URL to get information about issue comments on the repository." + }, + "issue_events_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "description": "A template for the API URL to get information about issue events on the repository." + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "description": "A template for the API URL to get information about issues on the repository." + }, + "keys_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "description": "A template for the API URL to get information about deploy keys on the repository." + }, + "labels_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "description": "A template for the API URL to get information about labels of the repository." + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/languages", + "description": "The API URL to get information about the languages of the repository." + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/merges", + "description": "The API URL to merge branches in the repository." + }, + "milestones_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "description": "A template for the API URL to get information about milestones of the repository." + }, + "notifications_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "description": "A template for the API URL to get information about notifications on the repository." + }, + "pulls_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "description": "A template for the API URL to get information about pull requests on the repository." + }, + "releases_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "description": "A template for the API URL to get information about releases on the repository." + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "description": "The API URL to list the stargazers on the repository." + }, + "statuses_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "description": "A template for the API URL to get information about statuses of a commit." + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "description": "The API URL to list the subscribers on the repository." + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscription", + "description": "The API URL to subscribe to notifications for this repository." + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/tags", + "description": "The API URL to get information about tags on the repository." + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." }, - "cwes": [ - { - "cwe_id": "CWE-532", - "name": "Insertion of Sensitive Information into Log File" - } - ], - "identifiers": [ - { - "type": "GHSA", - "value": "GHSA-8f4m-hccc-8qph" - }, - { - "type": "CVE", - "value": "CVE-2021-20191" - } - ], - "references": [ - { - "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20191" - }, - { - "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" + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." }, - "severity": "medium", - "vulnerable_version_range": "< 2.8.19", - "first_patched_version": { - "identifier": "2.8.19" + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the repository." } }, - "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", + "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" + ], + "nullable": true + } + } + }, + "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": { @@ -117888,42 +118160,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", - "nullable": true + "type": "string" }, "documentation_url": { - "type": "string", - "nullable": true + "type": "string" }, - "detail": { - "type": "string", - "nullable": true + "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", - "nullable": true + "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", @@ -117976,19 +118331,109 @@ } } } + } + }, + "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" + ], + "example": "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" @@ -117996,11 +118441,11 @@ "documentation_url": { "type": "string" }, - "errors": { - "type": "array", - "items": { - "type": "string" - } + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -118012,7 +118457,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "dependabot", - "subcategory": "alerts" + "subcategory": "repository-access" } } }, diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index 96c55507b8..5412b156b0 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -482,7 +482,7 @@ paths: required: false schema: type: string - - &61 + - &62 name: direction description: The direction to sort the results by. in: query @@ -703,7 +703,7 @@ paths: required: - vector_string - score - cvss_severities: &63 + cvss_severities: &64 type: object nullable: true properties: @@ -743,7 +743,7 @@ paths: required: - vector_string - score - epss: &64 + epss: &65 type: object nullable: true readOnly: true @@ -1041,7 +1041,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &130 + schema: &129 title: Validation Error Simple description: Validation Error Simple type: object @@ -1198,7 +1198,7 @@ paths: GitHub. type: object nullable: true - properties: &80 + properties: &81 id: description: Unique identifier of the GitHub app example: 37 @@ -1331,7 +1331,7 @@ paths: about itself. example: 5 type: integer - required: &81 + required: &82 - id - node_id - owner @@ -1804,7 +1804,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &129 + schema: &128 title: Validation Error description: Validation Error type: object @@ -2188,7 +2188,7 @@ paths: parameters: - *17 - *19 - - &92 + - &93 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) @@ -2771,7 +2771,7 @@ paths: suspended_at: suspended_by: headers: - Link: &67 + Link: &68 example: ; rel="next", ; rel="last" schema: @@ -2968,7 +2968,7 @@ paths: - selected repositories: type: array - items: &79 + items: &80 title: Repository description: A repository on GitHub. type: object @@ -2992,7 +2992,7 @@ paths: title: License Simple description: License Simple type: object - properties: &88 + properties: &89 key: type: string example: mit @@ -3014,7 +3014,7 @@ paths: html_url: type: string format: uri - required: &89 + required: &90 - key - name - url @@ -7453,7 +7453,7 @@ paths: required: true content: application/json: - schema: &142 + schema: &141 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -8153,7 +8153,7 @@ paths: description: Response content: application/json: - schema: &189 + schema: &188 type: array description: A list of default code security configurations items: @@ -8169,7 +8169,7 @@ paths: default configuration: *49 examples: - default: &190 + default: &189 value: - default_for_new_repos: public configuration: @@ -8504,7 +8504,7 @@ paths: - *40 - *51 responses: - '204': &191 + '204': &61 description: A header with no content is returned. '400': *14 '403': *29 @@ -8631,7 +8631,7 @@ paths: default: value: default_for_new_repos: all - configuration: &188 + configuration: &187 value: id: 1325 target_type: organization @@ -8721,7 +8721,7 @@ paths: application/json: schema: type: array - items: &192 + items: &190 type: object description: Repositories associated with a code security configuration and attachment status @@ -8739,11 +8739,11 @@ paths: - failed - updating - removed_by_enterprise - repository: &66 + repository: &67 title: Simple Repository description: A GitHub repository. type: object - properties: &119 + properties: &208 id: type: integer format: int64 @@ -8970,7 +8970,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &120 + required: &209 - archive_url - assignees_url - blobs_url @@ -9022,7 +9022,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &193 + repository: &191 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -9303,6 +9303,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: + - *40 + 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': *61 + '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: + - *40 + 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': *61 + '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: + - *40 + 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': *61 + '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 @@ -9322,7 +9527,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &199 + - &197 name: classification in: query description: |- @@ -9331,7 +9536,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &200 + - &198 name: state in: query description: |- @@ -9340,7 +9545,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &201 + - &199 name: severity in: query description: |- @@ -9349,7 +9554,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &202 + - &200 name: ecosystem in: query description: |- @@ -9358,14 +9563,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &203 + - &201 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &204 + - &202 name: epss_percentage in: query description: |- @@ -9391,7 +9596,7 @@ paths: type: string enum: - patch - - &205 + - &203 name: assignee in: query description: |- @@ -9400,7 +9605,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &206 + - &204 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -9410,7 +9615,7 @@ paths: enum: - development - runtime - - &207 + - &205 name: sort in: query description: |- @@ -9425,7 +9630,7 @@ paths: - updated - epss_percentage default: created - - *61 + - *62 - *47 - *48 - *17 @@ -9436,11 +9641,11 @@ paths: application/json: schema: type: array - items: &208 + items: &206 type: object description: A Dependabot alert. properties: - number: &178 + number: &177 type: integer description: The security alert number. readOnly: true @@ -9458,7 +9663,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &62 + package: &63 type: object description: Details for the vulnerable package. readOnly: true @@ -9533,13 +9738,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &65 + items: &66 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *62 + package: *63 severity: type: string description: The severity of the vulnerability. @@ -9612,8 +9817,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *63 - epss: *64 + cvss_severities: *64 + epss: *65 cwes: type: array description: Details for the advisory pertaining to Common @@ -9731,30 +9936,30 @@ paths: - updated_at - withdrawn_at version: '2026-03-10' - security_vulnerability: *65 - url: &181 + security_vulnerability: *66 + url: &180 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &182 + html_url: &181 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &179 + created_at: &178 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: &180 + updated_at: &179 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: &184 + dismissed_at: &183 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9784,7 +9989,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &183 + fixed_at: &182 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9841,7 +10046,7 @@ paths: description: The users assigned to this alert. readOnly: true items: *4 - repository: *66 + repository: *67 required: - number - state @@ -9860,7 +10065,7 @@ paths: - repository additionalProperties: false examples: - default: &209 + default: &207 value: - number: 2 state: dismissed @@ -10229,7 +10434,7 @@ paths: application/json: schema: type: array - items: &68 + items: &69 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10300,7 +10505,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *67 + Link: *68 '403': *29 x-github: githubCloudOnly: false @@ -10373,9 +10578,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *69 examples: - default: &76 + default: &77 value: id: 1 name: Justice League @@ -10404,7 +10609,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *40 - - &69 + - &70 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10423,7 +10628,7 @@ paths: type: array items: *4 examples: - default: &70 + default: &71 value: - login: octocat id: 1 @@ -10444,7 +10649,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10462,7 +10667,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *40 - - *69 + - *70 requestBody: required: true content: @@ -10493,7 +10698,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10511,7 +10716,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *40 - - *69 + - *70 requestBody: required: true content: @@ -10542,7 +10747,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10560,8 +10765,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *40 - - *69 - - &71 + - *70 + - &72 name: username description: The handle for the GitHub user account. in: path @@ -10575,7 +10780,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &72 + exampleKey1: &73 value: login: octocat id: 1 @@ -10611,8 +10816,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *40 - - *69 - - *71 + - *70 + - *72 responses: '201': description: Successfully added team member @@ -10620,7 +10825,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *72 + exampleKey1: *73 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10638,8 +10843,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *40 - - *69 - - *71 + - *70 + - *72 responses: '204': description: Response @@ -10661,7 +10866,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments parameters: - *40 - - *69 + - *70 - *17 - *19 responses: @@ -10671,11 +10876,11 @@ paths: application/json: schema: type: array - items: &73 + items: &74 title: Organization Simple description: A GitHub organization. type: object - properties: &195 + properties: &193 login: type: string example: github @@ -10716,7 +10921,7 @@ paths: type: string example: A great organization nullable: true - required: &196 + required: &194 - login - url - id @@ -10730,7 +10935,7 @@ paths: - avatar_url - description examples: - default: &74 + default: &75 value: login: github id: 1 @@ -10761,7 +10966,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments parameters: - *40 - - *69 + - *70 requestBody: required: true content: @@ -10789,9 +10994,9 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: - default: &116 + default: &117 value: - login: github id: 1 @@ -10822,7 +11027,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments parameters: - *40 - - *69 + - *70 requestBody: required: true content: @@ -10863,8 +11068,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment parameters: - *40 - - *69 - - &75 + - *70 + - &76 name: org description: The organization name. The name is not case sensitive. in: path @@ -10876,9 +11081,9 @@ paths: description: The team is assigned to the organization content: application/json: - schema: *73 + schema: *74 examples: - default: *74 + default: *75 '404': description: The team is not assigned to the organization x-github: @@ -10897,16 +11102,16 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment parameters: - *40 - - *69 - - *75 + - *70 + - *76 responses: '201': description: Successfully assigned the enterprise team to the organization. content: application/json: - schema: *73 + schema: *74 examples: - default: *74 + default: *75 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10923,8 +11128,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment parameters: - *40 - - *69 - - *75 + - *70 + - *76 responses: '204': description: Successfully unassigned the enterprise team from the organization. @@ -10948,7 +11153,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *40 - - &77 + - &78 name: team_slug description: The slug of the team name. in: path @@ -10960,11 +11165,11 @@ paths: description: Response content: application/json: - schema: *68 + schema: *69 examples: - default: *76 + default: *77 headers: - Link: *67 + Link: *68 '403': *29 x-github: githubCloudOnly: false @@ -10982,7 +11187,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *40 - - *77 + - *78 requestBody: required: true content: @@ -11037,11 +11242,11 @@ paths: description: Response content: application/json: - schema: *68 + schema: *69 examples: - default: *76 + default: *77 headers: - Link: *67 + Link: *68 '403': *29 x-github: githubCloudOnly: false @@ -11062,7 +11267,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *40 - - *77 + - *78 responses: '204': description: Response @@ -11100,7 +11305,7 @@ paths: application/json: schema: type: array - items: &111 + items: &112 title: Event description: Event type: object @@ -11110,7 +11315,7 @@ paths: type: type: string nullable: true - actor: &78 + actor: &79 title: Actor description: Actor type: object @@ -11150,7 +11355,7 @@ paths: - id - name - url - org: *78 + org: *79 payload: oneOf: - title: CreateEvent @@ -11483,7 +11688,7 @@ paths: - id labels: type: array - items: &84 + items: &85 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11558,7 +11763,7 @@ paths: properties: action: type: string - issue: &85 + issue: &86 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -11875,7 +12080,7 @@ paths: - node_id - name - description - repository: *79 + repository: *80 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -11886,9 +12091,9 @@ paths: actors within GitHub. type: object nullable: true - properties: *80 - required: *81 - author_association: &82 + properties: *81 + required: *82 + author_association: &83 title: author_association type: string example: OWNER @@ -11903,7 +12108,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &83 + reactions: &84 title: Reaction Rollup type: object properties: @@ -11964,7 +12169,7 @@ paths: description: Comments provide a way for people to collaborate on an issue. type: object - properties: &86 + properties: &87 id: description: Unique identifier of the issue comment example: 42 @@ -12007,7 +12212,7 @@ paths: issue_url: type: string format: uri - author_association: *82 + author_association: *83 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend @@ -12018,9 +12223,9 @@ paths: class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 - reactions: *83 + properties: *81 + required: *82 + reactions: *84 pin: title: Pinned Issue Comment description: Context around who pinned an issue @@ -12042,7 +12247,7 @@ paths: - pinned_at - pinned_by nullable: true - required: &87 + required: &88 - id - node_id - html_url @@ -12200,10 +12405,10 @@ paths: assignees: type: array items: *4 - label: *84 + label: *85 labels: type: array - items: *84 + items: *85 required: - action - issue @@ -12212,14 +12417,14 @@ paths: properties: action: type: string - issue: *85 + issue: *86 comment: &548 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 required: - action - issue @@ -12392,8 +12597,8 @@ paths: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 nullable: true allow_forking: type: boolean @@ -12482,7 +12687,7 @@ paths: type: string number: type: integer - pull_request: &90 + pull_request: &91 title: Pull Request Minimal type: object properties: @@ -12553,10 +12758,10 @@ paths: assignees: type: array items: *4 - label: *84 + label: *85 labels: type: array - items: *84 + items: *85 required: - action - number @@ -12566,7 +12771,7 @@ paths: properties: action: type: string - pull_request: *90 + pull_request: *91 comment: type: object properties: @@ -12817,7 +13022,7 @@ paths: - pull_request updated_at: type: string - pull_request: *90 + pull_request: *91 required: - action - review @@ -12866,7 +13071,7 @@ paths: updated_at: type: string format: date-time - reactions: *83 + reactions: *84 required: - action - comment @@ -13023,7 +13228,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *83 + reactions: *84 required: - assets_url - upload_url @@ -13115,7 +13320,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': &121 + '503': &120 description: Service unavailable content: application/json: @@ -13208,7 +13413,7 @@ paths: _links: type: object properties: - timeline: &91 + timeline: &92 title: Link With Type description: Hypermedia Link with Type type: object @@ -13220,17 +13425,17 @@ paths: required: - href - type - user: *91 - security_advisories: *91 - current_user: *91 - current_user_public: *91 - current_user_actor: *91 - current_user_organization: *91 + user: *92 + security_advisories: *92 + current_user: *92 + current_user_public: *92 + current_user_actor: *92 + current_user_organization: *92 current_user_organizations: type: array - items: *91 - repository_discussions: *91 - repository_discussions_category: *91 + items: *92 + repository_discussions: *92 + repository_discussions_category: *92 required: - timeline - user @@ -13292,7 +13497,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *92 + - *93 - *17 - *19 responses: @@ -13302,7 +13507,7 @@ paths: application/json: schema: type: array - items: &93 + items: &94 title: Base Gist description: Base Gist type: object @@ -13430,7 +13635,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &94 + default: &95 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -13475,7 +13680,7 @@ paths: site_admin: false truncated: false headers: - Link: *67 + Link: *68 '304': *37 '403': *29 x-github: @@ -13551,7 +13756,7 @@ paths: description: Response content: application/json: - schema: &95 + schema: &96 title: Gist Simple description: Gist Simple type: object @@ -13938,7 +14143,7 @@ paths: path: "/properties/history" version: '2026-03-10' examples: - default: &96 + default: &97 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -14042,7 +14247,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *92 + - *93 - *17 - *19 responses: @@ -14052,11 +14257,11 @@ paths: application/json: schema: type: array - items: *93 + items: *94 examples: - default: *94 + default: *95 headers: - Link: *67 + Link: *68 '422': *15 '304': *37 '403': *29 @@ -14076,7 +14281,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *92 + - *93 - *17 - *19 responses: @@ -14086,11 +14291,11 @@ paths: application/json: schema: type: array - items: *93 + items: *94 examples: - default: *94 + default: *95 headers: - Link: *67 + Link: *68 '401': *25 '304': *37 '403': *29 @@ -14115,7 +14320,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &97 + - &98 name: gist_id description: The unique identifier of the gist. in: path @@ -14127,10 +14332,10 @@ paths: description: Response content: application/json: - schema: *95 + schema: *96 examples: - default: *96 - '403': &100 + default: *97 + '403': &101 description: Forbidden Gist content: application/json: @@ -14177,7 +14382,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *97 + - *98 requestBody: required: true content: @@ -14237,9 +14442,9 @@ paths: description: Response content: application/json: - schema: *95 + schema: *96 examples: - updateGist: *96 + updateGist: *97 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -14397,7 +14602,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *97 + - *98 responses: '204': description: Response @@ -14425,7 +14630,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *97 + - *98 - *17 - *19 responses: @@ -14435,7 +14640,7 @@ paths: application/json: schema: type: array - items: &98 + items: &99 title: Gist Comment description: A comment made to a gist. type: object @@ -14470,7 +14675,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *82 + author_association: *83 required: - url - id @@ -14510,7 +14715,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -14534,7 +14739,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *97 + - *98 requestBody: required: true content: @@ -14559,9 +14764,9 @@ paths: description: Response content: application/json: - schema: *98 + schema: *99 examples: - default: &99 + default: &100 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14618,8 +14823,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *97 - - &101 + - *98 + - &102 name: comment_id description: The unique identifier of the comment. in: path @@ -14632,12 +14837,12 @@ paths: description: Response content: application/json: - schema: *98 + schema: *99 examples: - default: *99 + default: *100 '304': *37 '404': *6 - '403': *100 + '403': *101 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14658,8 +14863,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *97 - - *101 + - *98 + - *102 requestBody: required: true content: @@ -14684,9 +14889,9 @@ paths: description: Response content: application/json: - schema: *98 + schema: *99 examples: - default: *99 + default: *100 '404': *6 x-github: githubCloudOnly: false @@ -14703,8 +14908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *97 - - *101 + - *98 + - *102 responses: '204': description: Response @@ -14727,7 +14932,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *97 + - *98 - *17 - *19 responses: @@ -14828,7 +15033,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *97 + - *98 - *17 - *19 responses: @@ -14838,7 +15043,7 @@ paths: application/json: schema: type: array - items: *95 + items: *96 examples: default: value: @@ -14884,7 +15089,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '404': *6 '304': *37 '403': *29 @@ -14903,13 +15108,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *97 + - *98 responses: '201': description: Response content: application/json: - schema: *93 + schema: *94 examples: default: value: @@ -14986,7 +15191,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *97 + - *98 responses: '204': description: Response if gist is starred @@ -15016,7 +15221,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *97 + - *98 responses: '204': description: Response @@ -15038,7 +15243,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *97 + - *98 responses: '204': description: Response @@ -15066,7 +15271,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *97 + - *98 - name: sha in: path required: true @@ -15077,9 +15282,9 @@ paths: description: Response content: application/json: - schema: *95 + schema: *96 examples: - default: *96 + default: *97 '422': *15 '404': *6 '403': *29 @@ -15240,7 +15445,7 @@ paths: type: array items: allOf: - - *79 + - *80 repository_selection: type: string example: selected @@ -15363,7 +15568,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *67 + Link: *68 '403': *29 '304': *37 '401': *25 @@ -15465,8 +15670,8 @@ paths: - updated - comments default: created - - *61 - - *92 + - *62 + - *93 - name: collab in: query required: false @@ -15496,7 +15701,7 @@ paths: application/json: schema: type: array - items: *85 + items: *86 examples: default: &247 value: @@ -15743,7 +15948,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *67 + Link: *68 '422': *15 '304': *37 '404': *6 @@ -15782,8 +15987,8 @@ paths: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 examples: default: value: @@ -16068,7 +16273,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &102 + X-CommonMarker-Version: &103 example: 0.17.4 schema: type: string @@ -16123,7 +16328,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *102 + X-CommonMarker-Version: *103 content: text/html: schema: @@ -16152,7 +16357,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &105 + - &106 name: account_id description: account_id parameter in: path @@ -16164,7 +16369,7 @@ paths: description: Response content: application/json: - schema: &104 + schema: &105 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -16194,7 +16399,7 @@ paths: nullable: true id: type: integer - plan: &103 + plan: &104 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -16283,7 +16488,7 @@ paths: nullable: true updated_at: type: string - plan: *103 + plan: *104 required: - url - id @@ -16291,7 +16496,7 @@ paths: - login - marketplace_purchase examples: - default: &106 + default: &107 value: url: https://api.github.com/orgs/github type: Organization @@ -16376,9 +16581,9 @@ paths: application/json: schema: type: array - items: *103 + items: *104 examples: - default: &107 + default: &108 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -16396,7 +16601,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *67 + Link: *68 '404': *6 '401': *25 x-github: @@ -16418,14 +16623,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &108 + - &109 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &109 + - &110 name: sort description: The property to sort the results by. in: query @@ -16455,9 +16660,9 @@ paths: application/json: schema: type: array - items: *104 + items: *105 examples: - default: &110 + default: &111 value: - url: https://api.github.com/orgs/github type: Organization @@ -16508,7 +16713,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *67 + Link: *68 '404': *6 '422': *15 '401': *25 @@ -16531,15 +16736,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *105 + - *106 responses: '200': description: Response content: application/json: - schema: *104 + schema: *105 examples: - default: *106 + default: *107 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -16571,11 +16776,11 @@ paths: application/json: schema: type: array - items: *103 + items: *104 examples: - default: *107 + default: *108 headers: - Link: *67 + Link: *68 '401': *25 x-github: githubCloudOnly: false @@ -16596,8 +16801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *108 - *109 + - *110 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16617,11 +16822,11 @@ paths: application/json: schema: type: array - items: *104 + items: *105 examples: - default: *110 + default: *111 headers: - Link: *67 + Link: *68 '401': *25 x-github: githubCloudOnly: false @@ -16907,7 +17112,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: default: value: @@ -16991,7 +17196,7 @@ paths: schema: type: boolean default: false - - *92 + - *93 - &587 name: before description: 'Only show notifications updated before the given time. This @@ -17017,14 +17222,14 @@ paths: application/json: schema: type: array - items: &112 + items: &113 title: Thread description: Thread type: object properties: id: type: string - repository: &160 + repository: &159 title: Minimal Repository description: Minimal Repository type: object @@ -17610,7 +17815,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -17694,7 +17899,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &113 + - &114 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 @@ -17708,7 +17913,7 @@ paths: description: Response content: application/json: - schema: *112 + schema: *113 examples: default: value: @@ -17810,7 +18015,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *113 + - *114 responses: '205': description: Reset Content @@ -17832,7 +18037,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *113 + - *114 responses: '204': description: No content @@ -17855,13 +18060,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *113 + - *114 responses: '200': description: Response content: application/json: - schema: &114 + schema: &115 title: Thread Subscription description: Thread Subscription type: object @@ -17898,7 +18103,7 @@ paths: - url - subscribed examples: - default: &115 + default: &116 value: subscribed: true ignored: false @@ -17929,7 +18134,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *113 + - *114 requestBody: required: false content: @@ -17950,9 +18155,9 @@ paths: description: Response content: application/json: - schema: *114 + schema: *115 examples: - default: *115 + default: *116 '304': *37 '403': *29 '401': *25 @@ -17975,7 +18180,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *113 + - *114 responses: '204': description: Response @@ -18070,9 +18275,9 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: - default: *116 + default: *117 headers: Link: example: ; rel="next" @@ -18099,13 +18304,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response content: application/json: - schema: &117 + schema: &118 title: Actions cache retention limit for an organization description: GitHub Actions cache retention policy for an organization. type: object @@ -18138,12 +18343,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: application/json: - schema: *117 + schema: *118 examples: selected_actions: *42 responses: @@ -18172,13 +18377,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response content: application/json: - schema: &118 + schema: &119 title: Actions cache storage limit for an organization description: GitHub Actions cache storage policy for an organization. type: object @@ -18211,12 +18416,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: application/json: - schema: *118 + schema: *119 examples: selected_actions: *44 responses: @@ -18230,271 +18435,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: - - *75 - - 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 - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - example: internal - nullable: true - accessible_repositories: - type: array - items: - title: Simple Repository - description: A GitHub repository. - type: object - properties: *119 - required: *120 - nullable: true - 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': *29 - '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: - - *75 - 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': *29 - '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: - - *75 - 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 - example: internal - required: - - default_level - examples: - '204': - summary: Example with a 'succeeded' status. - value: - default_level: public - responses: - '204': - description: Response - '403': *29 - '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 @@ -18511,7 +18451,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - - *75 + - *76 - name: page description: The page number of the results to fetch. in: query @@ -18683,8 +18623,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - - *75 - - &122 + - *76 + - &121 name: budget_id description: The ID corresponding to the budget. in: path @@ -18781,7 +18721,7 @@ paths: '404': *6 '403': *29 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18801,8 +18741,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - - *75 - - *122 + - *76 + - *121 requestBody: required: true content: @@ -18993,8 +18933,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - - *75 - - *122 + - *76 + - *121 responses: '200': description: Response when deleting a budget @@ -19021,7 +18961,7 @@ paths: '404': *6 '403': *29 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19041,8 +18981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - - *75 - - &123 + - *76 + - &122 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, @@ -19051,7 +18991,7 @@ paths: required: false schema: type: integer - - &125 + - &124 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 @@ -19060,7 +19000,7 @@ paths: required: false schema: type: integer - - &124 + - &123 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 @@ -19082,7 +19022,7 @@ paths: required: false schema: type: string - - &126 + - &125 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -19199,7 +19139,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19219,8 +19159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - - *75 - - *123 + - *76 + - *122 - &737 name: month description: If specified, only return results for a single month. The value @@ -19230,7 +19170,7 @@ paths: required: false schema: type: integer - - *124 + - *123 responses: '200': description: Billing usage report response for an organization @@ -19306,7 +19246,7 @@ paths: '400': *14 '403': *29 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19329,10 +19269,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - - *75 - - *123 - - *125 + - *76 + - *122 - *124 + - *123 - &738 name: repository description: The repository name to query for usage in the format owner/repository. @@ -19340,7 +19280,7 @@ paths: required: false schema: type: string - - *126 + - *125 - &739 name: sku description: The SKU to query for usage. @@ -19452,7 +19392,7 @@ paths: '400': *14 '403': *29 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19478,13 +19418,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *75 + - *76 responses: '200': description: Response content: application/json: - schema: &127 + schema: &126 title: Organization Full description: Organization Full type: object @@ -19809,7 +19749,7 @@ paths: path: "/properties/secret_scanning_push_protection_custom_link_enabled" version: '2026-03-10' examples: - default-response: &128 + default-response: &127 value: login: github id: 1 @@ -19915,7 +19855,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *75 + - *76 requestBody: required: false content: @@ -20131,17 +20071,17 @@ paths: description: Response content: application/json: - schema: *127 + schema: *126 examples: - default: *128 + default: *127 '422': description: Validation failed content: application/json: schema: oneOf: + - *128 - *129 - - *130 '409': *54 x-github: githubCloudOnly: false @@ -20175,7 +20115,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *75 + - *76 responses: '202': *39 '404': *6 @@ -20206,7 +20146,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -20232,7 +20172,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20253,7 +20193,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: - - *75 + - *76 - *17 - *19 responses: @@ -20306,7 +20246,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20326,7 +20266,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *75 + - *76 - *17 - *19 responses: @@ -20344,7 +20284,7 @@ paths: type: integer runners: type: array - items: &131 + items: &130 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -20398,7 +20338,7 @@ paths: - display_name - source nullable: true - machine_size_details: &139 + machine_size_details: &138 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -20494,7 +20434,7 @@ paths: - public_ip_enabled - platform examples: - default: &159 + default: &158 value: total_count: 2 runners: @@ -20536,7 +20476,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20554,7 +20494,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -20631,9 +20571,9 @@ paths: description: Response content: application/json: - schema: *131 + schema: *130 examples: - default: &140 + default: &139 value: id: 5 name: My hosted ubuntu runner @@ -20674,7 +20614,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-custom-images-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -20690,7 +20630,7 @@ paths: type: integer images: type: array - items: &132 + items: &131 title: GitHub-hosted runner custom image details description: Provides details of a custom runner image type: object @@ -20741,7 +20681,7 @@ paths: - latest_version - state examples: - default: &134 + default: &133 value: total_count: 2 image_versions: @@ -20772,8 +20712,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: - - *75 - - &133 + - *76 + - &132 name: image_definition_id description: Image definition ID of custom image in: path @@ -20785,7 +20725,7 @@ paths: description: Response content: application/json: - schema: *132 + schema: *131 examples: default: value: @@ -20815,8 +20755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-custom-image-from-the-organization parameters: - - *75 - - *133 + - *76 + - *132 responses: '204': description: Response @@ -20839,8 +20779,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: - - *133 - - *75 + - *132 + - *76 responses: '200': description: Response @@ -20856,7 +20796,7 @@ paths: type: integer image_versions: type: array - items: &135 + items: &134 title: GitHub-hosted runner custom image version details. description: Provides details of a hosted runner custom image version @@ -20889,7 +20829,7 @@ paths: - created_on - state_details examples: - default: *134 + default: *133 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20909,9 +20849,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: - - *75 - - *133 - - &136 + - *76 + - *132 + - &135 name: version description: Version of a custom image in: path @@ -20924,7 +20864,7 @@ paths: description: Response content: application/json: - schema: *135 + schema: *134 examples: default: value: @@ -20950,9 +20890,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: - - *75 - - *133 - - *136 + - *76 + - *132 + - *135 responses: '204': description: Response @@ -20973,7 +20913,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: - - *75 + - *76 responses: '200': description: Response @@ -20989,7 +20929,7 @@ paths: type: integer images: type: array - items: &137 + items: &136 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -21025,7 +20965,7 @@ paths: - display_name - source examples: - default: &138 + default: &137 value: id: ubuntu-20.04 platform: linux-x64 @@ -21049,7 +20989,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: - - *75 + - *76 responses: '200': description: Response @@ -21065,9 +21005,9 @@ paths: type: integer images: type: array - items: *137 + items: *136 examples: - default: *138 + default: *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21084,7 +21024,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: - - *75 + - *76 responses: '200': description: Response @@ -21137,7 +21077,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: - - *75 + - *76 responses: '200': description: Response @@ -21153,7 +21093,7 @@ paths: type: integer machine_specs: type: array - items: *139 + items: *138 examples: default: value: @@ -21178,7 +21118,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: - - *75 + - *76 responses: '200': description: Response @@ -21222,8 +21162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *75 - - &141 + - *76 + - &140 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -21235,11 +21175,11 @@ paths: description: Response content: application/json: - schema: *131 + schema: *130 examples: - default: *140 + default: *139 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21257,8 +21197,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *75 - - *141 + - *76 + - *140 requestBody: required: true content: @@ -21310,9 +21250,9 @@ paths: description: Response content: application/json: - schema: *131 + schema: *130 examples: - default: *140 + default: *139 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21328,16 +21268,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *75 - - *141 + - *76 + - *140 responses: '202': description: Response content: application/json: - schema: *131 + schema: *130 examples: - default: *140 + default: *139 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21357,7 +21297,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#list-oidc-custom-property-inclusions-for-an-organization parameters: - - *75 + - *76 responses: '200': description: A JSON array of OIDC custom property inclusions @@ -21390,12 +21330,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#create-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: application/json: - schema: *142 + schema: *141 examples: default: *46 responses: @@ -21429,7 +21369,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#delete-an-oidc-custom-property-inclusion-for-an-organization parameters: - - *75 + - *76 - name: custom_property_name in: path required: true @@ -21462,7 +21402,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: - - *75 + - *76 responses: '200': description: A JSON serialized template for OIDC subject claim customization @@ -21482,7 +21422,7 @@ paths: required: - include_claim_keys examples: - default: &143 + default: &142 value: include_claim_keys: - repo @@ -21504,7 +21444,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: - - *75 + - *76 requestBody: required: true content: @@ -21521,13 +21461,13 @@ paths: items: type: string examples: - default: *143 + default: *142 responses: '201': description: Empty response content: application/json: - schema: &169 + schema: &168 title: Empty Object description: An object without any properties. type: object @@ -21557,7 +21497,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -21566,7 +21506,7 @@ paths: schema: type: object properties: - enabled_repositories: &144 + enabled_repositories: &143 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -21579,7 +21519,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: &145 + allowed_actions: &144 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -21592,7 +21532,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: &146 + sha_pinning_required: &145 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -21623,7 +21563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *75 + - *76 responses: '204': description: Response @@ -21634,9 +21574,9 @@ paths: schema: type: object properties: - enabled_repositories: *144 - allowed_actions: *145 - sha_pinning_required: *146 + enabled_repositories: *143 + allowed_actions: *144 + sha_pinning_required: *145 required: - enabled_repositories examples: @@ -21664,7 +21604,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -21707,7 +21647,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -21749,13 +21689,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response content: application/json: - schema: &147 + schema: &146 type: object properties: approval_policy: @@ -21790,7 +21730,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *75 + - *76 responses: '204': description: Response @@ -21800,7 +21740,7 @@ paths: required: true content: application/json: - schema: *147 + schema: *146 examples: default: summary: Set approval policy to first time contributors @@ -21822,7 +21762,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: - - *75 + - *76 responses: '200': description: Response @@ -21854,7 +21794,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &148 + default: &147 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -21877,7 +21817,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: - - *75 + - *76 requestBody: required: true content: @@ -21905,7 +21845,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *148 + default: *147 responses: '204': description: Empty response for successful settings update @@ -21935,7 +21875,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: - - *75 + - *76 - *17 - *19 responses: @@ -21953,9 +21893,9 @@ paths: type: number repositories: type: array - items: *79 + items: *80 examples: - default: &152 + default: &151 value: total_count: 1 repositories: @@ -22095,7 +22035,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: - - *75 + - *76 responses: '204': description: Response @@ -22139,8 +22079,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: - - *75 - - &149 + - *76 + - &148 name: repository_id description: The unique identifier of the repository. in: path @@ -22168,8 +22108,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: - - *75 - - *149 + - *76 + - *148 responses: '204': description: Response @@ -22192,13 +22132,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response content: application/json: - schema: &150 + schema: &149 type: object properties: github_owned_allowed: @@ -22220,7 +22160,7 @@ paths: items: type: string examples: - default: &151 + default: &150 value: github_owned_allowed: true verified_allowed: false @@ -22245,7 +22185,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *75 + - *76 responses: '204': description: Response @@ -22253,9 +22193,9 @@ paths: required: false content: application/json: - schema: *150 + schema: *149 examples: - selected_actions: *151 + selected_actions: *150 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22275,7 +22215,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -22323,7 +22263,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -22370,7 +22310,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: - - *75 + - *76 - *17 - *19 responses: @@ -22385,9 +22325,9 @@ paths: type: integer repositories: type: array - items: *79 + items: *80 examples: - default: *152 + default: *151 '403': *29 '404': *6 x-github: @@ -22407,7 +22347,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: - - *75 + - *76 requestBody: required: true content: @@ -22455,8 +22395,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: - - *75 - - *149 + - *76 + - *148 responses: '204': description: No content @@ -22482,8 +22422,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: - - *75 - - *149 + - *76 + - *148 responses: '204': description: No content @@ -22511,7 +22451,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -22520,14 +22460,14 @@ paths: schema: &370 type: object properties: - default_workflow_permissions: &153 + default_workflow_permissions: &152 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &154 + can_approve_pull_request_reviews: &153 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -22535,7 +22475,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &155 + default: &154 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -22560,7 +22500,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *75 + - *76 responses: '204': description: Success response @@ -22571,10 +22511,10 @@ paths: schema: &371 type: object properties: - default_workflow_permissions: *153 - can_approve_pull_request_reviews: *154 + default_workflow_permissions: *152 + can_approve_pull_request_reviews: *153 examples: - default: *155 + default: *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22594,7 +22534,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: - - *75 + - *76 - *17 - *19 - name: visible_to_repository @@ -22619,7 +22559,7 @@ paths: type: number runner_groups: type: array - items: &156 + items: &155 type: object properties: id: @@ -22735,7 +22675,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: - - *75 + - *76 requestBody: required: true content: @@ -22807,9 +22747,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *155 examples: - default: &158 + default: &157 value: id: 2 name: octo-runner-group @@ -22844,8 +22784,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: - - *75 - - &157 + - *76 + - &156 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -22857,7 +22797,7 @@ paths: description: Response content: application/json: - schema: *156 + schema: *155 examples: default: value: @@ -22893,8 +22833,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: - - *75 - - *157 + - *76 + - *156 requestBody: required: true content: @@ -22948,9 +22888,9 @@ paths: description: Response content: application/json: - schema: *156 + schema: *155 examples: - default: *158 + default: *157 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22969,8 +22909,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: - - *75 - - *157 + - *76 + - *156 responses: '204': description: Response @@ -22993,8 +22933,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: - - *75 - - *157 + - *76 + - *156 - *17 - *19 responses: @@ -23012,11 +22952,11 @@ paths: type: number runners: type: array - items: *131 + items: *130 examples: - default: *159 + default: *158 headers: - Link: *67 + Link: *68 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -23036,8 +22976,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: - - *75 - - *157 + - *76 + - *156 - *19 - *17 responses: @@ -23055,9 +22995,9 @@ paths: type: number repositories: type: array - items: *160 + items: *159 examples: - default: &198 + default: &196 value: total_count: 1 repositories: @@ -23309,8 +23249,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: - - *75 - - *157 + - *76 + - *156 requestBody: required: true content: @@ -23354,9 +23294,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: - - *75 - - *157 - - *149 + - *76 + - *156 + - *148 responses: '204': description: Response @@ -23378,9 +23318,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: - - *75 - - *157 - - *149 + - *76 + - *156 + - *148 responses: '204': description: Response @@ -23403,8 +23343,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: - - *75 - - *157 + - *76 + - *156 - *17 - *19 responses: @@ -23422,7 +23362,7 @@ paths: type: number runners: type: array - items: &162 + items: &161 title: Self hosted runners description: A self hosted runner type: object @@ -23451,7 +23391,7 @@ paths: type: boolean labels: type: array - items: &165 + items: &164 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -23481,7 +23421,7 @@ paths: - busy - labels examples: - default: &163 + default: &162 value: total_count: 2 runners: @@ -23521,7 +23461,7 @@ paths: name: no-gpu type: custom headers: - Link: *67 + Link: *68 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -23540,8 +23480,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: - - *75 - - *157 + - *76 + - *156 requestBody: required: true content: @@ -23585,9 +23525,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: - - *75 - - *157 - - &161 + - *76 + - *156 + - &160 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -23615,9 +23555,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: - - *75 - - *157 - - *161 + - *76 + - *156 + - *160 responses: '204': description: Response @@ -23647,7 +23587,7 @@ paths: in: query schema: type: string - - *75 + - *76 - *17 - *19 responses: @@ -23665,11 +23605,11 @@ paths: type: integer runners: type: array - items: *162 + items: *161 examples: - default: *163 + default: *162 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23691,7 +23631,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -23767,7 +23707,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: - - *75 + - *76 requestBody: required: true content: @@ -23820,7 +23760,7 @@ paths: - runner - encoded_jit_config properties: - runner: *162 + runner: *161 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -23877,13 +23817,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *75 + - *76 responses: '201': description: Response content: application/json: - schema: &164 + schema: &163 title: Authentication Token description: Authentication Token type: object @@ -23905,7 +23845,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *79 + items: *80 single_file: type: string example: config.yaml @@ -23952,13 +23892,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *75 + - *76 responses: '201': description: Response content: application/json: - schema: *164 + schema: *163 examples: default: &376 value: @@ -23985,14 +23925,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: - - *75 - - *161 + - *76 + - *160 responses: '200': description: Response content: application/json: - schema: *162 + schema: *161 examples: default: &377 value: @@ -24035,8 +23975,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: - - *75 - - *161 + - *76 + - *160 responses: '204': description: Response @@ -24062,10 +24002,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: - - *75 - - *161 + - *76 + - *160 responses: - '200': &166 + '200': &165 description: Response content: application/json: @@ -24079,7 +24019,7 @@ paths: type: integer labels: type: array - items: *165 + items: *164 examples: default: value: @@ -24118,8 +24058,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: - - *75 - - *161 + - *76 + - *160 requestBody: required: true content: @@ -24143,7 +24083,7 @@ paths: - gpu - accelerated responses: - '200': *166 + '200': *165 '404': *6 '422': *7 x-github: @@ -24167,8 +24107,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: - - *75 - - *161 + - *76 + - *160 requestBody: required: true content: @@ -24193,7 +24133,7 @@ paths: - gpu - accelerated responses: - '200': *166 + '200': *165 '404': *6 '422': *7 x-github: @@ -24217,8 +24157,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: - - *75 - - *161 + - *76 + - *160 responses: '200': &378 description: Response @@ -24234,7 +24174,7 @@ paths: type: integer labels: type: array - items: *165 + items: *164 examples: default: value: @@ -24275,8 +24215,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: - - *75 - - *161 + - *76 + - *160 - &379 name: name description: The name of a self-hosted runner's custom label. @@ -24285,7 +24225,7 @@ paths: schema: type: string responses: - '200': *166 + '200': *165 '404': *6 '422': *7 x-github: @@ -24310,7 +24250,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *75 + - *76 - *17 - *19 responses: @@ -24328,7 +24268,7 @@ paths: type: integer secrets: type: array - items: &167 + items: &166 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -24378,7 +24318,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24401,7 +24341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *75 + - *76 responses: '200': description: Response @@ -24461,8 +24401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *75 - - &168 + - *76 + - &167 name: secret_name description: The name of the secret. in: path @@ -24474,7 +24414,7 @@ paths: description: Response content: application/json: - schema: *167 + schema: *166 examples: default: value: @@ -24504,8 +24444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 requestBody: required: true content: @@ -24562,7 +24502,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -24588,8 +24528,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 responses: '204': description: Response @@ -24615,8 +24555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - *19 - *17 responses: @@ -24634,9 +24574,9 @@ paths: type: integer repositories: type: array - items: *160 + items: *159 examples: - default: &172 + default: &171 value: total_count: 1 repositories: @@ -24728,8 +24668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 requestBody: required: true content: @@ -24781,8 +24721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - name: repository_id in: path required: true @@ -24815,8 +24755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - name: repository_id in: path required: true @@ -24848,7 +24788,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *75 + - *76 - &360 name: per_page description: The number of results per page (max 30). For more information, @@ -24873,7 +24813,7 @@ paths: type: integer variables: type: array - items: &170 + items: &169 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -24937,7 +24877,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24958,7 +24898,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *75 + - *76 requestBody: required: true content: @@ -25006,7 +24946,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -25031,8 +24971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *75 - - &171 + - *76 + - &170 name: name description: The name of the variable. in: path @@ -25044,7 +24984,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *169 examples: default: value: @@ -25074,8 +25014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *75 - - *171 + - *76 + - *170 requestBody: required: true content: @@ -25137,8 +25077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *75 - - *171 + - *76 + - *170 responses: '204': description: Response @@ -25164,8 +25104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *75 - - *171 + - *76 + - *170 - *19 - *17 responses: @@ -25183,9 +25123,9 @@ paths: type: integer repositories: type: array - items: *160 + items: *159 examples: - default: *172 + default: *171 '409': description: Response when the visibility of the variable is not set to `selected` @@ -25211,8 +25151,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *75 - - *171 + - *76 + - *170 requestBody: required: true content: @@ -25261,8 +25201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *75 - - *171 + - *76 + - *170 - name: repository_id in: path required: true @@ -25296,8 +25236,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *75 - - *171 + - *76 + - *170 - name: repository_id in: path required: true @@ -25338,7 +25278,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-an-artifact-deployment-record parameters: - - *75 + - *76 requestBody: required: true content: @@ -25461,7 +25401,7 @@ paths: type: integer deployment_records: type: array - items: &173 + items: &172 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -25507,7 +25447,7 @@ paths: required: - total_count examples: - default: &174 + default: &173 value: total_count: 1 deployment_records: @@ -25544,7 +25484,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#set-cluster-deployment-records parameters: - - *75 + - *76 - name: cluster in: path description: The cluster name. @@ -25687,11 +25627,11 @@ paths: type: integer deployment_records: type: array - items: *173 + items: *172 required: - total_count examples: - default: *174 + default: *173 '403': description: Forbidden content: @@ -25738,7 +25678,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *75 + - *76 requestBody: required: true content: @@ -25901,7 +25841,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-deployment-records parameters: - - *75 + - *76 - name: subject_digest description: The SHA256 digest of the artifact, in the form `sha256:HEX_DIGEST`. in: path @@ -25926,9 +25866,9 @@ paths: type: integer deployment_records: type: array - items: *173 + items: *172 examples: - default: *174 + default: *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25948,7 +25888,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *75 + - *76 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -26033,7 +25973,7 @@ paths: - *17 - *47 - *48 - - *75 + - *76 requestBody: required: true content: @@ -26244,7 +26184,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *75 + - *76 requestBody: required: true content: @@ -26309,7 +26249,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *75 + - *76 - name: subject_digest description: Subject Digest in: path @@ -26344,7 +26284,7 @@ paths: - *17 - *47 - *48 - - *75 + - *76 - name: predicate_type description: |- Optional filter for fetching attestations with a given predicate type. @@ -26392,7 +26332,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *75 + - *76 - name: attestation_id description: Attestation ID in: path @@ -26430,7 +26370,7 @@ paths: - *17 - *47 - *48 - - *75 + - *76 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -26606,7 +26546,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *75 + - *76 - *17 - *19 responses: @@ -26618,7 +26558,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26637,8 +26577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: If the user is blocked @@ -26663,8 +26603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -26684,8 +26624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -26710,15 +26650,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *75 + - *76 - *19 - *17 - - *61 + - *62 - name: state description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &175 + schema: &174 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -26744,7 +26684,7 @@ paths: application/json: schema: type: array - items: &176 + items: &175 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -26775,7 +26715,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &197 + items: &195 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -26965,7 +26905,7 @@ paths: type: string format: date-time nullable: true - state: *175 + state: *174 contact_link: description: The contact link of the campaign. type: string @@ -27060,9 +27000,9 @@ paths: closed_at: state: open headers: - Link: *67 + Link: *68 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27086,7 +27026,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -27185,9 +27125,9 @@ paths: description: Response content: application/json: - schema: *176 + schema: *175 examples: - default: &177 + default: &176 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -27236,7 +27176,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27258,7 +27198,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *75 + - *76 - name: campaign_number description: The campaign number. in: path @@ -27270,16 +27210,16 @@ paths: description: Response content: application/json: - schema: *176 + schema: *175 examples: - default: *177 + default: *176 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27300,7 +27240,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *75 + - *76 - name: campaign_number description: The campaign number. in: path @@ -27349,7 +27289,7 @@ paths: type: string format: uri nullable: true - state: *175 + state: *174 examples: default: value: @@ -27359,9 +27299,9 @@ paths: description: Response content: application/json: - schema: *176 + schema: *175 examples: - default: *177 + default: *176 '400': description: Bad Request content: @@ -27373,7 +27313,7 @@ paths: content: application/json: schema: *3 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27394,7 +27334,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *75 + - *76 - name: campaign_number description: The campaign number. in: path @@ -27405,7 +27345,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27427,7 +27367,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *75 + - *76 - &430 name: tool_name description: The name of a code scanning tool. Only results by this tool will @@ -27435,7 +27375,7 @@ paths: but not both. in: query required: false - schema: &185 + schema: &184 type: string description: The name of the tool used to generate the code scanning analysis. - &431 @@ -27446,7 +27386,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &186 + schema: &185 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -27455,7 +27395,7 @@ paths: - *48 - *19 - *17 - - *61 + - *62 - name: state description: If specified, only code scanning alerts with this state will be returned. @@ -27513,18 +27453,18 @@ paths: items: type: object properties: - number: *178 - created_at: *179 - updated_at: *180 - url: *181 - html_url: *182 + number: *177 + created_at: *178 + updated_at: *179 + url: *180 + html_url: *181 instances_url: &435 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &187 + state: &186 type: string description: State of a code scanning alert. nullable: true @@ -27532,7 +27472,7 @@ paths: - open - dismissed - fixed - fixed_at: *183 + fixed_at: *182 dismissed_by: title: Simple User description: A GitHub user. @@ -27540,7 +27480,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *184 + dismissed_at: *183 dismissed_reason: &436 type: string description: "**Required when the state is dismissed.** The @@ -27612,13 +27552,13 @@ paths: tool: &439 type: object properties: - name: *185 + name: *184 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *186 + guid: *185 most_recent_instance: &440 type: object properties: @@ -27644,7 +27584,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: *187 + state: *186 commit_sha: type: string message: @@ -27689,7 +27629,7 @@ paths: - generated - test - library - repository: *66 + repository: *67 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -27944,9 +27884,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: *67 + Link: *68 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27968,7 +27908,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *75 + - *76 - name: target_type in: query description: The target type of the code security configuration @@ -28074,7 +28014,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *75 + - *76 requestBody: required: true content: @@ -28318,7 +28258,7 @@ paths: application/json: schema: *49 examples: - default: *188 + default: *187 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28340,15 +28280,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *75 + - *76 responses: '200': description: Response content: application/json: - schema: *189 + schema: *188 examples: - default: *190 + default: *189 '304': *37 '403': *29 '404': *6 @@ -28374,7 +28314,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *75 + - *76 requestBody: required: true content: @@ -28400,7 +28340,7 @@ paths: - 32 - 91 responses: - '204': *191 + '204': *61 '400': *14 '403': *29 '404': *6 @@ -28426,7 +28366,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *75 + - *76 - *51 responses: '200': @@ -28435,7 +28375,7 @@ paths: application/json: schema: *49 examples: - default: *188 + default: *187 '304': *37 '403': *29 '404': *6 @@ -28459,7 +28399,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *75 + - *76 - *51 requestBody: required: true @@ -28739,10 +28679,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *75 + - *76 - *51 responses: - '204': *191 + '204': *61 '400': *14 '403': *29 '404': *6 @@ -28770,7 +28710,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *75 + - *76 - *51 requestBody: required: true @@ -28834,7 +28774,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: - - *75 + - *76 - *51 requestBody: required: true @@ -28880,7 +28820,7 @@ paths: default: value: default_for_new_repos: all - configuration: *188 + configuration: *187 '403': *29 '404': *6 x-github: @@ -28904,7 +28844,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *75 + - *76 - *51 - name: per_page description: The number of results per page (max 100). For more information, @@ -28933,13 +28873,13 @@ paths: application/json: schema: type: array - items: *192 + items: *190 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *193 + repository: *191 '403': *29 '404': *6 x-github: @@ -28963,7 +28903,7 @@ paths: parameters: - *17 - *19 - - *75 + - *76 responses: '200': description: Response @@ -29004,7 +28944,7 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *160 + repository: *159 machine: type: object title: Codespace machine @@ -29688,7 +29628,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *75 + - *76 deprecated: true requestBody: required: true @@ -29755,7 +29695,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *75 + - *76 deprecated: true requestBody: required: true @@ -29810,7 +29750,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *75 + - *76 requestBody: required: true content: @@ -29862,7 +29802,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *75 + - *76 - *17 - *19 responses: @@ -29880,7 +29820,7 @@ paths: type: integer secrets: type: array - items: &194 + items: &192 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -29932,7 +29872,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -29951,7 +29891,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *75 + - *76 responses: '200': description: Response @@ -30009,14 +29949,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 responses: '200': description: Response content: application/json: - schema: *194 + schema: *192 examples: default: &472 value: @@ -30025,7 +29965,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -30045,8 +29985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 requestBody: required: true content: @@ -30101,7 +30041,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -30127,8 +30067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 responses: '204': description: Response @@ -30153,8 +30093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - *19 - *17 responses: @@ -30172,9 +30112,9 @@ paths: type: integer repositories: type: array - items: *160 + items: *159 examples: - default: *172 + default: *171 '404': *6 x-github: githubCloudOnly: false @@ -30196,8 +30136,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 requestBody: required: true content: @@ -30247,8 +30187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - name: repository_id in: path required: true @@ -30281,8 +30221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - name: repository_id in: path required: true @@ -30321,7 +30261,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: - - *75 + - *76 responses: '200': description: OK @@ -30462,7 +30402,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: - - *75 + - *76 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -30502,15 +30442,15 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *195 - required: *196 + properties: *193 + required: *194 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *197 - - *68 + - *195 + - *69 nullable: true pending_cancellation_date: type: string @@ -30634,7 +30574,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '500': *55 '401': *25 '403': *29 @@ -30668,7 +30608,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: - - *75 + - *76 requestBody: content: application/json: @@ -30746,7 +30686,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: - - *75 + - *76 requestBody: content: application/json: @@ -30826,7 +30766,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: - - *75 + - *76 requestBody: content: application/json: @@ -30903,7 +30843,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: - - *75 + - *76 requestBody: content: application/json: @@ -30981,7 +30921,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: - - *75 + - *76 responses: '200': description: Response @@ -31046,7 +30986,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: - - *75 + - *76 requestBody: required: true content: @@ -31101,7 +31041,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: - - *75 + - *76 - *17 - *19 responses: @@ -31116,12 +31056,12 @@ paths: type: integer repositories: type: array - items: *160 + items: *159 required: - total_count - repositories examples: - default: *198 + default: *196 '500': *55 '401': *25 '403': *29 @@ -31150,7 +31090,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: - - *75 + - *76 requestBody: required: true content: @@ -31206,8 +31146,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: - - *75 - - *149 + - *76 + - *148 responses: '204': description: No Content @@ -31240,8 +31180,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: - - *75 - - *149 + - *76 + - *148 responses: '204': description: No Content @@ -31280,7 +31220,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: - - *75 + - *76 responses: '200': description: OK @@ -31333,7 +31273,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: - - *75 + - *76 requestBody: description: The content exclusion rules to set required: true @@ -31424,7 +31364,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *75 + - *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`). @@ -31896,7 +31836,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: - - *75 + - *76 - *56 responses: '200': @@ -31906,7 +31846,7 @@ paths: schema: *57 examples: default: *58 - '204': *191 + '204': *61 '500': *55 '403': *29 '404': *6 @@ -31935,7 +31875,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-usage-metrics parameters: - - *75 + - *76 responses: '200': description: Response @@ -31972,7 +31912,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: - - *75 + - *76 - *56 responses: '200': @@ -31982,7 +31922,7 @@ paths: schema: *57 examples: default: *58 - '204': *191 + '204': *61 '500': *55 '403': *29 '404': *6 @@ -32011,7 +31951,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-usage-metrics#get-copilot-organization-users-usage-metrics parameters: - - *75 + - *76 responses: '200': description: Response @@ -32044,13 +31984,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *75 + - *76 + - *197 + - *198 - *199 - *200 - *201 - *202 - - *203 - - *204 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -32080,7 +32020,7 @@ paths: enum: - patch - deployment - - *205 + - *203 - name: runtime_risk in: query description: |- @@ -32089,9 +32029,9 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *206 - - *207 - - *61 + - *204 + - *205 + - *62 - *47 - *48 - *17 @@ -32102,9 +32042,9 @@ paths: application/json: schema: type: array - items: *208 + items: *206 examples: - default: *209 + default: *207 '304': *37 '400': *14 '403': *29 @@ -32115,6 +32055,271 @@ 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: + - *76 + - 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 + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + example: internal + nullable: true + accessible_repositories: + type: array + items: + title: Simple Repository + description: A GitHub repository. + type: object + properties: *208 + required: *209 + nullable: true + 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': *29 + '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: + - *76 + 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': *29 + '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: + - *76 + 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 + example: internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access "/orgs/{org}/dependabot/secrets": get: summary: List organization secrets @@ -32130,7 +32335,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *75 + - *76 - *17 - *19 responses: @@ -32198,7 +32403,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32219,7 +32424,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *75 + - *76 responses: '200': description: Response @@ -32265,8 +32470,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 responses: '200': description: Response @@ -32300,8 +32505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 requestBody: required: true content: @@ -32358,7 +32563,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -32390,8 +32595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 responses: '204': description: Response @@ -32415,8 +32620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - *19 - *17 responses: @@ -32434,9 +32639,9 @@ paths: type: integer repositories: type: array - items: *160 + items: *159 examples: - default: *172 + default: *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32457,8 +32662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 requestBody: required: true content: @@ -32508,8 +32713,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - name: repository_id in: path required: true @@ -32540,8 +32745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *75 - - *168 + - *76 + - *167 - name: repository_id in: path required: true @@ -32571,7 +32776,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: - - *75 + - *76 responses: '200': description: Response @@ -32728,7 +32933,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *75 + - *76 - *17 - *19 responses: @@ -32738,7 +32943,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: 200-response: value: @@ -32810,7 +33015,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *75 + - *76 - *17 - *19 responses: @@ -32900,7 +33105,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -32924,7 +33129,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *75 + - *76 - *17 - *19 responses: @@ -33022,7 +33227,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -33045,7 +33250,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *75 + - *76 requestBody: required: true content: @@ -33154,7 +33359,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *75 + - *76 - &216 name: hook_id description: The unique identifier of the hook. You can find this value in @@ -33197,7 +33402,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *75 + - *76 - *216 requestBody: required: false @@ -33284,7 +33489,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *75 + - *76 - *216 responses: '204': @@ -33312,7 +33517,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *75 + - *76 - *216 responses: '200': @@ -33343,7 +33548,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *75 + - *76 - *216 requestBody: required: false @@ -33394,7 +33599,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *75 + - *76 - *216 - *17 - *217 @@ -33433,7 +33638,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *75 + - *76 - *216 - *16 responses: @@ -33468,7 +33673,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *75 + - *76 - *216 - *16 responses: @@ -33498,7 +33703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *75 + - *76 - *216 responses: '204': @@ -33521,7 +33726,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *75 + - *76 - &227 name: actor_type in: path @@ -33561,7 +33766,7 @@ paths: type: string - *19 - *17 - - *61 + - *62 - name: sort description: The property to sort the results by. in: query @@ -33643,12 +33848,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *75 + - *76 - *223 - *224 - *19 - *17 - - *61 + - *62 - &233 name: sort description: The property to sort the results by. @@ -33726,7 +33931,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *75 + - *76 - *223 - *224 responses: @@ -33770,7 +33975,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *75 + - *76 - &229 name: user_id in: path @@ -33805,7 +34010,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *75 + - *76 - *223 - *224 - *227 @@ -33834,7 +34039,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *75 + - *76 - *223 - *224 - &230 @@ -33902,7 +34107,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *75 + - *76 - *229 - *223 - *224 @@ -33931,7 +34136,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *75 + - *76 - *227 - *228 - *223 @@ -33961,13 +34166,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *75 + - *76 - *229 - *223 - *224 - *19 - *17 - - *61 + - *62 - *233 - name: actor_name_substring in: query @@ -34041,7 +34246,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *75 + - *76 responses: '200': description: Response @@ -34118,7 +34323,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *75 + - *76 - *17 - *19 responses: @@ -34188,7 +34393,7 @@ paths: suspended_at: suspended_by: headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34207,7 +34412,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -34269,7 +34474,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -34324,7 +34529,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *75 + - *76 responses: '204': description: Response @@ -34348,7 +34553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *75 + - *76 - *17 - *19 - name: role @@ -34386,7 +34591,7 @@ paths: examples: default: *238 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -34407,7 +34612,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *75 + - *76 requestBody: required: false content: @@ -34515,7 +34720,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *75 + - *76 - &239 name: invitation_id description: The unique identifier of the invitation. @@ -34546,7 +34751,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *75 + - *76 - *239 - *17 - *19 @@ -34557,7 +34762,7 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: default: &260 value: @@ -34575,7 +34780,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -34594,7 +34799,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#list-issue-fields-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -34745,7 +34950,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#create-issue-field-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -34892,7 +35097,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - - *75 + - *76 - &242 name: issue_field_id description: The unique identifier of the issue field. @@ -35027,10 +35232,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - - *75 + - *76 - *242 responses: - '204': *191 + '204': *61 '404': *6 '422': *7 x-github: @@ -35050,7 +35255,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -35096,7 +35301,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -35177,7 +35382,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *75 + - *76 - &245 name: issue_type_id description: The unique identifier of the issue type. @@ -35257,7 +35462,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *75 + - *76 - *245 responses: '204': @@ -35291,7 +35496,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *75 + - *76 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -35339,8 +35544,8 @@ paths: - updated - comments default: created - - *61 - - *92 + - *62 + - *93 - *17 - *19 responses: @@ -35350,11 +35555,11 @@ paths: application/json: schema: type: array - items: *85 + items: *86 examples: default: *247 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -35374,7 +35579,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *75 + - *76 - 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) @@ -35412,9 +35617,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 '422': *15 x-github: githubCloudOnly: false @@ -35432,8 +35637,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response if requester is an organization member and user is @@ -35467,8 +35672,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -35500,8 +35705,8 @@ paths: parameters: - *17 - *19 - - *75 - - *71 + - *76 + - *72 responses: '200': description: Response @@ -35544,8 +35749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *75 - - *71 + - *76 + - *72 - &250 name: codespace_name in: path @@ -35579,8 +35784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *75 - - *71 + - *76 + - *72 - *250 responses: '200': @@ -35762,8 +35967,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: - - *75 - - *71 + - *76 + - *72 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -35838,8 +36043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *75 - - *71 + - *76 + - *72 responses: '200': description: Response @@ -35889,7 +36094,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *73 + organization: *74 user: title: Simple User description: A GitHub user. @@ -35984,8 +36189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *75 - - *71 + - *76 + - *72 requestBody: required: false content: @@ -36045,8 +36250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -36071,7 +36276,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *75 + - *76 - *17 - *19 - name: exclude @@ -36133,7 +36338,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *79 + items: *80 url: type: string format: uri @@ -36186,7 +36391,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *66 + items: *67 version: '2026-03-10' examples: default: @@ -36340,7 +36545,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -36356,7 +36561,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *75 + - *76 requestBody: required: true content: @@ -36610,7 +36815,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *75 + - *76 - &255 name: migration_id description: The unique identifier of the migration. @@ -36807,7 +37012,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *75 + - *76 - *255 responses: '302': @@ -36829,7 +37034,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *75 + - *76 - *255 responses: '204': @@ -36853,7 +37058,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *75 + - *76 - *255 - &701 name: repo_name @@ -36882,7 +37087,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *75 + - *76 - *255 - *17 - *19 @@ -36893,7 +37098,7 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: &267 value: @@ -37008,7 +37213,7 @@ paths: secret_scanning_delegated_alert_dismissal: status: disabled headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -37023,7 +37228,7 @@ paths: content: application/json: schema: - items: *66 + items: *67 version: '2026-03-10' - changeset: restrict_repo_fields_in_migration_resource patch: @@ -37052,7 +37257,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response - list of organization roles @@ -37215,8 +37420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *75 - - *77 + - *76 + - *78 responses: '204': description: Response @@ -37241,8 +37446,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *75 - - *77 + - *76 + - *78 - &256 name: role_id description: The unique identifier of the role. @@ -37278,8 +37483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *75 - - *77 + - *76 + - *78 - *256 responses: '204': @@ -37305,8 +37510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -37331,8 +37536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *75 - - *71 + - *76 + - *72 - *256 responses: '204': @@ -37363,8 +37568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *75 - - *71 + - *76 + - *72 - *256 responses: '204': @@ -37393,7 +37598,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *75 + - *76 - *256 responses: '200': @@ -37450,7 +37655,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: - - *75 + - *76 - *256 - *17 - *19 @@ -37564,7 +37769,7 @@ paths: examples: default: *260 headers: - Link: *67 + Link: *68 '404': description: Response if the organization or role does not exist. '422': @@ -37591,7 +37796,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: - - *75 + - *76 - *256 - *17 - *19 @@ -37721,9 +37926,9 @@ paths: - type - url examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 '404': description: Response if the organization or role does not exist. '422': @@ -37745,7 +37950,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *75 + - *76 - 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) @@ -37772,9 +37977,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37797,8 +38002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *75 - - *71 + - *76 + - *72 requestBody: required: false content: @@ -37855,8 +38060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -37913,7 +38118,7 @@ paths: - docker - nuget - container - - *75 + - *76 - &702 name: visibility description: |- @@ -38002,7 +38207,7 @@ paths: required: true schema: type: string - - *75 + - *76 responses: '200': description: Response @@ -38062,7 +38267,7 @@ paths: parameters: - *263 - *264 - - *75 + - *76 responses: '204': description: Response @@ -38096,7 +38301,7 @@ paths: parameters: - *263 - *264 - - *75 + - *76 - name: token description: package token schema: @@ -38130,7 +38335,7 @@ paths: parameters: - *263 - *264 - - *75 + - *76 - *19 - *17 - name: state @@ -38277,7 +38482,7 @@ paths: parameters: - *263 - *264 - - *75 + - *76 - &266 name: package_version_id description: Unique identifier of the package version. @@ -38328,7 +38533,7 @@ paths: parameters: - *263 - *264 - - *75 + - *76 - *266 responses: '204': @@ -38363,7 +38568,7 @@ paths: parameters: - *263 - *264 - - *75 + - *76 - *266 responses: '204': @@ -38391,7 +38596,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: - - *75 + - *76 - *17 - *19 - &268 @@ -38404,7 +38609,7 @@ paths: enum: - created_at default: created_at - - *61 + - *62 - &269 name: owner description: A list of owner usernames to use to filter the results. @@ -38596,7 +38801,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38616,7 +38821,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: - - *75 + - *76 requestBody: required: true content: @@ -38682,7 +38887,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: - - *75 + - *76 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -38722,7 +38927,7 @@ paths: '422': *15 '404': *6 '403': *29 - '204': *191 + '204': *61 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38743,7 +38948,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: - - *75 + - *76 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -38763,11 +38968,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *267 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38788,11 +38993,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: - - *75 + - *76 - *17 - *19 - *268 - - *61 + - *62 - *269 - *270 - *271 @@ -38927,7 +39132,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38947,7 +39152,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: - - *75 + - *76 requestBody: required: true content: @@ -39007,7 +39212,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: - - *75 + - *76 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -39037,7 +39242,7 @@ paths: responses: '500': *55 '404': *6 - '204': *191 + '204': *61 '403': *29 '422': *15 x-github: @@ -39059,7 +39264,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: - - *75 + - *76 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -39078,11 +39283,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *267 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39104,7 +39309,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *75 + - *76 - *17 - *19 responses: @@ -39241,7 +39446,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *67 + Link: *68 '400': *14 '404': *6 x-github: @@ -39264,7 +39469,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -39591,7 +39796,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: - - *75 + - *76 responses: '200': description: Response @@ -39617,7 +39822,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -39639,8 +39844,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *75 - - *168 + - *76 + - *167 responses: '200': description: The specified private registry configuration for the organization @@ -39670,8 +39875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *75 - - *168 + - *76 + - *167 requestBody: required: true content: @@ -39834,8 +40039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *75 - - *168 + - *76 + - *167 responses: '204': description: Response @@ -39858,7 +40063,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *75 + - *76 - name: q description: Limit results to projects of the specified type. in: query @@ -40101,7 +40306,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -40128,7 +40333,7 @@ paths: required: true schema: type: integer - - *75 + - *76 responses: '200': description: Response @@ -40138,7 +40343,7 @@ paths: examples: default: *278 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -40158,7 +40363,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - - *75 + - *76 - *279 requestBody: required: true @@ -40206,7 +40411,7 @@ paths: description: The node ID of the project item. content: oneOf: - - *85 + - *86 - &482 title: Pull Request Simple description: Pull Request Simple @@ -40357,7 +40562,7 @@ paths: items: *4 requested_teams: type: array - items: *197 + items: *195 head: type: object properties: @@ -40365,7 +40570,7 @@ paths: type: string ref: type: string - repo: *79 + repo: *80 sha: type: string user: @@ -40388,7 +40593,7 @@ paths: type: string ref: type: string - repo: *79 + repo: *80 sha: type: string user: @@ -40432,7 +40637,7 @@ paths: - review_comments - review_comment - self - author_association: *82 + author_association: *83 auto_merge: &595 title: Auto merge description: The status of auto merging a pull request. @@ -40722,7 +40927,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - *279 - - *75 + - *76 - *17 - *47 - *48 @@ -40994,7 +41199,7 @@ paths: created_at: '2022-06-20T16:45:00Z' updated_at: '2022-06-20T16:45:00Z' headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -41014,7 +41219,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - *279 - - *75 + - *76 requestBody: required: true content: @@ -41314,7 +41519,7 @@ paths: required: true schema: type: integer - - *75 + - *76 responses: '200': description: Response @@ -41357,7 +41562,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -41379,7 +41584,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - *279 - - *75 + - *76 - 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. @@ -42147,7 +42352,7 @@ paths: data_type: sub_issues_progress value: headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -42167,7 +42372,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *75 + - *76 - *279 requestBody: required: true @@ -42274,7 +42479,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - *279 - - *75 + - *76 - &289 name: item_id description: The unique identifier of the project item. @@ -42305,7 +42510,7 @@ paths: examples: default: *288 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -42325,7 +42530,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - *279 - - *75 + - *76 - *289 requestBody: required: true @@ -42423,7 +42628,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - *279 - - *75 + - *76 - *289 responses: '204': @@ -42447,7 +42652,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - - *75 + - *76 - *279 requestBody: required: true @@ -42695,7 +42900,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - *279 - - *75 + - *76 - &735 name: view_number description: The number that identifies the project view. @@ -42732,7 +42937,7 @@ paths: examples: default: *288 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -42755,7 +42960,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Response @@ -42880,7 +43085,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *75 + - *76 requestBody: required: true content: @@ -42944,7 +43149,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *75 + - *76 - &293 name: custom_property_name description: The custom property name @@ -42993,7 +43198,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: - - *75 + - *76 - *293 requestBody: required: true @@ -43090,10 +43295,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *75 + - *76 - *293 responses: - '204': *191 + '204': *61 '403': *29 '404': *6 x-github: @@ -43114,7 +43319,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *75 + - *76 - *17 - *19 - name: repository_query @@ -43191,7 +43396,7 @@ paths: - property_name: team value: octocat headers: - Link: *67 + Link: *68 '403': *29 '404': *6 x-github: @@ -43219,7 +43424,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: - - *75 + - *76 requestBody: required: true content: @@ -43280,7 +43485,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *75 + - *76 - *17 - *19 responses: @@ -43292,9 +43497,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43311,8 +43516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response if user is a public member @@ -43336,8 +43541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -43358,8 +43563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *75 - - *71 + - *76 + - *72 responses: '204': description: Response @@ -43383,7 +43588,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *75 + - *76 - name: type description: Specifies the types of repositories you want returned. in: query @@ -43429,11 +43634,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *267 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43452,7 +43657,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *75 + - *76 requestBody: required: true content: @@ -44010,8 +44215,8 @@ paths: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 nullable: true organization: title: Simple User @@ -44020,8 +44225,8 @@ paths: properties: *20 required: *21 nullable: true - parent: *79 - source: *79 + parent: *80 + source: *80 forks: type: integer master_branch: @@ -44684,7 +44889,7 @@ paths: category: orgs subcategory: rules parameters: - - *75 + - *76 - *17 - *19 - &617 @@ -45781,7 +45986,7 @@ paths: category: orgs subcategory: rules parameters: - - *75 + - *76 requestBody: description: Request body required: true @@ -45931,7 +46136,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *75 + - *76 - &619 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally @@ -46088,7 +46293,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *75 + - *76 - &625 name: rule_suite_id description: |- @@ -46265,7 +46470,7 @@ paths: category: orgs subcategory: rules parameters: - - *75 + - *76 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46297,7 +46502,7 @@ paths: category: orgs subcategory: rules parameters: - - *75 + - *76 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46388,7 +46593,7 @@ paths: category: orgs subcategory: rules parameters: - - *75 + - *76 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46411,7 +46616,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *75 + - *76 - *17 - *19 - name: ruleset_id @@ -46486,7 +46691,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *75 + - *76 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46575,7 +46780,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *75 + - *76 - &631 name: state in: query @@ -46670,7 +46875,7 @@ paths: - created - updated default: created - - *61 + - *62 - *19 - *17 - &639 @@ -46739,8 +46944,8 @@ paths: items: type: object properties: - number: *178 - created_at: *179 + number: *177 + created_at: *178 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -46748,8 +46953,8 @@ paths: format: date-time readOnly: true nullable: true - url: *181 - html_url: *182 + url: *180 + html_url: *181 locations_url: type: string format: uri @@ -46806,7 +47011,7 @@ paths: secret: type: string description: The secret that was detected. - repository: *66 + repository: *67 push_protection_bypassed: type: boolean description: Whether push protection was bypassed for the detected @@ -47399,9 +47604,9 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47426,7 +47631,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *75 + - *76 responses: '200': description: Response @@ -47562,7 +47767,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *75 + - *76 requestBody: required: true content: @@ -47650,8 +47855,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *75 - - *61 + - *76 + - *62 - name: sort description: The property to sort the results by. in: query @@ -47881,7 +48086,7 @@ paths: required: - vector_string - score - cvss_severities: *63 + cvss_severities: *64 cwes: type: array nullable: true @@ -47948,14 +48153,14 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *197 + items: *195 private_fork: readOnly: true nullable: true description: A temporary private fork of the advisory's repository for collaborating on a fix. allOf: - - *66 + - *67 required: - ghsa_id - cve_id @@ -48396,7 +48601,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *75 + - *76 responses: '200': description: Response @@ -48444,8 +48649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *75 - - *77 + - *76 + - *78 responses: '204': description: Response @@ -48470,8 +48675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *75 - - *77 + - *76 + - *78 responses: '204': description: Response @@ -48498,7 +48703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *75 + - *76 responses: '200': description: Immutable releases settings response @@ -48547,7 +48752,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *75 + - *76 responses: '204': description: Response @@ -48604,7 +48809,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *75 + - *76 - *19 - *17 responses: @@ -48622,9 +48827,9 @@ paths: type: integer repositories: type: array - items: *160 + items: *159 examples: - default: *172 + default: *171 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48643,7 +48848,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *75 + - *76 requestBody: required: true content: @@ -48692,8 +48897,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: - - *75 - - *149 + - *76 + - *148 responses: '204': description: Response @@ -48715,8 +48920,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: - - *75 - - *149 + - *76 + - *148 responses: '204': description: Response @@ -48739,7 +48944,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *75 + - *76 - *17 - *19 responses: @@ -48828,7 +49033,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48847,7 +49052,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: - - *75 + - *76 requestBody: required: true content: @@ -48933,7 +49138,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: - - *75 + - *76 - &336 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. @@ -48950,7 +49155,7 @@ paths: examples: default: *335 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48969,7 +49174,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: - - *75 + - *76 - *336 requestBody: required: true @@ -49044,7 +49249,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: - - *75 + - *76 - *336 responses: '204': @@ -49068,7 +49273,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: - - *75 + - *76 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -49122,7 +49327,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: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49152,8 +49357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *75 - - *77 + - *76 + - *78 - 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`). @@ -49209,7 +49414,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *75 + - *76 - *17 - *19 - name: team_type @@ -49231,11 +49436,11 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: default: *260 headers: - Link: *67 + Link: *68 '403': *29 x-github: githubCloudOnly: false @@ -49255,7 +49460,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *75 + - *76 requestBody: required: true content: @@ -49735,8 +49940,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *75 - - *77 + - *76 + - *78 responses: '200': description: Response @@ -49765,8 +49970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *75 - - *77 + - *76 + - *78 requestBody: required: false content: @@ -49862,8 +50067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *75 - - *77 + - *76 + - *78 responses: '204': description: Response @@ -49890,8 +50095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *75 - - *77 + - *76 + - *78 - *17 - *19 responses: @@ -49905,7 +50110,7 @@ paths: examples: default: *238 headers: - Link: *67 + Link: *68 '422': *342 x-github: githubCloudOnly: false @@ -49926,8 +50131,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *75 - - *77 + - *76 + - *78 - name: role description: Filters members returned by their role in the team. in: query @@ -49950,9 +50155,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49980,9 +50185,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *75 - - *77 - - *71 + - *76 + - *78 + - *72 responses: '200': description: Response @@ -50051,9 +50256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *75 - - *77 - - *71 + - *76 + - *78 + - *72 requestBody: required: false content: @@ -50115,9 +50320,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *75 - - *77 - - *71 + - *76 + - *78 + - *72 responses: '204': description: Response @@ -50143,8 +50348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *75 - - *77 + - *76 + - *78 - *17 - *19 responses: @@ -50154,11 +50359,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *267 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50185,8 +50390,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *75 - - *77 + - *76 + - *78 - *344 - *345 responses: @@ -50217,8 +50422,8 @@ paths: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 nullable: true forks: type: integer @@ -50848,8 +51053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *75 - - *77 + - *76 + - *78 - *344 - *345 requestBody: @@ -50896,8 +51101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *75 - - *77 + - *76 + - *78 - *344 - *345 responses: @@ -50923,8 +51128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *75 - - *77 + - *76 + - *78 - *17 - *19 responses: @@ -50934,7 +51139,7 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: response-if-child-teams-exist: &685 value: @@ -50964,7 +51169,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50989,7 +51194,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *75 + - *76 - name: security_product in: path description: The security feature to enable or disable. @@ -52298,7 +52503,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52656,7 +52861,7 @@ paths: - last_accessed_at - size_in_bytes default: last_accessed_at - - *61 + - *62 responses: '200': description: Response @@ -52716,7 +52921,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53178,7 +53383,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -53288,7 +53493,7 @@ paths: description: Empty response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -53367,7 +53572,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53451,7 +53656,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53484,9 +53689,9 @@ paths: enabled: &362 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *145 + allowed_actions: *144 selected_actions_url: *361 - sha_pinning_required: *146 + sha_pinning_required: *145 required: - enabled examples: @@ -53527,8 +53732,8 @@ paths: type: object properties: enabled: *362 - allowed_actions: *145 - sha_pinning_required: *146 + allowed_actions: *144 + sha_pinning_required: *145 required: - enabled examples: @@ -53711,7 +53916,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *146 examples: default: *367 '404': *6 @@ -53743,7 +53948,7 @@ paths: required: true content: application/json: - schema: *147 + schema: *146 examples: default: summary: Set approval policy to first time contributors @@ -53776,7 +53981,7 @@ paths: application/json: schema: *368 examples: - default: *148 + default: *147 '403': *29 '404': *6 x-github: @@ -53804,7 +54009,7 @@ paths: application/json: schema: *369 examples: - default: *148 + default: *147 responses: '204': description: Empty response for successful settings update @@ -53835,9 +54040,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *149 examples: - default: *151 + default: *150 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -53865,9 +54070,9 @@ paths: required: false content: application/json: - schema: *150 + schema: *149 examples: - selected_actions: *151 + selected_actions: *150 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -53898,7 +54103,7 @@ paths: application/json: schema: *370 examples: - default: *155 + default: *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53933,7 +54138,7 @@ paths: application/json: schema: *371 examples: - default: *155 + default: *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53979,11 +54184,11 @@ paths: type: integer runners: type: array - items: *162 + items: *161 examples: - default: *163 + default: *162 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54120,7 +54325,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *163 examples: default: *375 x-github: @@ -54157,7 +54362,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *163 examples: default: *376 x-github: @@ -54183,13 +54388,13 @@ paths: parameters: - *344 - *345 - - *161 + - *160 responses: '200': description: Response content: application/json: - schema: *162 + schema: *161 examples: default: *377 x-github: @@ -54214,7 +54419,7 @@ paths: parameters: - *344 - *345 - - *161 + - *160 responses: '204': description: Response @@ -54242,9 +54447,9 @@ paths: parameters: - *344 - *345 - - *161 + - *160 responses: - '200': *166 + '200': *165 '404': *6 x-github: githubCloudOnly: false @@ -54268,7 +54473,7 @@ paths: parameters: - *344 - *345 - - *161 + - *160 requestBody: required: true content: @@ -54292,7 +54497,7 @@ paths: - gpu - accelerated responses: - '200': *166 + '200': *165 '404': *6 '422': *7 x-github: @@ -54318,7 +54523,7 @@ paths: parameters: - *344 - *345 - - *161 + - *160 requestBody: required: true content: @@ -54343,7 +54548,7 @@ paths: - gpu - accelerated responses: - '200': *166 + '200': *165 '404': *6 '422': *7 x-github: @@ -54369,7 +54574,7 @@ paths: parameters: - *344 - *345 - - *161 + - *160 responses: '200': *378 '404': *6 @@ -54400,10 +54605,10 @@ paths: parameters: - *344 - *345 - - *161 + - *160 - *379 responses: - '200': *166 + '200': *165 '404': *6 '422': *7 x-github: @@ -54625,7 +54830,7 @@ paths: that triggered the run. type: array nullable: true - items: *90 + items: *91 created_at: type: string format: date-time @@ -54737,8 +54942,8 @@ paths: - author - committer nullable: true - repository: *160 - head_repository: *160 + repository: *159 + head_repository: *159 head_repository_id: type: integer example: 5 @@ -54990,7 +55195,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: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55424,7 +55629,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -55457,7 +55662,7 @@ paths: - *17 - *19 - *383 - - *61 + - *62 responses: '200': description: Response @@ -55477,7 +55682,7 @@ paths: examples: default: *384 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55652,7 +55857,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -55715,7 +55920,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -55819,7 +56024,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -55882,7 +56087,7 @@ paths: examples: default: *388 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56035,7 +56240,7 @@ paths: reviewer: anyOf: - *4 - - *197 + - *195 required: - environment - wait_timer @@ -56247,8 +56452,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 required: &756 - id - node_id @@ -56344,7 +56549,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -56390,7 +56595,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -56584,7 +56789,7 @@ paths: examples: default: *390 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56640,7 +56845,7 @@ paths: parameters: - *344 - *345 - - *168 + - *167 responses: '200': description: Response @@ -56676,7 +56881,7 @@ paths: parameters: - *344 - *345 - - *168 + - *167 requestBody: required: true content: @@ -56707,7 +56912,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -56735,7 +56940,7 @@ paths: parameters: - *344 - *345 - - *168 + - *167 responses: '204': description: Response @@ -56783,7 +56988,7 @@ paths: examples: default: *394 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56832,7 +57037,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -56859,7 +57064,7 @@ paths: parameters: - *344 - *345 - - *171 + - *170 responses: '200': description: Response @@ -56895,7 +57100,7 @@ paths: parameters: - *344 - *345 - - *171 + - *170 requestBody: required: true content: @@ -56939,7 +57144,7 @@ paths: parameters: - *344 - *345 - - *171 + - *170 responses: '204': description: Response @@ -57067,7 +57272,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: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57325,7 +57530,7 @@ paths: examples: default: *404 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57420,7 +57625,7 @@ paths: parameters: - *344 - *345 - - *61 + - *62 - *17 - *47 - *48 @@ -57564,7 +57769,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '422': *7 x-github: githubCloudOnly: false @@ -57596,9 +57801,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -58268,7 +58473,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *197 + items: *195 apps: description: The list of apps with review dismissal access. @@ -58297,7 +58502,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *197 + items: *195 apps: description: The list of apps allowed to bypass pull request requirements. @@ -58386,7 +58591,7 @@ paths: type: string teams: type: array - items: *197 + items: *195 apps: type: array items: @@ -58582,7 +58787,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -58728,12 +58933,12 @@ paths: nullable: true oneOf: - *4 - - *169 + - *168 committer: nullable: true oneOf: - *4 - - *169 + - *168 parents: type: array items: @@ -59512,7 +59717,7 @@ paths: items: *4 teams: type: array - items: *197 + items: *195 apps: type: array items: *5 @@ -59530,7 +59735,7 @@ paths: items: *4 teams: type: array - items: *197 + items: *195 apps: type: array items: *5 @@ -60917,7 +61122,7 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: default: *260 '404': *6 @@ -60977,7 +61182,7 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: default: *260 '422': *15 @@ -61038,7 +61243,7 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: default: *260 '422': *15 @@ -61098,7 +61303,7 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: default: *260 '422': *15 @@ -61134,7 +61339,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 '404': *6 x-github: githubCloudOnly: false @@ -61193,7 +61398,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 '422': *15 x-github: githubCloudOnly: false @@ -61253,7 +61458,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 '422': *15 x-github: githubCloudOnly: false @@ -61313,7 +61518,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 '422': *15 x-github: githubCloudOnly: false @@ -61871,15 +62076,15 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *90 + items: *91 deployment: &748 title: Deployment description: A deployment created as the result of an Actions @@ -61947,8 +62152,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 required: - id - node_id @@ -62617,7 +62822,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: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62645,7 +62850,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -62770,7 +62975,7 @@ paths: nullable: true pull_requests: type: array - items: *90 + items: *91 nullable: true app: title: GitHub app @@ -62781,9 +62986,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 - repository: *160 + properties: *81 + required: *82 + repository: *159 created_at: type: string format: date-time @@ -63199,7 +63404,7 @@ paths: required: - app_id - setting - repository: *160 + repository: *159 examples: default: value: @@ -63619,7 +63824,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63647,7 +63852,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -63695,7 +63900,7 @@ paths: required: false schema: type: integer - - *61 + - *62 - *47 - *48 - name: sort @@ -63738,14 +63943,14 @@ paths: items: type: object properties: - number: *178 - created_at: *179 - updated_at: *180 - url: *181 - html_url: *182 + number: *177 + created_at: *178 + updated_at: *179 + url: *180 + html_url: *181 instances_url: *435 - state: *187 - fixed_at: *183 + state: *186 + fixed_at: *182 dismissed_by: title: Simple User description: A GitHub user. @@ -63753,7 +63958,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *184 + dismissed_at: *183 dismissed_reason: *436 dismissed_comment: *437 rule: *438 @@ -63891,7 +64096,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63921,7 +64126,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *178 + schema: *177 responses: '200': description: Response @@ -63930,14 +64135,14 @@ paths: schema: &443 type: object properties: - number: *178 - created_at: *179 - updated_at: *180 - url: *181 - html_url: *182 + number: *177 + created_at: *178 + updated_at: *179 + url: *180 + html_url: *181 instances_url: *435 - state: *187 - fixed_at: *183 + state: *186 + fixed_at: *182 dismissed_by: title: Simple User description: A GitHub user. @@ -63945,7 +64150,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *184 + dismissed_at: *183 dismissed_reason: *436 dismissed_comment: *437 rule: @@ -64103,7 +64308,7 @@ paths: '304': *37 '403': *441 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64250,7 +64455,7 @@ paths: application/json: schema: *3 '404': *6 - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64323,7 +64528,7 @@ paths: status: '400' '403': *441 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64378,7 +64583,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64452,7 +64657,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64554,7 +64759,7 @@ paths: - source '403': *441 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64608,7 +64813,7 @@ paths: type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 - - *61 + - *62 - name: sort description: The property by which to sort the results. in: query @@ -64729,7 +64934,7 @@ paths: warning: '' '403': *441 '404': *6 - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64838,7 +65043,7 @@ paths: content: application/json: schema: *3 - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64974,7 +65179,7 @@ paths: '400': *14 '403': *447 '404': *6 - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -65116,7 +65321,7 @@ paths: commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c '403': *441 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65192,7 +65397,7 @@ paths: description: Found '403': *441 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65225,7 +65430,7 @@ paths: description: Response '403': *447 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65349,7 +65554,7 @@ paths: id: type: integer description: The ID of the variant analysis. - controller_repo: *66 + controller_repo: *67 actor: *4 query_language: *458 query_pack_url: @@ -65675,7 +65880,7 @@ paths: content: application/json: schema: *3 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65713,7 +65918,7 @@ paths: examples: default: *461 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65768,7 +65973,7 @@ paths: schema: type: object properties: - repository: *66 + repository: *67 analysis_status: *463 artifact_size_in_bytes: type: integer @@ -65873,7 +66078,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65999,7 +66204,7 @@ paths: schedule: weekly '403': *441 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66086,7 +66291,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -66125,7 +66330,7 @@ paths: content: application/json: schema: *3 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66267,7 +66472,7 @@ paths: '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -66336,7 +66541,7 @@ paths: '403': *441 '404': description: Not Found if the sarif id does not match any upload - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -66415,7 +66620,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': *191 + '204': *61 '304': *37 '403': *29 '404': *6 @@ -66955,7 +67160,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -67258,7 +67463,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67320,7 +67525,7 @@ paths: examples: default: *468 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67372,7 +67577,7 @@ paths: parameters: - *344 - *345 - - *168 + - *167 responses: '200': description: Response @@ -67402,7 +67607,7 @@ paths: parameters: - *344 - *345 - - *168 + - *167 requestBody: required: true content: @@ -67430,7 +67635,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -67456,7 +67661,7 @@ paths: parameters: - *344 - *345 - - *168 + - *167 responses: '204': description: Response @@ -67669,7 +67874,7 @@ paths: admin: false role_name: write headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -67696,7 +67901,7 @@ paths: parameters: - *344 - *345 - - *71 + - *72 responses: '204': description: Response if user is a collaborator @@ -67744,7 +67949,7 @@ paths: parameters: - *344 - *345 - - *71 + - *72 requestBody: required: false content: @@ -67781,7 +67986,7 @@ paths: example: 42 type: integer format: int64 - repository: *160 + repository: *159 invitee: title: Simple User description: A GitHub user. @@ -67959,7 +68164,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *129 + schema: *128 '403': *29 x-github: triggersNotification: true @@ -68001,7 +68206,7 @@ paths: parameters: - *344 - *345 - - *71 + - *72 responses: '204': description: No Content when collaborator was removed from the repository. @@ -68034,7 +68239,7 @@ paths: parameters: - *344 - *345 - - *71 + - *72 responses: '200': description: if user has admin permissions @@ -68162,8 +68367,8 @@ paths: updated_at: type: string format: date-time - author_association: *82 - reactions: *83 + author_association: *83 + reactions: *84 required: - url - html_url @@ -68213,7 +68418,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68240,7 +68445,7 @@ paths: parameters: - *344 - *345 - - *101 + - *102 responses: '200': description: Response @@ -68307,7 +68512,7 @@ paths: parameters: - *344 - *345 - - *101 + - *102 requestBody: required: true content: @@ -68382,7 +68587,7 @@ paths: parameters: - *344 - *345 - - *101 + - *102 responses: '204': description: Response @@ -68405,7 +68610,7 @@ paths: parameters: - *344 - *345 - - *101 + - *102 - 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. @@ -68500,7 +68705,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -68521,7 +68726,7 @@ paths: parameters: - *344 - *345 - - *101 + - *102 requestBody: required: true content: @@ -68610,7 +68815,7 @@ paths: parameters: - *344 - *345 - - *101 + - *102 - &551 name: reaction_id description: The unique identifier of the reaction. @@ -68795,7 +69000,7 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *67 + Link: *68 '500': *55 '400': *14 '404': *6 @@ -68909,7 +69114,7 @@ paths: examples: default: *480 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69495,7 +69700,7 @@ paths: auto_merge: draft: false headers: - Link: *67 + Link: *68 '409': *54 x-github: githubCloudOnly: false @@ -69702,7 +69907,7 @@ paths: '422': *15 '404': *6 '500': *55 - '503': *121 + '503': *120 '409': *54 x-github: githubCloudOnly: false @@ -69770,7 +69975,7 @@ paths: examples: default: *486 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69996,7 +70201,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: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70090,7 +70295,7 @@ paths: type: string total_count: type: integer - repository: *160 + repository: *159 commit_url: type: string format: uri @@ -70313,7 +70518,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '301': *348 x-github: githubCloudOnly: false @@ -70393,8 +70598,8 @@ paths: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 nullable: true contributing: title: Community Health File @@ -70867,7 +71072,7 @@ paths: default: *493 '404': *6 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71975,7 +72180,7 @@ paths: '422': *15 '404': *6 '409': *54 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72096,7 +72301,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *67 + Link: *68 '204': description: Response if repository is empty '403': *29 @@ -72121,23 +72326,23 @@ paths: parameters: - *344 - *345 + - *197 + - *198 - *199 - *200 - *201 - - *202 - - *203 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *204 + - *202 - *497 + - *203 + - *204 - *205 - - *206 - - *207 - - *61 + - *62 - *47 - *48 - *17 @@ -72152,7 +72357,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *178 + number: *177 state: type: string description: The state of the Dependabot alert. @@ -72167,7 +72372,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *62 + package: *63 manifest_path: type: string description: The full path to the dependency manifest file, @@ -72196,12 +72401,12 @@ paths: - transitive - inconclusive security_advisory: *498 - security_vulnerability: *65 - url: *181 - html_url: *182 - created_at: *179 - updated_at: *180 - dismissed_at: *184 + security_vulnerability: *66 + url: *180 + html_url: *181 + created_at: *178 + updated_at: *179 + dismissed_at: *183 dismissed_by: title: Simple User description: A GitHub user. @@ -72225,7 +72430,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *183 + fixed_at: *182 auto_dismissed_at: *499 dismissal_request: *500 assignees: @@ -72493,7 +72698,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *178 + schema: *177 responses: '200': description: Response @@ -72869,7 +73074,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72922,7 +73127,7 @@ paths: parameters: - *344 - *345 - - *168 + - *167 responses: '200': description: Response @@ -72956,7 +73161,7 @@ paths: parameters: - *344 - *345 - - *168 + - *167 requestBody: required: true content: @@ -72984,7 +73189,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -73010,7 +73215,7 @@ paths: parameters: - *344 - *345 - - *168 + - *167 responses: '204': description: Response @@ -73169,7 +73374,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *67 + Link: *68 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -73410,7 +73615,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *67 + Link: *68 '404': *6 '403': *29 x-github: @@ -73800,7 +74005,7 @@ paths: examples: default: *509 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74225,8 +74430,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 required: - id - node_id @@ -74275,7 +74480,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -74639,7 +74844,7 @@ paths: reviewer: anyOf: - *4 - - *197 + - *195 required: - id - node_id @@ -75611,7 +75816,7 @@ paths: examples: default: *390 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75669,7 +75874,7 @@ paths: - *344 - *345 - *515 - - *168 + - *167 responses: '200': description: Response @@ -75702,7 +75907,7 @@ paths: - *344 - *345 - *515 - - *168 + - *167 requestBody: required: true content: @@ -75733,7 +75938,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -75762,7 +75967,7 @@ paths: - *344 - *345 - *515 - - *168 + - *167 responses: '204': description: Default response @@ -75811,7 +76016,7 @@ paths: examples: default: *394 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75861,7 +76066,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -75889,7 +76094,7 @@ paths: - *344 - *345 - *515 - - *171 + - *170 responses: '200': description: Response @@ -75920,7 +76125,7 @@ paths: parameters: - *344 - *345 - - *171 + - *170 - *515 requestBody: required: true @@ -75965,7 +76170,7 @@ paths: parameters: - *344 - *345 - - *171 + - *170 - *515 responses: '204': @@ -75999,7 +76204,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: 200-response: value: @@ -76080,7 +76285,7 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: value: @@ -76193,7 +76398,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *67 + Link: *68 '400': *14 x-github: githubCloudOnly: false @@ -76333,7 +76538,7 @@ paths: application/json: schema: oneOf: - - *129 + - *128 - *528 x-github: githubCloudOnly: false @@ -76919,7 +77124,7 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *67 + Link: *68 '409': *54 x-github: githubCloudOnly: false @@ -77759,7 +77964,7 @@ paths: status: unused message: headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -78273,7 +78478,7 @@ paths: - *344 - *345 responses: - '204': *191 + '204': *61 '409': *54 x-github: githubCloudOnly: false @@ -78294,7 +78499,7 @@ paths: - *344 - *345 responses: - '204': *191 + '204': *61 '409': *54 x-github: githubCloudOnly: false @@ -79304,7 +79509,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79577,8 +79782,8 @@ paths: - updated - comments default: created - - *61 - - *92 + - *62 + - *93 - *17 - *19 responses: @@ -79588,7 +79793,7 @@ paths: application/json: schema: type: array - items: *85 + items: *86 examples: default: &559 value: @@ -79738,7 +79943,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *67 + Link: *68 '301': *348 '422': *15 '404': *6 @@ -79851,7 +80056,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: &556 value: @@ -80014,7 +80219,7 @@ paths: '400': *14 '403': *29 '422': *15 - '503': *121 + '503': *120 '404': *6 '410': *547 x-github: @@ -80056,7 +80261,7 @@ paths: parameters: - *344 - *345 - - *109 + - *110 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -80066,7 +80271,7 @@ paths: enum: - asc - desc - - *92 + - *93 - *17 - *19 responses: @@ -80109,7 +80314,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *67 + Link: *68 '422': *15 '404': *6 x-github: @@ -80138,7 +80343,7 @@ paths: parameters: - *344 - *345 - - *101 + - *102 responses: '200': description: Response @@ -80203,7 +80408,7 @@ paths: parameters: - *344 - *345 - - *101 + - *102 requestBody: required: true content: @@ -80247,7 +80452,7 @@ paths: parameters: - *344 - *345 - - *101 + - *102 responses: '204': description: Response @@ -80277,7 +80482,7 @@ paths: parameters: - *344 - *345 - - *101 + - *102 responses: '200': description: Response @@ -80358,7 +80563,7 @@ paths: parameters: - *344 - *345 - - *101 + - *102 responses: '204': description: Response @@ -80366,7 +80571,7 @@ paths: '403': *29 '404': *6 '410': *547 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80385,7 +80590,7 @@ paths: parameters: - *344 - *345 - - *101 + - *102 - 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. @@ -80415,7 +80620,7 @@ paths: examples: default: *550 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -80436,7 +80641,7 @@ paths: parameters: - *344 - *345 - - *101 + - *102 requestBody: required: true content: @@ -80501,7 +80706,7 @@ paths: parameters: - *344 - *345 - - *101 + - *102 - *551 responses: '204': @@ -80622,7 +80827,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *197 + requested_team: *195 dismissed_review: title: Issue Event Dismissed Review type: object @@ -80687,7 +80892,7 @@ paths: required: - from - to - author_association: *82 + author_association: *83 lock_reason: type: string nullable: true @@ -80700,8 +80905,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 required: - id - node_id @@ -80868,7 +81073,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *67 + Link: *68 '422': *15 x-github: githubCloudOnly: false @@ -81139,7 +81344,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: summary: Issue @@ -81501,11 +81706,11 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *556 '422': *15 - '503': *121 + '503': *120 '403': *29 '301': *348 '404': *6 @@ -81565,7 +81770,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *556 x-github: @@ -81610,7 +81815,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *556 x-github: @@ -81679,7 +81884,7 @@ paths: - *344 - *345 - *557 - - *92 + - *93 - *17 - *19 responses: @@ -81693,7 +81898,7 @@ paths: examples: default: *558 headers: - Link: *67 + Link: *68 '404': *6 '410': *547 x-github: @@ -81797,11 +82002,11 @@ paths: application/json: schema: type: array - items: *85 + items: *86 examples: default: *559 headers: - Link: *67 + Link: *68 '301': *348 '404': *6 '410': *547 @@ -81856,7 +82061,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *556 headers: @@ -81911,7 +82116,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *556 '301': *348 @@ -81957,11 +82162,11 @@ paths: application/json: schema: type: array - items: *85 + items: *86 examples: default: *559 headers: - Link: *67 + Link: *68 '301': *348 '404': *6 '410': *547 @@ -82028,8 +82233,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 label: type: object properties: @@ -82082,8 +82287,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 label: type: object properties: @@ -82171,8 +82376,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 assignee: *4 assigner: *4 required: @@ -82218,8 +82423,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 milestone: type: object properties: @@ -82269,8 +82474,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 milestone: type: object properties: @@ -82320,8 +82525,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 rename: type: object properties: @@ -82374,10 +82579,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 review_requester: *4 - requested_team: *197 + requested_team: *195 requested_reviewer: *4 required: - review_requester @@ -82421,10 +82626,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 review_requester: *4 - requested_team: *197 + requested_team: *195 requested_reviewer: *4 required: - review_requester @@ -82468,8 +82673,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 dismissed_review: type: object properties: @@ -82528,8 +82733,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 lock_reason: type: string example: '"off-topic"' @@ -82576,8 +82781,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 project_card: type: object properties: @@ -82642,8 +82847,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 project_card: type: object properties: @@ -82708,8 +82913,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 project_card: type: object properties: @@ -82833,7 +83038,7 @@ paths: name: label color: red headers: - Link: *67 + Link: *68 '410': *547 x-github: githubCloudOnly: false @@ -82888,7 +83093,7 @@ paths: data_type: date value: '2025-12-25' headers: - Link: *67 + Link: *68 '301': *348 '404': *6 '410': *547 @@ -82920,7 +83125,7 @@ paths: application/json: schema: type: array - items: *84 + items: *85 examples: default: &561 value: @@ -82939,7 +83144,7 @@ paths: color: a2eeef default: false headers: - Link: *67 + Link: *68 '301': *348 '404': *6 '410': *547 @@ -83003,7 +83208,7 @@ paths: application/json: schema: type: array - items: *84 + items: *85 examples: default: *561 '301': *348 @@ -83087,7 +83292,7 @@ paths: application/json: schema: type: array - items: *84 + items: *85 examples: default: *561 '301': *348 @@ -83151,7 +83356,7 @@ paths: application/json: schema: type: array - items: *84 + items: *85 examples: default: value: @@ -83272,7 +83477,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *556 '301': *348 @@ -83326,7 +83531,7 @@ paths: examples: default: *550 headers: - Link: *67 + Link: *68 '404': *6 '410': *547 x-github: @@ -83467,7 +83672,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *556 headers: @@ -83514,11 +83719,11 @@ paths: application/json: schema: type: array - items: *85 + items: *86 examples: default: *559 headers: - Link: *67 + Link: *68 '404': *6 '410': *547 x-github: @@ -83577,7 +83782,7 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *556 headers: @@ -83639,13 +83844,13 @@ paths: description: Response content: application/json: - schema: *85 + schema: *86 examples: default: *556 '403': *29 '404': *6 '422': *7 - '503': *121 + '503': *120 x-github: triggersNotification: true githubCloudOnly: false @@ -83735,7 +83940,7 @@ paths: issue_url: type: string format: uri - author_association: *82 + author_association: *83 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -83745,9 +83950,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 - reactions: *83 + properties: *81 + required: *82 + reactions: *84 pin: title: Pinned Issue Comment description: Context around who pinned an issue comment and @@ -83786,7 +83991,7 @@ paths: properties: type: type: string - issue: *85 + issue: *86 required: - event - created_at @@ -83986,7 +84191,7 @@ paths: type: string body_text: type: string - author_association: *82 + author_association: *83 required: - event - id @@ -84104,7 +84309,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *82 + author_association: *83 _links: type: object properties: @@ -84188,7 +84393,7 @@ paths: enum: - line - file - reactions: *83 + reactions: *84 body_html: type: string example: '"

comment body

"' @@ -84255,8 +84460,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 assignee: *4 required: - id @@ -84299,8 +84504,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 assignee: *4 required: - id @@ -84343,8 +84548,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 state_reason: type: string nullable: true @@ -84511,7 +84716,7 @@ paths: type: User site_admin: true headers: - Link: *67 + Link: *68 '404': *6 '410': *547 x-github: @@ -84591,7 +84796,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84747,11 +84952,11 @@ paths: application/json: schema: type: array - items: *84 + items: *85 examples: default: *561 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -84807,7 +85012,7 @@ paths: description: Response content: application/json: - schema: *84 + schema: *85 examples: default: &580 value: @@ -84853,7 +85058,7 @@ paths: description: Response content: application/json: - schema: *84 + schema: *85 examples: default: *580 '404': *6 @@ -84912,7 +85117,7 @@ paths: description: Response content: application/json: - schema: *84 + schema: *85 examples: default: value: @@ -85069,8 +85274,8 @@ paths: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 nullable: true required: - _links @@ -85366,7 +85571,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -85611,11 +85816,11 @@ paths: application/json: schema: type: array - items: *84 + items: *85 examples: default: *561 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85636,7 +85841,7 @@ paths: - *345 - *585 - *586 - - *92 + - *93 - *587 - *17 - *19 @@ -85647,11 +85852,11 @@ paths: application/json: schema: type: array - items: *112 + items: *113 examples: default: *588 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86198,7 +86403,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86524,7 +86729,7 @@ paths: - *345 - *593 responses: - '204': *191 + '204': *61 '404': *6 x-github: githubCloudOnly: false @@ -86781,7 +86986,7 @@ paths: description: Empty response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -86849,7 +87054,7 @@ paths: - *344 - *345 responses: - '204': *191 + '204': *61 '422': *14 x-github: githubCloudOnly: false @@ -86871,7 +87076,7 @@ paths: - *344 - *345 responses: - '204': *191 + '204': *61 '422': *14 x-github: githubCloudOnly: false @@ -87059,7 +87264,7 @@ paths: examples: default: *594 headers: - Link: *67 + Link: *68 '304': *37 '422': *15 x-github: @@ -87318,7 +87523,7 @@ paths: type: string ref: type: string - repo: *79 + repo: *80 sha: type: string user: *4 @@ -87335,7 +87540,7 @@ paths: type: string ref: type: string - repo: *79 + repo: *80 sha: type: string user: *4 @@ -87365,7 +87570,7 @@ paths: - review_comments - review_comment - self - author_association: *82 + author_association: *83 auto_merge: *595 draft: description: Indicates whether or not the pull request is a draft. @@ -88110,7 +88315,7 @@ paths: enum: - asc - desc - - *92 + - *93 - *17 - *19 responses: @@ -88174,7 +88379,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88201,7 +88406,7 @@ paths: parameters: - *344 - *345 - - *101 + - *102 responses: '200': description: Response @@ -88286,7 +88491,7 @@ paths: parameters: - *344 - *345 - - *101 + - *102 requestBody: required: true content: @@ -88328,7 +88533,7 @@ paths: parameters: - *344 - *345 - - *101 + - *102 responses: '204': description: Response @@ -88351,7 +88556,7 @@ paths: parameters: - *344 - *345 - - *101 + - *102 - 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. @@ -88381,7 +88586,7 @@ paths: examples: default: *550 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -88402,7 +88607,7 @@ paths: parameters: - *344 - *345 - - *101 + - *102 requestBody: required: true content: @@ -88467,7 +88672,7 @@ paths: parameters: - *344 - *345 - - *101 + - *102 - *551 responses: '204': @@ -88537,7 +88742,7 @@ paths: application/json: schema: *3 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88707,7 +88912,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -88736,7 +88941,7 @@ paths: - *344 - *345 - *600 - - *109 + - *110 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -88746,7 +88951,7 @@ paths: enum: - asc - desc - - *92 + - *93 - *17 - *19 responses: @@ -88760,7 +88965,7 @@ paths: examples: default: *601 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88989,7 +89194,7 @@ paths: - *344 - *345 - *600 - - *101 + - *102 requestBody: required: true content: @@ -89113,7 +89318,7 @@ paths: examples: default: *602 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89169,10 +89374,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *67 + Link: *68 '422': *15 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89347,7 +89552,7 @@ paths: items: *4 teams: type: array - items: *197 + items: *195 required: - users - teams @@ -89388,7 +89593,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90614,7 +90819,7 @@ paths: type: string body_text: type: string - author_association: *82 + author_association: *83 required: - id - node_id @@ -90663,7 +90868,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91133,7 +91338,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *82 + author_association: *83 _links: type: object properties: @@ -91148,7 +91353,7 @@ paths: type: string body_html: type: string - reactions: *83 + reactions: *84 side: description: The side of the first line of the range for a multi-line comment. @@ -91260,7 +91465,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -91698,7 +91903,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -92392,7 +92597,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92549,7 +92754,7 @@ paths: examples: default: *550 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -93320,7 +93525,7 @@ paths: - *636 - *637 - *638 - - *61 + - *62 - *19 - *17 - *639 @@ -93339,8 +93544,8 @@ paths: items: &648 type: object properties: - number: *178 - created_at: *179 + number: *177 + created_at: *178 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -93348,8 +93553,8 @@ paths: format: date-time readOnly: true nullable: true - url: *181 - html_url: *182 + url: *180 + html_url: *181 locations_url: type: string format: uri @@ -93604,7 +93809,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93666,7 +93871,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93809,7 +94014,7 @@ paths: '422': description: State does not match the resolution or resolution comment, or assignee does not have write access to the repository - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -93942,11 +94147,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *67 + Link: *68 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94024,7 +94229,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *121 + '503': *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -94053,7 +94258,7 @@ paths: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *121 + '503': *120 '200': description: Response content: @@ -94177,7 +94382,7 @@ paths: parameters: - *344 - *345 - - *61 + - *62 - name: sort description: The property to sort the results by. in: query @@ -95110,7 +95315,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *129 + schema: *128 examples: invalid_state_transition: value: @@ -95284,7 +95489,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '422': *15 x-github: githubCloudOnly: false @@ -95329,7 +95534,7 @@ paths: - 1124 - -435 '202': *39 - '204': *191 + '204': *61 '422': description: Repository contains more than 10,000 commits x-github: @@ -95399,7 +95604,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *191 + '204': *61 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95501,7 +95706,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *191 + '204': *61 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95702,7 +95907,7 @@ paths: - - 0 - 2 - 21 - '204': *191 + '204': *61 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95844,9 +96049,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96071,7 +96276,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96142,11 +96347,11 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: default: *260 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -96668,7 +96873,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *159 examples: default: value: @@ -97122,7 +97327,7 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: value: @@ -97228,7 +97433,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *149 + - *148 - *557 requestBody: required: true @@ -97300,7 +97505,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *121 + '503': *120 x-github: triggersNotification: true githubCloudOnly: false @@ -97331,7 +97536,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *149 + - *148 - *557 requestBody: required: true @@ -97404,7 +97609,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *121 + '503': *120 x-github: triggersNotification: true githubCloudOnly: false @@ -97430,7 +97635,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: - - *149 + - *148 - *557 - *242 responses: @@ -97439,7 +97644,7 @@ paths: '403': *29 '404': *6 '422': *15 - '503': *121 + '503': *120 x-github: triggersNotification: true githubCloudOnly: false @@ -97556,7 +97761,7 @@ paths: html_url: type: string format: uri - repository: *160 + repository: *159 score: type: number file_size: @@ -97688,7 +97893,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *121 + '503': *120 '422': *15 '403': *29 x-github: @@ -97859,7 +98064,7 @@ paths: type: string sha: type: string - repository: *160 + repository: *159 score: type: number node_id: @@ -98239,10 +98444,10 @@ paths: type: string score: type: number - author_association: *82 + author_association: *83 draft: type: boolean - repository: *79 + repository: *80 body_html: type: string body_text: @@ -98260,17 +98465,17 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 pinned_comment: title: Issue Comment description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true - reactions: *83 + reactions: *84 required: - assignee - closed_at @@ -98458,7 +98663,7 @@ paths: - quoted_text items: - "..." - '503': *121 + '503': *120 '422': *15 '304': *37 '403': *29 @@ -98869,8 +99074,8 @@ paths: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 nullable: true permissions: type: object @@ -99091,7 +99296,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *121 + '503': *120 '422': *15 '304': *37 x-github: @@ -99543,7 +99748,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *121 + '503': *120 '422': *15 x-github: githubCloudOnly: false @@ -99747,7 +99952,7 @@ paths: examples: default: *238 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99794,9 +99999,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -99823,7 +100028,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - *681 - - *71 + - *72 responses: '204': description: if user is a member @@ -99860,7 +100065,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - *681 - - *71 + - *72 responses: '204': description: Response @@ -99900,7 +100105,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - *681 - - *71 + - *72 responses: '204': description: Response @@ -99937,7 +100142,7 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *681 - - *71 + - *72 responses: '200': description: Response @@ -99979,7 +100184,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *681 - - *71 + - *72 requestBody: required: false content: @@ -100041,7 +100246,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *681 - - *71 + - *72 responses: '204': description: Response @@ -100078,11 +100283,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *267 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -100364,11 +100569,11 @@ paths: application/json: schema: type: array - items: *197 + items: *195 examples: response-if-child-teams-exist: *685 headers: - Link: *67 + Link: *68 '404': *6 '403': *29 '422': *15 @@ -100834,7 +101039,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 '304': *37 '404': *6 '403': *29 @@ -100857,7 +101062,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: - - *71 + - *72 responses: '204': description: If the user is blocked @@ -100885,7 +101090,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *71 + - *72 responses: '204': description: Response @@ -100909,7 +101114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *71 + - *72 responses: '204': description: Response @@ -101113,7 +101318,7 @@ paths: '401': *25 '403': *29 '404': *6 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101195,7 +101400,7 @@ paths: examples: default: *468 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101263,7 +101468,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *168 + - *167 responses: '200': description: Response @@ -101299,7 +101504,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *168 + - *167 requestBody: required: true content: @@ -101344,7 +101549,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -101372,7 +101577,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *168 + - *167 responses: '204': description: Response @@ -101397,7 +101602,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *168 + - *167 responses: '200': description: Response @@ -101413,9 +101618,9 @@ paths: type: integer repositories: type: array - items: *160 + items: *159 examples: - default: *198 + default: *196 '401': *25 '403': *29 '404': *6 @@ -101440,7 +101645,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *168 + - *167 requestBody: required: true content: @@ -101494,7 +101699,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *168 + - *167 - name: repository_id in: path required: true @@ -101527,7 +101732,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *168 + - *167 - name: repository_id in: path required: true @@ -102923,7 +103128,7 @@ paths: primary: true visibility: public headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -103101,9 +103306,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -103134,9 +103339,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -103156,7 +103361,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: - - *71 + - *72 responses: '204': description: if the person is followed by the authenticated user @@ -103186,7 +103391,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *71 + - *72 responses: '204': description: Response @@ -103211,7 +103416,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *71 + - *72 responses: '204': description: Response @@ -103410,7 +103615,7 @@ paths: revoked: false raw_key: string headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -103702,7 +103907,7 @@ paths: suspended_at: suspended_by: headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -103750,11 +103955,11 @@ paths: type: array items: allOf: - - *79 + - *80 examples: - default: *152 + default: *151 headers: - Link: *67 + Link: *68 '404': *6 '403': *29 '304': *37 @@ -103778,7 +103983,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *149 + - *148 responses: '204': description: Response @@ -103804,7 +104009,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *149 + - *148 responses: '204': description: Response @@ -103971,8 +104176,8 @@ paths: - updated - comments default: created - - *61 - - *92 + - *62 + - *93 - *17 - *19 responses: @@ -103982,11 +104187,11 @@ paths: application/json: schema: type: array - items: *85 + items: *86 examples: default: *247 headers: - Link: *67 + Link: *68 '404': *6 '304': *37 x-github: @@ -104068,7 +104273,7 @@ paths: verified: false read_only: false headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -104274,7 +104479,7 @@ paths: - id - type - login - plan: *103 + plan: *104 required: - billing_cycle - next_billing_date @@ -104318,7 +104523,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *67 + Link: *68 '304': *37 '401': *25 '404': *6 @@ -104351,7 +104556,7 @@ paths: examples: default: *700 headers: - Link: *67 + Link: *68 '304': *37 '401': *25 x-github: @@ -104472,7 +104677,7 @@ paths: type: User site_admin: false headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -104497,7 +104702,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *75 + - *76 responses: '200': description: Response @@ -104565,7 +104770,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *75 + - *76 requestBody: required: true content: @@ -104815,7 +105020,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -105392,11 +105597,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *267 headers: - Link: *67 + Link: *68 '404': *6 x-github: githubCloudOnly: false @@ -105411,7 +105616,7 @@ paths: content: application/json: schema: - items: *66 + items: *67 version: '2026-03-10' - changeset: restrict_repo_fields_in_migration_resource patch: @@ -105447,11 +105652,11 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: - default: *116 + default: *117 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -105899,7 +106104,7 @@ paths: examples: default: *705 headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -106008,7 +106213,7 @@ paths: application/json: schema: type: array - items: *79 + items: *80 examples: default: &712 summary: Default response @@ -106131,7 +106336,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *67 + Link: *68 '422': *15 '304': *37 '403': *29 @@ -106364,7 +106569,7 @@ paths: examples: default: *706 headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -106467,7 +106672,7 @@ paths: - provider: twitter url: https://twitter.com/github headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -106644,7 +106849,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -106808,7 +107013,7 @@ paths: - created - updated default: created - - *61 + - *62 - *17 - *19 responses: @@ -106818,7 +107023,7 @@ paths: application/json: schema: type: array - items: *79 + items: *80 examples: default-response: *712 application/vnd.github.v3.star+json: @@ -106832,7 +107037,7 @@ paths: starred_at: type: string format: date-time - repo: *79 + repo: *80 required: - starred_at - repo @@ -106960,7 +107165,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -107068,11 +107273,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *267 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -107158,7 +107363,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *67 + Link: *68 '304': *37 '404': *6 '403': *29 @@ -107185,7 +107390,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *105 + - *106 responses: '200': description: Response @@ -107365,7 +107570,7 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: Link: example: ; rel="next" @@ -107505,7 +107710,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *71 + - *72 responses: '200': description: Response @@ -107543,7 +107748,7 @@ paths: - *17 - *47 - *48 - - *71 + - *72 requestBody: required: true content: @@ -107654,7 +107859,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *71 + - *72 requestBody: required: true content: @@ -107719,7 +107924,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *71 + - *72 - name: subject_digest description: Subject Digest in: path @@ -107750,7 +107955,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *71 + - *72 - name: attestation_id description: Attestation ID in: path @@ -107788,7 +107993,7 @@ paths: - *17 - *47 - *48 - - *71 + - *72 - name: subject_digest description: Subject Digest in: path @@ -107846,7 +108051,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *168 examples: default: value: @@ -107886,7 +108091,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: - - *71 + - *72 responses: '200': description: Response @@ -107919,7 +108124,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -107929,7 +108134,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: default: value: @@ -107991,8 +108196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *71 - - *75 + - *72 + - *76 - *17 - *19 responses: @@ -108002,7 +108207,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: default: value: @@ -108079,7 +108284,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -108089,7 +108294,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: default: value: @@ -108147,7 +108352,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -108159,9 +108364,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108178,7 +108383,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *71 + - *72 - *17 - *19 responses: @@ -108190,9 +108395,9 @@ paths: type: array items: *4 examples: - default: *70 + default: *71 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108209,7 +108414,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *71 + - *72 - name: target_user in: path required: true @@ -108236,8 +108441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *71 - - *92 + - *72 + - *93 - *17 - *19 responses: @@ -108247,11 +108452,11 @@ paths: application/json: schema: type: array - items: *93 + items: *94 examples: - default: *94 + default: *95 headers: - Link: *67 + Link: *68 '422': *15 x-github: githubCloudOnly: false @@ -108270,7 +108475,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -108284,7 +108489,7 @@ paths: examples: default: *721 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108306,7 +108511,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *71 + - *72 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -108378,7 +108583,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *71 + - *72 responses: '200': description: Response @@ -108404,7 +108609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -108439,7 +108644,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108459,7 +108664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -108469,11 +108674,11 @@ paths: application/json: schema: type: array - items: *73 + items: *74 examples: - default: *116 + default: *117 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108511,7 +108716,7 @@ paths: - nuget - container - *702 - - *71 + - *72 - *19 - *17 responses: @@ -108548,7 +108753,7 @@ paths: parameters: - *263 - *264 - - *71 + - *72 responses: '200': description: Response @@ -108579,7 +108784,7 @@ paths: parameters: - *263 - *264 - - *71 + - *72 responses: '204': description: Response @@ -108613,7 +108818,7 @@ paths: parameters: - *263 - *264 - - *71 + - *72 - name: token description: package token schema: @@ -108647,7 +108852,7 @@ paths: parameters: - *263 - *264 - - *71 + - *72 responses: '200': description: Response @@ -108716,7 +108921,7 @@ paths: - *263 - *264 - *266 - - *71 + - *72 responses: '200': description: Response @@ -108759,7 +108964,7 @@ paths: parameters: - *263 - *264 - - *71 + - *72 - *266 responses: '204': @@ -108794,7 +108999,7 @@ paths: parameters: - *263 - *264 - - *71 + - *72 - *266 responses: '204': @@ -108819,7 +109024,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *71 + - *72 - name: q description: Limit results to projects of the specified type. in: query @@ -108840,7 +109045,7 @@ paths: examples: default: *278 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -108861,7 +109066,7 @@ paths: url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - *279 - - *71 + - *72 responses: '200': description: Response @@ -108871,7 +109076,7 @@ paths: examples: default: *278 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -108892,7 +109097,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - *279 - - *71 + - *72 - *17 - *47 - *48 @@ -108907,7 +109112,7 @@ paths: examples: default: *723 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -108926,7 +109131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - - *71 + - *72 - *279 requestBody: required: true @@ -109039,7 +109244,7 @@ paths: parameters: - *279 - *733 - - *71 + - *72 responses: '200': description: Response @@ -109049,7 +109254,7 @@ paths: examples: default: *734 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -109071,7 +109276,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - *279 - - *71 + - *72 - *47 - *48 - *17 @@ -109107,7 +109312,7 @@ paths: examples: default: *288 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -109126,7 +109331,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *71 + - *72 - *279 requestBody: required: true @@ -109233,7 +109438,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *279 - - *71 + - *72 - *289 - name: fields description: |- @@ -109258,7 +109463,7 @@ paths: examples: default: *288 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -109278,7 +109483,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - *279 - - *71 + - *72 - *289 requestBody: required: true @@ -109376,7 +109581,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - *279 - - *71 + - *72 - *289 responses: '204': @@ -109400,7 +109605,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - *279 - - *71 + - *72 - *735 - name: fields description: |- @@ -109431,7 +109636,7 @@ paths: examples: default: *288 headers: - Link: *67 + Link: *68 '304': *37 '403': *29 '401': *25 @@ -109457,7 +109662,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -109467,7 +109672,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: default: value: @@ -109532,7 +109737,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -109542,7 +109747,7 @@ paths: application/json: schema: type: array - items: *111 + items: *112 examples: default: value: @@ -109605,7 +109810,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *71 + - *72 - name: type description: Limit results to repositories of the specified type. in: query @@ -109648,11 +109853,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *267 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109672,12 +109877,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - - *71 - - *123 - - *125 + - *72 + - *122 - *124 + - *123 - *736 - - *126 + - *125 responses: '200': description: Response when getting a billing premium request usage report @@ -109785,7 +109990,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109805,10 +110010,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - - *71 - - *123 + - *72 + - *122 - *737 - - *124 + - *123 responses: '200': description: Response when getting a billing usage report @@ -109879,7 +110084,7 @@ paths: '400': *14 '403': *29 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109902,12 +110107,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - - *71 - - *123 - - *125 + - *72 + - *122 - *124 + - *123 - *738 - - *126 + - *125 - *739 responses: '200': @@ -110014,7 +110219,7 @@ paths: '403': *29 '404': *6 '500': *55 - '503': *121 + '503': *120 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110032,7 +110237,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -110046,7 +110251,7 @@ paths: examples: default: *708 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110064,7 +110269,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -110078,7 +110283,7 @@ paths: examples: default: *740 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110100,9 +110305,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *71 + - *72 - *741 - - *61 + - *62 - *17 - *19 responses: @@ -110115,11 +110320,11 @@ paths: - type: array items: *742 - type: array - items: *79 + items: *80 examples: default-response: *712 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110136,7 +110341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *71 + - *72 - *17 - *19 responses: @@ -110146,11 +110351,11 @@ paths: application/json: schema: type: array - items: *160 + items: *159 examples: default: *267 headers: - Link: *67 + Link: *68 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110439,8 +110644,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *88 - required: *89 + properties: *89 + required: *90 nullable: true organization: title: Simple User @@ -111913,8 +112118,8 @@ x-webhooks: type: string pull_requests: type: array - items: *90 - repository: *160 + items: *91 + repository: *159 status: example: completed type: string @@ -112001,7 +112206,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *90 + items: *91 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -128834,8 +129039,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *80 - required: *81 + properties: *81 + required: *82 reactions: title: Reactions type: object @@ -135270,12 +135475,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *85 + blocked_issue: *86 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *85 - blocking_issue_repo: *79 + blocking_issue: *86 + blocking_issue_repo: *80 installation: *744 organization: *745 repository: *746 @@ -135361,12 +135566,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *85 + blocked_issue: *86 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *85 - blocking_issue_repo: *79 + blocking_issue: *86 + blocking_issue_repo: *80 installation: *744 organization: *745 repository: *746 @@ -135451,12 +135656,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *85 - blocked_issue_repo: *79 + blocked_issue: *86 + blocked_issue_repo: *80 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *85 + blocking_issue: *86 installation: *744 organization: *745 repository: *746 @@ -135542,12 +135747,12 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *85 - blocked_issue_repo: *79 + blocked_issue: *86 + blocked_issue_repo: *80 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *85 + blocking_issue: *86 installation: *744 organization: *745 repository: *746 @@ -136422,8 +136627,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *679 issue_dependencies_summary: *680 @@ -137422,8 +137627,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *679 issue_dependencies_summary: *680 @@ -138547,8 +138752,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *679 issue_dependencies_summary: *680 @@ -139558,8 +139763,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *679 issue_dependencies_summary: *680 @@ -140688,8 +140893,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *679 issue_dependencies_summary: *680 @@ -141683,8 +141888,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *679 issue_dependencies_summary: *680 @@ -142702,8 +142907,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *679 issue_dependencies_summary: *680 @@ -143690,8 +143895,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *679 issue_dependencies_summary: *680 @@ -144688,8 +144893,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true user: title: User @@ -146059,8 +146264,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true user: title: User @@ -147020,8 +147225,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *679 issue_dependencies_summary: *680 @@ -148034,8 +148239,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *679 issue_dependencies_summary: *680 @@ -149003,8 +149208,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *679 issue_dependencies_summary: *680 @@ -150824,8 +151029,8 @@ x-webhooks: description: Comments provide a way for people to collaborate on an issue. type: object - properties: *86 - required: *87 + properties: *87 + required: *88 nullable: true sub_issues_summary: *679 issue_dependencies_summary: *680 @@ -224793,8 +224998,8 @@ x-webhooks: alert: &806 type: object properties: - number: *178 - created_at: *179 + number: *177 + created_at: *178 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -224802,8 +225007,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *181 - html_url: *182 + url: *180 + html_url: *181 locations_url: type: string format: uri @@ -225901,7 +226106,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *63 + cvss_severities: *64 cwes: type: array items: @@ -226183,7 +226388,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *63 + cvss_severities: *64 cwes: type: array items: @@ -227838,12 +228043,12 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *85 - parent_issue_repo: *79 + parent_issue: *86 + parent_issue_repo: *80 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *85 + sub_issue: *86 installation: *744 organization: *745 repository: *746 @@ -227930,12 +228135,12 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *85 - parent_issue_repo: *79 + parent_issue: *86 + parent_issue_repo: *80 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *85 + sub_issue: *86 installation: *744 organization: *745 repository: *746 @@ -228022,12 +228227,12 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *85 - sub_issue_repo: *79 + sub_issue: *86 + sub_issue_repo: *80 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *85 + parent_issue: *86 installation: *744 organization: *745 repository: *746 @@ -228114,12 +228319,12 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *85 - sub_issue_repo: *79 + sub_issue: *86 + sub_issue_repo: *80 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *85 + parent_issue: *86 installation: *744 organization: *745 repository: *746 diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index e124406e87..2fdceb5aa2 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -45357,6 +45357,451 @@ } } }, + "/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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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", @@ -119083,17 +119528,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": [ { @@ -119104,606 +119549,337 @@ "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", + "nullable": true + } + }, + "required": [ + "property_name", + "value" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "property_name": "environment", + "value": "production" + }, + { + "property_name": "service", + "value": "web" + }, + { + "property_name": "team", + "value": "octocat" + } + ] + } + } + } + } }, - { - "name": "page", - "in": "query", - "description": "The page number of results to fetch.", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "default": 1 + "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": "per_page", - "in": "query", - "description": "Number of results per page.", - "required": false, + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 + "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", + "nullable": true + } + }, + "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": { - "200": { - "description": "Response", + "204": { + "description": "No Content when custom property values are successfully created or updated" + }, + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { - "title": "Dependabot Repository Access Details", - "description": "Information about repositories that Dependabot is able to access in an organization", + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "default_level": { - "type": "string", - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal" - ], - "example": "internal", - "nullable": true + "message": { + "type": "string" }, - "accessible_repositories": { + "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": { - "title": "Simple Repository", - "description": "A GitHub repository.", "type": "object", + "required": [ + "code" + ], "properties": { - "id": { - "type": "integer", - "format": "int64", - "example": 1296269, - "description": "A unique identifier of the repository." + "resource": { + "type": "string" }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "description": "The GraphQL identifier of the repository." + "field": { + "type": "string" }, - "name": { - "type": "string", - "example": "Hello-World", - "description": "The name of the repository." + "message": { + "type": "string" }, - "full_name": { - "type": "string", - "example": "octocat/Hello-World", - "description": "The full, globally unique, name of the repository." + "code": { + "type": "string" }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { "type": "string", - "example": "octocat" + "nullable": true }, - "id": { + { "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } } - }, - "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", - "example": "https://github.com/octocat/Hello-World", - "description": "The URL to view the repository on GitHub.com." - }, - "description": { - "type": "string", - "example": "This your first repo!", - "nullable": true, - "description": "The repository description." - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World", - "description": "The URL to get more information about the repository from the GitHub API." - }, - "archive_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "description": "A template for the API URL to download the repository as an archive." - }, - "assignees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "description": "A template for the API URL to list the available assignees for issues in the repository." - }, - "blobs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." - }, - "branches_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "description": "A template for the API URL to get information about branches in the repository." - }, - "collaborators_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "description": "A template for the API URL to get information about collaborators of the repository." - }, - "comments_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "description": "A template for the API URL to get information about comments on the repository." - }, - "commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "description": "A template for the API URL to get information about commits on the repository." - }, - "compare_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "description": "A template for the API URL to compare two commits or refs." - }, - "contents_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "description": "A template for the API URL to get the contents of the repository." - }, - "contributors_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/contributors", - "description": "A template for the API URL to list the contributors to the repository." - }, - "deployments_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/deployments", - "description": "The API URL to list the deployments of the repository." - }, - "downloads_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/downloads", - "description": "The API URL to list the downloads on the repository." - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/events", - "description": "The API URL to list the events of the repository." - }, - "forks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/forks", - "description": "The API URL to list the forks of the repository." - }, - "git_commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "description": "A template for the API URL to get information about Git commits of the repository." - }, - "git_refs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "description": "A template for the API URL to get information about Git refs of the repository." - }, - "git_tags_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "description": "A template for the API URL to get information about Git tags of the repository." - }, - "issue_comment_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "description": "A template for the API URL to get information about issue comments on the repository." - }, - "issue_events_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "description": "A template for the API URL to get information about issue events on the repository." - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "description": "A template for the API URL to get information about issues on the repository." - }, - "keys_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "description": "A template for the API URL to get information about deploy keys on the repository." - }, - "labels_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "description": "A template for the API URL to get information about labels of the repository." - }, - "languages_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/languages", - "description": "The API URL to get information about the languages of the repository." - }, - "merges_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/merges", - "description": "The API URL to merge branches in the repository." - }, - "milestones_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "description": "A template for the API URL to get information about milestones of the repository." - }, - "notifications_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "description": "A template for the API URL to get information about notifications on the repository." - }, - "pulls_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "description": "A template for the API URL to get information about pull requests on the repository." - }, - "releases_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "description": "A template for the API URL to get information about releases on the repository." - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "description": "The API URL to list the stargazers on the repository." - }, - "statuses_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "description": "A template for the API URL to get information about statuses of a commit." - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "description": "The API URL to list the subscribers on the repository." - }, - "subscription_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscription", - "description": "The API URL to subscribe to notifications for this repository." - }, - "tags_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/tags", - "description": "The API URL to get information about tags on the repository." - }, - "teams_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/teams", - "description": "The API URL to list the teams on the repository." - }, - "trees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." - }, - "hooks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/hooks", - "description": "The API URL to list the hooks on the repository." } - }, - "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" - ], - "nullable": true - } - } - }, - "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" + } } } } @@ -119712,22 +119888,24 @@ } }, "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```", + } + }, + "/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": [ - "dependabot" + "orgs" ], - "operationId": "dependabot/update-repository-access-for-org", + "operationId": "orgs/get", "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/orgs#get-an-organization" }, "parameters": [ { @@ -119740,207 +119918,452 @@ } } ], - "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", + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", + "title": "Organization Full", + "description": "Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement.\nRemoves non-compliant outside collaborators from the organization and its repositories.\n\nGitHub currently defines SMS as an insecure method of two-factor authentication.\n\nIf your users are managed by the enterprise this policy will not affect them. The first admin account of the enterprise will still be affected.", "type": "object", "properties": { - "message": { - "type": "string" + "login": { + "type": "string", + "example": "github" }, - "documentation_url": { - "type": "string" + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" }, "url": { - "type": "string" + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, - "documentation_url": { - "type": "string" + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, - "url": { - "type": "string" + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "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" - ], - "example": "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" + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, - "documentation_url": { - "type": "string" + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, - "url": { - "type": "string" + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, - "status": { - "type": "string" + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + }, + "name": { + "type": "string", + "example": "github" + }, + "company": { + "type": "string", + "example": "GitHub" + }, + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" + }, + "location": { + "type": "string", + "example": "San Francisco" + }, + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" + }, + "twitter_username": { + "type": "string", + "example": "github", + "nullable": true + }, + "is_verified": { + "type": "boolean", + "example": true + }, + "has_organization_projects": { + "type": "boolean", + "example": true + }, + "has_repository_projects": { + "type": "boolean", + "example": true + }, + "public_repos": { + "type": "integer", + "example": 2 + }, + "public_gists": { + "type": "integer", + "example": 1 + }, + "followers": { + "type": "integer", + "example": 20 + }, + "following": { + "type": "integer", + "example": 0 + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "type": { + "type": "string", + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true, + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000." + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true + }, + "plan": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "space": { + "type": "integer" + }, + "private_repos": { + "type": "integer" + }, + "filled_seats": { + "type": "integer" + }, + "seats": { + "type": "integer" + } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "default_repository_branch": { + "type": "string", + "example": "main", + "nullable": true, + "description": "The default branch for repositories created in this organization." + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "members_can_create_public_pages": { + "type": "boolean", + "example": true + }, + "members_can_create_private_pages": { + "type": "boolean", + "example": true + }, + "members_can_delete_repositories": { + "type": "boolean", + "example": true + }, + "members_can_change_repo_visibility": { + "type": "boolean", + "example": true + }, + "members_can_invite_outside_collaborators": { + "type": "boolean", + "example": true + }, + "members_can_delete_issues": { + "type": "boolean", + "example": true + }, + "display_commenter_full_name_setting_enabled": { + "type": "boolean", + "example": true + }, + "readers_can_create_discussions": { + "type": "boolean", + "example": true + }, + "members_can_create_teams": { + "type": "boolean", + "example": true + }, + "members_can_view_dependency_insights": { + "type": "boolean", + "example": true + }, + "members_can_fork_private_repositories": { + "type": "boolean", + "example": false, + "nullable": true + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "advanced_security_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "dependabot_alerts_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "dependabot_security_updates_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "dependency_graph_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "secret_scanning_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "secret_scanning_push_protection_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "secret_scanning_push_protection_custom_link_enabled": { + "type": "boolean", + "example": false, + "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection." + }, + "secret_scanning_push_protection_custom_link": { + "type": "string", + "example": "https://github.com/test-org/test-repo/blob/main/README.md", + "nullable": true, + "description": "An optional URL string to display to contributors who are blocked from pushing a secret." + }, + "secret_scanning_validity_checks_enabled": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.", + "deprecated": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2008-01-14T04:33:35Z" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "archived_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "deploy_keys_enabled_for_repositories": { + "type": "boolean", + "example": false, + "description": "Controls whether or not deploy keys may be added and used for repositories in the organization." + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description", + "html_url", + "has_organization_projects", + "has_repository_projects", + "public_repos", + "public_gists", + "followers", + "following", + "type", + "created_at", + "updated_at", + "archived_at" + ] + }, + "examples": { + "default-response": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization", + "name": "github", + "company": "GitHub", + "blog": "https://github.com/blog", + "location": "San Francisco", + "email": "octocat@github.com", + "twitter_username": "github", + "is_verified": true, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 2, + "public_gists": 1, + "followers": 20, + "following": 0, + "html_url": "https://github.com/octocat", + "created_at": "2008-01-14T04:33:35Z", + "type": "Organization", + "total_private_repos": 100, + "owned_private_repos": 100, + "private_gists": 81, + "disk_usage": 10000, + "collaborators": 8, + "billing_email": "mona@github.com", + "plan": { + "name": "Medium", + "space": 400, + "private_repos": 20, + "filled_seats": 4, + "seats": 5 + }, + "default_repository_permission": "read", + "default_repository_branch": "main", + "members_can_create_repositories": true, + "two_factor_requirement_enabled": true, + "members_allowed_repository_creation_type": "all", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "members_can_delete_repositories": true, + "members_can_change_repo_visibility": true, + "members_can_invite_outside_collaborators": true, + "members_can_delete_issues": false, + "display_commenter_full_name_setting_enabled": false, + "readers_can_create_discussions": true, + "members_can_create_teams": true, + "members_can_view_dependency_insights": true, + "members_can_fork_private_repositories": false, + "web_commit_signoff_required": false, + "updated_at": "2014-03-03T18:58:10Z", + "archived_at": null, + "deploy_keys_enabled_for_repositories": false, + "dependency_graph_enabled_for_new_repositories": false, + "dependabot_alerts_enabled_for_new_repositories": false, + "dependabot_security_updates_enabled_for_new_repositories": false, + "advanced_security_enabled_for_new_repositories": false, + "secret_scanning_enabled_for_new_repositories": false, + "secret_scanning_push_protection_enabled_for_new_repositories": false, + "secret_scanning_push_protection_custom_link": "https://github.com/octo-org/octo-repo/blob/main/im-blocked.md", + "secret_scanning_push_protection_custom_link_enabled": false, + "secret_scanning_validity_checks_enabled": false } } } @@ -119977,163 +120400,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" + "category": "orgs", + "subcategory": "orgs" } - } - }, - "/organizations/{org}/org-properties/values": { - "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", + }, + "patch": { + "summary": "Update an organization", + "description": "> [!WARNING]\n> **Closing down notice:** GitHub Enterprise Cloud will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\n> [!WARNING]\n> **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/).\n\nUpdates the organization's profile and member privileges.\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", "tags": [ "orgs" ], - "operationId": "orgs/custom-properties-for-orgs-get-organization-values", + "operationId": "orgs/update", "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", - "nullable": true - } - }, - "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" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization" }, "parameters": [ { @@ -120147,231 +120427,182 @@ } ], "requestBody": { - "required": true, + "required": false, "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", - "nullable": true - } - }, - "required": [ - "property_name", - "value" - ] - } + "billing_email": { + "type": "string", + "description": "Billing email address. This address is not publicized." + }, + "company": { + "type": "string", + "description": "The company name." + }, + "email": { + "type": "string", + "description": "The publicly visible email address." + }, + "twitter_username": { + "type": "string", + "description": "The Twitter username of the company." + }, + "location": { + "type": "string", + "description": "The location." + }, + "name": { + "type": "string", + "description": "The shorthand name of the company." + }, + "description": { + "type": "string", + "description": "The description of the company. The maximum size is 160 characters." + }, + "has_organization_projects": { + "type": "boolean", + "description": "Whether an organization can use organization projects." + }, + "has_repository_projects": { + "type": "boolean", + "description": "Whether repositories that belong to the organization can use repository projects." + }, + "default_repository_permission": { + "type": "string", + "description": "Default permission level members have for organization repositories.", + "enum": [ + "read", + "write", + "admin", + "none" + ], + "default": "read" + }, + "members_can_create_repositories": { + "type": "boolean", + "description": "Whether of non-admin organization members can create repositories. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details.", + "default": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "description": "Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_can_create_private_repositories": { + "type": "boolean", + "description": "Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_can_create_public_repositories": { + "type": "boolean", + "description": "Whether organization members can create public repositories, which are visible to anyone. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_allowed_repository_creation_type": { + "type": "string", + "description": "Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. \n**Note:** This parameter is closing down and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details.", + "enum": [ + "all", + "private", + "none" + ] + }, + "members_can_create_pages": { + "type": "boolean", + "description": "Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted.", + "default": true + }, + "members_can_create_public_pages": { + "type": "boolean", + "description": "Whether organization members can create public GitHub Pages sites. Existing published sites will not be impacted.", + "default": true + }, + "members_can_create_private_pages": { + "type": "boolean", + "description": "Whether organization members can create private GitHub Pages sites. Existing published sites will not be impacted.", + "default": true + }, + "members_can_fork_private_repositories": { + "type": "boolean", + "description": "Whether organization members can fork private organization repositories.", + "default": false + }, + "web_commit_signoff_required": { + "type": "boolean", + "description": "Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.", + "default": false + }, + "blog": { + "type": "string", + "example": "\"http://github.blog\"" + }, + "advanced_security_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "dependabot_alerts_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "dependabot_security_updates_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "dependency_graph_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "secret_scanning_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "secret_scanning_push_protection_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "secret_scanning_push_protection_custom_link_enabled": { + "type": "boolean", + "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection." + }, + "secret_scanning_push_protection_custom_link": { + "type": "string", + "description": "If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret." + }, + "secret_scanning_validity_checks_enabled": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.", + "deprecated": true + }, + "deploy_keys_enabled_for_repositories": { + "type": "boolean", + "description": "Controls whether or not deploy keys may be added and used for repositories in the organization." } - }, - "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", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } + "billing_email": "mona@github.com", + "company": "GitHub", + "email": "mona@github.com", + "twitter_username": "github", + "location": "San Francisco", + "name": "github", + "description": "GitHub, the company.", + "default_repository_permission": "read", + "members_can_create_repositories": true, + "members_allowed_repository_creation_type": "all" } } } } } }, - "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" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], "responses": { "200": { "description": "Response", @@ -120742,7 +120973,7 @@ ] }, "examples": { - "default-response": { + "default": { "value": { "login": "github", "id": 1, @@ -120824,8 +121055,104 @@ } } }, - "404": { - "description": "Resource not found", + "422": { + "description": "Validation failed", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + }, + { + "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" + } + } + } + } + ] + } + } + } + }, + "409": { + "description": "Conflict", "content": { "application/json": { "schema": { @@ -120858,16 +121185,16 @@ "subcategory": "orgs" } }, - "patch": { - "summary": "Update an organization", - "description": "> [!WARNING]\n> **Closing down notice:** GitHub Enterprise Cloud will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\n> [!WARNING]\n> **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/).\n\nUpdates the organization's profile and member privileges.\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", + "delete": { + "summary": "Delete an organization", + "description": "Deletes an organization and all its repositories.\n\nThe organization login will be unavailable for 90 days after deletion.\n\nPlease review the Terms of Service regarding account deletion before using this endpoint:\n\nhttps://docs.github.com/enterprise-cloud@latest//site-policy/github-terms/github-terms-of-service", + "operationId": "orgs/delete", "tags": [ "orgs" ], - "operationId": "orgs/update", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization" }, "parameters": [ { @@ -120880,753 +121207,143 @@ } } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "billing_email": { - "type": "string", - "description": "Billing email address. This address is not publicized." - }, - "company": { - "type": "string", - "description": "The company name." - }, - "email": { - "type": "string", - "description": "The publicly visible email address." - }, - "twitter_username": { - "type": "string", - "description": "The Twitter username of the company." - }, - "location": { - "type": "string", - "description": "The location." - }, - "name": { - "type": "string", - "description": "The shorthand name of the company." - }, - "description": { - "type": "string", - "description": "The description of the company. The maximum size is 160 characters." - }, - "has_organization_projects": { - "type": "boolean", - "description": "Whether an organization can use organization projects." - }, - "has_repository_projects": { - "type": "boolean", - "description": "Whether repositories that belong to the organization can use repository projects." - }, - "default_repository_permission": { - "type": "string", - "description": "Default permission level members have for organization repositories.", - "enum": [ - "read", - "write", - "admin", - "none" - ], - "default": "read" - }, - "members_can_create_repositories": { - "type": "boolean", - "description": "Whether of non-admin organization members can create repositories. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details.", - "default": true - }, - "members_can_create_internal_repositories": { - "type": "boolean", - "description": "Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." - }, - "members_can_create_private_repositories": { - "type": "boolean", - "description": "Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." - }, - "members_can_create_public_repositories": { - "type": "boolean", - "description": "Whether organization members can create public repositories, which are visible to anyone. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." - }, - "members_allowed_repository_creation_type": { - "type": "string", - "description": "Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. \n**Note:** This parameter is closing down and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details.", - "enum": [ - "all", - "private", - "none" - ] - }, - "members_can_create_pages": { - "type": "boolean", - "description": "Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted.", - "default": true - }, - "members_can_create_public_pages": { - "type": "boolean", - "description": "Whether organization members can create public GitHub Pages sites. Existing published sites will not be impacted.", - "default": true - }, - "members_can_create_private_pages": { - "type": "boolean", - "description": "Whether organization members can create private GitHub Pages sites. Existing published sites will not be impacted.", - "default": true - }, - "members_can_fork_private_repositories": { - "type": "boolean", - "description": "Whether organization members can fork private organization repositories.", - "default": false - }, - "web_commit_signoff_required": { - "type": "boolean", - "description": "Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.", - "default": false - }, - "blog": { - "type": "string", - "example": "\"http://github.blog\"" - }, - "advanced_security_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "dependabot_alerts_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "dependabot_security_updates_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "dependency_graph_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "secret_scanning_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "secret_scanning_push_protection_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "secret_scanning_push_protection_custom_link_enabled": { - "type": "boolean", - "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection." - }, - "secret_scanning_push_protection_custom_link": { - "type": "string", - "description": "If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret." - }, - "secret_scanning_validity_checks_enabled": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.", - "deprecated": true - }, - "deploy_keys_enabled_for_repositories": { - "type": "boolean", - "description": "Controls whether or not deploy keys may be added and used for repositories in the organization." - } - } - }, - "examples": { - "default": { - "value": { - "billing_email": "mona@github.com", - "company": "GitHub", - "email": "mona@github.com", - "twitter_username": "github", - "location": "San Francisco", - "name": "github", - "description": "GitHub, the company.", - "default_repository_permission": "read", - "members_can_create_repositories": true, - "members_allowed_repository_creation_type": "all" + "responses": { + "202": { + "description": "Accepted", + "content": { + "application/json": { + "schema": { + "type": "object" + }, + "examples": { + "default": { + "value": null } } } } - } - }, - "responses": { - "200": { - "description": "Response", + }, + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { - "title": "Organization Full", - "description": "Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement.\nRemoves non-compliant outside collaborators from the organization and its repositories.\n\nGitHub currently defines SMS as an insecure method of two-factor authentication.\n\nIf your users are managed by the enterprise this policy will not affect them. The first admin account of the enterprise will still be affected.", + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "login": { - "type": "string", - "example": "github" - }, - "id": { - "type": "integer", - "example": 1 + "message": { + "type": "string" }, - "node_id": { - "type": "string", - "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + "documentation_url": { + "type": "string" }, "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github/repos" - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github/events" - }, - "hooks_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/hooks" - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/issues" - }, - "members_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/members{/member}" - }, - "public_members_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/public_members{/member}" - }, - "avatar_url": { - "type": "string", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "description": { - "type": "string", - "example": "A great organization", - "nullable": true - }, - "name": { - "type": "string", - "example": "github" - }, - "company": { - "type": "string", - "example": "GitHub" - }, - "blog": { - "type": "string", - "format": "uri", - "example": "https://github.com/blog" - }, - "location": { - "type": "string", - "example": "San Francisco" - }, - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "twitter_username": { - "type": "string", - "example": "github", - "nullable": true - }, - "is_verified": { - "type": "boolean", - "example": true - }, - "has_organization_projects": { - "type": "boolean", - "example": true - }, - "has_repository_projects": { - "type": "boolean", - "example": true - }, - "public_repos": { - "type": "integer", - "example": 2 - }, - "public_gists": { - "type": "integer", - "example": 1 - }, - "followers": { - "type": "integer", - "example": 20 - }, - "following": { - "type": "integer", - "example": 0 - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "type": { - "type": "string", - "example": "Organization" + "type": "string" }, - "total_private_repos": { - "type": "integer", - "example": 100 + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "owned_private_repos": { - "type": "integer", - "example": 100 + "documentation_url": { + "type": "string" }, - "private_gists": { - "type": "integer", - "example": 81, - "nullable": true + "url": { + "type": "string" }, - "disk_usage": { + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/actions/cache/usage": { + "get": { + "summary": "Get GitHub Actions cache usage for an organization", + "description": "Gets the total GitHub Actions cache usage for an organization.\nThe data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.\n\nOAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-actions-cache-usage-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-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": "object", + "properties": { + "total_active_caches_count": { "type": "integer", - "example": 10000, - "nullable": true + "description": "The count of active caches across all repositories of an enterprise or an organization." }, - "collaborators": { + "total_active_caches_size_in_bytes": { "type": "integer", - "example": 8, - "nullable": true, - "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000." - }, - "billing_email": { - "type": "string", - "format": "email", - "example": "org@example.com", - "nullable": true - }, - "plan": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "space": { - "type": "integer" - }, - "private_repos": { - "type": "integer" - }, - "filled_seats": { - "type": "integer" - }, - "seats": { - "type": "integer" - } - }, - "required": [ - "name", - "space", - "private_repos" - ] - }, - "default_repository_permission": { - "type": "string", - "nullable": true - }, - "default_repository_branch": { - "type": "string", - "example": "main", - "nullable": true, - "description": "The default branch for repositories created in this organization." - }, - "members_can_create_repositories": { - "type": "boolean", - "example": true, - "nullable": true - }, - "two_factor_requirement_enabled": { - "type": "boolean", - "example": true, - "nullable": true - }, - "members_allowed_repository_creation_type": { - "type": "string", - "example": "all" - }, - "members_can_create_public_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_private_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_internal_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_pages": { - "type": "boolean", - "example": true - }, - "members_can_create_public_pages": { - "type": "boolean", - "example": true - }, - "members_can_create_private_pages": { - "type": "boolean", - "example": true - }, - "members_can_delete_repositories": { - "type": "boolean", - "example": true - }, - "members_can_change_repo_visibility": { - "type": "boolean", - "example": true - }, - "members_can_invite_outside_collaborators": { - "type": "boolean", - "example": true - }, - "members_can_delete_issues": { - "type": "boolean", - "example": true - }, - "display_commenter_full_name_setting_enabled": { - "type": "boolean", - "example": true - }, - "readers_can_create_discussions": { - "type": "boolean", - "example": true - }, - "members_can_create_teams": { - "type": "boolean", - "example": true - }, - "members_can_view_dependency_insights": { - "type": "boolean", - "example": true - }, - "members_can_fork_private_repositories": { - "type": "boolean", - "example": false, - "nullable": true - }, - "web_commit_signoff_required": { - "type": "boolean", - "example": false - }, - "advanced_security_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "dependabot_alerts_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "dependabot_security_updates_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "dependency_graph_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "secret_scanning_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "secret_scanning_push_protection_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "secret_scanning_push_protection_custom_link_enabled": { - "type": "boolean", - "example": false, - "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection." - }, - "secret_scanning_push_protection_custom_link": { - "type": "string", - "example": "https://github.com/test-org/test-repo/blob/main/README.md", - "nullable": true, - "description": "An optional URL string to display to contributors who are blocked from pushing a secret." - }, - "secret_scanning_validity_checks_enabled": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.", - "deprecated": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2008-01-14T04:33:35Z" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "archived_at": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "deploy_keys_enabled_for_repositories": { - "type": "boolean", - "example": false, - "description": "Controls whether or not deploy keys may be added and used for repositories in the organization." + "description": "The total size in bytes of all active cache items across all repositories of an enterprise or an organization." } }, "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description", - "html_url", - "has_organization_projects", - "has_repository_projects", - "public_repos", - "public_gists", - "followers", - "following", - "type", - "created_at", - "updated_at", - "archived_at" + "total_active_caches_count", + "total_active_caches_size_in_bytes" ] }, "examples": { "default": { "value": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization", - "name": "github", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "twitter_username": "github", - "is_verified": true, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "html_url": "https://github.com/octocat", - "created_at": "2008-01-14T04:33:35Z", - "type": "Organization", - "total_private_repos": 100, - "owned_private_repos": 100, - "private_gists": 81, - "disk_usage": 10000, - "collaborators": 8, - "billing_email": "mona@github.com", - "plan": { - "name": "Medium", - "space": 400, - "private_repos": 20, - "filled_seats": 4, - "seats": 5 - }, - "default_repository_permission": "read", - "default_repository_branch": "main", - "members_can_create_repositories": true, - "two_factor_requirement_enabled": true, - "members_allowed_repository_creation_type": "all", - "members_can_create_public_repositories": false, - "members_can_create_private_repositories": false, - "members_can_create_internal_repositories": false, - "members_can_create_pages": true, - "members_can_create_public_pages": true, - "members_can_create_private_pages": true, - "members_can_delete_repositories": true, - "members_can_change_repo_visibility": true, - "members_can_invite_outside_collaborators": true, - "members_can_delete_issues": false, - "display_commenter_full_name_setting_enabled": false, - "readers_can_create_discussions": true, - "members_can_create_teams": true, - "members_can_view_dependency_insights": true, - "members_can_fork_private_repositories": false, - "web_commit_signoff_required": false, - "updated_at": "2014-03-03T18:58:10Z", - "archived_at": null, - "deploy_keys_enabled_for_repositories": false, - "dependency_graph_enabled_for_new_repositories": false, - "dependabot_alerts_enabled_for_new_repositories": false, - "dependabot_security_updates_enabled_for_new_repositories": false, - "advanced_security_enabled_for_new_repositories": false, - "secret_scanning_enabled_for_new_repositories": false, - "secret_scanning_push_protection_enabled_for_new_repositories": false, - "secret_scanning_push_protection_custom_link": "https://github.com/octo-org/octo-repo/blob/main/im-blocked.md", - "secret_scanning_push_protection_custom_link_enabled": false, - "secret_scanning_validity_checks_enabled": false + "total_active_caches_size_in_bytes": 3344284, + "total_active_caches_count": 5 } } } } - } - }, - "422": { - "description": "Validation failed", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "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", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - }, - { - "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" - } - } - } - } - ] - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } + "type": "string" } } } @@ -121635,20 +121352,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "orgs" + "category": "actions", + "subcategory": "cache" } - }, - "delete": { - "summary": "Delete an organization", - "description": "Deletes an organization and all its repositories.\n\nThe organization login will be unavailable for 90 days after deletion.\n\nPlease review the Terms of Service regarding account deletion before using this endpoint:\n\nhttps://docs.github.com/enterprise-cloud@latest//site-policy/github-terms/github-terms-of-service", - "operationId": "orgs/delete", + } + }, + "/orgs/{org}/actions/cache/usage-by-repository": { + "get": { + "summary": "List repositories with GitHub Actions cache usage for an organization", + "description": "Lists repositories and their GitHub Actions cache usage for an organization.\nThe data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.\n\nOAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.", "tags": [ - "orgs" + "actions" ], + "operationId": "actions/get-actions-cache-usage-by-repo-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization" }, "parameters": [ { @@ -121659,213 +121378,40 @@ "schema": { "type": "string" } - } - ], - "responses": { - "202": { - "description": "Accepted", - "content": { - "application/json": { - "schema": { - "type": "object" - }, - "examples": { - "default": { - "value": null - } - } - } - } }, - "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" - } - } - } - } + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 } }, - "403": { - "description": "Forbidden", + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", "type": "object", + "required": [ + "total_count", + "repository_cache_usages" + ], "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "orgs" - } - } - }, - "/orgs/{org}/actions/cache/usage": { - "get": { - "summary": "Get GitHub Actions cache usage for an organization", - "description": "Gets the total GitHub Actions cache usage for an organization.\nThe data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.\n\nOAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.", - "tags": [ - "actions" - ], - "operationId": "actions/get-actions-cache-usage-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-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": "object", - "properties": { - "total_active_caches_count": { - "type": "integer", - "description": "The count of active caches across all repositories of an enterprise or an organization." - }, - "total_active_caches_size_in_bytes": { - "type": "integer", - "description": "The total size in bytes of all active cache items across all repositories of an enterprise or an organization." - } - }, - "required": [ - "total_active_caches_count", - "total_active_caches_size_in_bytes" - ] - }, - "examples": { - "default": { - "value": { - "total_active_caches_size_in_bytes": 3344284, - "total_active_caches_count": 5 - } - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "cache" - } - } - }, - "/orgs/{org}/actions/cache/usage-by-repository": { - "get": { - "summary": "List repositories with GitHub Actions cache usage for an organization", - "description": "Lists repositories and their GitHub Actions cache usage for an organization.\nThe data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.\n\nOAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.", - "tags": [ - "actions" - ], - "operationId": "actions/get-actions-cache-usage-by-repo-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "page", - "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "total_count", - "repository_cache_usages" - ], - "properties": { - "total_count": { - "type": "integer" + "total_count": { + "type": "integer" }, "repository_cache_usages": { "type": "array", @@ -166258,519 +165804,1245 @@ "example": "https://api.github.com/repos/octocat/Hello-World/tags", "description": "The API URL to get information about tags on the repository." }, - "teams_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/teams", - "description": "The API URL to list the teams on the repository." - }, - "trees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." - }, - "hooks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/hooks", - "description": "The API URL to list the hooks on the repository." - } - }, - "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" - ] - } - }, - "required": [ - "number", - "state", - "dependency", - "security_advisory", - "security_vulnerability", - "url", - "html_url", - "created_at", - "updated_at", - "dismissed_at", - "dismissed_by", - "dismissed_reason", - "dismissed_comment", - "fixed_at", - "repository" - ], - "additionalProperties": false - } - }, - "examples": { - "default": { - "value": [ - { - "number": 2, - "state": "dismissed", - "dependency": { - "package": { - "ecosystem": "pip", - "name": "django" - }, - "manifest_path": "path/to/requirements.txt", - "scope": "runtime" - }, - "security_advisory": { - "ghsa_id": "GHSA-rf4j-j272-fj86", - "cve_id": "CVE-2018-6188", - "summary": "Django allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive", - "description": "django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive.", - "vulnerabilities": [ - { - "package": { - "ecosystem": "pip", - "name": "django" - }, - "severity": "high", - "vulnerable_version_range": ">= 2.0.0, < 2.0.2", - "first_patched_version": { - "identifier": "2.0.2" - } - }, - { - "package": { - "ecosystem": "pip", - "name": "django" - }, - "severity": "high", - "vulnerable_version_range": ">= 1.11.8, < 1.11.10", - "first_patched_version": { - "identifier": "1.11.10" - } - } - ], - "severity": "high", - "cvss": { - "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", - "score": 7.5 - }, - "cvss_severities": { - "cvss_v3": { - "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", - "score": 7.5 - }, - "cvss_v4": { - "vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N", - "score": 8.7 - } - }, - "epss": { - "percentage": 0.00045, - "percentile": "0.16001e0" - }, - "cwes": [ - { - "cwe_id": "CWE-200", - "name": "Exposure of Sensitive Information to an Unauthorized Actor" - } - ], - "identifiers": [ - { - "type": "GHSA", - "value": "GHSA-rf4j-j272-fj86" - }, - { - "type": "CVE", - "value": "CVE-2018-6188" - } - ], - "references": [ - { - "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6188" - }, - { - "url": "https://github.com/advisories/GHSA-rf4j-j272-fj86" - }, - { - "url": "https://usn.ubuntu.com/3559-1/" - }, - { - "url": "https://www.djangoproject.com/weblog/2018/feb/01/security-releases/" - }, - { - "url": "http://www.securitytracker.com/id/1040422" - } - ], - "published_at": "2018-10-03T21:13:54Z", - "updated_at": "2022-04-26T18:35:37Z", - "withdrawn_at": null - }, - "security_vulnerability": { - "package": { - "ecosystem": "pip", - "name": "django" - }, - "severity": "high", - "vulnerable_version_range": ">= 2.0.0, < 2.0.2", - "first_patched_version": { - "identifier": "2.0.2" - } - }, - "url": "https://api.github.com/repos/octo-org/octo-repo/dependabot/alerts/2", - "html_url": "https://github.com/octo-org/octo-repo/security/dependabot/2", - "created_at": "2022-06-15T07:43:03Z", - "updated_at": "2022-08-23T14:29:47Z", - "dismissed_at": "2022-08-23T14:29:47Z", - "dismissed_by": { - "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 - }, - "dismissed_reason": "tolerable_risk", - "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null, - "assignees": [ - { - "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 - } - ], - "repository": { - "id": 217723378, - "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", - "name": "octo-repo", - "full_name": "octo-org/octo-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 - }, - "private": true, - "html_url": "https://github.com/octo-org/octo-repo", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/octo-org/octo-repo", - "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}", - "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}", - "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors", - "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments", - "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads", - "events_url": "https://api.github.com/repos/octo-org/octo-repo/events", - "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks", - "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}", - "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks", - "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}", - "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}", - "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages", - "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges", - "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}", - "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers", - "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription", - "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags", - "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams", - "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}" - } - }, - { - "number": 1, - "state": "open", - "dependency": { - "package": { - "ecosystem": "pip", - "name": "ansible" - }, - "manifest_path": "path/to/requirements.txt", - "scope": "runtime" - }, - "security_advisory": { - "ghsa_id": "GHSA-8f4m-hccc-8qph", - "cve_id": "CVE-2021-20191", - "summary": "Insertion of Sensitive Information into Log File in ansible", - "description": "A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality.", - "vulnerabilities": [ - { - "package": { - "ecosystem": "pip", - "name": "ansible" - }, - "severity": "medium", - "vulnerable_version_range": ">= 2.9.0, < 2.9.18", - "first_patched_version": { - "identifier": "2.9.18" - } - }, - { - "package": { - "ecosystem": "pip", - "name": "ansible" - }, - "severity": "medium", - "vulnerable_version_range": "< 2.8.19", - "first_patched_version": { - "identifier": "2.8.19" - } - }, - { - "package": { - "ecosystem": "pip", - "name": "ansible" - }, - "severity": "medium", - "vulnerable_version_range": ">= 2.10.0, < 2.10.7", - "first_patched_version": { - "identifier": "2.10.7" - } - } - ], - "severity": "medium", - "cvss": { - "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", - "score": 5.5 - }, - "cvss_severities": { - "cvss_v3": { - "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", - "score": 5.5 - }, - "cvss_v4": { - "vector_string": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", - "score": 8.5 - } + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." + }, + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the repository." + } + }, + "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" + ] + } + }, + "required": [ + "number", + "state", + "dependency", + "security_advisory", + "security_vulnerability", + "url", + "html_url", + "created_at", + "updated_at", + "dismissed_at", + "dismissed_by", + "dismissed_reason", + "dismissed_comment", + "fixed_at", + "repository" + ], + "additionalProperties": false + } + }, + "examples": { + "default": { + "value": [ + { + "number": 2, + "state": "dismissed", + "dependency": { + "package": { + "ecosystem": "pip", + "name": "django" + }, + "manifest_path": "path/to/requirements.txt", + "scope": "runtime" + }, + "security_advisory": { + "ghsa_id": "GHSA-rf4j-j272-fj86", + "cve_id": "CVE-2018-6188", + "summary": "Django allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive", + "description": "django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive.", + "vulnerabilities": [ + { + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 2.0.0, < 2.0.2", + "first_patched_version": { + "identifier": "2.0.2" + } + }, + { + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 1.11.8, < 1.11.10", + "first_patched_version": { + "identifier": "1.11.10" + } + } + ], + "severity": "high", + "cvss": { + "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", + "score": 7.5 + }, + "cvss_severities": { + "cvss_v3": { + "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", + "score": 7.5 + }, + "cvss_v4": { + "vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N", + "score": 8.7 + } + }, + "epss": { + "percentage": 0.00045, + "percentile": "0.16001e0" + }, + "cwes": [ + { + "cwe_id": "CWE-200", + "name": "Exposure of Sensitive Information to an Unauthorized Actor" + } + ], + "identifiers": [ + { + "type": "GHSA", + "value": "GHSA-rf4j-j272-fj86" + }, + { + "type": "CVE", + "value": "CVE-2018-6188" + } + ], + "references": [ + { + "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6188" + }, + { + "url": "https://github.com/advisories/GHSA-rf4j-j272-fj86" + }, + { + "url": "https://usn.ubuntu.com/3559-1/" + }, + { + "url": "https://www.djangoproject.com/weblog/2018/feb/01/security-releases/" + }, + { + "url": "http://www.securitytracker.com/id/1040422" + } + ], + "published_at": "2018-10-03T21:13:54Z", + "updated_at": "2022-04-26T18:35:37Z", + "withdrawn_at": null + }, + "security_vulnerability": { + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 2.0.0, < 2.0.2", + "first_patched_version": { + "identifier": "2.0.2" + } + }, + "url": "https://api.github.com/repos/octo-org/octo-repo/dependabot/alerts/2", + "html_url": "https://github.com/octo-org/octo-repo/security/dependabot/2", + "created_at": "2022-06-15T07:43:03Z", + "updated_at": "2022-08-23T14:29:47Z", + "dismissed_at": "2022-08-23T14:29:47Z", + "dismissed_by": { + "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 + }, + "dismissed_reason": "tolerable_risk", + "dismissed_comment": "This alert is accurate but we use a sanitizer.", + "fixed_at": null, + "assignees": [ + { + "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 + } + ], + "repository": { + "id": 217723378, + "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", + "name": "octo-repo", + "full_name": "octo-org/octo-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 + }, + "private": true, + "html_url": "https://github.com/octo-org/octo-repo", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/octo-org/octo-repo", + "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors", + "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments", + "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads", + "events_url": "https://api.github.com/repos/octo-org/octo-repo/events", + "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks", + "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}", + "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks", + "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages", + "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges", + "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription", + "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags", + "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams", + "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}" + } + }, + { + "number": 1, + "state": "open", + "dependency": { + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "manifest_path": "path/to/requirements.txt", + "scope": "runtime" + }, + "security_advisory": { + "ghsa_id": "GHSA-8f4m-hccc-8qph", + "cve_id": "CVE-2021-20191", + "summary": "Insertion of Sensitive Information into Log File in ansible", + "description": "A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality.", + "vulnerabilities": [ + { + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": ">= 2.9.0, < 2.9.18", + "first_patched_version": { + "identifier": "2.9.18" + } + }, + { + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": "< 2.8.19", + "first_patched_version": { + "identifier": "2.8.19" + } + }, + { + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": ">= 2.10.0, < 2.10.7", + "first_patched_version": { + "identifier": "2.10.7" + } + } + ], + "severity": "medium", + "cvss": { + "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", + "score": 5.5 + }, + "cvss_severities": { + "cvss_v3": { + "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", + "score": 5.5 + }, + "cvss_v4": { + "vector_string": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", + "score": 8.5 + } + }, + "cwes": [ + { + "cwe_id": "CWE-532", + "name": "Insertion of Sensitive Information into Log File" + } + ], + "identifiers": [ + { + "type": "GHSA", + "value": "GHSA-8f4m-hccc-8qph" + }, + { + "type": "CVE", + "value": "CVE-2021-20191" + } + ], + "references": [ + { + "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20191" + }, + { + "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://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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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/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", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "example": "internal", + "nullable": true + }, + "accessible_repositories": { + "type": "array", + "items": { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1296269, + "description": "A unique identifier of the repository." + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "description": "The GraphQL identifier of the repository." + }, + "name": { + "type": "string", + "example": "Hello-World", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World", + "description": "The full, globally unique, name of the repository." + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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", + "example": "https://github.com/octocat/Hello-World", + "description": "The URL to view the repository on GitHub.com." + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true, + "description": "The repository description." + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World", + "description": "The URL to get more information about the repository from the GitHub API." + }, + "archive_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "description": "A template for the API URL to download the repository as an archive." + }, + "assignees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "description": "A template for the API URL to list the available assignees for issues in the repository." + }, + "blobs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." + }, + "branches_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "description": "A template for the API URL to get information about branches in the repository." + }, + "collaborators_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "description": "A template for the API URL to get information about collaborators of the repository." + }, + "comments_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "description": "A template for the API URL to get information about comments on the repository." + }, + "commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "description": "A template for the API URL to get information about commits on the repository." + }, + "compare_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "description": "A template for the API URL to compare two commits or refs." + }, + "contents_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "description": "A template for the API URL to get the contents of the repository." + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/contributors", + "description": "A template for the API URL to list the contributors to the repository." + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "The API URL to list the deployments of the repository." + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/downloads", + "description": "The API URL to list the downloads on the repository." + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/events", + "description": "The API URL to list the events of the repository." + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/forks", + "description": "The API URL to list the forks of the repository." + }, + "git_commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "description": "A template for the API URL to get information about Git commits of the repository." + }, + "git_refs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "description": "A template for the API URL to get information about Git refs of the repository." + }, + "git_tags_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "description": "A template for the API URL to get information about Git tags of the repository." + }, + "issue_comment_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "description": "A template for the API URL to get information about issue comments on the repository." + }, + "issue_events_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "description": "A template for the API URL to get information about issue events on the repository." + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "description": "A template for the API URL to get information about issues on the repository." + }, + "keys_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "description": "A template for the API URL to get information about deploy keys on the repository." + }, + "labels_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "description": "A template for the API URL to get information about labels of the repository." + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/languages", + "description": "The API URL to get information about the languages of the repository." + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/merges", + "description": "The API URL to merge branches in the repository." + }, + "milestones_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "description": "A template for the API URL to get information about milestones of the repository." + }, + "notifications_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "description": "A template for the API URL to get information about notifications on the repository." + }, + "pulls_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "description": "A template for the API URL to get information about pull requests on the repository." + }, + "releases_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "description": "A template for the API URL to get information about releases on the repository." + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "description": "The API URL to list the stargazers on the repository." + }, + "statuses_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "description": "A template for the API URL to get information about statuses of a commit." + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "description": "The API URL to list the subscribers on the repository." + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscription", + "description": "The API URL to subscribe to notifications for this repository." + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/tags", + "description": "The API URL to get information about tags on the repository." + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." }, - "cwes": [ - { - "cwe_id": "CWE-532", - "name": "Insertion of Sensitive Information into Log File" - } - ], - "identifiers": [ - { - "type": "GHSA", - "value": "GHSA-8f4m-hccc-8qph" - }, - { - "type": "CVE", - "value": "CVE-2021-20191" - } - ], - "references": [ - { - "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20191" - }, - { - "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" + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." }, - "severity": "medium", - "vulnerable_version_range": "< 2.8.19", - "first_patched_version": { - "identifier": "2.8.19" + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the repository." } }, - "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", + "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" + ], + "nullable": true + } + } + }, + "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": { @@ -166792,42 +167064,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", - "nullable": true + "type": "string" }, "documentation_url": { - "type": "string", - "nullable": true + "type": "string" }, - "detail": { - "type": "string", - "nullable": true + "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" }, - "scimType": { - "type": "string", - "nullable": true + "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", @@ -166880,19 +167235,109 @@ } } } + } + }, + "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" + ], + "example": "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" @@ -166900,11 +167345,11 @@ "documentation_url": { "type": "string" }, - "errors": { - "type": "array", - "items": { - "type": "string" - } + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -166916,7 +167361,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "dependabot", - "subcategory": "alerts" + "subcategory": "repository-access" } } }, diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index dd848debd9..39f68d681f 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -687,7 +687,7 @@ paths: required: - vector_string - score - cvss_severities: &132 + cvss_severities: &133 type: object nullable: true properties: @@ -727,7 +727,7 @@ paths: required: - vector_string - score - epss: &133 + epss: &134 type: object nullable: true readOnly: true @@ -998,7 +998,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &266 + schema: &264 title: Validation Error Simple description: Validation Error Simple type: object @@ -1171,7 +1171,7 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: &141 + properties: &142 description: description: A short description of the enterprise. type: string @@ -1213,7 +1213,7 @@ paths: avatar_url: type: string format: uri - required: &142 + required: &143 - id - node_id - name @@ -1755,7 +1755,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &265 + schema: &263 title: Validation Error description: Validation Error type: object @@ -7701,7 +7701,7 @@ paths: description: Response content: application/json: - schema: &267 + schema: &265 type: object properties: total_active_caches_count: @@ -7716,7 +7716,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &268 + default: &266 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7909,7 +7909,7 @@ paths: - public_ip_enabled - platform examples: - default: &269 + default: &267 value: total_count: 2 runners: @@ -8204,7 +8204,7 @@ paths: application/json: schema: *49 examples: - default: &270 + default: &268 value: id: 1 platform: linux-x64 @@ -8344,7 +8344,7 @@ paths: application/json: schema: *52 examples: - default: &271 + default: &269 value: version: 1.0.0 size_gb: 75 @@ -8508,7 +8508,7 @@ paths: description: Response content: application/json: - schema: &272 + schema: &270 type: object properties: public_ips: @@ -8533,7 +8533,7 @@ paths: required: - public_ips examples: - default: &273 + default: &271 value: public_ips: current_usage: 17 @@ -8573,7 +8573,7 @@ paths: type: array items: *56 examples: - default: &274 + default: &272 value: id: 4-core cpu_cores: 4 @@ -8874,7 +8874,7 @@ paths: required: true content: application/json: - schema: &275 + schema: &273 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -8985,7 +8985,7 @@ paths: - all - local_only - selected - selected_actions_url: &277 + selected_actions_url: &275 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -9065,7 +9065,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &279 + schema: &277 type: object properties: days: @@ -9111,7 +9111,7 @@ paths: required: true content: application/json: - schema: &280 + schema: &278 type: object properties: days: @@ -9160,7 +9160,7 @@ paths: required: - approval_policy examples: - default: &281 + default: &279 value: approval_policy: first_time_contributors '404': *6 @@ -9218,7 +9218,7 @@ paths: description: Response content: application/json: - schema: &282 + schema: &280 type: object required: - run_workflows_from_fork_pull_requests @@ -9272,7 +9272,7 @@ paths: required: true content: application/json: - schema: &283 + schema: &281 type: object required: - run_workflows_from_fork_pull_requests @@ -9695,7 +9695,7 @@ paths: description: Success response content: application/json: - schema: &286 + schema: &284 type: object properties: default_workflow_permissions: &69 @@ -9743,7 +9743,7 @@ paths: required: true content: application/json: - schema: &287 + schema: &285 type: object properties: default_workflow_permissions: *69 @@ -10579,7 +10579,7 @@ paths: application/json: schema: type: array - items: &291 + items: &289 title: Runner Application description: Runner Application type: object @@ -10604,7 +10604,7 @@ paths: - download_url - filename examples: - default: &292 + default: &290 value: - os: osx architecture: x64 @@ -10688,7 +10688,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &293 + '201': &291 description: Response content: application/json: @@ -10803,7 +10803,7 @@ paths: - token - expires_at examples: - default: &294 + default: &292 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10843,7 +10843,7 @@ paths: application/json: schema: *81 examples: - default: &295 + default: &293 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10875,7 +10875,7 @@ paths: application/json: schema: *78 examples: - default: &296 + default: &294 value: id: 23 name: MBP @@ -11091,7 +11091,7 @@ paths: - *41 - *77 responses: - '200': &297 + '200': &295 description: Response content: application/json: @@ -11147,7 +11147,7 @@ paths: parameters: - *41 - *77 - - &298 + - &296 name: name description: The name of a self-hosted runner's custom label. in: path @@ -11238,7 +11238,7 @@ paths: required: true content: application/json: - schema: &305 + schema: &303 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11879,7 +11879,7 @@ paths: required: false schema: type: string - - &308 + - &306 name: include description: |- The event types to include: @@ -11897,7 +11897,7 @@ paths: - web - git - all - - &309 + - &307 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -11905,7 +11905,7 @@ paths: required: false schema: type: string - - &310 + - &308 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -11913,7 +11913,7 @@ paths: required: false schema: type: string - - &311 + - &309 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11935,7 +11935,7 @@ paths: application/json: schema: type: array - items: &312 + items: &310 type: object properties: "@timestamp": @@ -12057,7 +12057,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &313 + default: &311 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12723,7 +12723,7 @@ paths: application/json: schema: type: array - items: &314 + items: &312 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12884,7 +12884,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &315 + default: &313 value: - id: 21 number: 42 @@ -12989,7 +12989,7 @@ paths: application/json: schema: type: array - items: &317 + items: &315 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -13114,7 +13114,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &318 + default: &316 value: - id: 21 number: 42 @@ -13199,7 +13199,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &323 + - &321 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -13209,7 +13209,7 @@ paths: schema: &113 type: string description: The name of the tool used to generate the code scanning analysis. - - &324 + - &322 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -13232,7 +13232,7 @@ paths: be returned. in: query required: false - schema: &325 + schema: &323 type: string description: State of a code scanning alert. enum: @@ -13265,31 +13265,31 @@ paths: application/json: schema: type: array - items: &326 + items: &324 type: object properties: - number: &130 + number: &131 type: integer description: The security alert number. readOnly: true - created_at: &137 + created_at: &138 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: &138 + updated_at: &139 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: &135 + url: &136 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &136 + html_url: &137 type: string description: The GitHub URL of the alert resource. format: uri @@ -13308,7 +13308,7 @@ paths: - open - dismissed - fixed - fixed_at: &140 + fixed_at: &141 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -13322,7 +13322,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: &139 + dismissed_at: &140 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -13481,7 +13481,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &261 + properties: &349 id: type: integer format: int64 @@ -13708,7 +13708,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &262 + required: &350 - archive_url - assignees_url - blobs_url @@ -13780,7 +13780,7 @@ paths: - most_recent_instance - repository examples: - default: &327 + default: &325 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -14663,7 +14663,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &327 type: array description: A list of default code security configurations items: @@ -14679,7 +14679,7 @@ paths: default configuration: *116 examples: - default: &330 + default: &328 value: - default_for_new_repos: public configuration: @@ -15010,7 +15010,7 @@ paths: - *41 - *118 responses: - '204': &157 + '204': &130 description: A header with no content is returned. '400': *14 '403': *29 @@ -15137,7 +15137,7 @@ paths: default: value: default_for_new_repos: all - configuration: &328 + configuration: &326 value: id: 1325 target_type: organization @@ -15227,7 +15227,7 @@ paths: application/json: schema: type: array - items: &331 + items: &329 type: object description: Repositories associated with a code security configuration and attachment status @@ -15251,7 +15251,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &332 + repository: &330 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -15716,7 +15716,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &148 + items: &149 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -15740,7 +15740,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &319 + - &317 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15913,7 +15913,7 @@ paths: - slug - parent - type - - &147 + - &148 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -16023,7 +16023,7 @@ paths: - created_at additionalProperties: false examples: - default: &149 + default: &150 value: total_seats: 2 seats: @@ -16560,7 +16560,7 @@ paths: '401': *25 '403': *29 '404': *6 - '413': &335 + '413': &333 description: Payload Too Large content: application/json: @@ -17608,6 +17608,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: + - *41 + 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': *130 + '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: + - *41 + 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': *130 + '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: + - *41 + 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': *130 + '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 @@ -17627,7 +17832,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &340 + - &338 name: classification in: query description: |- @@ -17636,7 +17841,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &341 + - &339 name: state in: query description: |- @@ -17645,7 +17850,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &342 + - &340 name: severity in: query description: |- @@ -17654,7 +17859,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &343 + - &341 name: ecosystem in: query description: |- @@ -17663,14 +17868,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &344 + - &342 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &345 + - &343 name: epss_percentage in: query description: |- @@ -17696,7 +17901,7 @@ paths: type: string enum: - patch - - &346 + - &344 name: assignee in: query description: |- @@ -17705,7 +17910,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &347 + - &345 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -17715,7 +17920,7 @@ paths: enum: - development - runtime - - &348 + - &346 name: sort in: query description: |- @@ -17741,11 +17946,11 @@ paths: application/json: schema: type: array - items: &349 + items: &347 type: object description: A Dependabot alert. properties: - number: *130 + number: *131 state: type: string description: The state of the Dependabot alert. @@ -17760,7 +17965,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &131 + package: &132 type: object description: Details for the vulnerable package. readOnly: true @@ -17835,13 +18040,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &134 + items: &135 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *131 + package: *132 severity: type: string description: The severity of the vulnerability. @@ -17914,8 +18119,8 @@ paths: - score - vector_string additionalProperties: false - cvss_severities: *132 - epss: *133 + cvss_severities: *133 + epss: *134 cwes: type: array description: Details for the advisory pertaining to Common @@ -18014,12 +18219,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *134 - url: *135 - html_url: *136 - created_at: *137 - updated_at: *138 - dismissed_at: *139 + security_vulnerability: *135 + url: *136 + html_url: *137 + created_at: *138 + updated_at: *139 + dismissed_at: *140 dismissed_by: title: Simple User description: A GitHub user. @@ -18043,7 +18248,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *140 + fixed_at: *141 auto_dismissed_at: &616 type: string description: 'The time that the alert was auto-dismissed in @@ -18113,7 +18318,7 @@ paths: - repository additionalProperties: false examples: - default: &350 + default: &348 value: - number: 2 state: dismissed @@ -18734,7 +18939,7 @@ paths: roles: type: array description: The list of enterprise roles available to the enterprise. - items: &146 + items: &147 title: Enterprise Role description: Enterprise custom roles type: object @@ -18768,8 +18973,8 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: *141 - required: *142 + properties: *142 + required: *143 nullable: true created_at: description: The date and time the role was created. @@ -18862,7 +19067,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team parameters: - *41 - - &143 + - &144 name: team_slug description: The slug of the enterprise team name. in: path @@ -18905,8 +19110,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team parameters: - *41 - - *143 - - &144 + - *144 + - &145 name: role_id description: The unique identifier of the role. in: path @@ -18948,8 +19153,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team parameters: - *41 - - *143 - *144 + - *145 responses: '204': description: Response @@ -18983,7 +19188,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-user parameters: - *41 - - &145 + - &146 name: username description: The handle for the GitHub user account. in: path @@ -19023,8 +19228,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-an-enterprise-user parameters: - *41 + - *146 - *145 - - *144 responses: '204': description: Response @@ -19057,8 +19262,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-enterprise-user-role-assignment parameters: - *41 + - *146 - *145 - - *144 responses: '204': description: Response @@ -19092,13 +19297,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#get-an-enterprise-role parameters: - *41 - - *144 + - *145 responses: '200': description: Response content: application/json: - schema: *146 + schema: *147 examples: default: value: @@ -19152,7 +19357,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: - *41 - - *144 + - *145 - *17 - *19 responses: @@ -19162,7 +19367,7 @@ paths: application/json: schema: type: array - items: *147 + items: *148 examples: default: &214 value: @@ -19203,7 +19408,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: - *41 - - *144 + - *145 - *17 - *19 responses: @@ -19235,7 +19440,7 @@ paths: description: Enterprise Team the user has gotten the role through type: array - items: *147 + items: *148 examples: default: value: @@ -19468,7 +19673,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: - *41 - - *145 + - *146 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -19484,9 +19689,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *148 + items: *149 examples: - default: *149 + default: *150 '500': *40 '401': *25 '403': *29 @@ -19529,7 +19734,7 @@ paths: type: integer network_configurations: type: array - items: &150 + items: &151 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -19673,9 +19878,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: &151 + default: &152 value: id: 123456789ABCDEF name: My network configuration @@ -19702,7 +19907,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: - *41 - - &152 + - &153 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -19714,9 +19919,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: *151 + default: *152 headers: Link: *47 x-github: @@ -19736,7 +19941,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: - *41 - - *152 + - *153 requestBody: required: true content: @@ -19789,9 +19994,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: *151 + default: *152 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -19809,7 +20014,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: - *41 - - *152 + - *153 responses: '204': description: Response @@ -19917,7 +20122,7 @@ paths: application/json: schema: type: array - items: &153 + items: &154 title: Custom Property for Organization description: Custom property defined for an organization allOf: @@ -19985,7 +20190,7 @@ paths: - property_name - value_type examples: - default: &154 + default: &155 value: - property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -20045,7 +20250,7 @@ paths: type: array description: The array of organization custom properties to create or update. - items: *153 + items: *154 minItems: 1 maxItems: 100 required: @@ -20078,9 +20283,9 @@ paths: application/json: schema: type: array - items: *153 + items: *154 examples: - default: *154 + default: *155 '403': *29 '404': *6 '422': *7 @@ -20107,7 +20312,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: - *41 - - &155 + - &156 name: custom_property_name description: The custom property name in: path @@ -20119,9 +20324,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: - default: &156 + default: &157 value: property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -20158,7 +20363,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: - *41 - - *155 + - *156 requestBody: required: true content: @@ -20227,9 +20432,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: - default: *156 + default: *157 '403': *29 '404': *6 '422': *7 @@ -20255,9 +20460,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: - *41 - - *155 + - *156 responses: - '204': *157 + '204': *130 '403': *29 '404': *6 '422': *7 @@ -20621,7 +20826,7 @@ paths: parameters: - *41 - *89 - - *155 + - *156 responses: '200': description: Response @@ -20662,7 +20867,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *41 - - *155 + - *156 responses: '200': description: Response @@ -20692,7 +20897,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: - *41 - - *155 + - *156 requestBody: required: true content: @@ -20787,9 +20992,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *41 - - *155 + - *156 responses: - '204': *157 + '204': *130 '403': *29 '404': *6 x-github: @@ -22525,8 +22730,8 @@ paths: items: &457 type: object properties: - number: *130 - created_at: *137 + number: *131 + created_at: *138 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -22534,8 +22739,8 @@ paths: format: date-time readOnly: true nullable: true - url: *135 - html_url: *136 + url: *136 + html_url: *137 locations_url: type: string format: uri @@ -25667,7 +25872,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team parameters: - *41 - - *143 + - *144 - 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`). @@ -25732,7 +25937,7 @@ paths: application/json: schema: type: array - items: *147 + items: *148 examples: default: *214 headers: @@ -25809,7 +26014,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: default: &219 value: @@ -25997,7 +26202,7 @@ paths: parameters: - *41 - *215 - - *145 + - *146 responses: '200': description: User is a member of the enterprise team. @@ -26042,7 +26247,7 @@ paths: parameters: - *41 - *215 - - *145 + - *146 responses: '201': description: Successfully added team member @@ -26069,7 +26274,7 @@ paths: parameters: - *41 - *215 - - *145 + - *146 responses: '204': description: Response @@ -26327,7 +26532,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: default: *219 headers: @@ -26404,7 +26609,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: default: *219 headers: @@ -32354,7 +32559,7 @@ paths: properties: id: type: string - repository: &290 + repository: &288 title: Minimal Repository description: Minimal Repository type: object @@ -33457,7 +33662,7 @@ paths: type: integer custom_roles: type: array - items: &336 + items: &334 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -33505,7 +33710,7 @@ paths: - created_at - updated_at examples: - default: &337 + default: &335 value: id: 8030 name: Security Engineer @@ -33683,271 +33888,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: - - *89 - - 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 - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - example: internal - nullable: true - accessible_repositories: - type: array - items: - title: Simple Repository - description: A GitHub repository. - type: object - properties: *261 - required: *262 - nullable: true - 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': *29 - '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: - - *89 - 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': *29 - '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: - - *89 - 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 - example: internal - required: - - default_level - examples: - '204': - summary: Example with a 'succeeded' status. - value: - default_level: public - responses: - '204': - description: Response - '403': *29 - '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 @@ -34074,7 +34014,7 @@ paths: description: Response content: application/json: - schema: &263 + schema: &261 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -34407,7 +34347,7 @@ paths: - updated_at - archived_at examples: - default-response: &264 + default-response: &262 value: login: github id: 1 @@ -34732,17 +34672,17 @@ paths: description: Response content: application/json: - schema: *263 + schema: *261 examples: - default: *264 + default: *262 '422': description: Validation failed content: application/json: schema: oneOf: - - *265 - - *266 + - *263 + - *264 '409': *121 x-github: githubCloudOnly: false @@ -34797,9 +34737,9 @@ paths: description: Response content: application/json: - schema: *267 + schema: *265 examples: - default: *268 + default: *266 headers: Link: *47 x-github: @@ -34915,7 +34855,7 @@ paths: type: array items: *48 examples: - default: *269 + default: *267 headers: Link: *47 x-github: @@ -35081,7 +35021,7 @@ paths: application/json: schema: *49 examples: - default: *270 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35173,7 +35113,7 @@ paths: application/json: schema: *52 examples: - default: *271 + default: *269 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35292,9 +35232,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *270 examples: - default: *273 + default: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35330,7 +35270,7 @@ paths: type: array items: *56 examples: - default: *274 + default: *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35559,7 +35499,7 @@ paths: required: true content: application/json: - schema: *275 + schema: *273 examples: default: *60 responses: @@ -35646,7 +35586,7 @@ paths: required: - include_claim_keys examples: - default: &276 + default: &274 value: include_claim_keys: - repo @@ -35685,13 +35625,13 @@ paths: items: type: string examples: - default: *276 + default: *274 responses: '201': description: Empty response content: application/json: - schema: &301 + schema: &299 title: Empty Object description: An object without any properties. type: object @@ -35730,7 +35670,7 @@ paths: schema: type: object properties: - enabled_repositories: &278 + enabled_repositories: &276 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -35744,7 +35684,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *62 - selected_actions_url: *277 + selected_actions_url: *275 sha_pinning_required: *63 required: - enabled_repositories @@ -35786,7 +35726,7 @@ paths: schema: type: object properties: - enabled_repositories: *278 + enabled_repositories: *276 allowed_actions: *62 sha_pinning_required: *63 required: @@ -35822,7 +35762,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *277 examples: response: summary: Example response @@ -35853,7 +35793,7 @@ paths: required: true content: application/json: - schema: *280 + schema: *278 examples: application/json: value: @@ -35891,7 +35831,7 @@ paths: application/json: schema: *64 examples: - default: *281 + default: *279 '404': *6 x-github: enabledForGitHubApps: true @@ -35948,7 +35888,7 @@ paths: description: Response content: application/json: - schema: *282 + schema: *280 examples: default: *65 '403': *29 @@ -35973,7 +35913,7 @@ paths: required: true content: application/json: - schema: *283 + schema: *281 examples: default: *65 responses: @@ -36025,7 +35965,7 @@ paths: type: array items: *80 examples: - default: &285 + default: &283 value: total_count: 1 repositories: @@ -36210,7 +36150,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *89 - - &284 + - &282 name: repository_id description: The unique identifier of the repository. in: path @@ -36239,7 +36179,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *89 - - *284 + - *282 responses: '204': description: Response @@ -36435,7 +36375,7 @@ paths: type: array items: *80 examples: - default: *285 + default: *283 '403': *29 '404': *6 x-github: @@ -36504,7 +36444,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *89 - - *284 + - *282 responses: '204': description: No content @@ -36531,7 +36471,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *89 - - *284 + - *282 responses: '204': description: No content @@ -36565,7 +36505,7 @@ paths: description: Response content: application/json: - schema: *286 + schema: *284 examples: default: *71 x-github: @@ -36599,7 +36539,7 @@ paths: required: false content: application/json: - schema: *287 + schema: *285 examples: default: *71 x-github: @@ -36646,7 +36586,7 @@ paths: type: number runner_groups: type: array - items: &288 + items: &286 type: object properties: id: @@ -36834,9 +36774,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *286 examples: - default: &289 + default: &287 value: id: 2 name: octo-runner-group @@ -36878,7 +36818,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *286 examples: default: value: @@ -36969,9 +36909,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *286 examples: - default: *289 + default: *287 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -37035,7 +36975,7 @@ paths: type: array items: *48 examples: - default: *269 + default: *267 headers: Link: *47 x-github: @@ -37076,9 +37016,9 @@ paths: type: number repositories: type: array - items: *290 + items: *288 examples: - default: &334 + default: &332 value: total_count: 1 repositories: @@ -37377,7 +37317,7 @@ paths: parameters: - *89 - *74 - - *284 + - *282 responses: '204': description: Response @@ -37401,7 +37341,7 @@ paths: parameters: - *89 - *74 - - *284 + - *282 responses: '204': description: Response @@ -37619,9 +37559,9 @@ paths: application/json: schema: type: array - items: *291 + items: *289 examples: - default: *292 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37686,7 +37626,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *293 + '201': *291 '404': *6 '422': *7 '409': *121 @@ -37725,7 +37665,7 @@ paths: application/json: schema: *81 examples: - default: *294 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37761,7 +37701,7 @@ paths: application/json: schema: *81 examples: - default: *295 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37792,7 +37732,7 @@ paths: application/json: schema: *78 examples: - default: *296 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37967,7 +37907,7 @@ paths: - *89 - *77 responses: - '200': *297 + '200': *295 '404': *6 x-github: githubCloudOnly: false @@ -37996,7 +37936,7 @@ paths: parameters: - *89 - *77 - - *298 + - *296 responses: '200': *83 '404': *6 @@ -38041,7 +37981,7 @@ paths: type: integer secrets: type: array - items: &299 + items: &297 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -38175,7 +38115,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *89 - - &300 + - &298 name: secret_name description: The name of the secret. in: path @@ -38187,7 +38127,7 @@ paths: description: Response content: application/json: - schema: *299 + schema: *297 examples: default: value: @@ -38218,7 +38158,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *89 - - *300 + - *298 requestBody: required: true content: @@ -38275,7 +38215,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -38302,7 +38242,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *89 - - *300 + - *298 responses: '204': description: Response @@ -38329,7 +38269,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *300 + - *298 - *19 - *17 responses: @@ -38347,9 +38287,9 @@ paths: type: integer repositories: type: array - items: *290 + items: *288 examples: - default: &304 + default: &302 value: total_count: 1 repositories: @@ -38442,7 +38382,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *300 + - *298 requestBody: required: true content: @@ -38495,7 +38435,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *300 + - *298 - name: repository_id in: path required: true @@ -38529,7 +38469,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *300 + - *298 - name: repository_id in: path required: true @@ -38586,7 +38526,7 @@ paths: type: integer variables: type: array - items: &302 + items: &300 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -38719,7 +38659,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -38745,7 +38685,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *89 - - &303 + - &301 name: name description: The name of the variable. in: path @@ -38757,7 +38697,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *300 examples: default: value: @@ -38788,7 +38728,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *89 - - *303 + - *301 requestBody: required: true content: @@ -38851,7 +38791,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *89 - - *303 + - *301 responses: '204': description: Response @@ -38878,7 +38818,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *89 - - *303 + - *301 - *19 - *17 responses: @@ -38896,9 +38836,9 @@ paths: type: integer repositories: type: array - items: *290 + items: *288 examples: - default: *304 + default: *302 '409': description: Response when the visibility of the variable is not set to `selected` @@ -38925,7 +38865,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *89 - - *303 + - *301 requestBody: required: true content: @@ -38975,7 +38915,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *89 - - *303 + - *301 - name: repository_id in: path required: true @@ -39010,7 +38950,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *89 - - *303 + - *301 - name: repository_id in: path required: true @@ -39068,7 +39008,7 @@ paths: required: true content: application/json: - schema: *305 + schema: *303 examples: default: *87 parameters: @@ -39252,7 +39192,7 @@ paths: type: integer deployment_records: type: array - items: &306 + items: &304 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -39298,7 +39238,7 @@ paths: required: - total_count examples: - default: &307 + default: &305 value: total_count: 1 deployment_records: @@ -39478,11 +39418,11 @@ paths: type: integer deployment_records: type: array - items: *306 + items: *304 required: - total_count examples: - default: *307 + default: *305 '403': description: Forbidden content: @@ -39717,9 +39657,9 @@ paths: type: integer deployment_records: type: array - items: *306 + items: *304 examples: - default: *307 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40387,10 +40327,10 @@ paths: required: false schema: type: string + - *306 + - *307 - *308 - *309 - - *310 - - *311 - *17 responses: '200': @@ -40399,9 +40339,9 @@ paths: application/json: schema: type: array - items: *312 + items: *310 examples: - default: *313 + default: *311 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -40450,7 +40390,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *89 - - *145 + - *146 responses: '204': description: If the user is blocked @@ -40476,7 +40416,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - *89 - - *145 + - *146 responses: '204': description: Response @@ -40497,7 +40437,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *89 - - *145 + - *146 responses: '204': description: Response @@ -40524,7 +40464,7 @@ paths: subcategory: bypass-requests parameters: - *89 - - &316 + - &314 name: repository_name description: The name of the repository to filter on. in: query @@ -40543,9 +40483,9 @@ paths: application/json: schema: type: array - items: *314 + items: *312 examples: - default: *315 + default: *313 '404': *6 '500': *40 "/orgs/{org}/bypass-requests/secret-scanning": @@ -40569,7 +40509,7 @@ paths: subcategory: delegated-bypass parameters: - *89 - - *316 + - *314 - *105 - *106 - *107 @@ -40583,9 +40523,9 @@ paths: application/json: schema: type: array - items: *317 + items: *315 examples: - default: *318 + default: *316 '404': *6 '500': *40 "/orgs/{org}/campaigns": @@ -40612,7 +40552,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &320 + schema: &318 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -40638,7 +40578,7 @@ paths: application/json: schema: type: array - items: &321 + items: &319 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -40669,7 +40609,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *319 + items: *317 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -40687,7 +40627,7 @@ paths: type: string format: date-time nullable: true - state: *320 + state: *318 contact_link: description: The contact link of the campaign. type: string @@ -40907,9 +40847,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *319 examples: - default: &322 + default: &320 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -40992,9 +40932,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *319 examples: - default: *322 + default: *320 '404': *6 '422': description: Unprocessable Entity @@ -41071,7 +41011,7 @@ paths: type: string format: uri nullable: true - state: *320 + state: *318 examples: default: value: @@ -41081,9 +41021,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *319 examples: - default: *322 + default: *320 '400': description: Bad Request content: @@ -41150,8 +41090,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *89 - - *323 - - *324 + - *321 + - *322 - *110 - *111 - *19 @@ -41162,7 +41102,7 @@ paths: be returned. in: query required: false - schema: *325 + schema: *323 - name: sort description: The property by which to sort the results. in: query @@ -41204,9 +41144,9 @@ paths: application/json: schema: type: array - items: *326 + items: *324 examples: - default: *327 + default: *325 headers: Link: *47 '404': *6 @@ -41582,7 +41522,7 @@ paths: application/json: schema: *116 examples: - default: *328 + default: *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41610,9 +41550,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *327 examples: - default: *330 + default: *328 '304': *37 '403': *29 '404': *6 @@ -41664,7 +41604,7 @@ paths: - 32 - 91 responses: - '204': *157 + '204': *130 '400': *14 '403': *29 '404': *6 @@ -41699,7 +41639,7 @@ paths: application/json: schema: *116 examples: - default: *328 + default: *326 '304': *37 '403': *29 '404': *6 @@ -42006,7 +41946,7 @@ paths: - *89 - *118 responses: - '204': *157 + '204': *130 '400': *14 '403': *29 '404': *6 @@ -42144,7 +42084,7 @@ paths: default: value: default_for_new_repos: all - configuration: *328 + configuration: *326 '403': *29 '404': *6 x-github: @@ -42197,13 +42137,13 @@ paths: application/json: schema: type: array - items: *331 + items: *329 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *332 + repository: *330 '403': *29 '404': *6 x-github: @@ -42268,7 +42208,7 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *290 + repository: *288 machine: type: object title: Codespace machine @@ -43144,7 +43084,7 @@ paths: type: integer secrets: type: array - items: &333 + items: &331 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -43274,13 +43214,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *89 - - *300 + - *298 responses: '200': description: Response content: application/json: - schema: *333 + schema: *331 examples: default: &589 value: @@ -43310,7 +43250,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *89 - - *300 + - *298 requestBody: required: true content: @@ -43365,7 +43305,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -43392,7 +43332,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *89 - - *300 + - *298 responses: '204': description: Response @@ -43418,7 +43358,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *300 + - *298 - *19 - *17 responses: @@ -43436,9 +43376,9 @@ paths: type: integer repositories: type: array - items: *290 + items: *288 examples: - default: *304 + default: *302 '404': *6 x-github: githubCloudOnly: false @@ -43461,7 +43401,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *300 + - *298 requestBody: required: true content: @@ -43512,7 +43452,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *300 + - *298 - name: repository_id in: path required: true @@ -43546,7 +43486,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *300 + - *298 - name: repository_id in: path required: true @@ -43749,9 +43689,9 @@ paths: currently being billed. seats: type: array - items: *148 + items: *149 examples: - default: *149 + default: *150 headers: Link: *47 '500': *40 @@ -44235,12 +44175,12 @@ paths: type: integer repositories: type: array - items: *290 + items: *288 required: - total_count - repositories examples: - default: *334 + default: *332 '500': *40 '401': *25 '403': *29 @@ -44326,7 +44266,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization parameters: - *89 - - *284 + - *282 responses: '204': description: No Content @@ -44360,7 +44300,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization parameters: - *89 - - *284 + - *282 responses: '204': description: No Content @@ -44508,7 +44448,7 @@ paths: '401': *25 '403': *29 '404': *6 - '413': *335 + '413': *333 '422': *7 x-github: githubCloudOnly: @@ -44613,7 +44553,7 @@ paths: schema: *126 examples: default: *127 - '204': *157 + '204': *130 '500': *40 '403': *29 '404': *6 @@ -44689,7 +44629,7 @@ paths: schema: *126 examples: default: *127 - '204': *157 + '204': *130 '500': *40 '403': *29 '404': *6 @@ -44941,7 +44881,7 @@ paths: type: integer custom_roles: type: array - items: *336 + items: *334 examples: default: value: @@ -45033,7 +44973,7 @@ paths: required: true content: application/json: - schema: &338 + schema: &336 type: object properties: name: @@ -45074,9 +45014,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *334 examples: - default: *337 + default: *335 '422': *15 '404': *6 x-github: @@ -45101,15 +45041,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *89 - - *144 + - *145 responses: '200': description: Response content: application/json: - schema: *336 + schema: *334 examples: - default: *337 + default: *335 '404': *6 x-github: githubCloudOnly: true @@ -45132,12 +45072,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *89 - - *144 + - *145 requestBody: required: true content: application/json: - schema: &339 + schema: &337 type: object properties: name: @@ -45175,9 +45115,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *334 examples: - default: *337 + default: *335 '422': *15 '404': *6 x-github: @@ -45202,7 +45142,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *89 - - *144 + - *145 responses: '204': description: Response @@ -45235,7 +45175,7 @@ paths: required: true content: application/json: - schema: *338 + schema: *336 examples: default: value: @@ -45249,9 +45189,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *334 examples: - default: *337 + default: *335 '422': *15 '404': *6 x-github: @@ -45282,15 +45222,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *89 - - *144 + - *145 responses: '200': description: Response content: application/json: - schema: *336 + schema: *334 examples: - default: *337 + default: *335 '404': *6 x-github: githubCloudOnly: true @@ -45319,12 +45259,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *89 - - *144 + - *145 requestBody: required: true content: application/json: - schema: *339 + schema: *337 examples: default: value: @@ -45339,9 +45279,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *334 examples: - default: *337 + default: *335 '422': *15 '404': *6 x-github: @@ -45372,7 +45312,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *89 - - *144 + - *145 responses: '204': description: Response @@ -45401,12 +45341,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *89 + - *338 + - *339 - *340 - *341 - *342 - *343 - - *344 - - *345 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -45436,7 +45376,7 @@ paths: enum: - patch - deployment - - *346 + - *344 - name: runtime_risk in: query description: |- @@ -45445,8 +45385,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *347 - - *348 + - *345 + - *346 - *112 - *110 - *111 @@ -45458,9 +45398,9 @@ paths: application/json: schema: type: array - items: *349 + items: *347 examples: - default: *350 + default: *348 '304': *37 '400': *14 '403': *29 @@ -45471,6 +45411,271 @@ 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: + - *89 + - 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 + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + example: internal + nullable: true + accessible_repositories: + type: array + items: + title: Simple Repository + description: A GitHub repository. + type: object + properties: *349 + required: *350 + nullable: true + 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': *29 + '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: + - *89 + 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': *29 + '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: + - *89 + 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 + example: internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access "/orgs/{org}/dependabot/secrets": get: summary: List organization secrets @@ -45622,7 +45827,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *89 - - *300 + - *298 responses: '200': description: Response @@ -45657,7 +45862,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *89 - - *300 + - *298 requestBody: required: true content: @@ -45714,7 +45919,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -45739,7 +45944,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *89 - - *300 + - *298 responses: '204': description: Response @@ -45764,7 +45969,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *300 + - *298 - *19 - *17 responses: @@ -45782,9 +45987,9 @@ paths: type: integer repositories: type: array - items: *290 + items: *288 examples: - default: *304 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45806,7 +46011,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *300 + - *298 requestBody: required: true content: @@ -45857,7 +46062,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *300 + - *298 - name: repository_id in: path required: true @@ -45889,7 +46094,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *300 + - *298 - name: repository_id in: path required: true @@ -45973,7 +46178,7 @@ paths: - denied - all default: all - - *316 + - *314 - *17 - *19 responses: @@ -46227,7 +46432,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *89 - - *316 + - *314 - *105 - *106 - *107 @@ -46446,7 +46651,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *89 - - *316 + - *314 - *105 - *106 - *107 @@ -48691,7 +48896,7 @@ paths: application/json: schema: type: array - items: *319 + items: *317 examples: default: &403 value: @@ -49164,7 +49369,7 @@ paths: - *89 - *387 responses: - '204': *157 + '204': *130 '404': *6 '422': *7 x-github: @@ -49567,7 +49772,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - *89 - - *145 + - *146 responses: '204': description: Response if requester is an organization member and user is @@ -49602,7 +49807,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - *89 - - *145 + - *146 responses: '204': description: Response @@ -49629,7 +49834,7 @@ paths: - *17 - *19 - *89 - - *145 + - *146 responses: '200': description: Response @@ -49673,7 +49878,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *89 - - *145 + - *146 - &395 name: codespace_name in: path @@ -49708,7 +49913,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *89 - - *145 + - *146 - *395 responses: '200': @@ -49891,13 +50096,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *89 - - *145 + - *146 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *148 + schema: *149 examples: default: value: @@ -49967,7 +50172,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - *89 - - *145 + - *146 responses: '200': description: Response @@ -50113,7 +50318,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - *89 - - *145 + - *146 requestBody: required: false content: @@ -50168,7 +50373,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - *89 - - *145 + - *146 responses: '204': description: Response @@ -51004,7 +51209,7 @@ paths: application/json: schema: type: array - items: *290 + items: *288 examples: default: &410 value: @@ -51503,7 +51708,7 @@ paths: parameters: - *89 - *220 - - *144 + - *145 responses: '204': description: Response @@ -51534,7 +51739,7 @@ paths: parameters: - *89 - *220 - - *144 + - *145 responses: '204': description: Response @@ -51560,7 +51765,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *89 - - *145 + - *146 responses: '204': description: Response @@ -51586,8 +51791,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *89 + - *146 - *145 - - *144 responses: '204': description: Response @@ -51618,8 +51823,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *89 + - *146 - *145 - - *144 responses: '204': description: Response @@ -51648,7 +51853,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *89 - - *144 + - *145 responses: '200': description: Response @@ -51712,7 +51917,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *89 - - *144 + - *145 requestBody: required: true content: @@ -51805,7 +52010,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *89 - - *144 + - *145 responses: '204': description: Response @@ -51831,7 +52036,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *89 - - *144 + - *145 - *17 - *19 responses: @@ -51972,7 +52177,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *89 - - *144 + - *145 - *17 - *19 responses: @@ -52178,7 +52383,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *89 - - *145 + - *146 requestBody: required: false content: @@ -52236,7 +52441,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *89 - - *145 + - *146 responses: '204': description: Response @@ -53102,7 +53307,7 @@ paths: '422': *15 '404': *6 '403': *29 - '204': *157 + '204': *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53143,7 +53348,7 @@ paths: application/json: schema: type: array - items: *290 + items: *288 examples: default: *410 headers: @@ -53417,7 +53622,7 @@ paths: responses: '500': *40 '404': *6 - '204': *157 + '204': *130 '403': *29 '422': *15 x-github: @@ -53458,7 +53663,7 @@ paths: application/json: schema: type: array - items: *290 + items: *288 examples: default: *410 headers: @@ -54020,7 +54225,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *89 - - *300 + - *298 responses: '200': description: The specified private registry configuration for the organization @@ -54051,7 +54256,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *89 - - *300 + - *298 requestBody: required: true content: @@ -54215,7 +54420,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *89 - - *300 + - *298 responses: '204': description: Response @@ -54737,7 +54942,7 @@ paths: items: *4 requested_teams: type: array - items: *319 + items: *317 head: type: object properties: @@ -57165,7 +57370,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *89 - - *155 + - *156 responses: '200': description: Response @@ -57197,7 +57402,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *89 - - *155 + - *156 requestBody: required: true content: @@ -57244,9 +57449,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *89 - - *155 + - *156 responses: - '204': *157 + '204': *130 '403': *29 '404': *6 x-github: @@ -57447,7 +57652,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *89 - - *145 + - *146 responses: '204': description: Response if user is a public member @@ -57472,7 +57677,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *89 - - *145 + - *146 responses: '204': description: Response @@ -57494,7 +57699,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *89 - - *145 + - *146 responses: '204': description: Response @@ -57565,7 +57770,7 @@ paths: application/json: schema: type: array - items: *290 + items: *288 examples: default: *410 headers: @@ -59058,7 +59263,7 @@ paths: schema: type: string x-multi-segment: true - - *316 + - *314 - *107 - &745 name: actor_name @@ -60047,7 +60252,7 @@ paths: required: - vector_string - score - cvss_severities: *132 + cvss_severities: *133 cwes: type: array nullable: true @@ -60114,7 +60319,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *319 + items: *317 private_fork: readOnly: true nullable: true @@ -60791,9 +60996,9 @@ paths: type: integer repositories: type: array - items: *290 + items: *288 examples: - default: *304 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60862,7 +61067,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *89 - - *284 + - *282 responses: '204': description: Response @@ -60885,7 +61090,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *89 - - *284 + - *282 responses: '204': description: Response @@ -60926,7 +61131,7 @@ paths: type: integer network_configurations: type: array - items: *150 + items: *151 examples: default: *466 headers: @@ -61005,9 +61210,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: *151 + default: *152 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61028,15 +61233,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *89 - - *152 + - *153 responses: '200': description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: *151 + default: *152 headers: Link: *47 x-github: @@ -61058,7 +61263,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *89 - - *152 + - *153 requestBody: required: true content: @@ -61111,9 +61316,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: *151 + default: *152 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61133,7 +61338,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *89 - - *152 + - *153 responses: '204': description: Response @@ -61373,7 +61578,7 @@ paths: application/json: schema: type: array - items: *319 + items: *317 examples: default: *403 headers: @@ -62213,7 +62418,7 @@ paths: parameters: - *89 - *220 - - *145 + - *146 responses: '200': description: Response @@ -62284,7 +62489,7 @@ paths: parameters: - *89 - *220 - - *145 + - *146 requestBody: required: false content: @@ -62348,7 +62553,7 @@ paths: parameters: - *89 - *220 - - *145 + - *146 responses: '204': description: Response @@ -62385,7 +62590,7 @@ paths: application/json: schema: type: array - items: *290 + items: *288 examples: default: *410 headers: @@ -63191,7 +63396,7 @@ paths: application/json: schema: type: array - items: *319 + items: *317 examples: response-if-child-teams-exist: &821 value: @@ -65429,7 +65634,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -65539,7 +65744,7 @@ paths: description: Empty response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -65736,7 +65941,7 @@ paths: type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *62 - selected_actions_url: *277 + selected_actions_url: *275 sha_pinning_required: *63 required: - enabled @@ -65901,7 +66106,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *277 examples: default: value: @@ -65936,7 +66141,7 @@ paths: required: true content: application/json: - schema: *280 + schema: *278 examples: default: summary: Set retention days @@ -65969,7 +66174,7 @@ paths: application/json: schema: *64 examples: - default: *281 + default: *279 '404': *6 x-github: enabledForGitHubApps: true @@ -66030,7 +66235,7 @@ paths: description: Response content: application/json: - schema: *282 + schema: *280 examples: default: *65 '403': *29 @@ -66058,7 +66263,7 @@ paths: required: true content: application/json: - schema: *283 + schema: *281 examples: default: *65 responses: @@ -66156,7 +66361,7 @@ paths: description: Response content: application/json: - schema: *286 + schema: *284 examples: default: *71 x-github: @@ -66191,7 +66396,7 @@ paths: required: true content: application/json: - schema: *287 + schema: *285 examples: default: *71 x-github: @@ -66274,9 +66479,9 @@ paths: application/json: schema: type: array - items: *291 + items: *289 examples: - default: *292 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66342,7 +66547,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *293 + '201': *291 '404': *6 '422': *7 '409': *121 @@ -66382,7 +66587,7 @@ paths: application/json: schema: *81 examples: - default: *294 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66419,7 +66624,7 @@ paths: application/json: schema: *81 examples: - default: *295 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66451,7 +66656,7 @@ paths: application/json: schema: *78 examples: - default: *296 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66631,7 +66836,7 @@ paths: - *479 - *77 responses: - '200': *297 + '200': *295 '404': *6 x-github: githubCloudOnly: false @@ -66661,7 +66866,7 @@ paths: - *478 - *479 - *77 - - *298 + - *296 responses: '200': *83 '404': *6 @@ -66997,8 +67202,8 @@ paths: - author - committer nullable: true - repository: *290 - head_repository: *290 + repository: *288 + head_repository: *288 head_repository_id: type: integer example: 5 @@ -67684,7 +67889,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -67975,7 +68180,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -68079,7 +68284,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -68295,7 +68500,7 @@ paths: reviewer: anyOf: - *4 - - *319 + - *317 required: - environment - wait_timer @@ -68604,7 +68809,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -68650,7 +68855,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -68901,7 +69106,7 @@ paths: parameters: - *478 - *479 - - *300 + - *298 responses: '200': description: Response @@ -68937,7 +69142,7 @@ paths: parameters: - *478 - *479 - - *300 + - *298 requestBody: required: true content: @@ -68968,7 +69173,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -68996,7 +69201,7 @@ paths: parameters: - *478 - *479 - - *300 + - *298 responses: '204': description: Response @@ -69093,7 +69298,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -69120,7 +69325,7 @@ paths: parameters: - *478 - *479 - - *303 + - *301 responses: '200': description: Response @@ -69156,7 +69361,7 @@ paths: parameters: - *478 - *479 - - *303 + - *301 requestBody: required: true content: @@ -69200,7 +69405,7 @@ paths: parameters: - *478 - *479 - - *303 + - *301 responses: '204': description: Response @@ -70508,7 +70713,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *319 + items: *317 apps: description: The list of apps with review dismissal access. @@ -70537,7 +70742,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *319 + items: *317 apps: description: The list of apps allowed to bypass pull request requirements. @@ -70626,7 +70831,7 @@ paths: type: string teams: type: array - items: *319 + items: *317 apps: type: array items: @@ -70968,12 +71173,12 @@ paths: nullable: true oneOf: - *4 - - *301 + - *299 committer: nullable: true oneOf: - *4 - - *301 + - *299 parents: type: array items: @@ -71752,7 +71957,7 @@ paths: items: *4 teams: type: array - items: *319 + items: *317 apps: type: array items: *5 @@ -71770,7 +71975,7 @@ paths: items: *4 teams: type: array - items: *319 + items: *317 apps: type: array items: *5 @@ -73157,7 +73362,7 @@ paths: application/json: schema: type: array - items: *319 + items: *317 examples: default: *403 '404': *6 @@ -73217,7 +73422,7 @@ paths: application/json: schema: type: array - items: *319 + items: *317 examples: default: *403 '422': *15 @@ -73278,7 +73483,7 @@ paths: application/json: schema: type: array - items: *319 + items: *317 examples: default: *403 '422': *15 @@ -73338,7 +73543,7 @@ paths: application/json: schema: type: array - items: *319 + items: *317 examples: default: *403 '422': *15 @@ -73733,9 +73938,9 @@ paths: application/json: schema: type: array - items: *314 + items: *312 examples: - default: *315 + default: *313 '404': *6 '500': *40 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -73770,7 +73975,7 @@ paths: description: Response content: application/json: - schema: *314 + schema: *312 examples: default: value: @@ -73844,9 +74049,9 @@ paths: application/json: schema: type: array - items: *317 + items: *315 examples: - default: *318 + default: *316 '404': *6 '403': *29 '500': *40 @@ -73883,7 +74088,7 @@ paths: description: A single bypass request. content: application/json: - schema: *317 + schema: *315 examples: default: value: @@ -75212,7 +75417,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -75350,7 +75555,7 @@ paths: nullable: true properties: *222 required: *223 - repository: *290 + repository: *288 created_at: type: string format: date-time @@ -75766,7 +75971,7 @@ paths: required: - app_id - setting - repository: *290 + repository: *288 examples: default: value: @@ -76214,7 +76419,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -76243,8 +76448,8 @@ paths: parameters: - *478 - *479 - - *323 - - *324 + - *321 + - *322 - *19 - *17 - &565 @@ -76280,7 +76485,7 @@ paths: be returned. in: query required: false - schema: *325 + schema: *323 - name: severity description: If specified, only code scanning alerts with this severity will be returned. @@ -76305,14 +76510,14 @@ paths: items: type: object properties: - number: *130 - created_at: *137 - updated_at: *138 - url: *135 - html_url: *136 + number: *131 + created_at: *138 + updated_at: *139 + url: *136 + html_url: *137 instances_url: *552 state: *115 - fixed_at: *140 + fixed_at: *141 dismissed_by: title: Simple User description: A GitHub user. @@ -76320,7 +76525,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *139 + dismissed_at: *140 dismissed_reason: *553 dismissed_comment: *554 rule: *555 @@ -76488,7 +76693,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *130 + schema: *131 responses: '200': description: Response @@ -76497,14 +76702,14 @@ paths: schema: &560 type: object properties: - number: *130 - created_at: *137 - updated_at: *138 - url: *135 - html_url: *136 + number: *131 + created_at: *138 + updated_at: *139 + url: *136 + html_url: *137 instances_url: *552 state: *115 - fixed_at: *140 + fixed_at: *141 dismissed_by: title: Simple User description: A GitHub user. @@ -76512,7 +76717,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *139 + dismissed_at: *140 dismissed_reason: *553 dismissed_comment: *554 rule: @@ -77155,8 +77360,8 @@ paths: parameters: - *478 - *479 - - *323 - - *324 + - *321 + - *322 - *19 - *17 - *566 @@ -78636,7 +78841,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -78965,7 +79170,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': *157 + '204': *130 '304': *37 '403': *29 '404': *6 @@ -79922,7 +80127,7 @@ paths: parameters: - *478 - *479 - - *300 + - *298 responses: '200': description: Response @@ -79952,7 +80157,7 @@ paths: parameters: - *478 - *479 - - *300 + - *298 requestBody: required: true content: @@ -79980,7 +80185,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -80006,7 +80211,7 @@ paths: parameters: - *478 - *479 - - *300 + - *298 responses: '204': description: Response @@ -80246,7 +80451,7 @@ paths: parameters: - *478 - *479 - - *145 + - *146 responses: '204': description: Response if user is a collaborator @@ -80294,7 +80499,7 @@ paths: parameters: - *478 - *479 - - *145 + - *146 requestBody: required: false content: @@ -80331,7 +80536,7 @@ paths: example: 42 type: integer format: int64 - repository: *290 + repository: *288 invitee: title: Simple User description: A GitHub user. @@ -80509,7 +80714,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *265 + schema: *263 '403': *29 x-github: triggersNotification: true @@ -80551,7 +80756,7 @@ paths: parameters: - *478 - *479 - - *145 + - *146 responses: '204': description: No Content when collaborator was removed from the repository. @@ -80584,7 +80789,7 @@ paths: parameters: - *478 - *479 - - *145 + - *146 responses: '200': description: if user has admin permissions @@ -82640,7 +82845,7 @@ paths: type: string total_count: type: integer - repository: *290 + repository: *288 commit_url: type: string format: uri @@ -84641,22 +84846,22 @@ paths: parameters: - *478 - *479 + - *338 + - *339 - *340 - *341 - *342 - - *343 - - *344 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *345 + - *343 - *614 + - *344 + - *345 - *346 - - *347 - - *348 - *112 - *110 - *111 @@ -84672,7 +84877,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *130 + number: *131 state: type: string description: The state of the Dependabot alert. @@ -84687,7 +84892,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *131 + package: *132 manifest_path: type: string description: The full path to the dependency manifest file, @@ -84716,12 +84921,12 @@ paths: - transitive - inconclusive security_advisory: *615 - security_vulnerability: *134 - url: *135 - html_url: *136 - created_at: *137 - updated_at: *138 - dismissed_at: *139 + security_vulnerability: *135 + url: *136 + html_url: *137 + created_at: *138 + updated_at: *139 + dismissed_at: *140 dismissed_by: title: Simple User description: A GitHub user. @@ -84745,7 +84950,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *140 + fixed_at: *141 auto_dismissed_at: *616 dismissal_request: *617 assignees: @@ -85013,7 +85218,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *130 + schema: *131 responses: '200': description: Response @@ -85442,7 +85647,7 @@ paths: parameters: - *478 - *479 - - *300 + - *298 responses: '200': description: Response @@ -85476,7 +85681,7 @@ paths: parameters: - *478 - *479 - - *300 + - *298 requestBody: required: true content: @@ -85504,7 +85709,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -85530,7 +85735,7 @@ paths: parameters: - *478 - *479 - - *300 + - *298 responses: '204': description: Response @@ -87815,7 +88020,7 @@ paths: reviewer: anyOf: - *4 - - *319 + - *317 required: - id - node_id @@ -88845,7 +89050,7 @@ paths: - *478 - *479 - *640 - - *300 + - *298 responses: '200': description: Response @@ -88878,7 +89083,7 @@ paths: - *478 - *479 - *640 - - *300 + - *298 requestBody: required: true content: @@ -88909,7 +89114,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -88938,7 +89143,7 @@ paths: - *478 - *479 - *640 - - *300 + - *298 responses: '204': description: Default response @@ -89037,7 +89242,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -89065,7 +89270,7 @@ paths: - *478 - *479 - *640 - - *303 + - *301 responses: '200': description: Response @@ -89096,7 +89301,7 @@ paths: parameters: - *478 - *479 - - *303 + - *301 - *640 requestBody: required: true @@ -89141,7 +89346,7 @@ paths: parameters: - *478 - *479 - - *303 + - *301 - *640 responses: '204': @@ -89256,7 +89461,7 @@ paths: application/json: schema: type: array - items: *290 + items: *288 examples: default: value: @@ -89509,7 +89714,7 @@ paths: application/json: schema: oneOf: - - *265 + - *263 - *653 x-github: githubCloudOnly: false @@ -91449,7 +91654,7 @@ paths: - *478 - *479 responses: - '204': *157 + '204': *130 '409': *121 x-github: githubCloudOnly: false @@ -91470,7 +91675,7 @@ paths: - *478 - *479 responses: - '204': *157 + '204': *130 '409': *121 x-github: githubCloudOnly: false @@ -93781,7 +93986,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *319 + requested_team: *317 dismissed_review: title: Issue Event Dismissed Review type: object @@ -95520,7 +95725,7 @@ paths: properties: *222 required: *223 review_requester: *4 - requested_team: *319 + requested_team: *317 requested_reviewer: *4 required: - review_requester @@ -95567,7 +95772,7 @@ paths: properties: *222 required: *223 review_requester: *4 - requested_team: *319 + requested_team: *317 requested_reviewer: *4 required: - review_requester @@ -99728,7 +99933,7 @@ paths: - *479 - *716 responses: - '204': *157 + '204': *130 '404': *6 x-github: githubCloudOnly: false @@ -99985,7 +100190,7 @@ paths: description: Empty response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -100053,7 +100258,7 @@ paths: - *478 - *479 responses: - '204': *157 + '204': *130 '422': *14 x-github: githubCloudOnly: false @@ -100075,7 +100280,7 @@ paths: - *478 - *479 responses: - '204': *157 + '204': *130 '422': *14 x-github: githubCloudOnly: false @@ -102431,7 +102636,7 @@ paths: items: *4 teams: type: array - items: *319 + items: *317 required: - users - teams @@ -106413,8 +106618,8 @@ paths: items: &758 type: object properties: - number: *130 - created_at: *137 + number: *131 + created_at: *138 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -106422,8 +106627,8 @@ paths: format: date-time readOnly: true nullable: true - url: *135 - html_url: *136 + url: *136 + html_url: *137 locations_url: type: string format: uri @@ -108172,7 +108377,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *265 + schema: *263 examples: invalid_state_transition: value: @@ -108391,7 +108596,7 @@ paths: - 1124 - -435 '202': *39 - '204': *157 + '204': *130 '422': description: Repository contains more than 10,000 commits x-github: @@ -108461,7 +108666,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *157 + '204': *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108563,7 +108768,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *157 + '204': *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108764,7 +108969,7 @@ paths: - - 0 - 2 - 21 - '204': *157 + '204': *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109204,7 +109409,7 @@ paths: application/json: schema: type: array - items: *319 + items: *317 examples: default: *403 headers: @@ -109730,7 +109935,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *288 examples: default: value: @@ -110178,7 +110383,7 @@ paths: application/json: schema: type: array - items: *290 + items: *288 examples: default: value: @@ -110284,7 +110489,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *284 + - *282 - *680 requestBody: required: true @@ -110387,7 +110592,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *284 + - *282 - *680 requestBody: required: true @@ -110486,7 +110691,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *284 + - *282 - *680 - *387 responses: @@ -112637,7 +112842,7 @@ paths: html_url: type: string format: uri - repository: *290 + repository: *288 score: type: number file_size: @@ -112941,7 +113146,7 @@ paths: type: string sha: type: string - repository: *290 + repository: *288 score: type: number node_id: @@ -114876,7 +115081,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - *817 - - *145 + - *146 responses: '204': description: if user is a member @@ -114913,7 +115118,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - *817 - - *145 + - *146 responses: '204': description: Response @@ -114953,7 +115158,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - *817 - - *145 + - *146 responses: '204': description: Response @@ -114990,7 +115195,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *817 - - *145 + - *146 responses: '200': description: Response @@ -115032,7 +115237,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *817 - - *145 + - *146 requestBody: required: false content: @@ -115094,7 +115299,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *817 - - *145 + - *146 responses: '204': description: Response @@ -115131,7 +115336,7 @@ paths: application/json: schema: type: array - items: *290 + items: *288 examples: default: *410 headers: @@ -115538,7 +115743,7 @@ paths: application/json: schema: type: array - items: *319 + items: *317 examples: response-if-child-teams-exist: *821 headers: @@ -116031,7 +116236,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: - - *145 + - *146 responses: '204': description: If the user is blocked @@ -116059,7 +116264,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *145 + - *146 responses: '204': description: Response @@ -116083,7 +116288,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *145 + - *146 responses: '204': description: Response @@ -116437,7 +116642,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *300 + - *298 responses: '200': description: Response @@ -116473,7 +116678,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *300 + - *298 requestBody: required: true content: @@ -116518,7 +116723,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -116546,7 +116751,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *300 + - *298 responses: '204': description: Response @@ -116571,7 +116776,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *300 + - *298 responses: '200': description: Response @@ -116587,9 +116792,9 @@ paths: type: integer repositories: type: array - items: *290 + items: *288 examples: - default: *334 + default: *332 '401': *25 '403': *29 '404': *6 @@ -116614,7 +116819,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *300 + - *298 requestBody: required: true content: @@ -116668,7 +116873,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *300 + - *298 - name: repository_id in: path required: true @@ -116701,7 +116906,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *300 + - *298 - name: repository_id in: path required: true @@ -118330,7 +118535,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: - - *145 + - *146 responses: '204': description: if the person is followed by the authenticated user @@ -118360,7 +118565,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *145 + - *146 responses: '204': description: Response @@ -118385,7 +118590,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *145 + - *146 responses: '204': description: Response @@ -118926,7 +119131,7 @@ paths: allOf: - *80 examples: - default: *285 + default: *283 headers: Link: *47 '404': *6 @@ -118952,7 +119157,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *284 + - *282 responses: '204': description: Response @@ -118978,7 +119183,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *284 + - *282 responses: '204': description: Response @@ -120566,7 +120771,7 @@ paths: application/json: schema: type: array - items: *290 + items: *288 examples: default: *410 headers: @@ -122212,7 +122417,7 @@ paths: application/json: schema: type: array - items: *290 + items: *288 examples: default: *410 headers: @@ -122649,7 +122854,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *145 + - *146 responses: '200': description: Response @@ -122687,7 +122892,7 @@ paths: - *17 - *110 - *111 - - *145 + - *146 requestBody: required: true content: @@ -122783,7 +122988,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *145 + - *146 requestBody: required: true content: @@ -122848,7 +123053,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *145 + - *146 - name: subject_digest description: Subject Digest in: path @@ -122879,7 +123084,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *145 + - *146 - name: attestation_id description: Attestation ID in: path @@ -122917,7 +123122,7 @@ paths: - *17 - *110 - *111 - - *145 + - *146 - name: subject_digest description: Subject Digest in: path @@ -122975,7 +123180,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -123001,7 +123206,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: - - *145 + - *146 responses: '200': description: Response @@ -123034,7 +123239,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *145 + - *146 - *17 - *19 responses: @@ -123106,7 +123311,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: - - *145 + - *146 - *89 - *17 - *19 @@ -123194,7 +123399,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *145 + - *146 - *17 - *19 responses: @@ -123262,7 +123467,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *145 + - *146 - *17 - *19 responses: @@ -123293,7 +123498,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *145 + - *146 - *17 - *19 responses: @@ -123324,7 +123529,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: - - *145 + - *146 - name: target_user in: path required: true @@ -123351,7 +123556,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *145 + - *146 - *234 - *17 - *19 @@ -123385,7 +123590,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: - - *145 + - *146 - *17 - *19 responses: @@ -123421,7 +123626,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *145 + - *146 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -123493,7 +123698,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: - - *145 + - *146 responses: '200': description: Response @@ -123519,7 +123724,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *145 + - *146 - *17 - *19 responses: @@ -123574,7 +123779,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *145 + - *146 - *17 - *19 responses: @@ -123626,7 +123831,7 @@ paths: - nuget - container - *838 - - *145 + - *146 - *19 - *17 responses: @@ -123663,7 +123868,7 @@ paths: parameters: - *406 - *407 - - *145 + - *146 responses: '200': description: Response @@ -123694,7 +123899,7 @@ paths: parameters: - *406 - *407 - - *145 + - *146 responses: '204': description: Response @@ -123728,7 +123933,7 @@ paths: parameters: - *406 - *407 - - *145 + - *146 - name: token description: package token schema: @@ -123762,7 +123967,7 @@ paths: parameters: - *406 - *407 - - *145 + - *146 responses: '200': description: Response @@ -123831,7 +124036,7 @@ paths: - *406 - *407 - *409 - - *145 + - *146 responses: '200': description: Response @@ -123874,7 +124079,7 @@ paths: parameters: - *406 - *407 - - *145 + - *146 - *409 responses: '204': @@ -123909,7 +124114,7 @@ paths: parameters: - *406 - *407 - - *145 + - *146 - *409 responses: '204': @@ -123934,7 +124139,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *145 + - *146 - name: q description: Limit results to projects of the specified type. in: query @@ -123976,7 +124181,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - *422 - - *145 + - *146 responses: '200': description: Response @@ -124007,7 +124212,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - *422 - - *145 + - *146 - *17 - *110 - *111 @@ -124041,7 +124246,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project parameters: - - *145 + - *146 - *422 requestBody: required: true @@ -124154,7 +124359,7 @@ paths: parameters: - *422 - *869 - - *145 + - *146 responses: '200': description: Response @@ -124186,7 +124391,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - *422 - - *145 + - *146 - *110 - *111 - *17 @@ -124241,7 +124446,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *145 + - *146 - *422 requestBody: required: true @@ -124348,7 +124553,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *422 - - *145 + - *146 - *432 - name: fields description: |- @@ -124393,7 +124598,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - *422 - - *145 + - *146 - *432 requestBody: required: true @@ -124491,7 +124696,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - *422 - - *145 + - *146 - *432 responses: '204': @@ -124515,7 +124720,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-project-view parameters: - *422 - - *145 + - *146 - *871 - name: fields description: |- @@ -124572,7 +124777,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: - - *145 + - *146 - *17 - *19 responses: @@ -124647,7 +124852,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: - - *145 + - *146 - *17 - *19 responses: @@ -124720,7 +124925,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *145 + - *146 - name: type description: Limit results to repositories of the specified type. in: query @@ -124763,7 +124968,7 @@ paths: application/json: schema: type: array - items: *290 + items: *288 examples: default: *410 headers: @@ -124785,7 +124990,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: - - *145 + - *146 - *17 - *19 responses: @@ -124817,7 +125022,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: - - *145 + - *146 - *17 - *19 responses: @@ -124853,7 +125058,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *145 + - *146 - *873 - *112 - *17 @@ -124889,7 +125094,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *145 + - *146 - *17 - *19 responses: @@ -124899,7 +125104,7 @@ paths: application/json: schema: type: array - items: *290 + items: *288 examples: default: *410 headers: @@ -127420,7 +127625,7 @@ x-webhooks: pull_requests: type: array items: *232 - repository: *290 + repository: *288 status: example: completed type: string @@ -170655,7 +170860,7 @@ x-webhooks: type: string enum: - created - definition: *153 + definition: *154 enterprise: *875 sender: *4 required: @@ -170809,7 +171014,7 @@ x-webhooks: type: string enum: - updated - definition: *153 + definition: *154 enterprise: *875 installation: *876 sender: *4 @@ -241245,8 +241450,8 @@ x-webhooks: alert: &944 type: object properties: - number: *130 - created_at: *137 + number: *131 + created_at: *138 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -241254,8 +241459,8 @@ x-webhooks: format: date-time readOnly: true nullable: true - url: *135 - html_url: *136 + url: *136 + html_url: *137 locations_url: type: string format: uri @@ -242353,7 +242558,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *132 + cvss_severities: *133 cwes: type: array items: @@ -242617,7 +242822,7 @@ x-webhooks: required: - vector_string - score - cvss_severities: *132 + cvss_severities: *133 cwes: type: array items: diff --git a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json index 3deba26b37..8ff4c39053 100644 --- a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.json @@ -45242,6 +45242,451 @@ } } }, + "/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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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", @@ -115486,17 +115931,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": [ { @@ -115507,606 +115952,337 @@ "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", + "nullable": true + } + }, + "required": [ + "property_name", + "value" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "property_name": "environment", + "value": "production" + }, + { + "property_name": "service", + "value": "web" + }, + { + "property_name": "team", + "value": "octocat" + } + ] + } + } + } + } }, - { - "name": "page", - "in": "query", - "description": "The page number of results to fetch.", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "default": 1 + "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": "per_page", - "in": "query", - "description": "Number of results per page.", - "required": false, + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 + "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", + "nullable": true + } + }, + "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": { - "200": { - "description": "Response", + "204": { + "description": "No Content when custom property values are successfully created or updated" + }, + "403": { + "description": "Forbidden", "content": { "application/json": { "schema": { - "title": "Dependabot Repository Access Details", - "description": "Information about repositories that Dependabot is able to access in an organization", + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "default_level": { - "type": "string", - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal" - ], - "example": "internal", - "nullable": true + "message": { + "type": "string" }, - "accessible_repositories": { + "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": { - "title": "Simple Repository", - "description": "A GitHub repository.", "type": "object", + "required": [ + "code" + ], "properties": { - "id": { - "type": "integer", - "format": "int64", - "example": 1296269, - "description": "A unique identifier of the repository." + "resource": { + "type": "string" }, - "node_id": { - "type": "string", - "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "description": "The GraphQL identifier of the repository." + "field": { + "type": "string" }, - "name": { - "type": "string", - "example": "Hello-World", - "description": "The name of the repository." + "message": { + "type": "string" }, - "full_name": { - "type": "string", - "example": "octocat/Hello-World", - "description": "The full, globally unique, name of the repository." + "code": { + "type": "string" }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "nullable": true, - "type": "string" - }, - "email": { - "nullable": true, - "type": "string" - }, - "login": { + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { "type": "string", - "example": "octocat" + "nullable": true }, - "id": { + { "type": "integer", - "format": "int64", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VXNlcjE=" - }, - "avatar_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/images/error/octocat_happy.gif" - }, - "gravatar_id": { - "type": "string", - "example": "41d064eb2195891e12d0413f63227ea7", "nullable": true }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "followers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/followers" - }, - "following_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/following{/other_user}" - }, - "gists_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/gists{/gist_id}" - }, - "starred_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/subscriptions" - }, - "organizations_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/orgs" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/repos" - }, - "events_url": { - "type": "string", - "example": "https://api.github.com/users/octocat/events{/privacy}" - }, - "received_events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/users/octocat/received_events" - }, - "type": { - "type": "string", - "example": "User" - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "example": "\"2020-07-09T00:17:55Z\"" - }, - "user_view_type": { - "type": "string", - "example": "public" + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } } - }, - "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", - "example": "https://github.com/octocat/Hello-World", - "description": "The URL to view the repository on GitHub.com." - }, - "description": { - "type": "string", - "example": "This your first repo!", - "nullable": true, - "description": "The repository description." - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World", - "description": "The URL to get more information about the repository from the GitHub API." - }, - "archive_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "description": "A template for the API URL to download the repository as an archive." - }, - "assignees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "description": "A template for the API URL to list the available assignees for issues in the repository." - }, - "blobs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." - }, - "branches_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "description": "A template for the API URL to get information about branches in the repository." - }, - "collaborators_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "description": "A template for the API URL to get information about collaborators of the repository." - }, - "comments_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "description": "A template for the API URL to get information about comments on the repository." - }, - "commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "description": "A template for the API URL to get information about commits on the repository." - }, - "compare_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "description": "A template for the API URL to compare two commits or refs." - }, - "contents_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "description": "A template for the API URL to get the contents of the repository." - }, - "contributors_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/contributors", - "description": "A template for the API URL to list the contributors to the repository." - }, - "deployments_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/deployments", - "description": "The API URL to list the deployments of the repository." - }, - "downloads_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/downloads", - "description": "The API URL to list the downloads on the repository." - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/events", - "description": "The API URL to list the events of the repository." - }, - "forks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/forks", - "description": "The API URL to list the forks of the repository." - }, - "git_commits_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "description": "A template for the API URL to get information about Git commits of the repository." - }, - "git_refs_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "description": "A template for the API URL to get information about Git refs of the repository." - }, - "git_tags_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "description": "A template for the API URL to get information about Git tags of the repository." - }, - "issue_comment_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "description": "A template for the API URL to get information about issue comments on the repository." - }, - "issue_events_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "description": "A template for the API URL to get information about issue events on the repository." - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "description": "A template for the API URL to get information about issues on the repository." - }, - "keys_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "description": "A template for the API URL to get information about deploy keys on the repository." - }, - "labels_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "description": "A template for the API URL to get information about labels of the repository." - }, - "languages_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/languages", - "description": "The API URL to get information about the languages of the repository." - }, - "merges_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/merges", - "description": "The API URL to merge branches in the repository." - }, - "milestones_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "description": "A template for the API URL to get information about milestones of the repository." - }, - "notifications_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "description": "A template for the API URL to get information about notifications on the repository." - }, - "pulls_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "description": "A template for the API URL to get information about pull requests on the repository." - }, - "releases_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "description": "A template for the API URL to get information about releases on the repository." - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "description": "The API URL to list the stargazers on the repository." - }, - "statuses_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "description": "A template for the API URL to get information about statuses of a commit." - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "description": "The API URL to list the subscribers on the repository." - }, - "subscription_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/subscription", - "description": "The API URL to subscribe to notifications for this repository." - }, - "tags_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/tags", - "description": "The API URL to get information about tags on the repository." - }, - "teams_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/teams", - "description": "The API URL to list the teams on the repository." - }, - "trees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." - }, - "hooks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/hooks", - "description": "The API URL to list the hooks on the repository." } - }, - "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" - ], - "nullable": true - } - } - }, - "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" + } } } } @@ -116115,22 +116291,24 @@ } }, "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```", + } + }, + "/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": [ - "dependabot" + "orgs" ], - "operationId": "dependabot/update-repository-access-for-org", + "operationId": "orgs/get", "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/orgs#get-an-organization" }, "parameters": [ { @@ -116143,207 +116321,446 @@ } } ], - "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", + "200": { + "description": "Response", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", + "title": "Organization Full", + "description": "Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement.\nRemoves non-compliant outside collaborators from the organization and its repositories.\n\nGitHub currently defines SMS as an insecure method of two-factor authentication.\n\nIf your users are managed by the enterprise this policy will not affect them. The first admin account of the enterprise will still be affected.", "type": "object", "properties": { - "message": { - "type": "string" + "login": { + "type": "string", + "example": "github" }, - "documentation_url": { - "type": "string" + "id": { + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDEyOk9yZ2FuaXphdGlvbjE=" }, "url": { - "type": "string" + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github" }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/repos" }, - "documentation_url": { - "type": "string" + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/orgs/github/events" }, - "url": { - "type": "string" + "hooks_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/hooks" }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "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" - ], - "example": "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" + "issues_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/issues" }, - "documentation_url": { - "type": "string" + "members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/members{/member}" }, - "url": { - "type": "string" + "public_members_url": { + "type": "string", + "example": "https://api.github.com/orgs/github/public_members{/member}" }, - "status": { - "type": "string" + "avatar_url": { + "type": "string", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "description": { + "type": "string", + "example": "A great organization", + "nullable": true + }, + "name": { + "type": "string", + "example": "github" + }, + "company": { + "type": "string", + "example": "GitHub" + }, + "blog": { + "type": "string", + "format": "uri", + "example": "https://github.com/blog" + }, + "location": { + "type": "string", + "example": "San Francisco" + }, + "email": { + "type": "string", + "format": "email", + "example": "octocat@github.com" + }, + "twitter_username": { + "type": "string", + "example": "github", + "nullable": true + }, + "is_verified": { + "type": "boolean", + "example": true + }, + "has_organization_projects": { + "type": "boolean", + "example": true + }, + "has_repository_projects": { + "type": "boolean", + "example": true + }, + "public_repos": { + "type": "integer", + "example": 2 + }, + "public_gists": { + "type": "integer", + "example": 1 + }, + "followers": { + "type": "integer", + "example": 20 + }, + "following": { + "type": "integer", + "example": 0 + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "type": { + "type": "string", + "example": "Organization" + }, + "total_private_repos": { + "type": "integer", + "example": 100 + }, + "owned_private_repos": { + "type": "integer", + "example": 100 + }, + "private_gists": { + "type": "integer", + "example": 81, + "nullable": true + }, + "disk_usage": { + "type": "integer", + "example": 10000, + "nullable": true + }, + "collaborators": { + "type": "integer", + "example": 8, + "nullable": true, + "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000." + }, + "billing_email": { + "type": "string", + "format": "email", + "example": "org@example.com", + "nullable": true + }, + "plan": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "space": { + "type": "integer" + }, + "private_repos": { + "type": "integer" + }, + "filled_seats": { + "type": "integer" + }, + "seats": { + "type": "integer" + } + }, + "required": [ + "name", + "space", + "private_repos" + ] + }, + "default_repository_permission": { + "type": "string", + "nullable": true + }, + "default_repository_branch": { + "type": "string", + "example": "main", + "nullable": true, + "description": "The default branch for repositories created in this organization." + }, + "members_can_create_repositories": { + "type": "boolean", + "example": true, + "nullable": true + }, + "two_factor_requirement_enabled": { + "type": "boolean", + "example": true, + "nullable": true + }, + "members_allowed_repository_creation_type": { + "type": "string", + "example": "all" + }, + "members_can_create_public_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_private_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "example": true + }, + "members_can_create_pages": { + "type": "boolean", + "example": true + }, + "members_can_create_public_pages": { + "type": "boolean", + "example": true + }, + "members_can_create_private_pages": { + "type": "boolean", + "example": true + }, + "members_can_delete_repositories": { + "type": "boolean", + "example": true + }, + "members_can_change_repo_visibility": { + "type": "boolean", + "example": true + }, + "members_can_invite_outside_collaborators": { + "type": "boolean", + "example": true + }, + "members_can_delete_issues": { + "type": "boolean", + "example": true + }, + "display_commenter_full_name_setting_enabled": { + "type": "boolean", + "example": true + }, + "readers_can_create_discussions": { + "type": "boolean", + "example": true + }, + "members_can_create_teams": { + "type": "boolean", + "example": true + }, + "members_can_view_dependency_insights": { + "type": "boolean", + "example": true + }, + "members_can_fork_private_repositories": { + "type": "boolean", + "example": false, + "nullable": true + }, + "web_commit_signoff_required": { + "type": "boolean", + "example": false + }, + "advanced_security_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "dependabot_alerts_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "dependabot_security_updates_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "dependency_graph_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "secret_scanning_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "secret_scanning_push_protection_enabled_for_new_repositories": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", + "deprecated": true + }, + "secret_scanning_push_protection_custom_link": { + "type": "string", + "example": "https://github.com/test-org/test-repo/blob/main/README.md", + "nullable": true, + "description": "An optional URL string to display to contributors who are blocked from pushing a secret." + }, + "secret_scanning_validity_checks_enabled": { + "type": "boolean", + "example": false, + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.", + "deprecated": true + }, + "created_at": { + "type": "string", + "format": "date-time", + "example": "2008-01-14T04:33:35Z" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "archived_at": { + "type": "string", + "format": "date-time", + "nullable": true + }, + "deploy_keys_enabled_for_repositories": { + "type": "boolean", + "example": false, + "description": "Controls whether or not deploy keys may be added and used for repositories in the organization." + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description", + "html_url", + "has_organization_projects", + "has_repository_projects", + "public_repos", + "public_gists", + "followers", + "following", + "type", + "created_at", + "updated_at", + "archived_at" + ] + }, + "examples": { + "default-response": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization", + "name": "github", + "company": "GitHub", + "blog": "https://github.com/blog", + "location": "San Francisco", + "email": "octocat@github.com", + "twitter_username": "github", + "is_verified": true, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 2, + "public_gists": 1, + "followers": 20, + "following": 0, + "html_url": "https://github.com/octocat", + "created_at": "2008-01-14T04:33:35Z", + "type": "Organization", + "total_private_repos": 100, + "owned_private_repos": 100, + "private_gists": 81, + "disk_usage": 10000, + "collaborators": 8, + "billing_email": "mona@github.com", + "plan": { + "name": "Medium", + "space": 400, + "private_repos": 20, + "filled_seats": 4, + "seats": 5 + }, + "default_repository_permission": "read", + "default_repository_branch": "main", + "members_can_create_repositories": true, + "two_factor_requirement_enabled": true, + "members_allowed_repository_creation_type": "all", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "members_can_delete_repositories": true, + "members_can_change_repo_visibility": true, + "members_can_invite_outside_collaborators": true, + "members_can_delete_issues": false, + "display_commenter_full_name_setting_enabled": false, + "readers_can_create_discussions": true, + "members_can_create_teams": true, + "members_can_view_dependency_insights": true, + "members_can_fork_private_repositories": false, + "web_commit_signoff_required": false, + "updated_at": "2014-03-03T18:58:10Z", + "archived_at": null, + "deploy_keys_enabled_for_repositories": false, + "dependency_graph_enabled_for_new_repositories": false, + "dependabot_alerts_enabled_for_new_repositories": false, + "dependabot_security_updates_enabled_for_new_repositories": false, + "advanced_security_enabled_for_new_repositories": false, + "secret_scanning_enabled_for_new_repositories": false, + "secret_scanning_push_protection_enabled_for_new_repositories": false, + "secret_scanning_push_protection_custom_link": "https://github.com/octo-org/octo-repo/blob/main/im-blocked.md", + "secret_scanning_validity_checks_enabled": false } } } @@ -116380,163 +116797,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "dependabot", - "subcategory": "repository-access" + "category": "orgs", + "subcategory": "orgs" } - } - }, - "/organizations/{org}/org-properties/values": { - "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", + }, + "patch": { + "summary": "Update an organization", + "description": "> [!WARNING]\n> **Closing down notice:** GitHub Enterprise Cloud will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\n> [!WARNING]\n> **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/).\n\nUpdates the organization's profile and member privileges.\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", "tags": [ "orgs" ], - "operationId": "orgs/custom-properties-for-orgs-get-organization-values", + "operationId": "orgs/update", "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", - "nullable": true - } - }, - "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" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization" }, "parameters": [ { @@ -116550,231 +116824,178 @@ } ], "requestBody": { - "required": true, + "required": false, "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", - "nullable": true - } - }, - "required": [ - "property_name", - "value" - ] - } + "billing_email": { + "type": "string", + "description": "Billing email address. This address is not publicized." + }, + "company": { + "type": "string", + "description": "The company name." + }, + "email": { + "type": "string", + "description": "The publicly visible email address." + }, + "twitter_username": { + "type": "string", + "description": "The Twitter username of the company." + }, + "location": { + "type": "string", + "description": "The location." + }, + "name": { + "type": "string", + "description": "The shorthand name of the company." + }, + "description": { + "type": "string", + "description": "The description of the company. The maximum size is 160 characters." + }, + "has_organization_projects": { + "type": "boolean", + "description": "Whether an organization can use organization projects." + }, + "has_repository_projects": { + "type": "boolean", + "description": "Whether repositories that belong to the organization can use repository projects." + }, + "default_repository_permission": { + "type": "string", + "description": "Default permission level members have for organization repositories.", + "enum": [ + "read", + "write", + "admin", + "none" + ], + "default": "read" + }, + "members_can_create_repositories": { + "type": "boolean", + "description": "Whether of non-admin organization members can create repositories. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details.", + "default": true + }, + "members_can_create_internal_repositories": { + "type": "boolean", + "description": "Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_can_create_private_repositories": { + "type": "boolean", + "description": "Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_can_create_public_repositories": { + "type": "boolean", + "description": "Whether organization members can create public repositories, which are visible to anyone. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." + }, + "members_allowed_repository_creation_type": { + "type": "string", + "description": "Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. \n**Note:** This parameter is closing down and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details.", + "enum": [ + "all", + "private", + "none" + ] + }, + "members_can_create_pages": { + "type": "boolean", + "description": "Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted.", + "default": true + }, + "members_can_create_public_pages": { + "type": "boolean", + "description": "Whether organization members can create public GitHub Pages sites. Existing published sites will not be impacted.", + "default": true + }, + "members_can_create_private_pages": { + "type": "boolean", + "description": "Whether organization members can create private GitHub Pages sites. Existing published sites will not be impacted.", + "default": true + }, + "members_can_fork_private_repositories": { + "type": "boolean", + "description": "Whether organization members can fork private organization repositories.", + "default": false + }, + "web_commit_signoff_required": { + "type": "boolean", + "description": "Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.", + "default": false + }, + "blog": { + "type": "string", + "example": "\"http://github.blog\"" + }, + "advanced_security_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "dependabot_alerts_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "dependabot_security_updates_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "dependency_graph_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "secret_scanning_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "secret_scanning_push_protection_enabled_for_new_repositories": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", + "deprecated": true + }, + "secret_scanning_push_protection_custom_link": { + "type": "string", + "description": "If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret." + }, + "secret_scanning_validity_checks_enabled": { + "type": "boolean", + "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.", + "deprecated": true + }, + "deploy_keys_enabled_for_repositories": { + "type": "boolean", + "description": "Controls whether or not deploy keys may be added and used for repositories in the organization." } - }, - "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", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } + "billing_email": "mona@github.com", + "company": "GitHub", + "email": "mona@github.com", + "twitter_username": "github", + "location": "San Francisco", + "name": "github", + "description": "GitHub, the company.", + "default_repository_permission": "read", + "members_can_create_repositories": true, + "members_allowed_repository_creation_type": "all" } } } } } }, - "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" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], "responses": { "200": { "description": "Response", @@ -117140,7 +117361,7 @@ ] }, "examples": { - "default-response": { + "default": { "value": { "login": "github", "id": 1, @@ -117221,21 +117442,117 @@ } } }, - "404": { - "description": "Resource not found", + "422": { + "description": "Validation failed", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, + "oneOf": [ + { + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + }, + { + "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" + } + } + } + } + ] + } + } + } + }, + "409": { + "description": "Conflict", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, "url": { "type": "string" }, @@ -117255,16 +117572,16 @@ "subcategory": "orgs" } }, - "patch": { - "summary": "Update an organization", - "description": "> [!WARNING]\n> **Closing down notice:** GitHub Enterprise Cloud will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).\n\n> [!WARNING]\n> **Closing down notice:** Code security product enablement for new repositories through the organization API is closing down. Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization) to set defaults instead. For more information on setting a default security configuration, see the [changelog](https://github.blog/changelog/2024-07-09-sunsetting-security-settings-defaults-parameters-in-the-organizations-rest-api/).\n\nUpdates the organization's profile and member privileges.\n\nThe authenticated user must be an organization owner to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint.", + "delete": { + "summary": "Delete an organization", + "description": "Deletes an organization and all its repositories.\n\nThe organization login will be unavailable for 90 days after deletion.\n\nPlease review the Terms of Service regarding account deletion before using this endpoint:\n\nhttps://docs.github.com/enterprise-cloud@latest//site-policy/github-terms/github-terms-of-service", + "operationId": "orgs/delete", "tags": [ "orgs" ], - "operationId": "orgs/update", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization" }, "parameters": [ { @@ -117277,743 +117594,212 @@ } } ], - "requestBody": { - "required": false, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "billing_email": { - "type": "string", - "description": "Billing email address. This address is not publicized." - }, - "company": { - "type": "string", - "description": "The company name." - }, - "email": { - "type": "string", - "description": "The publicly visible email address." - }, - "twitter_username": { - "type": "string", - "description": "The Twitter username of the company." - }, - "location": { - "type": "string", - "description": "The location." - }, - "name": { - "type": "string", - "description": "The shorthand name of the company." - }, - "description": { - "type": "string", - "description": "The description of the company. The maximum size is 160 characters." - }, - "has_organization_projects": { - "type": "boolean", - "description": "Whether an organization can use organization projects." - }, - "has_repository_projects": { - "type": "boolean", - "description": "Whether repositories that belong to the organization can use repository projects." - }, - "default_repository_permission": { - "type": "string", - "description": "Default permission level members have for organization repositories.", - "enum": [ - "read", - "write", - "admin", - "none" - ], - "default": "read" - }, - "members_can_create_repositories": { - "type": "boolean", - "description": "Whether of non-admin organization members can create repositories. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details.", - "default": true - }, - "members_can_create_internal_repositories": { - "type": "boolean", - "description": "Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." - }, - "members_can_create_private_repositories": { - "type": "boolean", - "description": "Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." - }, - "members_can_create_public_repositories": { - "type": "boolean", - "description": "Whether organization members can create public repositories, which are visible to anyone. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\" in the GitHub Help documentation." - }, - "members_allowed_repository_creation_type": { - "type": "string", - "description": "Specifies which types of repositories non-admin organization members can create. `private` is only available to repositories that are part of an organization on GitHub Enterprise Cloud. \n**Note:** This parameter is closing down and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See the parameter deprecation notice in the operation description for details.", - "enum": [ - "all", - "private", - "none" - ] - }, - "members_can_create_pages": { - "type": "boolean", - "description": "Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted.", - "default": true - }, - "members_can_create_public_pages": { - "type": "boolean", - "description": "Whether organization members can create public GitHub Pages sites. Existing published sites will not be impacted.", - "default": true - }, - "members_can_create_private_pages": { - "type": "boolean", - "description": "Whether organization members can create private GitHub Pages sites. Existing published sites will not be impacted.", - "default": true - }, - "members_can_fork_private_repositories": { - "type": "boolean", - "description": "Whether organization members can fork private organization repositories.", - "default": false - }, - "web_commit_signoff_required": { - "type": "boolean", - "description": "Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.", - "default": false - }, - "blog": { - "type": "string", - "example": "\"http://github.blog\"" - }, - "advanced_security_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "dependabot_alerts_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "dependabot_security_updates_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "dependency_graph_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "secret_scanning_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "secret_scanning_push_protection_enabled_for_new_repositories": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nTo use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-cloud@latest//organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nYou can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.", - "deprecated": true - }, - "secret_scanning_push_protection_custom_link": { - "type": "string", - "description": "If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret." - }, - "secret_scanning_validity_checks_enabled": { - "type": "boolean", - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.", - "deprecated": true - }, - "deploy_keys_enabled_for_repositories": { - "type": "boolean", - "description": "Controls whether or not deploy keys may be added and used for repositories in the organization." - } - } - }, - "examples": { - "default": { - "value": { - "billing_email": "mona@github.com", - "company": "GitHub", - "email": "mona@github.com", - "twitter_username": "github", - "location": "San Francisco", - "name": "github", - "description": "GitHub, the company.", - "default_repository_permission": "read", - "members_can_create_repositories": true, - "members_allowed_repository_creation_type": "all" + "responses": { + "202": { + "description": "Accepted", + "content": { + "application/json": { + "schema": { + "type": "object" + }, + "examples": { + "default": { + "value": null } } } } - } - }, - "responses": { - "200": { - "description": "Response", + }, + "404": { + "description": "Resource not found", "content": { "application/json": { "schema": { - "title": "Organization Full", - "description": "Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement.\nRemoves non-compliant outside collaborators from the organization and its repositories.\n\nGitHub currently defines SMS as an insecure method of two-factor authentication.\n\nIf your users are managed by the enterprise this policy will not affect them. The first admin account of the enterprise will still be affected.", + "title": "Basic Error", + "description": "Basic Error", "type": "object", "properties": { - "login": { - "type": "string", - "example": "github" - }, - "id": { - "type": "integer", - "example": 1 + "message": { + "type": "string" }, - "node_id": { - "type": "string", - "example": "MDEyOk9yZ2FuaXphdGlvbjE=" + "documentation_url": { + "type": "string" }, "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github" - }, - "repos_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github/repos" - }, - "events_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/orgs/github/events" - }, - "hooks_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/hooks" - }, - "issues_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/issues" - }, - "members_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/members{/member}" - }, - "public_members_url": { - "type": "string", - "example": "https://api.github.com/orgs/github/public_members{/member}" + "type": "string" }, - "avatar_url": { - "type": "string", - "example": "https://github.com/images/error/octocat_happy.gif" + "status": { + "type": "string" + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" }, - "description": { - "type": "string", - "example": "A great organization", - "nullable": true + "documentation_url": { + "type": "string" }, - "name": { - "type": "string", - "example": "github" + "url": { + "type": "string" }, - "company": { - "type": "string", - "example": "GitHub" + "status": { + "type": "string" + } + } + } + } + } + }, + "451": { + "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" }, - "blog": { - "type": "string", - "format": "uri", - "example": "https://github.com/blog" + "documentation_url": { + "type": "string" }, - "location": { - "type": "string", - "example": "San Francisco" + "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", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "orgs" + } + } + }, + "/orgs/{org}/actions/cache/usage": { + "get": { + "summary": "Get GitHub Actions cache usage for an organization", + "description": "Gets the total GitHub Actions cache usage for an organization.\nThe data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.\n\nOAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/get-actions-cache-usage-for-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-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": "object", + "properties": { + "total_active_caches_count": { + "type": "integer", + "description": "The count of active caches across all repositories of an enterprise or an organization." }, - "email": { - "type": "string", - "format": "email", - "example": "octocat@github.com" - }, - "twitter_username": { - "type": "string", - "example": "github", - "nullable": true - }, - "is_verified": { - "type": "boolean", - "example": true - }, - "has_organization_projects": { - "type": "boolean", - "example": true - }, - "has_repository_projects": { - "type": "boolean", - "example": true - }, - "public_repos": { - "type": "integer", - "example": 2 - }, - "public_gists": { - "type": "integer", - "example": 1 - }, - "followers": { - "type": "integer", - "example": 20 - }, - "following": { - "type": "integer", - "example": 0 - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/octocat" - }, - "type": { - "type": "string", - "example": "Organization" - }, - "total_private_repos": { - "type": "integer", - "example": 100 - }, - "owned_private_repos": { - "type": "integer", - "example": 100 - }, - "private_gists": { - "type": "integer", - "example": 81, - "nullable": true - }, - "disk_usage": { - "type": "integer", - "example": 10000, - "nullable": true - }, - "collaborators": { + "total_active_caches_size_in_bytes": { "type": "integer", - "example": 8, - "nullable": true, - "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000." - }, - "billing_email": { - "type": "string", - "format": "email", - "example": "org@example.com", - "nullable": true - }, - "plan": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "space": { - "type": "integer" - }, - "private_repos": { - "type": "integer" - }, - "filled_seats": { - "type": "integer" - }, - "seats": { - "type": "integer" - } - }, - "required": [ - "name", - "space", - "private_repos" - ] - }, - "default_repository_permission": { - "type": "string", - "nullable": true - }, - "default_repository_branch": { - "type": "string", - "example": "main", - "nullable": true, - "description": "The default branch for repositories created in this organization." - }, - "members_can_create_repositories": { - "type": "boolean", - "example": true, - "nullable": true - }, - "two_factor_requirement_enabled": { - "type": "boolean", - "example": true, - "nullable": true - }, - "members_allowed_repository_creation_type": { - "type": "string", - "example": "all" - }, - "members_can_create_public_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_private_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_internal_repositories": { - "type": "boolean", - "example": true - }, - "members_can_create_pages": { - "type": "boolean", - "example": true - }, - "members_can_create_public_pages": { - "type": "boolean", - "example": true - }, - "members_can_create_private_pages": { - "type": "boolean", - "example": true - }, - "members_can_delete_repositories": { - "type": "boolean", - "example": true - }, - "members_can_change_repo_visibility": { - "type": "boolean", - "example": true - }, - "members_can_invite_outside_collaborators": { - "type": "boolean", - "example": true - }, - "members_can_delete_issues": { - "type": "boolean", - "example": true - }, - "display_commenter_full_name_setting_enabled": { - "type": "boolean", - "example": true - }, - "readers_can_create_discussions": { - "type": "boolean", - "example": true - }, - "members_can_create_teams": { - "type": "boolean", - "example": true - }, - "members_can_view_dependency_insights": { - "type": "boolean", - "example": true - }, - "members_can_fork_private_repositories": { - "type": "boolean", - "example": false, - "nullable": true - }, - "web_commit_signoff_required": { - "type": "boolean", - "example": false - }, - "advanced_security_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "dependabot_alerts_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "dependabot_security_updates_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "dependency_graph_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "secret_scanning_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "secret_scanning_push_protection_enabled_for_new_repositories": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.", - "deprecated": true - }, - "secret_scanning_push_protection_custom_link": { - "type": "string", - "example": "https://github.com/test-org/test-repo/blob/main/README.md", - "nullable": true, - "description": "An optional URL string to display to contributors who are blocked from pushing a secret." - }, - "secret_scanning_validity_checks_enabled": { - "type": "boolean", - "example": false, - "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.", - "deprecated": true - }, - "created_at": { - "type": "string", - "format": "date-time", - "example": "2008-01-14T04:33:35Z" - }, - "updated_at": { - "type": "string", - "format": "date-time" - }, - "archived_at": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "deploy_keys_enabled_for_repositories": { - "type": "boolean", - "example": false, - "description": "Controls whether or not deploy keys may be added and used for repositories in the organization." + "description": "The total size in bytes of all active cache items across all repositories of an enterprise or an organization." } }, "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description", - "html_url", - "has_organization_projects", - "has_repository_projects", - "public_repos", - "public_gists", - "followers", - "following", - "type", - "created_at", - "updated_at", - "archived_at" + "total_active_caches_count", + "total_active_caches_size_in_bytes" ] }, "examples": { "default": { "value": { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization", - "name": "github", - "company": "GitHub", - "blog": "https://github.com/blog", - "location": "San Francisco", - "email": "octocat@github.com", - "twitter_username": "github", - "is_verified": true, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 2, - "public_gists": 1, - "followers": 20, - "following": 0, - "html_url": "https://github.com/octocat", - "created_at": "2008-01-14T04:33:35Z", - "type": "Organization", - "total_private_repos": 100, - "owned_private_repos": 100, - "private_gists": 81, - "disk_usage": 10000, - "collaborators": 8, - "billing_email": "mona@github.com", - "plan": { - "name": "Medium", - "space": 400, - "private_repos": 20, - "filled_seats": 4, - "seats": 5 - }, - "default_repository_permission": "read", - "default_repository_branch": "main", - "members_can_create_repositories": true, - "two_factor_requirement_enabled": true, - "members_allowed_repository_creation_type": "all", - "members_can_create_public_repositories": false, - "members_can_create_private_repositories": false, - "members_can_create_internal_repositories": false, - "members_can_create_pages": true, - "members_can_create_public_pages": true, - "members_can_create_private_pages": true, - "members_can_delete_repositories": true, - "members_can_change_repo_visibility": true, - "members_can_invite_outside_collaborators": true, - "members_can_delete_issues": false, - "display_commenter_full_name_setting_enabled": false, - "readers_can_create_discussions": true, - "members_can_create_teams": true, - "members_can_view_dependency_insights": true, - "members_can_fork_private_repositories": false, - "web_commit_signoff_required": false, - "updated_at": "2014-03-03T18:58:10Z", - "archived_at": null, - "deploy_keys_enabled_for_repositories": false, - "dependency_graph_enabled_for_new_repositories": false, - "dependabot_alerts_enabled_for_new_repositories": false, - "dependabot_security_updates_enabled_for_new_repositories": false, - "advanced_security_enabled_for_new_repositories": false, - "secret_scanning_enabled_for_new_repositories": false, - "secret_scanning_push_protection_enabled_for_new_repositories": false, - "secret_scanning_push_protection_custom_link": "https://github.com/octo-org/octo-repo/blob/main/im-blocked.md", - "secret_scanning_validity_checks_enabled": false + "total_active_caches_size_in_bytes": 3344284, + "total_active_caches_count": 5 } } } } - } - }, - "422": { - "description": "Validation failed", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "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", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - }, - { - "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" - } - } - } - } - ] - } - } - } - }, - "409": { - "description": "Conflict", - "content": { - "application/json": { + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } + "type": "string" } } } @@ -118022,262 +117808,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "orgs" + "category": "actions", + "subcategory": "cache" } - }, - "delete": { - "summary": "Delete an organization", - "description": "Deletes an organization and all its repositories.\n\nThe organization login will be unavailable for 90 days after deletion.\n\nPlease review the Terms of Service regarding account deletion before using this endpoint:\n\nhttps://docs.github.com/enterprise-cloud@latest//site-policy/github-terms/github-terms-of-service", - "operationId": "orgs/delete", + } + }, + "/orgs/{org}/actions/cache/usage-by-repository": { + "get": { + "summary": "List repositories with GitHub Actions cache usage for an organization", + "description": "Lists repositories and their GitHub Actions cache usage for an organization.\nThe data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.\n\nOAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.", "tags": [ - "orgs" + "actions" ], + "operationId": "actions/get-actions-cache-usage-by-repo-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "202": { - "description": "Accepted", - "content": { - "application/json": { - "schema": { - "type": "object" - }, - "examples": { - "default": { - "value": null - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "451": { - "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", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "orgs" - } - } - }, - "/orgs/{org}/actions/cache/usage": { - "get": { - "summary": "Get GitHub Actions cache usage for an organization", - "description": "Gets the total GitHub Actions cache usage for an organization.\nThe data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.\n\nOAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.", - "tags": [ - "actions" - ], - "operationId": "actions/get-actions-cache-usage-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-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": "object", - "properties": { - "total_active_caches_count": { - "type": "integer", - "description": "The count of active caches across all repositories of an enterprise or an organization." - }, - "total_active_caches_size_in_bytes": { - "type": "integer", - "description": "The total size in bytes of all active cache items across all repositories of an enterprise or an organization." - } - }, - "required": [ - "total_active_caches_count", - "total_active_caches_size_in_bytes" - ] - }, - "examples": { - "default": { - "value": { - "total_active_caches_size_in_bytes": 3344284, - "total_active_caches_count": 5 - } - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "cache" - } - } - }, - "/orgs/{org}/actions/cache/usage-by-repository": { - "get": { - "summary": "List repositories with GitHub Actions cache usage for an organization", - "description": "Lists repositories and their GitHub Actions cache usage for an organization.\nThe data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.\n\nOAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.", - "tags": [ - "actions" - ], - "operationId": "actions/get-actions-cache-usage-by-repo-for-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization" }, "parameters": [ { @@ -162563,519 +162109,1245 @@ "example": "https://api.github.com/repos/octocat/Hello-World/tags", "description": "The API URL to get information about tags on the repository." }, - "teams_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/teams", - "description": "The API URL to list the teams on the repository." - }, - "trees_url": { - "type": "string", - "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." - }, - "hooks_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octocat/Hello-World/hooks", - "description": "The API URL to list the hooks on the repository." - } - }, - "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" - ] - } - }, - "required": [ - "number", - "state", - "dependency", - "security_advisory", - "security_vulnerability", - "url", - "html_url", - "created_at", - "updated_at", - "dismissed_at", - "dismissed_by", - "dismissed_reason", - "dismissed_comment", - "fixed_at", - "repository" - ], - "additionalProperties": false - } - }, - "examples": { - "default": { - "value": [ - { - "number": 2, - "state": "dismissed", - "dependency": { - "package": { - "ecosystem": "pip", - "name": "django" - }, - "manifest_path": "path/to/requirements.txt", - "scope": "runtime" - }, - "security_advisory": { - "ghsa_id": "GHSA-rf4j-j272-fj86", - "cve_id": "CVE-2018-6188", - "summary": "Django allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive", - "description": "django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive.", - "vulnerabilities": [ - { - "package": { - "ecosystem": "pip", - "name": "django" - }, - "severity": "high", - "vulnerable_version_range": ">= 2.0.0, < 2.0.2", - "first_patched_version": { - "identifier": "2.0.2" - } - }, - { - "package": { - "ecosystem": "pip", - "name": "django" - }, - "severity": "high", - "vulnerable_version_range": ">= 1.11.8, < 1.11.10", - "first_patched_version": { - "identifier": "1.11.10" - } - } - ], - "severity": "high", - "cvss": { - "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", - "score": 7.5 - }, - "cvss_severities": { - "cvss_v3": { - "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", - "score": 7.5 - }, - "cvss_v4": { - "vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N", - "score": 8.7 - } - }, - "epss": { - "percentage": 0.00045, - "percentile": "0.16001e0" - }, - "cwes": [ - { - "cwe_id": "CWE-200", - "name": "Exposure of Sensitive Information to an Unauthorized Actor" - } - ], - "identifiers": [ - { - "type": "GHSA", - "value": "GHSA-rf4j-j272-fj86" - }, - { - "type": "CVE", - "value": "CVE-2018-6188" - } - ], - "references": [ - { - "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6188" - }, - { - "url": "https://github.com/advisories/GHSA-rf4j-j272-fj86" - }, - { - "url": "https://usn.ubuntu.com/3559-1/" - }, - { - "url": "https://www.djangoproject.com/weblog/2018/feb/01/security-releases/" - }, - { - "url": "http://www.securitytracker.com/id/1040422" - } - ], - "published_at": "2018-10-03T21:13:54Z", - "updated_at": "2022-04-26T18:35:37Z", - "withdrawn_at": null - }, - "security_vulnerability": { - "package": { - "ecosystem": "pip", - "name": "django" - }, - "severity": "high", - "vulnerable_version_range": ">= 2.0.0, < 2.0.2", - "first_patched_version": { - "identifier": "2.0.2" - } - }, - "url": "https://api.github.com/repos/octo-org/octo-repo/dependabot/alerts/2", - "html_url": "https://github.com/octo-org/octo-repo/security/dependabot/2", - "created_at": "2022-06-15T07:43:03Z", - "updated_at": "2022-08-23T14:29:47Z", - "dismissed_at": "2022-08-23T14:29:47Z", - "dismissed_by": { - "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 - }, - "dismissed_reason": "tolerable_risk", - "dismissed_comment": "This alert is accurate but we use a sanitizer.", - "fixed_at": null, - "assignees": [ - { - "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 - } - ], - "repository": { - "id": 217723378, - "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", - "name": "octo-repo", - "full_name": "octo-org/octo-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 - }, - "private": true, - "html_url": "https://github.com/octo-org/octo-repo", - "description": null, - "fork": false, - "url": "https://api.github.com/repos/octo-org/octo-repo", - "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}", - "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}", - "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors", - "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments", - "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads", - "events_url": "https://api.github.com/repos/octo-org/octo-repo/events", - "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks", - "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}", - "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks", - "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}", - "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}", - "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages", - "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges", - "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}", - "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers", - "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers", - "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription", - "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags", - "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams", - "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}" - } - }, - { - "number": 1, - "state": "open", - "dependency": { - "package": { - "ecosystem": "pip", - "name": "ansible" - }, - "manifest_path": "path/to/requirements.txt", - "scope": "runtime" - }, - "security_advisory": { - "ghsa_id": "GHSA-8f4m-hccc-8qph", - "cve_id": "CVE-2021-20191", - "summary": "Insertion of Sensitive Information into Log File in ansible", - "description": "A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality.", - "vulnerabilities": [ - { - "package": { - "ecosystem": "pip", - "name": "ansible" - }, - "severity": "medium", - "vulnerable_version_range": ">= 2.9.0, < 2.9.18", - "first_patched_version": { - "identifier": "2.9.18" - } - }, - { - "package": { - "ecosystem": "pip", - "name": "ansible" - }, - "severity": "medium", - "vulnerable_version_range": "< 2.8.19", - "first_patched_version": { - "identifier": "2.8.19" - } - }, - { - "package": { - "ecosystem": "pip", - "name": "ansible" - }, - "severity": "medium", - "vulnerable_version_range": ">= 2.10.0, < 2.10.7", - "first_patched_version": { - "identifier": "2.10.7" - } - } - ], - "severity": "medium", - "cvss": { - "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", - "score": 5.5 - }, - "cvss_severities": { - "cvss_v3": { - "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", - "score": 5.5 - }, - "cvss_v4": { - "vector_string": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", - "score": 8.5 - } + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." + }, + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + }, + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the repository." + } + }, + "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" + ] + } + }, + "required": [ + "number", + "state", + "dependency", + "security_advisory", + "security_vulnerability", + "url", + "html_url", + "created_at", + "updated_at", + "dismissed_at", + "dismissed_by", + "dismissed_reason", + "dismissed_comment", + "fixed_at", + "repository" + ], + "additionalProperties": false + } + }, + "examples": { + "default": { + "value": [ + { + "number": 2, + "state": "dismissed", + "dependency": { + "package": { + "ecosystem": "pip", + "name": "django" + }, + "manifest_path": "path/to/requirements.txt", + "scope": "runtime" + }, + "security_advisory": { + "ghsa_id": "GHSA-rf4j-j272-fj86", + "cve_id": "CVE-2018-6188", + "summary": "Django allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive", + "description": "django.contrib.auth.forms.AuthenticationForm in Django 2.0 before 2.0.2, and 1.11.8 and 1.11.9, allows remote attackers to obtain potentially sensitive information by leveraging data exposure from the confirm_login_allowed() method, as demonstrated by discovering whether a user account is inactive.", + "vulnerabilities": [ + { + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 2.0.0, < 2.0.2", + "first_patched_version": { + "identifier": "2.0.2" + } + }, + { + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 1.11.8, < 1.11.10", + "first_patched_version": { + "identifier": "1.11.10" + } + } + ], + "severity": "high", + "cvss": { + "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", + "score": 7.5 + }, + "cvss_severities": { + "cvss_v3": { + "vector_string": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", + "score": 7.5 + }, + "cvss_v4": { + "vector_string": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N", + "score": 8.7 + } + }, + "epss": { + "percentage": 0.00045, + "percentile": "0.16001e0" + }, + "cwes": [ + { + "cwe_id": "CWE-200", + "name": "Exposure of Sensitive Information to an Unauthorized Actor" + } + ], + "identifiers": [ + { + "type": "GHSA", + "value": "GHSA-rf4j-j272-fj86" + }, + { + "type": "CVE", + "value": "CVE-2018-6188" + } + ], + "references": [ + { + "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6188" + }, + { + "url": "https://github.com/advisories/GHSA-rf4j-j272-fj86" + }, + { + "url": "https://usn.ubuntu.com/3559-1/" + }, + { + "url": "https://www.djangoproject.com/weblog/2018/feb/01/security-releases/" + }, + { + "url": "http://www.securitytracker.com/id/1040422" + } + ], + "published_at": "2018-10-03T21:13:54Z", + "updated_at": "2022-04-26T18:35:37Z", + "withdrawn_at": null + }, + "security_vulnerability": { + "package": { + "ecosystem": "pip", + "name": "django" + }, + "severity": "high", + "vulnerable_version_range": ">= 2.0.0, < 2.0.2", + "first_patched_version": { + "identifier": "2.0.2" + } + }, + "url": "https://api.github.com/repos/octo-org/octo-repo/dependabot/alerts/2", + "html_url": "https://github.com/octo-org/octo-repo/security/dependabot/2", + "created_at": "2022-06-15T07:43:03Z", + "updated_at": "2022-08-23T14:29:47Z", + "dismissed_at": "2022-08-23T14:29:47Z", + "dismissed_by": { + "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 + }, + "dismissed_reason": "tolerable_risk", + "dismissed_comment": "This alert is accurate but we use a sanitizer.", + "fixed_at": null, + "assignees": [ + { + "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 + } + ], + "repository": { + "id": 217723378, + "node_id": "MDEwOlJlcG9zaXRvcnkyMTc3MjMzNzg=", + "name": "octo-repo", + "full_name": "octo-org/octo-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 + }, + "private": true, + "html_url": "https://github.com/octo-org/octo-repo", + "description": null, + "fork": false, + "url": "https://api.github.com/repos/octo-org/octo-repo", + "archive_url": "https://api.github.com/repos/octo-org/octo-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octo-org/octo-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octo-org/octo-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octo-org/octo-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octo-org/octo-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octo-org/octo-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octo-org/octo-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octo-org/octo-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octo-org/octo-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octo-org/octo-repo/contributors", + "deployments_url": "https://api.github.com/repos/octo-org/octo-repo/deployments", + "downloads_url": "https://api.github.com/repos/octo-org/octo-repo/downloads", + "events_url": "https://api.github.com/repos/octo-org/octo-repo/events", + "forks_url": "https://api.github.com/repos/octo-org/octo-repo/forks", + "git_commits_url": "https://api.github.com/repos/octo-org/octo-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octo-org/octo-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octo-org/octo-repo/git/tags{/sha}", + "hooks_url": "https://api.github.com/repos/octo-org/octo-repo/hooks", + "issue_comment_url": "https://api.github.com/repos/octo-org/octo-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octo-org/octo-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octo-org/octo-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octo-org/octo-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octo-org/octo-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octo-org/octo-repo/languages", + "merges_url": "https://api.github.com/repos/octo-org/octo-repo/merges", + "milestones_url": "https://api.github.com/repos/octo-org/octo-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octo-org/octo-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octo-org/octo-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octo-org/octo-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octo-org/octo-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octo-org/octo-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octo-org/octo-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octo-org/octo-repo/subscription", + "tags_url": "https://api.github.com/repos/octo-org/octo-repo/tags", + "teams_url": "https://api.github.com/repos/octo-org/octo-repo/teams", + "trees_url": "https://api.github.com/repos/octo-org/octo-repo/git/trees{/sha}" + } + }, + { + "number": 1, + "state": "open", + "dependency": { + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "manifest_path": "path/to/requirements.txt", + "scope": "runtime" + }, + "security_advisory": { + "ghsa_id": "GHSA-8f4m-hccc-8qph", + "cve_id": "CVE-2021-20191", + "summary": "Insertion of Sensitive Information into Log File in ansible", + "description": "A flaw was found in ansible. Credentials, such as secrets, are being disclosed in console log by default and not protected by no_log feature when using those modules. An attacker can take advantage of this information to steal those credentials. The highest threat from this vulnerability is to data confidentiality.", + "vulnerabilities": [ + { + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": ">= 2.9.0, < 2.9.18", + "first_patched_version": { + "identifier": "2.9.18" + } + }, + { + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": "< 2.8.19", + "first_patched_version": { + "identifier": "2.8.19" + } + }, + { + "package": { + "ecosystem": "pip", + "name": "ansible" + }, + "severity": "medium", + "vulnerable_version_range": ">= 2.10.0, < 2.10.7", + "first_patched_version": { + "identifier": "2.10.7" + } + } + ], + "severity": "medium", + "cvss": { + "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", + "score": 5.5 + }, + "cvss_severities": { + "cvss_v3": { + "vector_string": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", + "score": 5.5 + }, + "cvss_v4": { + "vector_string": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", + "score": 8.5 + } + }, + "cwes": [ + { + "cwe_id": "CWE-532", + "name": "Insertion of Sensitive Information into Log File" + } + ], + "identifiers": [ + { + "type": "GHSA", + "value": "GHSA-8f4m-hccc-8qph" + }, + { + "type": "CVE", + "value": "CVE-2021-20191" + } + ], + "references": [ + { + "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20191" + }, + { + "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://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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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/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", + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal" + ], + "example": "internal", + "nullable": true + }, + "accessible_repositories": { + "type": "array", + "items": { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "example": 1296269, + "description": "A unique identifier of the repository." + }, + "node_id": { + "type": "string", + "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "description": "The GraphQL identifier of the repository." + }, + "name": { + "type": "string", + "example": "Hello-World", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "example": "octocat/Hello-World", + "description": "The full, globally unique, name of the repository." + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "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", + "example": "https://github.com/octocat/Hello-World", + "description": "The URL to view the repository on GitHub.com." + }, + "description": { + "type": "string", + "example": "This your first repo!", + "nullable": true, + "description": "The repository description." + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World", + "description": "The URL to get more information about the repository from the GitHub API." + }, + "archive_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "description": "A template for the API URL to download the repository as an archive." + }, + "assignees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "description": "A template for the API URL to list the available assignees for issues in the repository." + }, + "blobs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." + }, + "branches_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "description": "A template for the API URL to get information about branches in the repository." + }, + "collaborators_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "description": "A template for the API URL to get information about collaborators of the repository." + }, + "comments_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "description": "A template for the API URL to get information about comments on the repository." + }, + "commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "description": "A template for the API URL to get information about commits on the repository." + }, + "compare_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "description": "A template for the API URL to compare two commits or refs." + }, + "contents_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "description": "A template for the API URL to get the contents of the repository." + }, + "contributors_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/contributors", + "description": "A template for the API URL to list the contributors to the repository." + }, + "deployments_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/deployments", + "description": "The API URL to list the deployments of the repository." + }, + "downloads_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/downloads", + "description": "The API URL to list the downloads on the repository." + }, + "events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/events", + "description": "The API URL to list the events of the repository." + }, + "forks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/forks", + "description": "The API URL to list the forks of the repository." + }, + "git_commits_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "description": "A template for the API URL to get information about Git commits of the repository." + }, + "git_refs_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "description": "A template for the API URL to get information about Git refs of the repository." + }, + "git_tags_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "description": "A template for the API URL to get information about Git tags of the repository." + }, + "issue_comment_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "description": "A template for the API URL to get information about issue comments on the repository." + }, + "issue_events_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "description": "A template for the API URL to get information about issue events on the repository." + }, + "issues_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "description": "A template for the API URL to get information about issues on the repository." + }, + "keys_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "description": "A template for the API URL to get information about deploy keys on the repository." + }, + "labels_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "description": "A template for the API URL to get information about labels of the repository." + }, + "languages_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/languages", + "description": "The API URL to get information about the languages of the repository." + }, + "merges_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/merges", + "description": "The API URL to merge branches in the repository." + }, + "milestones_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "description": "A template for the API URL to get information about milestones of the repository." + }, + "notifications_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "description": "A template for the API URL to get information about notifications on the repository." + }, + "pulls_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "description": "A template for the API URL to get information about pull requests on the repository." + }, + "releases_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "description": "A template for the API URL to get information about releases on the repository." + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "description": "The API URL to list the stargazers on the repository." + }, + "statuses_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "description": "A template for the API URL to get information about statuses of a commit." + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "description": "The API URL to list the subscribers on the repository." + }, + "subscription_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/subscription", + "description": "The API URL to subscribe to notifications for this repository." + }, + "tags_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/tags", + "description": "The API URL to get information about tags on the repository." + }, + "teams_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/teams", + "description": "The API URL to list the teams on the repository." }, - "cwes": [ - { - "cwe_id": "CWE-532", - "name": "Insertion of Sensitive Information into Log File" - } - ], - "identifiers": [ - { - "type": "GHSA", - "value": "GHSA-8f4m-hccc-8qph" - }, - { - "type": "CVE", - "value": "CVE-2021-20191" - } - ], - "references": [ - { - "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20191" - }, - { - "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" + "trees_url": { + "type": "string", + "example": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." }, - "severity": "medium", - "vulnerable_version_range": "< 2.8.19", - "first_patched_version": { - "identifier": "2.8.19" + "hooks_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octocat/Hello-World/hooks", + "description": "The API URL to list the hooks on the repository." } }, - "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", + "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" + ], + "nullable": true + } + } + }, + "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": { @@ -163097,42 +163369,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", - "nullable": true + "type": "string" }, "documentation_url": { - "type": "string", - "nullable": true + "type": "string" }, - "detail": { - "type": "string", - "nullable": true + "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" }, - "scimType": { - "type": "string", - "nullable": true + "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", @@ -163185,19 +163540,109 @@ } } } + } + }, + "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" + ], + "example": "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" @@ -163205,11 +163650,11 @@ "documentation_url": { "type": "string" }, - "errors": { - "type": "array", - "items": { - "type": "string" - } + "url": { + "type": "string" + }, + "status": { + "type": "string" } } } @@ -163221,7 +163666,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "dependabot", - "subcategory": "alerts" + "subcategory": "repository-access" } } }, diff --git a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml index 361e0e3296..9c09cfde50 100644 --- a/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2026-03-10.deref.yaml @@ -659,7 +659,7 @@ paths: - vulnerable_version_range - first_patched_version - vulnerable_functions - cvss_severities: &132 + cvss_severities: &133 type: object nullable: true properties: @@ -699,7 +699,7 @@ paths: required: - vector_string - score - epss: &133 + epss: &134 type: object nullable: true readOnly: true @@ -969,7 +969,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &266 + schema: &264 title: Validation Error Simple description: Validation Error Simple type: object @@ -1139,7 +1139,7 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: &141 + properties: &142 description: description: A short description of the enterprise. type: string @@ -1181,7 +1181,7 @@ paths: avatar_url: type: string format: uri - required: &142 + required: &143 - id - node_id - name @@ -1723,7 +1723,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &265 + schema: &263 title: Validation Error description: Validation Error type: object @@ -7653,7 +7653,7 @@ paths: description: Response content: application/json: - schema: &267 + schema: &265 type: object properties: total_active_caches_count: @@ -7668,7 +7668,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &268 + default: &266 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7861,7 +7861,7 @@ paths: - public_ip_enabled - platform examples: - default: &269 + default: &267 value: total_count: 2 runners: @@ -8156,7 +8156,7 @@ paths: application/json: schema: *49 examples: - default: &270 + default: &268 value: id: 1 platform: linux-x64 @@ -8296,7 +8296,7 @@ paths: application/json: schema: *52 examples: - default: &271 + default: &269 value: version: 1.0.0 size_gb: 75 @@ -8460,7 +8460,7 @@ paths: description: Response content: application/json: - schema: &272 + schema: &270 type: object properties: public_ips: @@ -8485,7 +8485,7 @@ paths: required: - public_ips examples: - default: &273 + default: &271 value: public_ips: current_usage: 17 @@ -8525,7 +8525,7 @@ paths: type: array items: *56 examples: - default: &274 + default: &272 value: id: 4-core cpu_cores: 4 @@ -8826,7 +8826,7 @@ paths: required: true content: application/json: - schema: &275 + schema: &273 title: Actions OIDC Custom Property Inclusion Input description: Input for creating an OIDC custom property inclusion type: object @@ -8937,7 +8937,7 @@ paths: - all - local_only - selected - selected_actions_url: &277 + selected_actions_url: &275 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -9017,7 +9017,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &279 + schema: &277 type: object properties: days: @@ -9063,7 +9063,7 @@ paths: required: true content: application/json: - schema: &280 + schema: &278 type: object properties: days: @@ -9112,7 +9112,7 @@ paths: required: - approval_policy examples: - default: &281 + default: &279 value: approval_policy: first_time_contributors '404': *6 @@ -9170,7 +9170,7 @@ paths: description: Response content: application/json: - schema: &282 + schema: &280 type: object required: - run_workflows_from_fork_pull_requests @@ -9224,7 +9224,7 @@ paths: required: true content: application/json: - schema: &283 + schema: &281 type: object required: - run_workflows_from_fork_pull_requests @@ -9647,7 +9647,7 @@ paths: description: Success response content: application/json: - schema: &286 + schema: &284 type: object properties: default_workflow_permissions: &69 @@ -9695,7 +9695,7 @@ paths: required: true content: application/json: - schema: &287 + schema: &285 type: object properties: default_workflow_permissions: *69 @@ -10531,7 +10531,7 @@ paths: application/json: schema: type: array - items: &291 + items: &289 title: Runner Application description: Runner Application type: object @@ -10556,7 +10556,7 @@ paths: - download_url - filename examples: - default: &292 + default: &290 value: - os: osx architecture: x64 @@ -10640,7 +10640,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &293 + '201': &291 description: Response content: application/json: @@ -10755,7 +10755,7 @@ paths: - token - expires_at examples: - default: &294 + default: &292 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10795,7 +10795,7 @@ paths: application/json: schema: *81 examples: - default: &295 + default: &293 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10827,7 +10827,7 @@ paths: application/json: schema: *78 examples: - default: &296 + default: &294 value: id: 23 name: MBP @@ -11043,7 +11043,7 @@ paths: - *41 - *77 responses: - '200': &297 + '200': &295 description: Response content: application/json: @@ -11099,7 +11099,7 @@ paths: parameters: - *41 - *77 - - &298 + - &296 name: name description: The name of a self-hosted runner's custom label. in: path @@ -11190,7 +11190,7 @@ paths: required: true content: application/json: - schema: &305 + schema: &303 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11831,7 +11831,7 @@ paths: required: false schema: type: string - - &308 + - &306 name: include description: |- The event types to include: @@ -11849,7 +11849,7 @@ paths: - web - git - all - - &309 + - &307 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -11857,7 +11857,7 @@ paths: required: false schema: type: string - - &310 + - &308 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -11865,7 +11865,7 @@ paths: required: false schema: type: string - - &311 + - &309 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11887,7 +11887,7 @@ paths: application/json: schema: type: array - items: &312 + items: &310 type: object properties: "@timestamp": @@ -12009,7 +12009,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &313 + default: &311 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12675,7 +12675,7 @@ paths: application/json: schema: type: array - items: &314 + items: &312 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12836,7 +12836,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &315 + default: &313 value: - id: 21 number: 42 @@ -12941,7 +12941,7 @@ paths: application/json: schema: type: array - items: &317 + items: &315 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -13066,7 +13066,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &318 + default: &316 value: - id: 21 number: 42 @@ -13151,7 +13151,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &323 + - &321 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -13161,7 +13161,7 @@ paths: schema: &113 type: string description: The name of the tool used to generate the code scanning analysis. - - &324 + - &322 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -13184,7 +13184,7 @@ paths: be returned. in: query required: false - schema: &325 + schema: &323 type: string description: State of a code scanning alert. enum: @@ -13217,31 +13217,31 @@ paths: application/json: schema: type: array - items: &326 + items: &324 type: object properties: - number: &130 + number: &131 type: integer description: The security alert number. readOnly: true - created_at: &137 + created_at: &138 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: &138 + updated_at: &139 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: &135 + url: &136 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &136 + html_url: &137 type: string description: The GitHub URL of the alert resource. format: uri @@ -13260,7 +13260,7 @@ paths: - open - dismissed - fixed - fixed_at: &140 + fixed_at: &141 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -13274,7 +13274,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: &139 + dismissed_at: &140 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -13433,7 +13433,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &261 + properties: &349 id: type: integer format: int64 @@ -13660,7 +13660,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &262 + required: &350 - archive_url - assignees_url - blobs_url @@ -13732,7 +13732,7 @@ paths: - most_recent_instance - repository examples: - default: &327 + default: &325 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -14615,7 +14615,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &327 type: array description: A list of default code security configurations items: @@ -14631,7 +14631,7 @@ paths: default configuration: *116 examples: - default: &330 + default: &328 value: - default_for_new_repos: public configuration: @@ -14962,7 +14962,7 @@ paths: - *41 - *118 responses: - '204': &157 + '204': &130 description: A header with no content is returned. '400': *14 '403': *29 @@ -15089,7 +15089,7 @@ paths: default: value: default_for_new_repos: all - configuration: &328 + configuration: &326 value: id: 1325 target_type: organization @@ -15179,7 +15179,7 @@ paths: application/json: schema: type: array - items: &331 + items: &329 type: object description: Repositories associated with a code security configuration and attachment status @@ -15203,7 +15203,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &332 + repository: &330 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -15668,7 +15668,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &148 + items: &149 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -15692,7 +15692,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &319 + - &317 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15865,7 +15865,7 @@ paths: - slug - parent - type - - &147 + - &148 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -15975,7 +15975,7 @@ paths: - created_at additionalProperties: false examples: - default: &149 + default: &150 value: total_seats: 2 seats: @@ -16512,7 +16512,7 @@ paths: '401': *25 '403': *29 '404': *6 - '413': &335 + '413': &333 description: Payload Too Large content: application/json: @@ -17560,6 +17560,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: + - *41 + 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': *130 + '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: + - *41 + 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': *130 + '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: + - *41 + 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': *130 + '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 @@ -17579,7 +17784,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &340 + - &338 name: classification in: query description: |- @@ -17588,7 +17793,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &341 + - &339 name: state in: query description: |- @@ -17597,7 +17802,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &342 + - &340 name: severity in: query description: |- @@ -17606,7 +17811,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &343 + - &341 name: ecosystem in: query description: |- @@ -17615,14 +17820,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &344 + - &342 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &345 + - &343 name: epss_percentage in: query description: |- @@ -17648,7 +17853,7 @@ paths: type: string enum: - patch - - &346 + - &344 name: assignee in: query description: |- @@ -17657,7 +17862,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &347 + - &345 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -17667,7 +17872,7 @@ paths: enum: - development - runtime - - &348 + - &346 name: sort in: query description: |- @@ -17693,11 +17898,11 @@ paths: application/json: schema: type: array - items: &349 + items: &347 type: object description: A Dependabot alert. properties: - number: *130 + number: *131 state: type: string description: The state of the Dependabot alert. @@ -17712,7 +17917,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: &131 + package: &132 type: object description: Details for the vulnerable package. readOnly: true @@ -17787,13 +17992,13 @@ paths: description: Vulnerable version range information for the advisory. readOnly: true - items: &134 + items: &135 type: object description: Details pertaining to one vulnerable version range for the advisory. readOnly: true properties: - package: *131 + package: *132 severity: type: string description: The severity of the vulnerability. @@ -17845,8 +18050,8 @@ paths: enum: - general - malware - cvss_severities: *132 - epss: *133 + cvss_severities: *133 + epss: *134 cwes: type: array description: Details for the advisory pertaining to Common @@ -17944,12 +18149,12 @@ paths: - updated_at - withdrawn_at additionalProperties: false - security_vulnerability: *134 - url: *135 - html_url: *136 - created_at: *137 - updated_at: *138 - dismissed_at: *139 + security_vulnerability: *135 + url: *136 + html_url: *137 + created_at: *138 + updated_at: *139 + dismissed_at: *140 dismissed_by: title: Simple User description: A GitHub user. @@ -17973,7 +18178,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *140 + fixed_at: *141 auto_dismissed_at: &616 type: string description: 'The time that the alert was auto-dismissed in @@ -18043,7 +18248,7 @@ paths: - repository additionalProperties: false examples: - default: &350 + default: &348 value: - number: 2 state: dismissed @@ -18664,7 +18869,7 @@ paths: roles: type: array description: The list of enterprise roles available to the enterprise. - items: &146 + items: &147 title: Enterprise Role description: Enterprise custom roles type: object @@ -18698,8 +18903,8 @@ paths: title: Enterprise description: An enterprise on GitHub. type: object - properties: *141 - required: *142 + properties: *142 + required: *143 nullable: true created_at: description: The date and time the role was created. @@ -18792,7 +18997,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-team parameters: - *41 - - &143 + - &144 name: team_slug description: The slug of the enterprise team name. in: path @@ -18835,8 +19040,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-a-team parameters: - *41 - - *143 - - &144 + - *144 + - &145 name: role_id description: The unique identifier of the role. in: path @@ -18878,8 +19083,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-an-enterprise-role-from-a-team parameters: - *41 - - *143 - *144 + - *145 responses: '204': description: Response @@ -18913,7 +19118,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-all-enterprise-roles-from-a-user parameters: - *41 - - &145 + - &146 name: username description: The handle for the GitHub user account. in: path @@ -18953,8 +19158,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#assign-an-enterprise-role-to-an-enterprise-user parameters: - *41 + - *146 - *145 - - *144 responses: '204': description: Response @@ -18987,8 +19192,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#remove-enterprise-user-role-assignment parameters: - *41 + - *146 - *145 - - *144 responses: '204': description: Response @@ -19022,13 +19227,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/enterprise-roles#get-an-enterprise-role parameters: - *41 - - *144 + - *145 responses: '200': description: Response content: application/json: - schema: *146 + schema: *147 examples: default: value: @@ -19082,7 +19287,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: - *41 - - *144 + - *145 - *17 - *19 responses: @@ -19092,7 +19297,7 @@ paths: application/json: schema: type: array - items: *147 + items: *148 examples: default: &214 value: @@ -19133,7 +19338,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: - *41 - - *144 + - *145 - *17 - *19 responses: @@ -19165,7 +19370,7 @@ paths: description: Enterprise Team the user has gotten the role through type: array - items: *147 + items: *148 examples: default: value: @@ -19398,7 +19603,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: - *41 - - *145 + - *146 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -19414,9 +19619,9 @@ paths: teams or multiple organizations are only counted once. seats: type: array - items: *148 + items: *149 examples: - default: *149 + default: *150 '500': *40 '401': *25 '403': *29 @@ -19459,7 +19664,7 @@ paths: type: integer network_configurations: type: array - items: &150 + items: &151 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -19603,9 +19808,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: &151 + default: &152 value: id: 123456789ABCDEF name: My network configuration @@ -19632,7 +19837,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: - *41 - - &152 + - &153 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -19644,9 +19849,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: *151 + default: *152 headers: Link: *47 x-github: @@ -19666,7 +19871,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: - *41 - - *152 + - *153 requestBody: required: true content: @@ -19719,9 +19924,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: *151 + default: *152 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -19739,7 +19944,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: - *41 - - *152 + - *153 responses: '204': description: Response @@ -19847,7 +20052,7 @@ paths: application/json: schema: type: array - items: &153 + items: &154 title: Custom Property for Organization description: Custom property defined for an organization allOf: @@ -19915,7 +20120,7 @@ paths: - property_name - value_type examples: - default: &154 + default: &155 value: - property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -19975,7 +20180,7 @@ paths: type: array description: The array of organization custom properties to create or update. - items: *153 + items: *154 minItems: 1 maxItems: 100 required: @@ -20008,9 +20213,9 @@ paths: application/json: schema: type: array - items: *153 + items: *154 examples: - default: *154 + default: *155 '403': *29 '404': *6 '422': *7 @@ -20037,7 +20242,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: - *41 - - &155 + - &156 name: custom_property_name description: The custom property name in: path @@ -20049,9 +20254,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: - default: &156 + default: &157 value: property_name: environment url: https://api.github.com/enterprises/github/org-properties/schema/environment @@ -20088,7 +20293,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: - *41 - - *155 + - *156 requestBody: required: true content: @@ -20157,9 +20362,9 @@ paths: description: Response content: application/json: - schema: *153 + schema: *154 examples: - default: *156 + default: *157 '403': *29 '404': *6 '422': *7 @@ -20185,9 +20390,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: - *41 - - *155 + - *156 responses: - '204': *157 + '204': *130 '403': *29 '404': *6 '422': *7 @@ -20551,7 +20756,7 @@ paths: parameters: - *41 - *89 - - *155 + - *156 responses: '200': description: Response @@ -20592,7 +20797,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise parameters: - *41 - - *155 + - *156 responses: '200': description: Response @@ -20622,7 +20827,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: - *41 - - *155 + - *156 requestBody: required: true content: @@ -20717,9 +20922,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise parameters: - *41 - - *155 + - *156 responses: - '204': *157 + '204': *130 '403': *29 '404': *6 x-github: @@ -22455,8 +22660,8 @@ paths: items: &457 type: object properties: - number: *130 - created_at: *137 + number: *131 + created_at: *138 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -22464,8 +22669,8 @@ paths: format: date-time readOnly: true nullable: true - url: *135 - html_url: *136 + url: *136 + html_url: *137 locations_url: type: string format: uri @@ -25597,7 +25802,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team parameters: - *41 - - *143 + - *144 - 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`). @@ -25662,7 +25867,7 @@ paths: application/json: schema: type: array - items: *147 + items: *148 examples: default: *214 headers: @@ -25739,7 +25944,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: default: &219 value: @@ -25927,7 +26132,7 @@ paths: parameters: - *41 - *215 - - *145 + - *146 responses: '200': description: User is a member of the enterprise team. @@ -25972,7 +26177,7 @@ paths: parameters: - *41 - *215 - - *145 + - *146 responses: '201': description: Successfully added team member @@ -25999,7 +26204,7 @@ paths: parameters: - *41 - *215 - - *145 + - *146 responses: '204': description: Response @@ -26257,7 +26462,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: default: *219 headers: @@ -26334,7 +26539,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: default: *219 headers: @@ -32050,7 +32255,7 @@ paths: properties: id: type: string - repository: &290 + repository: &288 title: Minimal Repository description: Minimal Repository type: object @@ -33297,271 +33502,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: - - *89 - - 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 - description: The default repository access level for Dependabot - updates. - enum: - - public - - internal - example: internal - nullable: true - accessible_repositories: - type: array - items: - title: Simple Repository - description: A GitHub repository. - type: object - properties: *261 - required: *262 - nullable: true - 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': *29 - '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: - - *89 - 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': *29 - '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: - - *89 - 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 - example: internal - required: - - default_level - examples: - '204': - summary: Example with a 'succeeded' status. - value: - default_level: public - responses: - '204': - description: Response - '403': *29 - '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 @@ -33688,7 +33628,7 @@ paths: description: Response content: application/json: - schema: &263 + schema: &261 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -34016,7 +33956,7 @@ paths: - updated_at - archived_at examples: - default-response: &264 + default-response: &262 value: login: github id: 1 @@ -34336,17 +34276,17 @@ paths: description: Response content: application/json: - schema: *263 + schema: *261 examples: - default: *264 + default: *262 '422': description: Validation failed content: application/json: schema: oneOf: - - *265 - - *266 + - *263 + - *264 '409': *121 x-github: githubCloudOnly: false @@ -34402,9 +34342,9 @@ paths: description: Response content: application/json: - schema: *267 + schema: *265 examples: - default: *268 + default: *266 headers: Link: *47 x-github: @@ -34520,7 +34460,7 @@ paths: type: array items: *48 examples: - default: *269 + default: *267 headers: Link: *47 x-github: @@ -34686,7 +34626,7 @@ paths: application/json: schema: *49 examples: - default: *270 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34778,7 +34718,7 @@ paths: application/json: schema: *52 examples: - default: *271 + default: *269 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34897,9 +34837,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *270 examples: - default: *273 + default: *271 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34935,7 +34875,7 @@ paths: type: array items: *56 examples: - default: *274 + default: *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35164,7 +35104,7 @@ paths: required: true content: application/json: - schema: *275 + schema: *273 examples: default: *60 responses: @@ -35251,7 +35191,7 @@ paths: required: - include_claim_keys examples: - default: &276 + default: &274 value: include_claim_keys: - repo @@ -35290,13 +35230,13 @@ paths: items: type: string examples: - default: *276 + default: *274 responses: '201': description: Empty response content: application/json: - schema: &301 + schema: &299 title: Empty Object description: An object without any properties. type: object @@ -35335,7 +35275,7 @@ paths: schema: type: object properties: - enabled_repositories: &278 + enabled_repositories: &276 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -35349,7 +35289,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *62 - selected_actions_url: *277 + selected_actions_url: *275 sha_pinning_required: *63 required: - enabled_repositories @@ -35391,7 +35331,7 @@ paths: schema: type: object properties: - enabled_repositories: *278 + enabled_repositories: *276 allowed_actions: *62 sha_pinning_required: *63 required: @@ -35427,7 +35367,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *277 examples: response: summary: Example response @@ -35458,7 +35398,7 @@ paths: required: true content: application/json: - schema: *280 + schema: *278 examples: application/json: value: @@ -35496,7 +35436,7 @@ paths: application/json: schema: *64 examples: - default: *281 + default: *279 '404': *6 x-github: enabledForGitHubApps: true @@ -35553,7 +35493,7 @@ paths: description: Response content: application/json: - schema: *282 + schema: *280 examples: default: *65 '403': *29 @@ -35578,7 +35518,7 @@ paths: required: true content: application/json: - schema: *283 + schema: *281 examples: default: *65 responses: @@ -35630,7 +35570,7 @@ paths: type: array items: *80 examples: - default: &285 + default: &283 value: total_count: 1 repositories: @@ -35815,7 +35755,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *89 - - &284 + - &282 name: repository_id description: The unique identifier of the repository. in: path @@ -35844,7 +35784,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *89 - - *284 + - *282 responses: '204': description: Response @@ -36040,7 +35980,7 @@ paths: type: array items: *80 examples: - default: *285 + default: *283 '403': *29 '404': *6 x-github: @@ -36109,7 +36049,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *89 - - *284 + - *282 responses: '204': description: No content @@ -36136,7 +36076,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *89 - - *284 + - *282 responses: '204': description: No content @@ -36170,7 +36110,7 @@ paths: description: Response content: application/json: - schema: *286 + schema: *284 examples: default: *71 x-github: @@ -36204,7 +36144,7 @@ paths: required: false content: application/json: - schema: *287 + schema: *285 examples: default: *71 x-github: @@ -36251,7 +36191,7 @@ paths: type: number runner_groups: type: array - items: &288 + items: &286 type: object properties: id: @@ -36439,9 +36379,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *286 examples: - default: &289 + default: &287 value: id: 2 name: octo-runner-group @@ -36483,7 +36423,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *286 examples: default: value: @@ -36574,9 +36514,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *286 examples: - default: *289 + default: *287 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -36640,7 +36580,7 @@ paths: type: array items: *48 examples: - default: *269 + default: *267 headers: Link: *47 x-github: @@ -36681,9 +36621,9 @@ paths: type: number repositories: type: array - items: *290 + items: *288 examples: - default: &334 + default: &332 value: total_count: 1 repositories: @@ -36982,7 +36922,7 @@ paths: parameters: - *89 - *74 - - *284 + - *282 responses: '204': description: Response @@ -37006,7 +36946,7 @@ paths: parameters: - *89 - *74 - - *284 + - *282 responses: '204': description: Response @@ -37224,9 +37164,9 @@ paths: application/json: schema: type: array - items: *291 + items: *289 examples: - default: *292 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37291,7 +37231,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *293 + '201': *291 '404': *6 '422': *7 '409': *121 @@ -37330,7 +37270,7 @@ paths: application/json: schema: *81 examples: - default: *294 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37366,7 +37306,7 @@ paths: application/json: schema: *81 examples: - default: *295 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37397,7 +37337,7 @@ paths: application/json: schema: *78 examples: - default: *296 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37572,7 +37512,7 @@ paths: - *89 - *77 responses: - '200': *297 + '200': *295 '404': *6 x-github: githubCloudOnly: false @@ -37601,7 +37541,7 @@ paths: parameters: - *89 - *77 - - *298 + - *296 responses: '200': *83 '404': *6 @@ -37646,7 +37586,7 @@ paths: type: integer secrets: type: array - items: &299 + items: &297 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -37780,7 +37720,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *89 - - &300 + - &298 name: secret_name description: The name of the secret. in: path @@ -37792,7 +37732,7 @@ paths: description: Response content: application/json: - schema: *299 + schema: *297 examples: default: value: @@ -37823,7 +37763,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *89 - - *300 + - *298 requestBody: required: true content: @@ -37880,7 +37820,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -37907,7 +37847,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *89 - - *300 + - *298 responses: '204': description: Response @@ -37934,7 +37874,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *300 + - *298 - *19 - *17 responses: @@ -37952,9 +37892,9 @@ paths: type: integer repositories: type: array - items: *290 + items: *288 examples: - default: &304 + default: &302 value: total_count: 1 repositories: @@ -38047,7 +37987,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *300 + - *298 requestBody: required: true content: @@ -38100,7 +38040,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *300 + - *298 - name: repository_id in: path required: true @@ -38134,7 +38074,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *300 + - *298 - name: repository_id in: path required: true @@ -38191,7 +38131,7 @@ paths: type: integer variables: type: array - items: &302 + items: &300 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -38324,7 +38264,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -38350,7 +38290,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *89 - - &303 + - &301 name: name description: The name of the variable. in: path @@ -38362,7 +38302,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *300 examples: default: value: @@ -38393,7 +38333,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *89 - - *303 + - *301 requestBody: required: true content: @@ -38456,7 +38396,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *89 - - *303 + - *301 responses: '204': description: Response @@ -38483,7 +38423,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *89 - - *303 + - *301 - *19 - *17 responses: @@ -38501,9 +38441,9 @@ paths: type: integer repositories: type: array - items: *290 + items: *288 examples: - default: *304 + default: *302 '409': description: Response when the visibility of the variable is not set to `selected` @@ -38530,7 +38470,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *89 - - *303 + - *301 requestBody: required: true content: @@ -38580,7 +38520,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *89 - - *303 + - *301 - name: repository_id in: path required: true @@ -38615,7 +38555,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *89 - - *303 + - *301 - name: repository_id in: path required: true @@ -38673,7 +38613,7 @@ paths: required: true content: application/json: - schema: *305 + schema: *303 examples: default: *87 parameters: @@ -38857,7 +38797,7 @@ paths: type: integer deployment_records: type: array - items: &306 + items: &304 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -38903,7 +38843,7 @@ paths: required: - total_count examples: - default: &307 + default: &305 value: total_count: 1 deployment_records: @@ -39083,11 +39023,11 @@ paths: type: integer deployment_records: type: array - items: *306 + items: *304 required: - total_count examples: - default: *307 + default: *305 '403': description: Forbidden content: @@ -39322,9 +39262,9 @@ paths: type: integer deployment_records: type: array - items: *306 + items: *304 examples: - default: *307 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39961,10 +39901,10 @@ paths: required: false schema: type: string + - *306 + - *307 - *308 - *309 - - *310 - - *311 - *17 responses: '200': @@ -39973,9 +39913,9 @@ paths: application/json: schema: type: array - items: *312 + items: *310 examples: - default: *313 + default: *311 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -40024,7 +39964,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *89 - - *145 + - *146 responses: '204': description: If the user is blocked @@ -40050,7 +39990,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - *89 - - *145 + - *146 responses: '204': description: Response @@ -40071,7 +40011,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *89 - - *145 + - *146 responses: '204': description: Response @@ -40098,7 +40038,7 @@ paths: subcategory: bypass-requests parameters: - *89 - - &316 + - &314 name: repository_name description: The name of the repository to filter on. in: query @@ -40117,9 +40057,9 @@ paths: application/json: schema: type: array - items: *314 + items: *312 examples: - default: *315 + default: *313 '404': *6 '500': *40 "/orgs/{org}/bypass-requests/secret-scanning": @@ -40143,7 +40083,7 @@ paths: subcategory: delegated-bypass parameters: - *89 - - *316 + - *314 - *105 - *106 - *107 @@ -40157,9 +40097,9 @@ paths: application/json: schema: type: array - items: *317 + items: *315 examples: - default: *318 + default: *316 '404': *6 '500': *40 "/orgs/{org}/campaigns": @@ -40186,7 +40126,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &320 + schema: &318 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -40212,7 +40152,7 @@ paths: application/json: schema: type: array - items: &321 + items: &319 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -40243,7 +40183,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *319 + items: *317 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -40261,7 +40201,7 @@ paths: type: string format: date-time nullable: true - state: *320 + state: *318 contact_link: description: The contact link of the campaign. type: string @@ -40481,9 +40421,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *319 examples: - default: &322 + default: &320 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -40566,9 +40506,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *319 examples: - default: *322 + default: *320 '404': *6 '422': description: Unprocessable Entity @@ -40645,7 +40585,7 @@ paths: type: string format: uri nullable: true - state: *320 + state: *318 examples: default: value: @@ -40655,9 +40595,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *319 examples: - default: *322 + default: *320 '400': description: Bad Request content: @@ -40724,8 +40664,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *89 - - *323 - - *324 + - *321 + - *322 - *110 - *111 - *19 @@ -40736,7 +40676,7 @@ paths: be returned. in: query required: false - schema: *325 + schema: *323 - name: sort description: The property by which to sort the results. in: query @@ -40778,9 +40718,9 @@ paths: application/json: schema: type: array - items: *326 + items: *324 examples: - default: *327 + default: *325 headers: Link: *47 '404': *6 @@ -41156,7 +41096,7 @@ paths: application/json: schema: *116 examples: - default: *328 + default: *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41184,9 +41124,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *327 examples: - default: *330 + default: *328 '304': *37 '403': *29 '404': *6 @@ -41238,7 +41178,7 @@ paths: - 32 - 91 responses: - '204': *157 + '204': *130 '400': *14 '403': *29 '404': *6 @@ -41273,7 +41213,7 @@ paths: application/json: schema: *116 examples: - default: *328 + default: *326 '304': *37 '403': *29 '404': *6 @@ -41580,7 +41520,7 @@ paths: - *89 - *118 responses: - '204': *157 + '204': *130 '400': *14 '403': *29 '404': *6 @@ -41718,7 +41658,7 @@ paths: default: value: default_for_new_repos: all - configuration: *328 + configuration: *326 '403': *29 '404': *6 x-github: @@ -41771,13 +41711,13 @@ paths: application/json: schema: type: array - items: *331 + items: *329 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *332 + repository: *330 '403': *29 '404': *6 x-github: @@ -41842,7 +41782,7 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *290 + repository: *288 machine: type: object title: Codespace machine @@ -42718,7 +42658,7 @@ paths: type: integer secrets: type: array - items: &333 + items: &331 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -42848,13 +42788,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *89 - - *300 + - *298 responses: '200': description: Response content: application/json: - schema: *333 + schema: *331 examples: default: &589 value: @@ -42884,7 +42824,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *89 - - *300 + - *298 requestBody: required: true content: @@ -42939,7 +42879,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -42966,7 +42906,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *89 - - *300 + - *298 responses: '204': description: Response @@ -42992,7 +42932,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *300 + - *298 - *19 - *17 responses: @@ -43010,9 +42950,9 @@ paths: type: integer repositories: type: array - items: *290 + items: *288 examples: - default: *304 + default: *302 '404': *6 x-github: githubCloudOnly: false @@ -43035,7 +42975,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *300 + - *298 requestBody: required: true content: @@ -43086,7 +43026,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *300 + - *298 - name: repository_id in: path required: true @@ -43120,7 +43060,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *300 + - *298 - name: repository_id in: path required: true @@ -43323,9 +43263,9 @@ paths: currently being billed. seats: type: array - items: *148 + items: *149 examples: - default: *149 + default: *150 headers: Link: *47 '500': *40 @@ -43809,12 +43749,12 @@ paths: type: integer repositories: type: array - items: *290 + items: *288 required: - total_count - repositories examples: - default: *334 + default: *332 '500': *40 '401': *25 '403': *29 @@ -43900,7 +43840,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#enable-a-repository-for-copilot-coding-agent-in-an-organization parameters: - *89 - - *284 + - *282 responses: '204': description: No Content @@ -43934,7 +43874,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-coding-agent-management#disable-a-repository-for-copilot-coding-agent-in-an-organization parameters: - *89 - - *284 + - *282 responses: '204': description: No Content @@ -44082,7 +44022,7 @@ paths: '401': *25 '403': *29 '404': *6 - '413': *335 + '413': *333 '422': *7 x-github: githubCloudOnly: @@ -44187,7 +44127,7 @@ paths: schema: *126 examples: default: *127 - '204': *157 + '204': *130 '500': *40 '403': *29 '404': *6 @@ -44263,7 +44203,7 @@ paths: schema: *126 examples: default: *127 - '204': *157 + '204': *130 '500': *40 '403': *29 '404': *6 @@ -44515,7 +44455,7 @@ paths: type: integer custom_roles: type: array - items: &336 + items: &334 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -44653,7 +44593,7 @@ paths: required: true content: application/json: - schema: &338 + schema: &336 type: object properties: name: @@ -44694,9 +44634,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *334 examples: - default: &337 + default: &335 value: id: 8030 name: Security Engineer @@ -44744,15 +44684,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *89 - - *144 + - *145 responses: '200': description: Response content: application/json: - schema: *336 + schema: *334 examples: - default: *337 + default: *335 '404': *6 x-github: githubCloudOnly: true @@ -44775,12 +44715,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *89 - - *144 + - *145 requestBody: required: true content: application/json: - schema: &339 + schema: &337 type: object properties: name: @@ -44818,9 +44758,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *334 examples: - default: *337 + default: *335 '422': *15 '404': *6 x-github: @@ -44845,7 +44785,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *89 - - *144 + - *145 responses: '204': description: Response @@ -44878,7 +44818,7 @@ paths: required: true content: application/json: - schema: *338 + schema: *336 examples: default: value: @@ -44892,9 +44832,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *334 examples: - default: *337 + default: *335 '422': *15 '404': *6 x-github: @@ -44925,15 +44865,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *89 - - *144 + - *145 responses: '200': description: Response content: application/json: - schema: *336 + schema: *334 examples: - default: *337 + default: *335 '404': *6 x-github: githubCloudOnly: true @@ -44962,12 +44902,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *89 - - *144 + - *145 requestBody: required: true content: application/json: - schema: *339 + schema: *337 examples: default: value: @@ -44982,9 +44922,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *334 examples: - default: *337 + default: *335 '422': *15 '404': *6 x-github: @@ -45015,7 +44955,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *89 - - *144 + - *145 responses: '204': description: Response @@ -45044,12 +44984,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *89 + - *338 + - *339 - *340 - *341 - *342 - *343 - - *344 - - *345 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -45079,7 +45019,7 @@ paths: enum: - patch - deployment - - *346 + - *344 - name: runtime_risk in: query description: |- @@ -45088,8 +45028,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *347 - - *348 + - *345 + - *346 - *112 - *110 - *111 @@ -45101,9 +45041,9 @@ paths: application/json: schema: type: array - items: *349 + items: *347 examples: - default: *350 + default: *348 '304': *37 '400': *14 '403': *29 @@ -45114,6 +45054,271 @@ 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: + - *89 + - 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 + description: The default repository access level for Dependabot + updates. + enum: + - public + - internal + example: internal + nullable: true + accessible_repositories: + type: array + items: + title: Simple Repository + description: A GitHub repository. + type: object + properties: *349 + required: *350 + nullable: true + 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': *29 + '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: + - *89 + 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': *29 + '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: + - *89 + 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 + example: internal + required: + - default_level + examples: + '204': + summary: Example with a 'succeeded' status. + value: + default_level: public + responses: + '204': + description: Response + '403': *29 + '404': *6 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: dependabot + subcategory: repository-access "/orgs/{org}/dependabot/secrets": get: summary: List organization secrets @@ -45265,7 +45470,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *89 - - *300 + - *298 responses: '200': description: Response @@ -45300,7 +45505,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *89 - - *300 + - *298 requestBody: required: true content: @@ -45355,7 +45560,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -45380,7 +45585,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *89 - - *300 + - *298 responses: '204': description: Response @@ -45405,7 +45610,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *89 - - *300 + - *298 - *19 - *17 responses: @@ -45423,9 +45628,9 @@ paths: type: integer repositories: type: array - items: *290 + items: *288 examples: - default: *304 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45447,7 +45652,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *89 - - *300 + - *298 requestBody: required: true content: @@ -45498,7 +45703,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *89 - - *300 + - *298 - name: repository_id in: path required: true @@ -45530,7 +45735,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *89 - - *300 + - *298 - name: repository_id in: path required: true @@ -45614,7 +45819,7 @@ paths: - denied - all default: all - - *316 + - *314 - *17 - *19 responses: @@ -45868,7 +46073,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *89 - - *316 + - *314 - *105 - *106 - *107 @@ -46087,7 +46292,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *89 - - *316 + - *314 - *105 - *106 - *107 @@ -48332,7 +48537,7 @@ paths: application/json: schema: type: array - items: *319 + items: *317 examples: default: &403 value: @@ -48805,7 +49010,7 @@ paths: - *89 - *387 responses: - '204': *157 + '204': *130 '404': *6 '422': *7 x-github: @@ -49208,7 +49413,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - *89 - - *145 + - *146 responses: '204': description: Response if requester is an organization member and user is @@ -49243,7 +49448,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - *89 - - *145 + - *146 responses: '204': description: Response @@ -49271,7 +49476,7 @@ paths: - *17 - *19 - *89 - - *145 + - *146 responses: '200': description: Response @@ -49315,7 +49520,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *89 - - *145 + - *146 - &395 name: codespace_name in: path @@ -49350,7 +49555,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *89 - - *145 + - *146 - *395 responses: '200': @@ -49533,13 +49738,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *89 - - *145 + - *146 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *148 + schema: *149 examples: default: value: @@ -49609,7 +49814,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - *89 - - *145 + - *146 responses: '200': description: Response @@ -49755,7 +49960,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - *89 - - *145 + - *146 requestBody: required: false content: @@ -49811,7 +50016,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - *89 - - *145 + - *146 responses: '204': description: Response @@ -51033,7 +51238,7 @@ paths: parameters: - *89 - *220 - - *144 + - *145 responses: '204': description: Response @@ -51064,7 +51269,7 @@ paths: parameters: - *89 - *220 - - *144 + - *145 responses: '204': description: Response @@ -51090,7 +51295,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *89 - - *145 + - *146 responses: '204': description: Response @@ -51116,8 +51321,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *89 + - *146 - *145 - - *144 responses: '204': description: Response @@ -51148,8 +51353,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *89 + - *146 - *145 - - *144 responses: '204': description: Response @@ -51178,7 +51383,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *89 - - *144 + - *145 responses: '200': description: Response @@ -51242,7 +51447,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *89 - - *144 + - *145 requestBody: required: true content: @@ -51335,7 +51540,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *89 - - *144 + - *145 responses: '204': description: Response @@ -51361,7 +51566,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *89 - - *144 + - *145 - *17 - *19 responses: @@ -51502,7 +51707,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *89 - - *144 + - *145 - *17 - *19 responses: @@ -51708,7 +51913,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *89 - - *145 + - *146 requestBody: required: false content: @@ -51766,7 +51971,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *89 - - *145 + - *146 responses: '204': description: Response @@ -52632,7 +52837,7 @@ paths: '422': *15 '404': *6 '403': *29 - '204': *157 + '204': *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52673,7 +52878,7 @@ paths: application/json: schema: type: array - items: *290 + items: *288 examples: default: &417 value: @@ -53058,7 +53263,7 @@ paths: responses: '500': *40 '404': *6 - '204': *157 + '204': *130 '403': *29 '422': *15 x-github: @@ -53099,7 +53304,7 @@ paths: application/json: schema: type: array - items: *290 + items: *288 examples: default: *417 headers: @@ -53661,7 +53866,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *89 - - *300 + - *298 responses: '200': description: The specified private registry configuration for the organization @@ -53692,7 +53897,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *89 - - *300 + - *298 requestBody: required: true content: @@ -53856,7 +54061,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *89 - - *300 + - *298 responses: '204': description: Response @@ -54367,7 +54572,7 @@ paths: items: *4 requested_teams: type: array - items: *319 + items: *317 head: type: object properties: @@ -56793,7 +56998,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *89 - - *155 + - *156 responses: '200': description: Response @@ -56825,7 +57030,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *89 - - *155 + - *156 requestBody: required: true content: @@ -56872,9 +57077,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *89 - - *155 + - *156 responses: - '204': *157 + '204': *130 '403': *29 '404': *6 x-github: @@ -57075,7 +57280,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *89 - - *145 + - *146 responses: '204': description: Response if user is a public member @@ -57100,7 +57305,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *89 - - *145 + - *146 responses: '204': description: Response @@ -57122,7 +57327,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *89 - - *145 + - *146 responses: '204': description: Response @@ -57193,7 +57398,7 @@ paths: application/json: schema: type: array - items: *290 + items: *288 examples: default: *417 headers: @@ -58680,7 +58885,7 @@ paths: schema: type: string x-multi-segment: true - - *316 + - *314 - *107 - &745 name: actor_name @@ -59651,7 +59856,7 @@ paths: - patched_versions - vulnerable_functions additionalProperties: false - cvss_severities: *132 + cvss_severities: *133 cwes: type: array nullable: true @@ -59718,7 +59923,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *319 + items: *317 private_fork: readOnly: true nullable: true @@ -60394,9 +60599,9 @@ paths: type: integer repositories: type: array - items: *290 + items: *288 examples: - default: *304 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60465,7 +60670,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *89 - - *284 + - *282 responses: '204': description: Response @@ -60488,7 +60693,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *89 - - *284 + - *282 responses: '204': description: Response @@ -60529,7 +60734,7 @@ paths: type: integer network_configurations: type: array - items: *150 + items: *151 examples: default: *466 headers: @@ -60608,9 +60813,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: *151 + default: *152 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60631,15 +60836,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *89 - - *152 + - *153 responses: '200': description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: *151 + default: *152 headers: Link: *47 x-github: @@ -60661,7 +60866,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *89 - - *152 + - *153 requestBody: required: true content: @@ -60714,9 +60919,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *151 examples: - default: *151 + default: *152 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60736,7 +60941,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *89 - - *152 + - *153 responses: '204': description: Response @@ -60976,7 +61181,7 @@ paths: application/json: schema: type: array - items: *319 + items: *317 examples: default: *403 headers: @@ -61808,7 +62013,7 @@ paths: parameters: - *89 - *220 - - *145 + - *146 responses: '200': description: Response @@ -61879,7 +62084,7 @@ paths: parameters: - *89 - *220 - - *145 + - *146 requestBody: required: false content: @@ -61943,7 +62148,7 @@ paths: parameters: - *89 - *220 - - *145 + - *146 responses: '204': description: Response @@ -61980,7 +62185,7 @@ paths: application/json: schema: type: array - items: *290 + items: *288 examples: default: *417 headers: @@ -62779,7 +62984,7 @@ paths: application/json: schema: type: array - items: *319 + items: *317 examples: response-if-child-teams-exist: &821 value: @@ -65009,7 +65214,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -65119,7 +65324,7 @@ paths: description: Empty response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -65316,7 +65521,7 @@ paths: type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *62 - selected_actions_url: *277 + selected_actions_url: *275 sha_pinning_required: *63 required: - enabled @@ -65481,7 +65686,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *277 examples: default: value: @@ -65516,7 +65721,7 @@ paths: required: true content: application/json: - schema: *280 + schema: *278 examples: default: summary: Set retention days @@ -65549,7 +65754,7 @@ paths: application/json: schema: *64 examples: - default: *281 + default: *279 '404': *6 x-github: enabledForGitHubApps: true @@ -65610,7 +65815,7 @@ paths: description: Response content: application/json: - schema: *282 + schema: *280 examples: default: *65 '403': *29 @@ -65638,7 +65843,7 @@ paths: required: true content: application/json: - schema: *283 + schema: *281 examples: default: *65 responses: @@ -65736,7 +65941,7 @@ paths: description: Response content: application/json: - schema: *286 + schema: *284 examples: default: *71 x-github: @@ -65771,7 +65976,7 @@ paths: required: true content: application/json: - schema: *287 + schema: *285 examples: default: *71 x-github: @@ -65854,9 +66059,9 @@ paths: application/json: schema: type: array - items: *291 + items: *289 examples: - default: *292 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65922,7 +66127,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *293 + '201': *291 '404': *6 '422': *7 '409': *121 @@ -65962,7 +66167,7 @@ paths: application/json: schema: *81 examples: - default: *294 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65999,7 +66204,7 @@ paths: application/json: schema: *81 examples: - default: *295 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66031,7 +66236,7 @@ paths: application/json: schema: *78 examples: - default: *296 + default: *294 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66211,7 +66416,7 @@ paths: - *479 - *77 responses: - '200': *297 + '200': *295 '404': *6 x-github: githubCloudOnly: false @@ -66241,7 +66446,7 @@ paths: - *478 - *479 - *77 - - *298 + - *296 responses: '200': *83 '404': *6 @@ -66577,8 +66782,8 @@ paths: - author - committer nullable: true - repository: *290 - head_repository: *290 + repository: *288 + head_repository: *288 head_repository_id: type: integer example: 5 @@ -67264,7 +67469,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -67555,7 +67760,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -67659,7 +67864,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -67875,7 +68080,7 @@ paths: reviewer: anyOf: - *4 - - *319 + - *317 required: - environment - wait_timer @@ -68184,7 +68389,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -68230,7 +68435,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -68481,7 +68686,7 @@ paths: parameters: - *478 - *479 - - *300 + - *298 responses: '200': description: Response @@ -68517,7 +68722,7 @@ paths: parameters: - *478 - *479 - - *300 + - *298 requestBody: required: true content: @@ -68548,7 +68753,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -68576,7 +68781,7 @@ paths: parameters: - *478 - *479 - - *300 + - *298 responses: '204': description: Response @@ -68673,7 +68878,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -68700,7 +68905,7 @@ paths: parameters: - *478 - *479 - - *303 + - *301 responses: '200': description: Response @@ -68736,7 +68941,7 @@ paths: parameters: - *478 - *479 - - *303 + - *301 requestBody: required: true content: @@ -68780,7 +68985,7 @@ paths: parameters: - *478 - *479 - - *303 + - *301 responses: '204': description: Response @@ -70066,7 +70271,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *319 + items: *317 apps: description: The list of apps with review dismissal access. @@ -70095,7 +70300,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *319 + items: *317 apps: description: The list of apps allowed to bypass pull request requirements. @@ -70184,7 +70389,7 @@ paths: type: string teams: type: array - items: *319 + items: *317 apps: type: array items: @@ -70526,12 +70731,12 @@ paths: nullable: true oneOf: - *4 - - *301 + - *299 committer: nullable: true oneOf: - *4 - - *301 + - *299 parents: type: array items: @@ -71310,7 +71515,7 @@ paths: items: *4 teams: type: array - items: *319 + items: *317 apps: type: array items: *5 @@ -71328,7 +71533,7 @@ paths: items: *4 teams: type: array - items: *319 + items: *317 apps: type: array items: *5 @@ -72715,7 +72920,7 @@ paths: application/json: schema: type: array - items: *319 + items: *317 examples: default: *403 '404': *6 @@ -72775,7 +72980,7 @@ paths: application/json: schema: type: array - items: *319 + items: *317 examples: default: *403 '422': *15 @@ -72836,7 +73041,7 @@ paths: application/json: schema: type: array - items: *319 + items: *317 examples: default: *403 '422': *15 @@ -72896,7 +73101,7 @@ paths: application/json: schema: type: array - items: *319 + items: *317 examples: default: *403 '422': *15 @@ -73291,9 +73496,9 @@ paths: application/json: schema: type: array - items: *314 + items: *312 examples: - default: *315 + default: *313 '404': *6 '500': *40 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -73328,7 +73533,7 @@ paths: description: Response content: application/json: - schema: *314 + schema: *312 examples: default: value: @@ -73402,9 +73607,9 @@ paths: application/json: schema: type: array - items: *317 + items: *315 examples: - default: *318 + default: *316 '404': *6 '403': *29 '500': *40 @@ -73441,7 +73646,7 @@ paths: description: A single bypass request. content: application/json: - schema: *317 + schema: *315 examples: default: value: @@ -74770,7 +74975,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -74908,7 +75113,7 @@ paths: nullable: true properties: *222 required: *223 - repository: *290 + repository: *288 created_at: type: string format: date-time @@ -75324,7 +75529,7 @@ paths: required: - app_id - setting - repository: *290 + repository: *288 examples: default: value: @@ -75772,7 +75977,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -75801,8 +76006,8 @@ paths: parameters: - *478 - *479 - - *323 - - *324 + - *321 + - *322 - *19 - *17 - &565 @@ -75838,7 +76043,7 @@ paths: be returned. in: query required: false - schema: *325 + schema: *323 - name: severity description: If specified, only code scanning alerts with this severity will be returned. @@ -75863,14 +76068,14 @@ paths: items: type: object properties: - number: *130 - created_at: *137 - updated_at: *138 - url: *135 - html_url: *136 + number: *131 + created_at: *138 + updated_at: *139 + url: *136 + html_url: *137 instances_url: *552 state: *115 - fixed_at: *140 + fixed_at: *141 dismissed_by: title: Simple User description: A GitHub user. @@ -75878,7 +76083,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *139 + dismissed_at: *140 dismissed_reason: *553 dismissed_comment: *554 rule: *555 @@ -76046,7 +76251,7 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *130 + schema: *131 responses: '200': description: Response @@ -76055,14 +76260,14 @@ paths: schema: &560 type: object properties: - number: *130 - created_at: *137 - updated_at: *138 - url: *135 - html_url: *136 + number: *131 + created_at: *138 + updated_at: *139 + url: *136 + html_url: *137 instances_url: *552 state: *115 - fixed_at: *140 + fixed_at: *141 dismissed_by: title: Simple User description: A GitHub user. @@ -76070,7 +76275,7 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *139 + dismissed_at: *140 dismissed_reason: *553 dismissed_comment: *554 rule: @@ -76713,8 +76918,8 @@ paths: parameters: - *478 - *479 - - *323 - - *324 + - *321 + - *322 - *19 - *17 - *566 @@ -78192,7 +78397,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -78521,7 +78726,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': *157 + '204': *130 '304': *37 '403': *29 '404': *6 @@ -79478,7 +79683,7 @@ paths: parameters: - *478 - *479 - - *300 + - *298 responses: '200': description: Response @@ -79508,7 +79713,7 @@ paths: parameters: - *478 - *479 - - *300 + - *298 requestBody: required: true content: @@ -79536,7 +79741,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -79562,7 +79767,7 @@ paths: parameters: - *478 - *479 - - *300 + - *298 responses: '204': description: Response @@ -79802,7 +80007,7 @@ paths: parameters: - *478 - *479 - - *145 + - *146 responses: '204': description: Response if user is a collaborator @@ -79850,7 +80055,7 @@ paths: parameters: - *478 - *479 - - *145 + - *146 requestBody: required: false content: @@ -79887,7 +80092,7 @@ paths: example: 42 type: integer format: int64 - repository: *290 + repository: *288 invitee: title: Simple User description: A GitHub user. @@ -80065,7 +80270,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *265 + schema: *263 '403': *29 x-github: triggersNotification: true @@ -80107,7 +80312,7 @@ paths: parameters: - *478 - *479 - - *145 + - *146 responses: '204': description: No Content when collaborator was removed from the repository. @@ -80140,7 +80345,7 @@ paths: parameters: - *478 - *479 - - *145 + - *146 responses: '200': description: if user has admin permissions @@ -82196,7 +82401,7 @@ paths: type: string total_count: type: integer - repository: *290 + repository: *288 commit_url: type: string format: uri @@ -84197,22 +84402,22 @@ paths: parameters: - *478 - *479 + - *338 + - *339 - *340 - *341 - *342 - - *343 - - *344 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *345 + - *343 - *614 + - *344 + - *345 - *346 - - *347 - - *348 - *112 - *110 - *111 @@ -84228,7 +84433,7 @@ paths: type: object description: A Dependabot alert. properties: - number: *130 + number: *131 state: type: string description: The state of the Dependabot alert. @@ -84243,7 +84448,7 @@ paths: description: Details for the vulnerable dependency. readOnly: true properties: - package: *131 + package: *132 manifest_path: type: string description: The full path to the dependency manifest file, @@ -84272,12 +84477,12 @@ paths: - transitive - inconclusive security_advisory: *615 - security_vulnerability: *134 - url: *135 - html_url: *136 - created_at: *137 - updated_at: *138 - dismissed_at: *139 + security_vulnerability: *135 + url: *136 + html_url: *137 + created_at: *138 + updated_at: *139 + dismissed_at: *140 dismissed_by: title: Simple User description: A GitHub user. @@ -84301,7 +84506,7 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *140 + fixed_at: *141 auto_dismissed_at: *616 dismissal_request: *617 assignees: @@ -84569,7 +84774,7 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *130 + schema: *131 responses: '200': description: Response @@ -84998,7 +85203,7 @@ paths: parameters: - *478 - *479 - - *300 + - *298 responses: '200': description: Response @@ -85032,7 +85237,7 @@ paths: parameters: - *478 - *479 - - *300 + - *298 requestBody: required: true content: @@ -85060,7 +85265,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -85086,7 +85291,7 @@ paths: parameters: - *478 - *479 - - *300 + - *298 responses: '204': description: Response @@ -87371,7 +87576,7 @@ paths: reviewer: anyOf: - *4 - - *319 + - *317 required: - id - node_id @@ -88401,7 +88606,7 @@ paths: - *478 - *479 - *640 - - *300 + - *298 responses: '200': description: Response @@ -88434,7 +88639,7 @@ paths: - *478 - *479 - *640 - - *300 + - *298 requestBody: required: true content: @@ -88465,7 +88670,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -88494,7 +88699,7 @@ paths: - *478 - *479 - *640 - - *300 + - *298 responses: '204': description: Default response @@ -88593,7 +88798,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -88621,7 +88826,7 @@ paths: - *478 - *479 - *640 - - *303 + - *301 responses: '200': description: Response @@ -88652,7 +88857,7 @@ paths: parameters: - *478 - *479 - - *303 + - *301 - *640 requestBody: required: true @@ -88697,7 +88902,7 @@ paths: parameters: - *478 - *479 - - *303 + - *301 - *640 responses: '204': @@ -88812,7 +89017,7 @@ paths: application/json: schema: type: array - items: *290 + items: *288 examples: default: value: @@ -89065,7 +89270,7 @@ paths: application/json: schema: oneOf: - - *265 + - *263 - *653 x-github: githubCloudOnly: false @@ -91005,7 +91210,7 @@ paths: - *478 - *479 responses: - '204': *157 + '204': *130 '409': *121 x-github: githubCloudOnly: false @@ -91026,7 +91231,7 @@ paths: - *478 - *479 responses: - '204': *157 + '204': *130 '409': *121 x-github: githubCloudOnly: false @@ -93311,7 +93516,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *319 + requested_team: *317 dismissed_review: title: Issue Event Dismissed Review type: object @@ -95026,7 +95231,7 @@ paths: properties: *222 required: *223 review_requester: *4 - requested_team: *319 + requested_team: *317 requested_reviewer: *4 required: - review_requester @@ -95073,7 +95278,7 @@ paths: properties: *222 required: *223 review_requester: *4 - requested_team: *319 + requested_team: *317 requested_reviewer: *4 required: - review_requester @@ -99234,7 +99439,7 @@ paths: - *479 - *716 responses: - '204': *157 + '204': *130 '404': *6 x-github: githubCloudOnly: false @@ -99491,7 +99696,7 @@ paths: description: Empty response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -99559,7 +99764,7 @@ paths: - *478 - *479 responses: - '204': *157 + '204': *130 '422': *14 x-github: githubCloudOnly: false @@ -99581,7 +99786,7 @@ paths: - *478 - *479 responses: - '204': *157 + '204': *130 '422': *14 x-github: githubCloudOnly: false @@ -101904,7 +102109,7 @@ paths: items: *4 teams: type: array - items: *319 + items: *317 required: - users - teams @@ -105866,8 +106071,8 @@ paths: items: &758 type: object properties: - number: *130 - created_at: *137 + number: *131 + created_at: *138 updated_at: type: string description: 'The time that the alert was last updated in ISO @@ -105875,8 +106080,8 @@ paths: format: date-time readOnly: true nullable: true - url: *135 - html_url: *136 + url: *136 + html_url: *137 locations_url: type: string format: uri @@ -107621,7 +107826,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *265 + schema: *263 examples: invalid_state_transition: value: @@ -107840,7 +108045,7 @@ paths: - 1124 - -435 '202': *39 - '204': *157 + '204': *130 '422': description: Repository contains more than 10,000 commits x-github: @@ -107910,7 +108115,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *157 + '204': *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108012,7 +108217,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *157 + '204': *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108213,7 +108418,7 @@ paths: - - 0 - 2 - 21 - '204': *157 + '204': *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108653,7 +108858,7 @@ paths: application/json: schema: type: array - items: *319 + items: *317 examples: default: *403 headers: @@ -109179,7 +109384,7 @@ paths: description: Response content: application/json: - schema: *290 + schema: *288 examples: default: value: @@ -109626,7 +109831,7 @@ paths: application/json: schema: type: array - items: *290 + items: *288 examples: default: value: @@ -109732,7 +109937,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *284 + - *282 - *680 requestBody: required: true @@ -109835,7 +110040,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *284 + - *282 - *680 requestBody: required: true @@ -109934,7 +110139,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *284 + - *282 - *680 - *387 responses: @@ -112085,7 +112290,7 @@ paths: html_url: type: string format: uri - repository: *290 + repository: *288 score: type: number file_size: @@ -112389,7 +112594,7 @@ paths: type: string sha: type: string - repository: *290 + repository: *288 score: type: number node_id: @@ -114315,7 +114520,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - *817 - - *145 + - *146 responses: '204': description: if user is a member @@ -114352,7 +114557,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - *817 - - *145 + - *146 responses: '204': description: Response @@ -114392,7 +114597,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - *817 - - *145 + - *146 responses: '204': description: Response @@ -114429,7 +114634,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - *817 - - *145 + - *146 responses: '200': description: Response @@ -114471,7 +114676,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - *817 - - *145 + - *146 requestBody: required: false content: @@ -114533,7 +114738,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - *817 - - *145 + - *146 responses: '204': description: Response @@ -114570,7 +114775,7 @@ paths: application/json: schema: type: array - items: *290 + items: *288 examples: default: *417 headers: @@ -114976,7 +115181,7 @@ paths: application/json: schema: type: array - items: *319 + items: *317 examples: response-if-child-teams-exist: *821 headers: @@ -115628,7 +115833,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: - - *145 + - *146 responses: '204': description: If the user is blocked @@ -115656,7 +115861,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *145 + - *146 responses: '204': description: Response @@ -115680,7 +115885,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *145 + - *146 responses: '204': description: Response @@ -116034,7 +116239,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *300 + - *298 responses: '200': description: Response @@ -116070,7 +116275,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *300 + - *298 requestBody: required: true content: @@ -116115,7 +116320,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -116143,7 +116348,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *300 + - *298 responses: '204': description: Response @@ -116168,7 +116373,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *300 + - *298 responses: '200': description: Response @@ -116184,9 +116389,9 @@ paths: type: integer repositories: type: array - items: *290 + items: *288 examples: - default: *334 + default: *332 '401': *25 '403': *29 '404': *6 @@ -116211,7 +116416,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *300 + - *298 requestBody: required: true content: @@ -116265,7 +116470,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *300 + - *298 - name: repository_id in: path required: true @@ -116298,7 +116503,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *300 + - *298 - name: repository_id in: path required: true @@ -117927,7 +118132,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: - - *145 + - *146 responses: '204': description: if the person is followed by the authenticated user @@ -117957,7 +118162,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *145 + - *146 responses: '204': description: Response @@ -117982,7 +118187,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *145 + - *146 responses: '204': description: Response @@ -118523,7 +118728,7 @@ paths: allOf: - *80 examples: - default: *285 + default: *283 headers: Link: *47 '404': *6 @@ -118549,7 +118754,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *284 + - *282 responses: '204': description: Response @@ -118575,7 +118780,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *284 + - *282 responses: '204': description: Response @@ -121809,7 +122014,7 @@ paths: application/json: schema: type: array - items: *290 + items: *288 examples: default: *417 headers: @@ -122246,7 +122451,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *145 + - *146 responses: '200': description: Response @@ -122284,7 +122489,7 @@ paths: - *17 - *110 - *111 - - *145 + - *146 requestBody: required: true content: @@ -122366,7 +122571,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *145 + - *146 requestBody: required: true content: @@ -122431,7 +122636,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *145 + - *146 - name: subject_digest description: Subject Digest in: path @@ -122462,7 +122667,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *145 + - *146 - name: attestation_id description: Attestation ID in: path @@ -122500,7 +122705,7 @@ paths: - *17 - *110 - *111 - - *145 + - *146 - name: subject_digest description: Subject Digest in: path @@ -122542,7 +122747,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *299 examples: default: value: @@ -122568,7 +122773,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: - - *145 + - *146 responses: '200': description: Response @@ -122601,7 +122806,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *145 + - *146 - *17 - *19 responses: @@ -122673,7 +122878,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: - - *145 + - *146 - *89 - *17 - *19 @@ -122761,7 +122966,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *145 + - *146 - *17 - *19 responses: @@ -122829,7 +123034,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *145 + - *146 - *17 - *19 responses: @@ -122860,7 +123065,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *145 + - *146 - *17 - *19 responses: @@ -122891,7 +123096,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: - - *145 + - *146 - name: target_user in: path required: true @@ -122918,7 +123123,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *145 + - *146 - *234 - *17 - *19 @@ -122952,7 +123157,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: - - *145 + - *146 - *17 - *19 responses: @@ -122988,7 +123193,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *145 + - *146 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -123060,7 +123265,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: - - *145 + - *146 responses: '200': description: Response @@ -123086,7 +123291,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *145 + - *146 - *17 - *19 responses: @@ -123141,7 +123346,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *145 + - *146 - *17 - *19 responses: @@ -123193,7 +123398,7 @@ paths: - nuget - container - *837 - - *145 + - *146 - *19 - *17 responses: @@ -123230,7 +123435,7 @@ paths: parameters: - *406 - *407 - - *145 + - *146 responses: '200': description: Response @@ -123261,7 +123466,7 @@ paths: parameters: - *406 - *407 - - *145 + - *146 responses: '204': description: Response @@ -123295,7 +123500,7 @@ paths: parameters: - *406 - *407 - - *145 + - *146 - name: token description: package token schema: @@ -123329,7 +123534,7 @@ paths: parameters: - *406 - *407 - - *145 + - *146 responses: '200': description: Response @@ -123398,7 +123603,7 @@ paths: - *406 - *407 - *409 - - *145 + - *146 responses: '200': description: Response @@ -123441,7 +123646,7 @@ paths: parameters: - *406 - *407 - - *145 + - *146 - *409 responses: '204': @@ -123476,7 +123681,7 @@ paths: parameters: - *406 - *407 - - *145 + - *146 - *409 responses: '204': @@ -123501,7 +123706,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *145 + - *146 - name: q description: Limit results to projects of the specified type. in: query @@ -123543,7 +123748,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - *422 - - *145 + - *146 responses: '200': description: Response @@ -123574,7 +123779,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - *422 - - *145 + - *146 - *17 - *110 - *111 @@ -123608,7 +123813,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#add-field-to-user-owned-project parameters: - - *145 + - *146 - *422 requestBody: required: true @@ -123721,7 +123926,7 @@ paths: parameters: - *422 - *869 - - *145 + - *146 responses: '200': description: Response @@ -123753,7 +123958,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - *422 - - *145 + - *146 - *110 - *111 - *17 @@ -123808,7 +124013,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *145 + - *146 - *422 requestBody: required: true @@ -123915,7 +124120,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *422 - - *145 + - *146 - *432 - name: fields description: |- @@ -123960,7 +124165,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - *422 - - *145 + - *146 - *432 requestBody: required: true @@ -124058,7 +124263,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - *422 - - *145 + - *146 - *432 responses: '204': @@ -124082,7 +124287,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-project-view parameters: - *422 - - *145 + - *146 - *871 - name: fields description: |- @@ -124139,7 +124344,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: - - *145 + - *146 - *17 - *19 responses: @@ -124214,7 +124419,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: - - *145 + - *146 - *17 - *19 responses: @@ -124287,7 +124492,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *145 + - *146 - name: type description: Limit results to repositories of the specified type. in: query @@ -124330,7 +124535,7 @@ paths: application/json: schema: type: array - items: *290 + items: *288 examples: default: *417 headers: @@ -124352,7 +124557,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: - - *145 + - *146 - *17 - *19 responses: @@ -124384,7 +124589,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: - - *145 + - *146 - *17 - *19 responses: @@ -124420,7 +124625,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - -{"code":"deadline_exceeded","msg":"operation timed out"}