diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 7858f82da..2dedcafb5 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -207,6 +207,10 @@ { "name": "agent-tasks", "description": "Endpoints to manage and interact with agent tasks." + }, + { + "name": "agents", + "description": "Endpoints for Agents secrets and variables." } ], "servers": [ @@ -7659,6 +7663,14 @@ "null" ], "description": "The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/rest/scim#list-provisioned-scim-groups-for-an-enterprise)." + }, + "notification_setting": { + "type": "string", + "description": "The notification setting the team is set to. The options are:\n\n* `notifications_enabled` - team members receive notifications when the team is @mentioned.\n* `notifications_disabled` - no one receives notifications.\n\nDefault: `notifications_enabled`\n", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -8501,6 +8513,14 @@ "null" ], "description": "The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group." + }, + "notification_setting": { + "type": "string", + "description": "The notification setting the team is set to. The options are:\n\n* `notifications_enabled` - team members receive notifications when the team is @mentioned.\n* `notifications_disabled` - no one receives notifications.\n", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } } }, @@ -17700,6 +17720,1045 @@ } } }, + "/orgs/{org}/agents/secrets": { + "get": { + "summary": "List organization secrets", + "description": "Lists all secrets available in an organization without revealing their\nencrypted values.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-org-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-organization-secrets" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "secrets" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "secrets": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-actions-secret" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-actions-secret-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/public-key": { + "get": { + "summary": "Get an organization public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-public-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#get-an-organization-public-key" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/actions-public-key" + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-public-key" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}": { + "get": { + "summary": "Get an organization secret", + "description": "Gets a single organization secret without revealing its encrypted value.\n\nThe authenticated user must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#get-an-organization-secret" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-actions-secret" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-actions-secret" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "put": { + "summary": "Create or update an organization secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-or-update-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "encrypted_value": { + "type": "string", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/agents/secrets#get-an-organization-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "type": "string", + "description": "ID of the key you used to encrypt the secret." + }, + "visibility": { + "type": "string", + "description": "Which type of organization repositories have access to the organization secret. `selected` means only the repositories specified by `selected_repository_ids` can access the secret.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "encrypted_value", + "key_id", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response when creating a secret", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/empty-object" + }, + "examples": { + "default": { + "value": null + } + } + } + } + }, + "204": { + "description": "Response when updating a secret" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "delete": { + "summary": "Delete an organization secret", + "description": "Deletes a secret in an organization using the secret name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#delete-an-organization-secret" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}/repositories": { + "get": { + "summary": "List selected repositories for an organization secret", + "description": "Lists all repositories that have been selected when the `visibility`\nfor repository access to a secret is set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-selected-repos-for-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/minimal-repository" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/public-repository-paginated" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "put": { + "summary": "Set selected repositories for an organization secret", + "description": "Replaces all repositories for an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/set-selected-repos-for-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization secret](https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}": { + "put": { + "summary": "Add selected repository to an organization secret", + "description": "Adds a repository to an organization secret when the `visibility` for\nrepository access is set to `selected`. For more information about setting the visibility, see [Create or\nupdate an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/add-selected-repo-to-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "No Content when repository was added to the selected list" + }, + "409": { + "description": "Conflict when visibility type is not set to selected" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "delete": { + "summary": "Remove selected repository from an organization secret", + "description": "Removes a repository from an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/remove-selected-repo-from-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response when repository was removed from the selected list" + }, + "409": { + "description": "Conflict when visibility type not set to selected" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/variables": { + "get": { + "summary": "List organization variables", + "description": "Lists all agent variables available in an organization.\nReturned variables include their values.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-org-variables", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#list-organization-variables" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variables-per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "variables" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-actions-variable" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-actions-variables-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "post": { + "summary": "Create an organization variable", + "description": "Creates an organization agent variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#create-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + }, + "visibility": { + "type": "string", + "description": "The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "name", + "value", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response when creating a variable", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/empty-object" + }, + "examples": { + "default": { + "value": null + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}": { + "get": { + "summary": "Get an organization variable", + "description": "Gets a specific agent variable in an organization.\n\nThe authenticated user must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#get-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-actions-variable" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-actions-variable" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "patch": { + "summary": "Update an organization variable", + "description": "Updates an organization agent variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/update-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#update-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + }, + "visibility": { + "type": "string", + "description": "The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Delete an organization variable", + "description": "Deletes an organization agent variable using the variable name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#delete-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}/repositories": { + "get": { + "summary": "List selected repositories for an organization variable", + "description": "Lists all repositories that can access an organization agent variable\nthat is available to selected repositories.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-selected-repos-for-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#list-selected-repositories-for-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/minimal-repository" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/public-repository-paginated" + } + } + } + } + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "put": { + "summary": "Set selected repositories for an organization variable", + "description": "Replaces all repositories for an organization agent variable that is available\nto selected repositories. Organization variables that are available to selected\nrepositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/set-selected-repos-for-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#set-selected-repositories-for-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "The IDs of the repositories that can access the organization variable.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}/repositories/{repository_id}": { + "put": { + "summary": "Add selected repository to an organization variable", + "description": "Adds a repository to an organization agent variable that is available to selected repositories.\nOrganization variables that are available to selected repositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/add-selected-repo-to-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#add-selected-repository-to-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Remove selected repository from an organization variable", + "description": "Removes a repository from an organization agent variable that is\navailable to selected repositories. Organization variables that are available to\nselected repositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/remove-selected-repo-from-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#remove-selected-repository-from-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, "/orgs/{org}/artifacts/metadata/deployment-record": { "post": { "summary": "Create an artifact deployment record", @@ -42306,23 +43365,712 @@ "type": "object", "required": [ "total_count", - "workflows" + "workflows" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "workflows": { + "type": "array", + "items": { + "$ref": "#/components/schemas/workflow" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/workflow-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}": { + "get": { + "summary": "Get a workflow", + "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow\nfile name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "tags": [ + "actions" + ], + "operationId": "actions/get-workflow", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/workflows#get-a-workflow" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/workflow" + }, + "examples": { + "default": { + "$ref": "#/components/examples/workflow" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable": { + "put": { + "summary": "Disable a workflow", + "description": "Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/disable-workflow", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/workflows#disable-a-workflow" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": { + "post": { + "summary": "Create a workflow dispatch event", + "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "operationId": "actions/create-workflow-dispatch", + "tags": [ + "actions" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + } + ], + "responses": { + "204": { + "description": "Empty response when `return_run_details` parameter is `false`." + }, + "200": { + "description": "Response including the workflow run ID and URLs when `return_run_details` parameter is `true`.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/workflow-dispatch-response" + }, + "examples": { + "default": { + "$ref": "#/components/examples/workflow-dispatch-response" + } + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The git reference for the workflow. The reference can be a branch or tag name." + }, + "inputs": { + "type": "object", + "description": "Input keys and values configured in the workflow file. The maximum number of properties is 25. Any default properties configured in the workflow file will be used when `inputs` are omitted.", + "additionalProperties": true, + "maxProperties": 25 + }, + "return_run_details": { + "type": "boolean", + "description": "Whether the response should include the workflow run ID and URLs." + } + }, + "required": [ + "ref" + ] + }, + "examples": { + "default": { + "value": { + "ref": "topic-branch", + "inputs": { + "name": "Mona the Octocat", + "home": "San Francisco, CA" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": { + "put": { + "summary": "Enable a workflow", + "description": "Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/enable-workflow", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/workflows#enable-a-workflow" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": { + "get": { + "summary": "List workflow runs for a workflow", + "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.\n\nThis endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.", + "tags": [ + "actions" + ], + "operationId": "actions/list-workflow-runs", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + }, + { + "$ref": "#/components/parameters/actor" + }, + { + "$ref": "#/components/parameters/workflow-run-branch" + }, + { + "$ref": "#/components/parameters/event" + }, + { + "$ref": "#/components/parameters/workflow-run-status" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/created" + }, + { + "$ref": "#/components/parameters/exclude-pull-requests" + }, + { + "$ref": "#/components/parameters/workflow-run-check-suite-id" + }, + { + "$ref": "#/components/parameters/workflow-run-head-sha" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "workflow_runs" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "workflow_runs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/workflow-run" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/workflow-run-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "workflow-runs" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": { + "get": { + "summary": "Get workflow usage", + "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "tags": [ + "actions" + ], + "operationId": "actions/get-workflow-usage", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/workflows#get-workflow-usage" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/workflow-usage" + }, + "examples": { + "default": { + "$ref": "#/components/examples/workflow-usage" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/activity": { + "get": { + "summary": "List repository activities", + "description": "Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users.\n\nFor more information about viewing repository activity,\nsee \"[Viewing activity and data for your repository](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository).\"", + "tags": [ + "repos" + ], + "operationId": "repos/list-activities", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#list-repository-activities" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "name": "ref", + "description": "The Git reference for the activities you want to list.\n\nThe `ref` for a branch can be formatted either as `refs/heads/BRANCH_NAME` or `BRANCH_NAME`, where `BRANCH_NAME` is the name of your branch.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "actor", + "description": "The GitHub username to use to filter by the actor who performed the activity.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "time_period", + "description": "The time period to filter by.\n\nFor example, `day` will filter for activity that occurred in the past 24 hours, and `week` will filter for activity that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "day", + "week", + "month", + "quarter", + "year" + ] + } + }, + { + "name": "activity_type", + "description": "The activity type to filter by.\n\nFor example, you can choose to filter by \"force_push\", to see all force pushes to the repository.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "push", + "force_push", + "branch_creation", + "branch_deletion", + "pr_merge", + "merge_queue_merge" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/activity" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/activity-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + } + }, + "/repos/{owner}/{repo}/agents/organization-secrets": { + "get": { + "summary": "List repository organization secrets", + "description": "Lists all organization secrets shared with a repository without revealing their encrypted\nvalues.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-organization-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "secrets" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "secrets": { + "type": "array", + "items": { + "$ref": "#/components/schemas/actions-secret" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-secret-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/agents/organization-variables": { + "get": { + "summary": "List repository organization variables", + "description": "Lists all organization variables shared with a repository.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-organization-variables", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#list-repository-organization-variables" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/variables-per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "variables" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "type": "array", + "items": { + "$ref": "#/components/schemas/actions-variable" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-variables-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/repos/{owner}/{repo}/agents/secrets": { + "get": { + "summary": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted\nvalues.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-repository-secrets" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "secrets" ], "properties": { "total_count": { "type": "integer" }, - "workflows": { + "secrets": { "type": "array", "items": { - "$ref": "#/components/schemas/workflow" + "$ref": "#/components/schemas/actions-secret" } } } }, "examples": { "default": { - "$ref": "#/components/examples/workflow-paginated" + "$ref": "#/components/examples/actions-secret-paginated" } } } @@ -42337,22 +44085,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflows" + "category": "agents", + "subcategory": "secrets" } } }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}": { + "/repos/{owner}/{repo}/agents/secrets/public-key": { "get": { - "summary": "Get a workflow", - "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow\nfile name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "summary": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.\n\nAnyone with read access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "actions" + "agents" ], - "operationId": "actions/get-workflow", + "operationId": "agents/get-repo-public-key", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/workflows#get-a-workflow" + "url": "https://docs.github.com/rest/agents/secrets#get-a-repository-public-key" }, "parameters": [ { @@ -42360,9 +44108,6 @@ }, { "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/workflow-id" } ], "responses": { @@ -42371,11 +44116,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/workflow" + "$ref": "#/components/schemas/actions-public-key" }, "examples": { "default": { - "$ref": "#/components/examples/workflow" + "$ref": "#/components/examples/actions-public-key" } } } @@ -42385,22 +44130,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflows" + "category": "agents", + "subcategory": "secrets" } } }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable": { - "put": { - "summary": "Disable a workflow", - "description": "Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "/repos/{owner}/{repo}/agents/secrets/{secret_name}": { + "get": { + "summary": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value.\n\nThe authenticated user must have collaborator access to the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "actions" + "agents" ], - "operationId": "actions/disable-workflow", + "operationId": "agents/get-repo-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/workflows#disable-a-workflow" + "url": "https://docs.github.com/rest/agents/secrets#get-a-repository-secret" }, "parameters": [ { @@ -42410,33 +44155,43 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/workflow-id" + "$ref": "#/components/parameters/secret-name" } ], "responses": { - "204": { - "description": "Response" + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/actions-secret" + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-secret" + } + } + } + } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflows" + "category": "agents", + "subcategory": "secrets" } - } - }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": { - "post": { - "summary": "Create a workflow dispatch event", - "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "operationId": "actions/create-workflow-dispatch", + }, + "put": { + "summary": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "actions" + "agents" ], + "operationId": "agents/create-or-update-repo-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event" + "url": "https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret" }, "parameters": [ { @@ -42446,29 +44201,9 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/workflow-id" + "$ref": "#/components/parameters/secret-name" } ], - "responses": { - "204": { - "description": "Empty response when `return_run_details` parameter is `false`." - }, - "200": { - "description": "Response including the workflow run ID and URLs when `return_run_details` parameter is `true`.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/workflow-dispatch-response" - }, - "examples": { - "default": { - "$ref": "#/components/examples/workflow-dispatch-response" - } - } - } - } - } - }, "requestBody": { "required": true, "content": { @@ -42476,58 +44211,69 @@ "schema": { "type": "object", "properties": { - "ref": { + "encrypted_value": { "type": "string", - "description": "The git reference for the workflow. The reference can be a branch or tag name." - }, - "inputs": { - "type": "object", - "description": "Input keys and values configured in the workflow file. The maximum number of properties is 25. Any default properties configured in the workflow file will be used when `inputs` are omitted.", - "additionalProperties": true, - "maxProperties": 25 + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/rest/agents/secrets#get-a-repository-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" }, - "return_run_details": { - "type": "boolean", - "description": "Whether the response should include the workflow run ID and URLs." + "key_id": { + "type": "string", + "description": "ID of the key you used to encrypt the secret." } }, "required": [ - "ref" + "encrypted_value", + "key_id" ] }, "examples": { "default": { "value": { - "ref": "topic-branch", - "inputs": { - "name": "Mona the Octocat", - "home": "San Francisco, CA" - } + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response when creating a secret", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/empty-object" + }, + "examples": { + "default": { + "value": null } } } } + }, + "204": { + "description": "Response when updating a secret" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflows" + "category": "agents", + "subcategory": "secrets" } - } - }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": { - "put": { - "summary": "Enable a workflow", - "description": "Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + }, + "delete": { + "summary": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "actions" + "agents" ], - "operationId": "actions/enable-workflow", + "operationId": "agents/delete-repo-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/workflows#enable-a-workflow" + "url": "https://docs.github.com/rest/agents/secrets#delete-a-repository-secret" }, "parameters": [ { @@ -42537,7 +44283,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/workflow-id" + "$ref": "#/components/parameters/secret-name" } ], "responses": { @@ -42548,22 +44294,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflows" + "category": "agents", + "subcategory": "secrets" } } }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": { + "/repos/{owner}/{repo}/agents/variables": { "get": { - "summary": "List workflow runs for a workflow", - "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.\n\nThis endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.", + "summary": "List repository variables", + "description": "Lists all repository variables.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "actions" + "agents" ], - "operationId": "actions/list-workflow-runs", + "operationId": "agents/list-repo-variables", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow" + "url": "https://docs.github.com/rest/agents/variables#list-repository-variables" }, "parameters": [ { @@ -42573,37 +44319,10 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/workflow-id" - }, - { - "$ref": "#/components/parameters/actor" - }, - { - "$ref": "#/components/parameters/workflow-run-branch" - }, - { - "$ref": "#/components/parameters/event" - }, - { - "$ref": "#/components/parameters/workflow-run-status" - }, - { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/variables-per-page" }, { "$ref": "#/components/parameters/page" - }, - { - "$ref": "#/components/parameters/created" - }, - { - "$ref": "#/components/parameters/exclude-pull-requests" - }, - { - "$ref": "#/components/parameters/workflow-run-check-suite-id" - }, - { - "$ref": "#/components/parameters/workflow-run-head-sha" } ], "responses": { @@ -42615,23 +44334,23 @@ "type": "object", "required": [ "total_count", - "workflow_runs" + "variables" ], "properties": { "total_count": { "type": "integer" }, - "workflow_runs": { + "variables": { "type": "array", "items": { - "$ref": "#/components/schemas/workflow-run" + "$ref": "#/components/schemas/actions-variable" } } } }, "examples": { "default": { - "$ref": "#/components/examples/workflow-run-paginated" + "$ref": "#/components/examples/actions-variables-paginated" } } } @@ -42646,22 +44365,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflow-runs" + "category": "agents", + "subcategory": "variables" } - } - }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": { - "get": { - "summary": "Get workflow usage", - "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + }, + "post": { + "summary": "Create a repository variable", + "description": "Creates a repository variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "actions" + "agents" ], - "operationId": "actions/get-workflow-usage", + "operationId": "agents/create-repo-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/workflows#get-workflow-usage" + "url": "https://docs.github.com/rest/agents/variables#create-a-repository-variable" }, "parameters": [ { @@ -42669,22 +44386,51 @@ }, { "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/workflow-id" } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + } + }, + "required": [ + "name", + "value" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat" + } + } + } + } + } + }, "responses": { - "200": { + "201": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/workflow-usage" + "$ref": "#/components/schemas/empty-object" }, "examples": { "default": { - "$ref": "#/components/examples/workflow-usage" + "value": null } } } @@ -42693,23 +44439,23 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "actions", - "subcategory": "workflows" + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" } } }, - "/repos/{owner}/{repo}/activity": { + "/repos/{owner}/{repo}/agents/variables/{name}": { "get": { - "summary": "List repository activities", - "description": "Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users.\n\nFor more information about viewing repository activity,\nsee \"[Viewing activity and data for your repository](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository).\"", + "summary": "Get a repository variable", + "description": "Gets a specific variable in a repository.\n\nThe authenticated user must have collaborator access to the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "repos" + "agents" ], - "operationId": "repos/list-activities", + "operationId": "agents/get-repo-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/repos#list-repository-activities" + "url": "https://docs.github.com/rest/agents/variables#get-a-repository-variable" }, "parameters": [ { @@ -42719,67 +44465,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/direction" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/pagination-before" - }, - { - "$ref": "#/components/parameters/pagination-after" - }, - { - "name": "ref", - "description": "The Git reference for the activities you want to list.\n\nThe `ref` for a branch can be formatted either as `refs/heads/BRANCH_NAME` or `BRANCH_NAME`, where `BRANCH_NAME` is the name of your branch.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "actor", - "description": "The GitHub username to use to filter by the actor who performed the activity.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "time_period", - "description": "The time period to filter by.\n\nFor example, `day` will filter for activity that occurred in the past 24 hours, and `week` will filter for activity that occurred in the past 7 days (168 hours).", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "day", - "week", - "month", - "quarter", - "year" - ] - } - }, - { - "name": "activity_type", - "description": "The activity type to filter by.\n\nFor example, you can choose to filter by \"force_push\", to see all force pushes to the repository.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "push", - "force_push", - "branch_creation", - "branch_deletion", - "pr_merge", - "merge_queue_merge" - ] - } + "$ref": "#/components/parameters/variable-name" } ], "responses": { @@ -42788,33 +44474,118 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/activity" - } + "$ref": "#/components/schemas/actions-variable" }, "examples": { "default": { - "$ref": "#/components/examples/activity-items" + "$ref": "#/components/examples/actions-variable" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "patch": { + "summary": "Update a repository variable", + "description": "Updates a repository variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/update-repo-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#update-a-repository-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + } + } + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat" + } + } } } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Delete a repository variable", + "description": "Deletes a repository variable using the variable name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-repo-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#delete-a-repository-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "responses": { + "204": { + "description": "Response" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "repos" + "category": "agents", + "subcategory": "variables" } } }, @@ -116104,6 +117875,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -292491,11 +294273,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] }, "webhook-sub-issues-parent-issue-removed": { @@ -292540,11 +294321,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] }, "webhook-sub-issues-sub-issue-added": { @@ -292589,11 +294369,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] }, "webhook-sub-issues-sub-issue-removed": { @@ -292638,11 +294417,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] }, "webhook-team-add": { diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index 01e8a8eec..c8047b7a3 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -110,6 +110,8 @@ tags: description: Endpoints to manage Projects using the REST API. - name: agent-tasks description: Endpoints to manage and interact with agent tasks. +- name: agents + description: Endpoints for Agents secrets and variables. servers: - url: https://api.github.com externalDocs: @@ -5791,6 +5793,18 @@ paths: - 'null' description: The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/rest/scim#list-provisioned-scim-groups-for-an-enterprise). + notification_setting: + type: string + description: | + The notification setting the team is set to. The options are: + + * `notifications_enabled` - team members receive notifications when the team is @mentioned. + * `notifications_disabled` - no one receives notifications. + + Default: `notifications_enabled` + enum: + - notifications_enabled + - notifications_disabled required: - name examples: @@ -6329,6 +6343,16 @@ paths: description: The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group. + notification_setting: + type: string + description: | + The notification setting the team is set to. The options are: + + * `notifications_enabled` - team members receive notifications when the team is @mentioned. + * `notifications_disabled` - no one receives notifications. + enum: + - notifications_enabled + - notifications_disabled examples: default: value: @@ -13003,6 +13027,809 @@ paths: enabledForGitHubApps: true category: actions subcategory: variables + "/orgs/{org}/agents/secrets": + get: + summary: List organization secrets + description: |- + Lists all secrets available in an organization without revealing their + encrypted values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/list-org-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-organization-secrets + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: + "$ref": "#/components/schemas/organization-actions-secret" + examples: + default: + "$ref": "#/components/examples/organization-actions-secret-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/public-key": + get: + summary: Get an organization public key + description: |- + Gets your public key, which you need to encrypt secrets. You need to + encrypt a secret before you can create or update secrets. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/get-org-public-key + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-an-organization-public-key + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/actions-public-key" + examples: + default: + "$ref": "#/components/examples/actions-public-key" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/{secret_name}": + get: + summary: Get an organization secret + description: |- + Gets a single organization secret without revealing its encrypted value. + + The authenticated user must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-an-organization-secret + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-actions-secret" + examples: + default: + "$ref": "#/components/examples/organization-actions-secret" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + put: + summary: Create or update an organization secret + description: |- + Creates or updates an organization secret with an encrypted value. Encrypt your secret using + [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-or-update-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + encrypted_value: + type: string + description: Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) + using the public key retrieved from the [Get an organization public + key](https://docs.github.com/rest/agents/secrets#get-an-organization-public-key) + endpoint. + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + type: string + description: ID of the key you used to encrypt the secret. + visibility: + type: string + description: Which type of organization repositories have access + to the organization secret. `selected` means only the repositories + specified by `selected_repository_ids` can access the secret. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + secret. You can only provide a list of repository ids when the + `visibility` is set to `selected`. You can manage the list of + selected repositories using the [List selected repositories for + an organization secret](https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret), + [Set selected repositories for an organization secret](https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret), + and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) + endpoints. + items: + type: integer + required: + - encrypted_value + - key_id + - visibility + examples: + default: + value: + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: Response when creating a secret + content: + application/json: + schema: + "$ref": "#/components/schemas/empty-object" + examples: + default: + value: + '204': + description: Response when updating a secret + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + delete: + summary: Delete an organization secret + description: |- + Deletes a secret in an organization using the secret name. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#delete-an-organization-secret + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/{secret_name}/repositories": + get: + summary: List selected repositories for an organization secret + description: |- + Lists all repositories that have been selected when the `visibility` + for repository access to a secret is set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/list-selected-repos-for-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: + "$ref": "#/components/schemas/minimal-repository" + examples: + default: + "$ref": "#/components/examples/public-repository-paginated" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + put: + summary: Set selected repositories for an organization secret + description: |- + Replaces all repositories for an organization secret when the `visibility` + for repository access is set to `selected`. The visibility is set when you [Create + or update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/set-selected-repos-for-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + secret. You can only provide a list of repository ids when the + `visibility` is set to `selected`. You can add and remove individual + repositories using the [Add selected repository to an organization + secret](https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret) + and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) + endpoints. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}": + put: + summary: Add selected repository to an organization secret + description: |- + Adds a repository to an organization secret when the `visibility` for + repository access is set to `selected`. For more information about setting the visibility, see [Create or + update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/add-selected-repo-to-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: No Content when repository was added to the selected list + '409': + description: Conflict when visibility type is not set to selected + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + delete: + summary: Remove selected repository from an organization secret + description: |- + Removes a repository from an organization secret when the `visibility` + for repository access is set to `selected`. The visibility is set when you [Create + or update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/remove-selected-repo-from-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response when repository was removed from the selected list + '409': + description: Conflict when visibility type not set to selected + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/variables": + get: + summary: List organization variables + description: |- + Lists all agent variables available in an organization. + Returned variables include their values. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/list-org-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#list-organization-variables + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variables-per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: + "$ref": "#/components/schemas/organization-actions-variable" + examples: + default: + "$ref": "#/components/examples/organization-actions-variables-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + post: + summary: Create an organization variable + description: |- + Creates an organization agent variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#create-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + visibility: + type: string + description: The type of repositories in the organization that can + access the variable. `selected` means only the repositories specified + by `selected_repository_ids` can access the variable. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + variable. You can only provide a list of repository ids when the + `visibility` is set to `selected`. + items: + type: integer + required: + - name + - value + - visibility + examples: + default: + value: + name: USERNAME + value: octocat + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: Response when creating a variable + content: + application/json: + schema: + "$ref": "#/components/schemas/empty-object" + examples: + default: + value: + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/orgs/{org}/agents/variables/{name}": + get: + summary: Get an organization variable + description: |- + Gets a specific agent variable in an organization. + + The authenticated user must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#get-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variable-name" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-actions-variable" + examples: + default: + "$ref": "#/components/examples/organization-actions-variable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + patch: + summary: Update an organization variable + description: |- + Updates an organization agent variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/update-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#update-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variable-name" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + visibility: + type: string + description: The type of repositories in the organization that can + access the variable. `selected` means only the repositories specified + by `selected_repository_ids` can access the variable. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + variable. You can only provide a list of repository ids when the + `visibility` is set to `selected`. + items: + type: integer + examples: + default: + value: + name: USERNAME + value: octocat + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + delete: + summary: Delete an organization variable + description: |- + Deletes an organization agent variable using the variable name. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#delete-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variable-name" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/orgs/{org}/agents/variables/{name}/repositories": + get: + summary: List selected repositories for an organization variable + description: |- + Lists all repositories that can access an organization agent variable + that is available to selected repositories. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/list-selected-repos-for-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#list-selected-repositories-for-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variable-name" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: + "$ref": "#/components/schemas/minimal-repository" + examples: + default: + "$ref": "#/components/examples/public-repository-paginated" + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + put: + summary: Set selected repositories for an organization variable + description: |- + Replaces all repositories for an organization agent variable that is available + to selected repositories. Organization variables that are available to selected + repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/set-selected-repos-for-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#set-selected-repositories-for-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variable-name" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: The IDs of the repositories that can access the organization + variable. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/orgs/{org}/agents/variables/{name}/repositories/{repository_id}": + put: + summary: Add selected repository to an organization variable + description: |- + Adds a repository to an organization agent variable that is available to selected repositories. + Organization variables that are available to selected repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/add-selected-repo-to-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#add-selected-repository-to-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variable-name" + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + delete: + summary: Remove selected repository from an organization variable + description: |- + Removes a repository from an organization agent variable that is + available to selected repositories. Organization variables that are available to + selected repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/remove-selected-repo-from-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#remove-selected-repository-from-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variable-name" + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables "/orgs/{org}/artifacts/metadata/deployment-record": post: summary: Create an artifact deployment record @@ -30990,7 +31817,906 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: actions + subcategory: variables + delete: + summary: Delete a repository variable + description: |- + Deletes a repository variable using the variable name. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/variable-name" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + "/repos/{owner}/{repo}/actions/workflows": + get: + summary: List repository workflows + description: |- + Lists the workflows in a repository. + + Anyone with read access to the repository can use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + tags: + - actions + operationId: actions/list-repo-workflows + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/workflows#list-repository-workflows + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - workflows + properties: + total_count: + type: integer + workflows: + type: array + items: + "$ref": "#/components/schemas/workflow" + examples: + default: + "$ref": "#/components/examples/workflow-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: workflows + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}": + get: + summary: Get a workflow + description: |- + Gets a specific workflow. You can replace `workflow_id` with the workflow + file name. For example, you could use `main.yaml`. + + Anyone with read access to the repository can use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + tags: + - actions + operationId: actions/get-workflow + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/workflows#get-a-workflow + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/workflow-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/workflow" + examples: + default: + "$ref": "#/components/examples/workflow" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: workflows + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable": + put: + summary: Disable a workflow + description: |- + Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/disable-workflow + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/workflows#disable-a-workflow + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/workflow-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: workflows + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": + post: + summary: Create a workflow dispatch event + description: |- + You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. + + You must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch)." + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + operationId: actions/create-workflow-dispatch + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/workflow-id" + responses: + '204': + description: Empty response when `return_run_details` parameter is `false`. + '200': + description: Response including the workflow run ID and URLs when `return_run_details` + parameter is `true`. + content: + application/json: + schema: + "$ref": "#/components/schemas/workflow-dispatch-response" + examples: + default: + "$ref": "#/components/examples/workflow-dispatch-response" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + ref: + type: string + description: The git reference for the workflow. The reference can + be a branch or tag name. + inputs: + type: object + description: Input keys and values configured in the workflow file. + The maximum number of properties is 25. Any default properties + configured in the workflow file will be used when `inputs` are + omitted. + additionalProperties: true + maxProperties: 25 + return_run_details: + type: boolean + description: Whether the response should include the workflow run + ID and URLs. + required: + - ref + examples: + default: + value: + ref: topic-branch + inputs: + name: Mona the Octocat + home: San Francisco, CA + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: workflows + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": + put: + summary: Enable a workflow + description: |- + Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/enable-workflow + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/workflows#enable-a-workflow + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/workflow-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: workflows + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": + get: + summary: List workflow runs for a workflow + description: |- + List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#parameters). + + Anyone with read access to the repository can use this endpoint + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + + This endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`. + tags: + - actions + operationId: actions/list-workflow-runs + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/workflow-id" + - "$ref": "#/components/parameters/actor" + - "$ref": "#/components/parameters/workflow-run-branch" + - "$ref": "#/components/parameters/event" + - "$ref": "#/components/parameters/workflow-run-status" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/created" + - "$ref": "#/components/parameters/exclude-pull-requests" + - "$ref": "#/components/parameters/workflow-run-check-suite-id" + - "$ref": "#/components/parameters/workflow-run-head-sha" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - workflow_runs + properties: + total_count: + type: integer + workflow_runs: + type: array + items: + "$ref": "#/components/schemas/workflow-run" + examples: + default: + "$ref": "#/components/examples/workflow-run-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: workflow-runs + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": + get: + summary: Get workflow usage + description: "> [!WARNING] \n> This endpoint is in the process of closing down. + Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints + closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" + for more information.\n\nGets the number of billable minutes used by a specific + workflow during the current billing cycle. Billable minutes only apply to + workflows in private repositories that use GitHub-hosted runners. Usage is + listed for each GitHub-hosted runner operating system in milliseconds. Any + job re-runs are also included in the usage. The usage does not include the + multiplier for macOS and Windows runners and is not rounded up to the nearest + whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou + can replace `workflow_id` with the workflow file name. For example, you could + use `main.yaml`.\n\nAnyone with read access to the repository can use this + endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the + `repo` scope to use this endpoint with a private repository." + tags: + - actions + operationId: actions/get-workflow-usage + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/workflows#get-workflow-usage + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/workflow-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/workflow-usage" + examples: + default: + "$ref": "#/components/examples/workflow-usage" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: actions + subcategory: workflows + "/repos/{owner}/{repo}/activity": + get: + summary: List repository activities + description: |- + Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users. + + For more information about viewing repository activity, + see "[Viewing activity and data for your repository](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository)." + tags: + - repos + operationId: repos/list-activities + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#list-repository-activities + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/direction" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - name: ref + description: |- + The Git reference for the activities you want to list. + + The `ref` for a branch can be formatted either as `refs/heads/BRANCH_NAME` or `BRANCH_NAME`, where `BRANCH_NAME` is the name of your branch. + in: query + required: false + schema: + type: string + - name: actor + description: The GitHub username to use to filter by the actor who performed + the activity. + in: query + required: false + schema: + type: string + - name: time_period + description: |- + The time period to filter by. + + For example, `day` will filter for activity that occurred in the past 24 hours, and `week` will filter for activity that occurred in the past 7 days (168 hours). + in: query + required: false + schema: + type: string + enum: + - day + - week + - month + - quarter + - year + - name: activity_type + description: |- + The activity type to filter by. + + For example, you can choose to filter by "force_push", to see all force pushes to the repository. + in: query + required: false + schema: + type: string + enum: + - push + - force_push + - branch_creation + - branch_deletion + - pr_merge + - merge_queue_merge + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/activity" + examples: + default: + "$ref": "#/components/examples/activity-items" + headers: + Link: + "$ref": "#/components/headers/link" + '422': + "$ref": "#/components/responses/validation_failed_simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos + "/repos/{owner}/{repo}/agents/organization-secrets": + get: + summary: List repository organization secrets + description: |- + Lists all organization secrets shared with a repository without revealing their encrypted + values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-organization-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: + "$ref": "#/components/schemas/actions-secret" + examples: + default: + "$ref": "#/components/examples/actions-secret-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/organization-variables": + get: + summary: List repository organization variables + description: |- + Lists all organization variables shared with a repository. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-organization-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#list-repository-organization-variables + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/variables-per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: + "$ref": "#/components/schemas/actions-variable" + examples: + default: + "$ref": "#/components/examples/actions-variables-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/repos/{owner}/{repo}/agents/secrets": + get: + summary: List repository secrets + description: |- + Lists all secrets available in a repository without revealing their encrypted + values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-repository-secrets + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: + "$ref": "#/components/schemas/actions-secret" + examples: + default: + "$ref": "#/components/examples/actions-secret-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/secrets/public-key": + get: + summary: Get a repository public key + description: |- + Gets your public key, which you need to encrypt secrets. You need to + encrypt a secret before you can create or update secrets. + + Anyone with read access to the repository can use this endpoint. + + If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-public-key + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-a-repository-public-key + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/actions-public-key" + examples: + default: + "$ref": "#/components/examples/actions-public-key" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/secrets/{secret_name}": + get: + summary: Get a repository secret + description: |- + Gets a single repository secret without revealing its encrypted value. + + The authenticated user must have collaborator access to the repository to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-a-repository-secret + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/secret-name" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/actions-secret" + examples: + default: + "$ref": "#/components/examples/actions-secret" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + put: + summary: Create or update a repository secret + description: |- + Creates or updates a repository secret with an encrypted value. Encrypt your secret using + [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-or-update-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/secret-name" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + encrypted_value: + type: string + description: Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) + using the public key retrieved from the [Get a repository public + key](https://docs.github.com/rest/agents/secrets#get-a-repository-public-key) + endpoint. + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + type: string + description: ID of the key you used to encrypt the secret. + required: + - encrypted_value + - key_id + examples: + default: + value: + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + responses: + '201': + description: Response when creating a secret + content: + application/json: + schema: + "$ref": "#/components/schemas/empty-object" + examples: + default: + value: + '204': + description: Response when updating a secret + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + delete: + summary: Delete a repository secret + description: |- + Deletes a secret in a repository using the secret name. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#delete-a-repository-secret + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/secret-name" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/variables": + get: + summary: List repository variables + description: |- + Lists all repository variables. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#list-repository-variables + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/variables-per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: + "$ref": "#/components/schemas/actions-variable" + examples: + default: + "$ref": "#/components/examples/actions-variables-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + post: + summary: Create a repository variable + description: |- + Creates a repository variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#create-a-repository-variable + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + required: + - name + - value + examples: + default: + value: + name: USERNAME + value: octocat + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/empty-object" + examples: + default: + value: + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/repos/{owner}/{repo}/agents/variables/{name}": + get: + summary: Get a repository variable + description: |- + Gets a specific variable in a repository. + + The authenticated user must have collaborator access to the repository to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#get-a-repository-variable + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/variable-name" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/actions-variable" + examples: + default: + "$ref": "#/components/examples/actions-variable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + patch: + summary: Update a repository variable + description: |- + Updates a repository variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/update-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#update-a-repository-variable + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/variable-name" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + examples: + default: + value: + name: USERNAME + value: octocat + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents subcategory: variables delete: summary: Delete a repository variable @@ -31001,11 +32727,11 @@ paths: OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/delete-repo-variable + - agents + operationId: agents/delete-repo-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable + url: https://docs.github.com/rest/agents/variables#delete-a-repository-variable parameters: - "$ref": "#/components/parameters/owner" - "$ref": "#/components/parameters/repo" @@ -31016,401 +32742,8 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables - "/repos/{owner}/{repo}/actions/workflows": - get: - summary: List repository workflows - description: |- - Lists the workflows in a repository. - - Anyone with read access to the repository can use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. - tags: - - actions - operationId: actions/list-repo-workflows - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/actions/workflows#list-repository-workflows - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: object - required: - - total_count - - workflows - properties: - total_count: - type: integer - workflows: - type: array - items: - "$ref": "#/components/schemas/workflow" - examples: - default: - "$ref": "#/components/examples/workflow-paginated" - headers: - Link: - "$ref": "#/components/headers/link" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: actions - subcategory: workflows - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}": - get: - summary: Get a workflow - description: |- - Gets a specific workflow. You can replace `workflow_id` with the workflow - file name. For example, you could use `main.yaml`. - - Anyone with read access to the repository can use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. - tags: - - actions - operationId: actions/get-workflow - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/actions/workflows#get-a-workflow - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/workflow-id" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/workflow" - examples: - default: - "$ref": "#/components/examples/workflow" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: actions - subcategory: workflows - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable": - put: - summary: Disable a workflow - description: |- - Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - - OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. - tags: - - actions - operationId: actions/disable-workflow - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/actions/workflows#disable-a-workflow - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/workflow-id" - responses: - '204': - description: Response - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: actions - subcategory: workflows - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": - post: - summary: Create a workflow dispatch event - description: |- - You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - - You must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch)." - - OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. - operationId: actions/create-workflow-dispatch - tags: - - actions - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/workflow-id" - responses: - '204': - description: Empty response when `return_run_details` parameter is `false`. - '200': - description: Response including the workflow run ID and URLs when `return_run_details` - parameter is `true`. - content: - application/json: - schema: - "$ref": "#/components/schemas/workflow-dispatch-response" - examples: - default: - "$ref": "#/components/examples/workflow-dispatch-response" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - ref: - type: string - description: The git reference for the workflow. The reference can - be a branch or tag name. - inputs: - type: object - description: Input keys and values configured in the workflow file. - The maximum number of properties is 25. Any default properties - configured in the workflow file will be used when `inputs` are - omitted. - additionalProperties: true - maxProperties: 25 - return_run_details: - type: boolean - description: Whether the response should include the workflow run - ID and URLs. - required: - - ref - examples: - default: - value: - ref: topic-branch - inputs: - name: Mona the Octocat - home: San Francisco, CA - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: actions - subcategory: workflows - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": - put: - summary: Enable a workflow - description: |- - Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - - OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. - tags: - - actions - operationId: actions/enable-workflow - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/actions/workflows#enable-a-workflow - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/workflow-id" - responses: - '204': - description: Response - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: actions - subcategory: workflows - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": - get: - summary: List workflow runs for a workflow - description: |- - List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#parameters). - - Anyone with read access to the repository can use this endpoint - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. - - This endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`. - tags: - - actions - operationId: actions/list-workflow-runs - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/workflow-id" - - "$ref": "#/components/parameters/actor" - - "$ref": "#/components/parameters/workflow-run-branch" - - "$ref": "#/components/parameters/event" - - "$ref": "#/components/parameters/workflow-run-status" - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - - "$ref": "#/components/parameters/created" - - "$ref": "#/components/parameters/exclude-pull-requests" - - "$ref": "#/components/parameters/workflow-run-check-suite-id" - - "$ref": "#/components/parameters/workflow-run-head-sha" - responses: - '200': - description: Response - content: - application/json: - schema: - type: object - required: - - total_count - - workflow_runs - properties: - total_count: - type: integer - workflow_runs: - type: array - items: - "$ref": "#/components/schemas/workflow-run" - examples: - default: - "$ref": "#/components/examples/workflow-run-paginated" - headers: - Link: - "$ref": "#/components/headers/link" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: actions - subcategory: workflow-runs - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": - get: - summary: Get workflow usage - description: "> [!WARNING] \n> This endpoint is in the process of closing down. - Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints - closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" - for more information.\n\nGets the number of billable minutes used by a specific - workflow during the current billing cycle. Billable minutes only apply to - workflows in private repositories that use GitHub-hosted runners. Usage is - listed for each GitHub-hosted runner operating system in milliseconds. Any - job re-runs are also included in the usage. The usage does not include the - multiplier for macOS and Windows runners and is not rounded up to the nearest - whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou - can replace `workflow_id` with the workflow file name. For example, you could - use `main.yaml`.\n\nAnyone with read access to the repository can use this - endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the - `repo` scope to use this endpoint with a private repository." - tags: - - actions - operationId: actions/get-workflow-usage - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/actions/workflows#get-workflow-usage - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/workflow-id" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/workflow-usage" - examples: - default: - "$ref": "#/components/examples/workflow-usage" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: actions - subcategory: workflows - "/repos/{owner}/{repo}/activity": - get: - summary: List repository activities - description: |- - Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users. - - For more information about viewing repository activity, - see "[Viewing activity and data for your repository](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository)." - tags: - - repos - operationId: repos/list-activities - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/repos#list-repository-activities - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/direction" - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/pagination-before" - - "$ref": "#/components/parameters/pagination-after" - - name: ref - description: |- - The Git reference for the activities you want to list. - - The `ref` for a branch can be formatted either as `refs/heads/BRANCH_NAME` or `BRANCH_NAME`, where `BRANCH_NAME` is the name of your branch. - in: query - required: false - schema: - type: string - - name: actor - description: The GitHub username to use to filter by the actor who performed - the activity. - in: query - required: false - schema: - type: string - - name: time_period - description: |- - The time period to filter by. - - For example, `day` will filter for activity that occurred in the past 24 hours, and `week` will filter for activity that occurred in the past 7 days (168 hours). - in: query - required: false - schema: - type: string - enum: - - day - - week - - month - - quarter - - year - - name: activity_type - description: |- - The activity type to filter by. - - For example, you can choose to filter by "force_push", to see all force pushes to the repository. - in: query - required: false - schema: - type: string - enum: - - push - - force_push - - branch_creation - - branch_deletion - - pr_merge - - merge_queue_merge - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/activity" - examples: - default: - "$ref": "#/components/examples/activity-items" - headers: - Link: - "$ref": "#/components/headers/link" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: repos "/repos/{owner}/{repo}/assignees": get: summary: List assignees @@ -84412,6 +85745,15 @@ components: updated_at: type: string format: date-time + notification_setting: + type: string + description: Whether team members will receive notifications when the team + is mentioned. + enum: + - notifications_enabled + - notifications_disabled + examples: + - notifications_enabled required: - id - url @@ -214887,11 +216229,10 @@ components: "$ref": "#/components/schemas/simple-user" required: - action - - parent_issue_id - - parent_issue - - parent_issue_repo - sub_issue_id - sub_issue + - repository + - sender webhook-sub-issues-parent-issue-removed: title: parent issue removed event type: object @@ -214922,11 +216263,10 @@ components: "$ref": "#/components/schemas/simple-user" required: - action - - parent_issue_id - - parent_issue - - parent_issue_repo - sub_issue_id - sub_issue + - repository + - sender webhook-sub-issues-sub-issue-added: title: sub-issue added event type: object @@ -214957,11 +216297,10 @@ components: "$ref": "#/components/schemas/simple-user" required: - action - - sub_issue_id - - sub_issue - - sub_issue_repo - parent_issue_id - parent_issue + - repository + - sender webhook-sub-issues-sub-issue-removed: title: sub-issue removed event type: object @@ -214992,11 +216331,10 @@ components: "$ref": "#/components/schemas/simple-user" required: - action - - sub_issue_id - - sub_issue - - sub_issue_repo - parent_issue_id - parent_issue + - repository + - sender webhook-team-add: title: team_add event type: object diff --git a/descriptions-next/api.github.com/api.github.com.2026-03-10.json b/descriptions-next/api.github.com/api.github.com.2026-03-10.json index edbe089ae..5cf3460f9 100644 --- a/descriptions-next/api.github.com/api.github.com.2026-03-10.json +++ b/descriptions-next/api.github.com/api.github.com.2026-03-10.json @@ -207,6 +207,10 @@ { "name": "agent-tasks", "description": "Endpoints to manage and interact with agent tasks." + }, + { + "name": "agents", + "description": "Endpoints for Agents secrets and variables." } ], "servers": [ @@ -7659,6 +7663,14 @@ "null" ], "description": "The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/rest/scim#list-provisioned-scim-groups-for-an-enterprise)." + }, + "notification_setting": { + "type": "string", + "description": "The notification setting the team is set to. The options are:\n\n* `notifications_enabled` - team members receive notifications when the team is @mentioned.\n* `notifications_disabled` - no one receives notifications.\n\nDefault: `notifications_enabled`\n", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -8501,6 +8513,14 @@ "null" ], "description": "The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group." + }, + "notification_setting": { + "type": "string", + "description": "The notification setting the team is set to. The options are:\n\n* `notifications_enabled` - team members receive notifications when the team is @mentioned.\n* `notifications_disabled` - no one receives notifications.\n", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } } }, @@ -17699,6 +17719,1045 @@ } } }, + "/orgs/{org}/agents/secrets": { + "get": { + "summary": "List organization secrets", + "description": "Lists all secrets available in an organization without revealing their\nencrypted values.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-org-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-organization-secrets" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "secrets" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "secrets": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-actions-secret" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-actions-secret-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/public-key": { + "get": { + "summary": "Get an organization public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-public-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#get-an-organization-public-key" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/actions-public-key" + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-public-key" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}": { + "get": { + "summary": "Get an organization secret", + "description": "Gets a single organization secret without revealing its encrypted value.\n\nThe authenticated user must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#get-an-organization-secret" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-actions-secret" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-actions-secret" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "put": { + "summary": "Create or update an organization secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-or-update-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "encrypted_value": { + "type": "string", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/agents/secrets#get-an-organization-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "type": "string", + "description": "ID of the key you used to encrypt the secret." + }, + "visibility": { + "type": "string", + "description": "Which type of organization repositories have access to the organization secret. `selected` means only the repositories specified by `selected_repository_ids` can access the secret.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "encrypted_value", + "key_id", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response when creating a secret", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/empty-object" + }, + "examples": { + "default": { + "value": null + } + } + } + } + }, + "204": { + "description": "Response when updating a secret" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "delete": { + "summary": "Delete an organization secret", + "description": "Deletes a secret in an organization using the secret name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#delete-an-organization-secret" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}/repositories": { + "get": { + "summary": "List selected repositories for an organization secret", + "description": "Lists all repositories that have been selected when the `visibility`\nfor repository access to a secret is set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-selected-repos-for-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/minimal-repository" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/public-repository-paginated" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "put": { + "summary": "Set selected repositories for an organization secret", + "description": "Replaces all repositories for an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/set-selected-repos-for-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization secret](https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}": { + "put": { + "summary": "Add selected repository to an organization secret", + "description": "Adds a repository to an organization secret when the `visibility` for\nrepository access is set to `selected`. For more information about setting the visibility, see [Create or\nupdate an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/add-selected-repo-to-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "No Content when repository was added to the selected list" + }, + "409": { + "description": "Conflict when visibility type is not set to selected" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "delete": { + "summary": "Remove selected repository from an organization secret", + "description": "Removes a repository from an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/remove-selected-repo-from-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response when repository was removed from the selected list" + }, + "409": { + "description": "Conflict when visibility type not set to selected" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/variables": { + "get": { + "summary": "List organization variables", + "description": "Lists all agent variables available in an organization.\nReturned variables include their values.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-org-variables", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#list-organization-variables" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variables-per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "variables" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-actions-variable" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-actions-variables-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "post": { + "summary": "Create an organization variable", + "description": "Creates an organization agent variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#create-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + }, + "visibility": { + "type": "string", + "description": "The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "name", + "value", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response when creating a variable", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/empty-object" + }, + "examples": { + "default": { + "value": null + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}": { + "get": { + "summary": "Get an organization variable", + "description": "Gets a specific agent variable in an organization.\n\nThe authenticated user must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#get-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-actions-variable" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-actions-variable" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "patch": { + "summary": "Update an organization variable", + "description": "Updates an organization agent variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/update-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#update-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + }, + "visibility": { + "type": "string", + "description": "The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Delete an organization variable", + "description": "Deletes an organization agent variable using the variable name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#delete-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}/repositories": { + "get": { + "summary": "List selected repositories for an organization variable", + "description": "Lists all repositories that can access an organization agent variable\nthat is available to selected repositories.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-selected-repos-for-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#list-selected-repositories-for-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/minimal-repository" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/public-repository-paginated" + } + } + } + } + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "put": { + "summary": "Set selected repositories for an organization variable", + "description": "Replaces all repositories for an organization agent variable that is available\nto selected repositories. Organization variables that are available to selected\nrepositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/set-selected-repos-for-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#set-selected-repositories-for-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "The IDs of the repositories that can access the organization variable.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}/repositories/{repository_id}": { + "put": { + "summary": "Add selected repository to an organization variable", + "description": "Adds a repository to an organization agent variable that is available to selected repositories.\nOrganization variables that are available to selected repositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/add-selected-repo-to-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#add-selected-repository-to-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Remove selected repository from an organization variable", + "description": "Removes a repository from an organization agent variable that is\navailable to selected repositories. Organization variables that are available to\nselected repositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/remove-selected-repo-from-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#remove-selected-repository-from-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, "/orgs/{org}/artifacts/metadata/deployment-record": { "post": { "summary": "Create an artifact deployment record", @@ -42257,23 +43316,705 @@ "type": "object", "required": [ "total_count", - "workflows" + "workflows" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "workflows": { + "type": "array", + "items": { + "$ref": "#/components/schemas/workflow" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/workflow-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}": { + "get": { + "summary": "Get a workflow", + "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow\nfile name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "tags": [ + "actions" + ], + "operationId": "actions/get-workflow", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/workflows#get-a-workflow" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/workflow" + }, + "examples": { + "default": { + "$ref": "#/components/examples/workflow" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable": { + "put": { + "summary": "Disable a workflow", + "description": "Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/disable-workflow", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/workflows#disable-a-workflow" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": { + "post": { + "summary": "Create a workflow dispatch event", + "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "operationId": "actions/create-workflow-dispatch", + "tags": [ + "actions" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + } + ], + "responses": { + "200": { + "description": "Response including the workflow run ID and URLs.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/workflow-dispatch-response" + }, + "examples": { + "default": { + "$ref": "#/components/examples/workflow-dispatch-response" + } + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The git reference for the workflow. The reference can be a branch or tag name." + }, + "inputs": { + "type": "object", + "description": "Input keys and values configured in the workflow file. The maximum number of properties is 25. Any default properties configured in the workflow file will be used when `inputs` are omitted.", + "additionalProperties": true, + "maxProperties": 25 + } + }, + "required": [ + "ref" + ] + }, + "examples": { + "default": { + "value": { + "ref": "topic-branch", + "inputs": { + "name": "Mona the Octocat", + "home": "San Francisco, CA" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": { + "put": { + "summary": "Enable a workflow", + "description": "Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/enable-workflow", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/workflows#enable-a-workflow" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": { + "get": { + "summary": "List workflow runs for a workflow", + "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.\n\nThis endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.", + "tags": [ + "actions" + ], + "operationId": "actions/list-workflow-runs", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + }, + { + "$ref": "#/components/parameters/actor" + }, + { + "$ref": "#/components/parameters/workflow-run-branch" + }, + { + "$ref": "#/components/parameters/event" + }, + { + "$ref": "#/components/parameters/workflow-run-status" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/created" + }, + { + "$ref": "#/components/parameters/exclude-pull-requests" + }, + { + "$ref": "#/components/parameters/workflow-run-check-suite-id" + }, + { + "$ref": "#/components/parameters/workflow-run-head-sha" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "workflow_runs" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "workflow_runs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/workflow-run" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/workflow-run-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "workflow-runs" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": { + "get": { + "summary": "Get workflow usage", + "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "tags": [ + "actions" + ], + "operationId": "actions/get-workflow-usage", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/workflows#get-workflow-usage" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/workflow-usage" + }, + "examples": { + "default": { + "$ref": "#/components/examples/workflow-usage" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/activity": { + "get": { + "summary": "List repository activities", + "description": "Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users.\n\nFor more information about viewing repository activity,\nsee \"[Viewing activity and data for your repository](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository).\"", + "tags": [ + "repos" + ], + "operationId": "repos/list-activities", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#list-repository-activities" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "name": "ref", + "description": "The Git reference for the activities you want to list.\n\nThe `ref` for a branch can be formatted either as `refs/heads/BRANCH_NAME` or `BRANCH_NAME`, where `BRANCH_NAME` is the name of your branch.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "actor", + "description": "The GitHub username to use to filter by the actor who performed the activity.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "time_period", + "description": "The time period to filter by.\n\nFor example, `day` will filter for activity that occurred in the past 24 hours, and `week` will filter for activity that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "day", + "week", + "month", + "quarter", + "year" + ] + } + }, + { + "name": "activity_type", + "description": "The activity type to filter by.\n\nFor example, you can choose to filter by \"force_push\", to see all force pushes to the repository.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "push", + "force_push", + "branch_creation", + "branch_deletion", + "pr_merge", + "merge_queue_merge" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/activity" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/activity-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + } + }, + "/repos/{owner}/{repo}/agents/organization-secrets": { + "get": { + "summary": "List repository organization secrets", + "description": "Lists all organization secrets shared with a repository without revealing their encrypted\nvalues.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-organization-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "secrets" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "secrets": { + "type": "array", + "items": { + "$ref": "#/components/schemas/actions-secret" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-secret-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/agents/organization-variables": { + "get": { + "summary": "List repository organization variables", + "description": "Lists all organization variables shared with a repository.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-organization-variables", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#list-repository-organization-variables" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/variables-per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "variables" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "type": "array", + "items": { + "$ref": "#/components/schemas/actions-variable" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-variables-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/repos/{owner}/{repo}/agents/secrets": { + "get": { + "summary": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted\nvalues.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-repository-secrets" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "secrets" ], "properties": { "total_count": { "type": "integer" }, - "workflows": { + "secrets": { "type": "array", "items": { - "$ref": "#/components/schemas/workflow" + "$ref": "#/components/schemas/actions-secret" } } } }, "examples": { "default": { - "$ref": "#/components/examples/workflow-paginated" + "$ref": "#/components/examples/actions-secret-paginated" } } } @@ -42288,22 +44029,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflows" + "category": "agents", + "subcategory": "secrets" } } }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}": { + "/repos/{owner}/{repo}/agents/secrets/public-key": { "get": { - "summary": "Get a workflow", - "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow\nfile name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "summary": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.\n\nAnyone with read access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "actions" + "agents" ], - "operationId": "actions/get-workflow", + "operationId": "agents/get-repo-public-key", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/workflows#get-a-workflow" + "url": "https://docs.github.com/rest/agents/secrets#get-a-repository-public-key" }, "parameters": [ { @@ -42311,9 +44052,6 @@ }, { "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/workflow-id" } ], "responses": { @@ -42322,11 +44060,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/workflow" + "$ref": "#/components/schemas/actions-public-key" }, "examples": { "default": { - "$ref": "#/components/examples/workflow" + "$ref": "#/components/examples/actions-public-key" } } } @@ -42336,22 +44074,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflows" + "category": "agents", + "subcategory": "secrets" } } }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable": { - "put": { - "summary": "Disable a workflow", - "description": "Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "/repos/{owner}/{repo}/agents/secrets/{secret_name}": { + "get": { + "summary": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value.\n\nThe authenticated user must have collaborator access to the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "actions" + "agents" ], - "operationId": "actions/disable-workflow", + "operationId": "agents/get-repo-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/workflows#disable-a-workflow" + "url": "https://docs.github.com/rest/agents/secrets#get-a-repository-secret" }, "parameters": [ { @@ -42361,33 +44099,43 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/workflow-id" + "$ref": "#/components/parameters/secret-name" } ], "responses": { - "204": { - "description": "Response" + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/actions-secret" + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-secret" + } + } + } + } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflows" + "category": "agents", + "subcategory": "secrets" } - } - }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": { - "post": { - "summary": "Create a workflow dispatch event", - "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "operationId": "actions/create-workflow-dispatch", + }, + "put": { + "summary": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "actions" + "agents" ], + "operationId": "agents/create-or-update-repo-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event" + "url": "https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret" }, "parameters": [ { @@ -42397,26 +44145,9 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/workflow-id" + "$ref": "#/components/parameters/secret-name" } ], - "responses": { - "200": { - "description": "Response including the workflow run ID and URLs.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/workflow-dispatch-response" - }, - "examples": { - "default": { - "$ref": "#/components/examples/workflow-dispatch-response" - } - } - } - } - } - }, "requestBody": { "required": true, "content": { @@ -42424,54 +44155,69 @@ "schema": { "type": "object", "properties": { - "ref": { + "encrypted_value": { "type": "string", - "description": "The git reference for the workflow. The reference can be a branch or tag name." + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/rest/agents/secrets#get-a-repository-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" }, - "inputs": { - "type": "object", - "description": "Input keys and values configured in the workflow file. The maximum number of properties is 25. Any default properties configured in the workflow file will be used when `inputs` are omitted.", - "additionalProperties": true, - "maxProperties": 25 + "key_id": { + "type": "string", + "description": "ID of the key you used to encrypt the secret." } }, "required": [ - "ref" + "encrypted_value", + "key_id" ] }, "examples": { "default": { "value": { - "ref": "topic-branch", - "inputs": { - "name": "Mona the Octocat", - "home": "San Francisco, CA" - } + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response when creating a secret", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/empty-object" + }, + "examples": { + "default": { + "value": null } } } } + }, + "204": { + "description": "Response when updating a secret" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflows" + "category": "agents", + "subcategory": "secrets" } - } - }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": { - "put": { - "summary": "Enable a workflow", - "description": "Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + }, + "delete": { + "summary": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "actions" + "agents" ], - "operationId": "actions/enable-workflow", + "operationId": "agents/delete-repo-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/workflows#enable-a-workflow" + "url": "https://docs.github.com/rest/agents/secrets#delete-a-repository-secret" }, "parameters": [ { @@ -42481,7 +44227,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/workflow-id" + "$ref": "#/components/parameters/secret-name" } ], "responses": { @@ -42492,22 +44238,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflows" + "category": "agents", + "subcategory": "secrets" } } }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": { + "/repos/{owner}/{repo}/agents/variables": { "get": { - "summary": "List workflow runs for a workflow", - "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.\n\nThis endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.", + "summary": "List repository variables", + "description": "Lists all repository variables.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "actions" + "agents" ], - "operationId": "actions/list-workflow-runs", + "operationId": "agents/list-repo-variables", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow" + "url": "https://docs.github.com/rest/agents/variables#list-repository-variables" }, "parameters": [ { @@ -42517,37 +44263,10 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/workflow-id" - }, - { - "$ref": "#/components/parameters/actor" - }, - { - "$ref": "#/components/parameters/workflow-run-branch" - }, - { - "$ref": "#/components/parameters/event" - }, - { - "$ref": "#/components/parameters/workflow-run-status" - }, - { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/variables-per-page" }, { "$ref": "#/components/parameters/page" - }, - { - "$ref": "#/components/parameters/created" - }, - { - "$ref": "#/components/parameters/exclude-pull-requests" - }, - { - "$ref": "#/components/parameters/workflow-run-check-suite-id" - }, - { - "$ref": "#/components/parameters/workflow-run-head-sha" } ], "responses": { @@ -42559,23 +44278,23 @@ "type": "object", "required": [ "total_count", - "workflow_runs" + "variables" ], "properties": { "total_count": { "type": "integer" }, - "workflow_runs": { + "variables": { "type": "array", "items": { - "$ref": "#/components/schemas/workflow-run" + "$ref": "#/components/schemas/actions-variable" } } } }, "examples": { "default": { - "$ref": "#/components/examples/workflow-run-paginated" + "$ref": "#/components/examples/actions-variables-paginated" } } } @@ -42590,22 +44309,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflow-runs" + "category": "agents", + "subcategory": "variables" } - } - }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": { - "get": { - "summary": "Get workflow usage", - "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + }, + "post": { + "summary": "Create a repository variable", + "description": "Creates a repository variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "actions" + "agents" ], - "operationId": "actions/get-workflow-usage", + "operationId": "agents/create-repo-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/workflows#get-workflow-usage" + "url": "https://docs.github.com/rest/agents/variables#create-a-repository-variable" }, "parameters": [ { @@ -42613,22 +44330,51 @@ }, { "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/workflow-id" } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + } + }, + "required": [ + "name", + "value" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat" + } + } + } + } + } + }, "responses": { - "200": { + "201": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/workflow-usage" + "$ref": "#/components/schemas/empty-object" }, "examples": { "default": { - "$ref": "#/components/examples/workflow-usage" + "value": null } } } @@ -42637,23 +44383,23 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "actions", - "subcategory": "workflows" + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" } } }, - "/repos/{owner}/{repo}/activity": { + "/repos/{owner}/{repo}/agents/variables/{name}": { "get": { - "summary": "List repository activities", - "description": "Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users.\n\nFor more information about viewing repository activity,\nsee \"[Viewing activity and data for your repository](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository).\"", + "summary": "Get a repository variable", + "description": "Gets a specific variable in a repository.\n\nThe authenticated user must have collaborator access to the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "repos" + "agents" ], - "operationId": "repos/list-activities", + "operationId": "agents/get-repo-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/repos#list-repository-activities" + "url": "https://docs.github.com/rest/agents/variables#get-a-repository-variable" }, "parameters": [ { @@ -42663,67 +44409,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/direction" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/pagination-before" - }, - { - "$ref": "#/components/parameters/pagination-after" - }, - { - "name": "ref", - "description": "The Git reference for the activities you want to list.\n\nThe `ref` for a branch can be formatted either as `refs/heads/BRANCH_NAME` or `BRANCH_NAME`, where `BRANCH_NAME` is the name of your branch.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "actor", - "description": "The GitHub username to use to filter by the actor who performed the activity.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "time_period", - "description": "The time period to filter by.\n\nFor example, `day` will filter for activity that occurred in the past 24 hours, and `week` will filter for activity that occurred in the past 7 days (168 hours).", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "day", - "week", - "month", - "quarter", - "year" - ] - } - }, - { - "name": "activity_type", - "description": "The activity type to filter by.\n\nFor example, you can choose to filter by \"force_push\", to see all force pushes to the repository.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "push", - "force_push", - "branch_creation", - "branch_deletion", - "pr_merge", - "merge_queue_merge" - ] - } + "$ref": "#/components/parameters/variable-name" } ], "responses": { @@ -42732,33 +44418,118 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/activity" - } + "$ref": "#/components/schemas/actions-variable" }, "examples": { "default": { - "$ref": "#/components/examples/activity-items" + "$ref": "#/components/examples/actions-variable" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "patch": { + "summary": "Update a repository variable", + "description": "Updates a repository variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/update-repo-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#update-a-repository-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + } + } + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat" + } + } } } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Delete a repository variable", + "description": "Deletes a repository variable using the variable name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-repo-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#delete-a-repository-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "responses": { + "204": { + "description": "Response" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "repos" + "category": "agents", + "subcategory": "variables" } } }, @@ -115896,6 +117667,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -291658,11 +293440,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] }, "webhook-sub-issues-parent-issue-removed": { @@ -291707,11 +293488,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] }, "webhook-sub-issues-sub-issue-added": { @@ -291756,11 +293536,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] }, "webhook-sub-issues-sub-issue-removed": { @@ -291805,11 +293584,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] }, "webhook-team-add": { diff --git a/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml b/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml index 9233f0b89..09827b6a3 100644 --- a/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml +++ b/descriptions-next/api.github.com/api.github.com.2026-03-10.yaml @@ -110,6 +110,8 @@ tags: description: Endpoints to manage Projects using the REST API. - name: agent-tasks description: Endpoints to manage and interact with agent tasks. +- name: agents + description: Endpoints for Agents secrets and variables. servers: - url: https://api.github.com externalDocs: @@ -5791,6 +5793,18 @@ paths: - 'null' description: The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/rest/scim#list-provisioned-scim-groups-for-an-enterprise). + notification_setting: + type: string + description: | + The notification setting the team is set to. The options are: + + * `notifications_enabled` - team members receive notifications when the team is @mentioned. + * `notifications_disabled` - no one receives notifications. + + Default: `notifications_enabled` + enum: + - notifications_enabled + - notifications_disabled required: - name examples: @@ -6329,6 +6343,16 @@ paths: description: The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group. + notification_setting: + type: string + description: | + The notification setting the team is set to. The options are: + + * `notifications_enabled` - team members receive notifications when the team is @mentioned. + * `notifications_disabled` - no one receives notifications. + enum: + - notifications_enabled + - notifications_disabled examples: default: value: @@ -13001,6 +13025,809 @@ paths: enabledForGitHubApps: true category: actions subcategory: variables + "/orgs/{org}/agents/secrets": + get: + summary: List organization secrets + description: |- + Lists all secrets available in an organization without revealing their + encrypted values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/list-org-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-organization-secrets + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: + "$ref": "#/components/schemas/organization-actions-secret" + examples: + default: + "$ref": "#/components/examples/organization-actions-secret-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/public-key": + get: + summary: Get an organization public key + description: |- + Gets your public key, which you need to encrypt secrets. You need to + encrypt a secret before you can create or update secrets. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/get-org-public-key + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-an-organization-public-key + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/actions-public-key" + examples: + default: + "$ref": "#/components/examples/actions-public-key" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/{secret_name}": + get: + summary: Get an organization secret + description: |- + Gets a single organization secret without revealing its encrypted value. + + The authenticated user must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-an-organization-secret + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-actions-secret" + examples: + default: + "$ref": "#/components/examples/organization-actions-secret" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + put: + summary: Create or update an organization secret + description: |- + Creates or updates an organization secret with an encrypted value. Encrypt your secret using + [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-or-update-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + encrypted_value: + type: string + description: Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) + using the public key retrieved from the [Get an organization public + key](https://docs.github.com/rest/agents/secrets#get-an-organization-public-key) + endpoint. + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + type: string + description: ID of the key you used to encrypt the secret. + visibility: + type: string + description: Which type of organization repositories have access + to the organization secret. `selected` means only the repositories + specified by `selected_repository_ids` can access the secret. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + secret. You can only provide a list of repository ids when the + `visibility` is set to `selected`. You can manage the list of + selected repositories using the [List selected repositories for + an organization secret](https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret), + [Set selected repositories for an organization secret](https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret), + and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) + endpoints. + items: + type: integer + required: + - encrypted_value + - key_id + - visibility + examples: + default: + value: + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: Response when creating a secret + content: + application/json: + schema: + "$ref": "#/components/schemas/empty-object" + examples: + default: + value: + '204': + description: Response when updating a secret + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + delete: + summary: Delete an organization secret + description: |- + Deletes a secret in an organization using the secret name. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#delete-an-organization-secret + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/{secret_name}/repositories": + get: + summary: List selected repositories for an organization secret + description: |- + Lists all repositories that have been selected when the `visibility` + for repository access to a secret is set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/list-selected-repos-for-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: + "$ref": "#/components/schemas/minimal-repository" + examples: + default: + "$ref": "#/components/examples/public-repository-paginated" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + put: + summary: Set selected repositories for an organization secret + description: |- + Replaces all repositories for an organization secret when the `visibility` + for repository access is set to `selected`. The visibility is set when you [Create + or update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/set-selected-repos-for-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + secret. You can only provide a list of repository ids when the + `visibility` is set to `selected`. You can add and remove individual + repositories using the [Add selected repository to an organization + secret](https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret) + and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) + endpoints. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}": + put: + summary: Add selected repository to an organization secret + description: |- + Adds a repository to an organization secret when the `visibility` for + repository access is set to `selected`. For more information about setting the visibility, see [Create or + update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/add-selected-repo-to-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: No Content when repository was added to the selected list + '409': + description: Conflict when visibility type is not set to selected + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + delete: + summary: Remove selected repository from an organization secret + description: |- + Removes a repository from an organization secret when the `visibility` + for repository access is set to `selected`. The visibility is set when you [Create + or update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/remove-selected-repo-from-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response when repository was removed from the selected list + '409': + description: Conflict when visibility type not set to selected + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/variables": + get: + summary: List organization variables + description: |- + Lists all agent variables available in an organization. + Returned variables include their values. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/list-org-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#list-organization-variables + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variables-per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: + "$ref": "#/components/schemas/organization-actions-variable" + examples: + default: + "$ref": "#/components/examples/organization-actions-variables-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + post: + summary: Create an organization variable + description: |- + Creates an organization agent variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#create-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + visibility: + type: string + description: The type of repositories in the organization that can + access the variable. `selected` means only the repositories specified + by `selected_repository_ids` can access the variable. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + variable. You can only provide a list of repository ids when the + `visibility` is set to `selected`. + items: + type: integer + required: + - name + - value + - visibility + examples: + default: + value: + name: USERNAME + value: octocat + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: Response when creating a variable + content: + application/json: + schema: + "$ref": "#/components/schemas/empty-object" + examples: + default: + value: + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/orgs/{org}/agents/variables/{name}": + get: + summary: Get an organization variable + description: |- + Gets a specific agent variable in an organization. + + The authenticated user must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#get-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variable-name" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-actions-variable" + examples: + default: + "$ref": "#/components/examples/organization-actions-variable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + patch: + summary: Update an organization variable + description: |- + Updates an organization agent variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/update-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#update-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variable-name" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + visibility: + type: string + description: The type of repositories in the organization that can + access the variable. `selected` means only the repositories specified + by `selected_repository_ids` can access the variable. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + variable. You can only provide a list of repository ids when the + `visibility` is set to `selected`. + items: + type: integer + examples: + default: + value: + name: USERNAME + value: octocat + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + delete: + summary: Delete an organization variable + description: |- + Deletes an organization agent variable using the variable name. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#delete-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variable-name" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/orgs/{org}/agents/variables/{name}/repositories": + get: + summary: List selected repositories for an organization variable + description: |- + Lists all repositories that can access an organization agent variable + that is available to selected repositories. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/list-selected-repos-for-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#list-selected-repositories-for-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variable-name" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: + "$ref": "#/components/schemas/minimal-repository" + examples: + default: + "$ref": "#/components/examples/public-repository-paginated" + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + put: + summary: Set selected repositories for an organization variable + description: |- + Replaces all repositories for an organization agent variable that is available + to selected repositories. Organization variables that are available to selected + repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/set-selected-repos-for-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#set-selected-repositories-for-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variable-name" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: The IDs of the repositories that can access the organization + variable. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/orgs/{org}/agents/variables/{name}/repositories/{repository_id}": + put: + summary: Add selected repository to an organization variable + description: |- + Adds a repository to an organization agent variable that is available to selected repositories. + Organization variables that are available to selected repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/add-selected-repo-to-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#add-selected-repository-to-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variable-name" + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + delete: + summary: Remove selected repository from an organization variable + description: |- + Removes a repository from an organization agent variable that is + available to selected repositories. Organization variables that are available to + selected repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/remove-selected-repo-from-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#remove-selected-repository-from-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variable-name" + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables "/orgs/{org}/artifacts/metadata/deployment-record": post: summary: Create an artifact deployment record @@ -30952,7 +31779,899 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: actions + subcategory: variables + delete: + summary: Delete a repository variable + description: |- + Deletes a repository variable using the variable name. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/variable-name" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + "/repos/{owner}/{repo}/actions/workflows": + get: + summary: List repository workflows + description: |- + Lists the workflows in a repository. + + Anyone with read access to the repository can use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + tags: + - actions + operationId: actions/list-repo-workflows + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/workflows#list-repository-workflows + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - workflows + properties: + total_count: + type: integer + workflows: + type: array + items: + "$ref": "#/components/schemas/workflow" + examples: + default: + "$ref": "#/components/examples/workflow-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: workflows + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}": + get: + summary: Get a workflow + description: |- + Gets a specific workflow. You can replace `workflow_id` with the workflow + file name. For example, you could use `main.yaml`. + + Anyone with read access to the repository can use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + tags: + - actions + operationId: actions/get-workflow + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/workflows#get-a-workflow + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/workflow-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/workflow" + examples: + default: + "$ref": "#/components/examples/workflow" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: workflows + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable": + put: + summary: Disable a workflow + description: |- + Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/disable-workflow + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/workflows#disable-a-workflow + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/workflow-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: workflows + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": + post: + summary: Create a workflow dispatch event + description: |- + You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. + + You must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch)." + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + operationId: actions/create-workflow-dispatch + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/workflow-id" + responses: + '200': + description: Response including the workflow run ID and URLs. + content: + application/json: + schema: + "$ref": "#/components/schemas/workflow-dispatch-response" + examples: + default: + "$ref": "#/components/examples/workflow-dispatch-response" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + ref: + type: string + description: The git reference for the workflow. The reference can + be a branch or tag name. + inputs: + type: object + description: Input keys and values configured in the workflow file. + The maximum number of properties is 25. Any default properties + configured in the workflow file will be used when `inputs` are + omitted. + additionalProperties: true + maxProperties: 25 + required: + - ref + examples: + default: + value: + ref: topic-branch + inputs: + name: Mona the Octocat + home: San Francisco, CA + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: workflows + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": + put: + summary: Enable a workflow + description: |- + Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/enable-workflow + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/workflows#enable-a-workflow + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/workflow-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: workflows + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": + get: + summary: List workflow runs for a workflow + description: |- + List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#parameters). + + Anyone with read access to the repository can use this endpoint + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + + This endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`. + tags: + - actions + operationId: actions/list-workflow-runs + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/workflow-id" + - "$ref": "#/components/parameters/actor" + - "$ref": "#/components/parameters/workflow-run-branch" + - "$ref": "#/components/parameters/event" + - "$ref": "#/components/parameters/workflow-run-status" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/created" + - "$ref": "#/components/parameters/exclude-pull-requests" + - "$ref": "#/components/parameters/workflow-run-check-suite-id" + - "$ref": "#/components/parameters/workflow-run-head-sha" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - workflow_runs + properties: + total_count: + type: integer + workflow_runs: + type: array + items: + "$ref": "#/components/schemas/workflow-run" + examples: + default: + "$ref": "#/components/examples/workflow-run-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: workflow-runs + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": + get: + summary: Get workflow usage + description: "> [!WARNING] \n> This endpoint is in the process of closing down. + Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints + closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" + for more information.\n\nGets the number of billable minutes used by a specific + workflow during the current billing cycle. Billable minutes only apply to + workflows in private repositories that use GitHub-hosted runners. Usage is + listed for each GitHub-hosted runner operating system in milliseconds. Any + job re-runs are also included in the usage. The usage does not include the + multiplier for macOS and Windows runners and is not rounded up to the nearest + whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou + can replace `workflow_id` with the workflow file name. For example, you could + use `main.yaml`.\n\nAnyone with read access to the repository can use this + endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the + `repo` scope to use this endpoint with a private repository." + tags: + - actions + operationId: actions/get-workflow-usage + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/workflows#get-workflow-usage + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/workflow-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/workflow-usage" + examples: + default: + "$ref": "#/components/examples/workflow-usage" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: actions + subcategory: workflows + "/repos/{owner}/{repo}/activity": + get: + summary: List repository activities + description: |- + Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users. + + For more information about viewing repository activity, + see "[Viewing activity and data for your repository](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository)." + tags: + - repos + operationId: repos/list-activities + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#list-repository-activities + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/direction" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - name: ref + description: |- + The Git reference for the activities you want to list. + + The `ref` for a branch can be formatted either as `refs/heads/BRANCH_NAME` or `BRANCH_NAME`, where `BRANCH_NAME` is the name of your branch. + in: query + required: false + schema: + type: string + - name: actor + description: The GitHub username to use to filter by the actor who performed + the activity. + in: query + required: false + schema: + type: string + - name: time_period + description: |- + The time period to filter by. + + For example, `day` will filter for activity that occurred in the past 24 hours, and `week` will filter for activity that occurred in the past 7 days (168 hours). + in: query + required: false + schema: + type: string + enum: + - day + - week + - month + - quarter + - year + - name: activity_type + description: |- + The activity type to filter by. + + For example, you can choose to filter by "force_push", to see all force pushes to the repository. + in: query + required: false + schema: + type: string + enum: + - push + - force_push + - branch_creation + - branch_deletion + - pr_merge + - merge_queue_merge + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/activity" + examples: + default: + "$ref": "#/components/examples/activity-items" + headers: + Link: + "$ref": "#/components/headers/link" + '422': + "$ref": "#/components/responses/validation_failed_simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos + "/repos/{owner}/{repo}/agents/organization-secrets": + get: + summary: List repository organization secrets + description: |- + Lists all organization secrets shared with a repository without revealing their encrypted + values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-organization-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: + "$ref": "#/components/schemas/actions-secret" + examples: + default: + "$ref": "#/components/examples/actions-secret-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/organization-variables": + get: + summary: List repository organization variables + description: |- + Lists all organization variables shared with a repository. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-organization-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#list-repository-organization-variables + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/variables-per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: + "$ref": "#/components/schemas/actions-variable" + examples: + default: + "$ref": "#/components/examples/actions-variables-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/repos/{owner}/{repo}/agents/secrets": + get: + summary: List repository secrets + description: |- + Lists all secrets available in a repository without revealing their encrypted + values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-repository-secrets + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: + "$ref": "#/components/schemas/actions-secret" + examples: + default: + "$ref": "#/components/examples/actions-secret-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/secrets/public-key": + get: + summary: Get a repository public key + description: |- + Gets your public key, which you need to encrypt secrets. You need to + encrypt a secret before you can create or update secrets. + + Anyone with read access to the repository can use this endpoint. + + If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-public-key + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-a-repository-public-key + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/actions-public-key" + examples: + default: + "$ref": "#/components/examples/actions-public-key" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/secrets/{secret_name}": + get: + summary: Get a repository secret + description: |- + Gets a single repository secret without revealing its encrypted value. + + The authenticated user must have collaborator access to the repository to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-a-repository-secret + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/secret-name" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/actions-secret" + examples: + default: + "$ref": "#/components/examples/actions-secret" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + put: + summary: Create or update a repository secret + description: |- + Creates or updates a repository secret with an encrypted value. Encrypt your secret using + [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-or-update-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/secret-name" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + encrypted_value: + type: string + description: Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) + using the public key retrieved from the [Get a repository public + key](https://docs.github.com/rest/agents/secrets#get-a-repository-public-key) + endpoint. + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + type: string + description: ID of the key you used to encrypt the secret. + required: + - encrypted_value + - key_id + examples: + default: + value: + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + responses: + '201': + description: Response when creating a secret + content: + application/json: + schema: + "$ref": "#/components/schemas/empty-object" + examples: + default: + value: + '204': + description: Response when updating a secret + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + delete: + summary: Delete a repository secret + description: |- + Deletes a secret in a repository using the secret name. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#delete-a-repository-secret + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/secret-name" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/variables": + get: + summary: List repository variables + description: |- + Lists all repository variables. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#list-repository-variables + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/variables-per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: + "$ref": "#/components/schemas/actions-variable" + examples: + default: + "$ref": "#/components/examples/actions-variables-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + post: + summary: Create a repository variable + description: |- + Creates a repository variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#create-a-repository-variable + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + required: + - name + - value + examples: + default: + value: + name: USERNAME + value: octocat + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/empty-object" + examples: + default: + value: + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/repos/{owner}/{repo}/agents/variables/{name}": + get: + summary: Get a repository variable + description: |- + Gets a specific variable in a repository. + + The authenticated user must have collaborator access to the repository to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#get-a-repository-variable + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/variable-name" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/actions-variable" + examples: + default: + "$ref": "#/components/examples/actions-variable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + patch: + summary: Update a repository variable + description: |- + Updates a repository variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/update-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#update-a-repository-variable + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/variable-name" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + examples: + default: + value: + name: USERNAME + value: octocat + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents subcategory: variables delete: summary: Delete a repository variable @@ -30963,11 +32682,11 @@ paths: OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/delete-repo-variable + - agents + operationId: agents/delete-repo-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable + url: https://docs.github.com/rest/agents/variables#delete-a-repository-variable parameters: - "$ref": "#/components/parameters/owner" - "$ref": "#/components/parameters/repo" @@ -30978,394 +32697,8 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables - "/repos/{owner}/{repo}/actions/workflows": - get: - summary: List repository workflows - description: |- - Lists the workflows in a repository. - - Anyone with read access to the repository can use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. - tags: - - actions - operationId: actions/list-repo-workflows - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/actions/workflows#list-repository-workflows - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: object - required: - - total_count - - workflows - properties: - total_count: - type: integer - workflows: - type: array - items: - "$ref": "#/components/schemas/workflow" - examples: - default: - "$ref": "#/components/examples/workflow-paginated" - headers: - Link: - "$ref": "#/components/headers/link" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: actions - subcategory: workflows - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}": - get: - summary: Get a workflow - description: |- - Gets a specific workflow. You can replace `workflow_id` with the workflow - file name. For example, you could use `main.yaml`. - - Anyone with read access to the repository can use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. - tags: - - actions - operationId: actions/get-workflow - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/actions/workflows#get-a-workflow - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/workflow-id" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/workflow" - examples: - default: - "$ref": "#/components/examples/workflow" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: actions - subcategory: workflows - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable": - put: - summary: Disable a workflow - description: |- - Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - - OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. - tags: - - actions - operationId: actions/disable-workflow - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/actions/workflows#disable-a-workflow - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/workflow-id" - responses: - '204': - description: Response - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: actions - subcategory: workflows - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": - post: - summary: Create a workflow dispatch event - description: |- - You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - - You must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch)." - - OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. - operationId: actions/create-workflow-dispatch - tags: - - actions - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/workflow-id" - responses: - '200': - description: Response including the workflow run ID and URLs. - content: - application/json: - schema: - "$ref": "#/components/schemas/workflow-dispatch-response" - examples: - default: - "$ref": "#/components/examples/workflow-dispatch-response" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - ref: - type: string - description: The git reference for the workflow. The reference can - be a branch or tag name. - inputs: - type: object - description: Input keys and values configured in the workflow file. - The maximum number of properties is 25. Any default properties - configured in the workflow file will be used when `inputs` are - omitted. - additionalProperties: true - maxProperties: 25 - required: - - ref - examples: - default: - value: - ref: topic-branch - inputs: - name: Mona the Octocat - home: San Francisco, CA - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: actions - subcategory: workflows - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": - put: - summary: Enable a workflow - description: |- - Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - - OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. - tags: - - actions - operationId: actions/enable-workflow - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/actions/workflows#enable-a-workflow - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/workflow-id" - responses: - '204': - description: Response - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: actions - subcategory: workflows - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": - get: - summary: List workflow runs for a workflow - description: |- - List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#parameters). - - Anyone with read access to the repository can use this endpoint - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. - - This endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`. - tags: - - actions - operationId: actions/list-workflow-runs - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/workflow-id" - - "$ref": "#/components/parameters/actor" - - "$ref": "#/components/parameters/workflow-run-branch" - - "$ref": "#/components/parameters/event" - - "$ref": "#/components/parameters/workflow-run-status" - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - - "$ref": "#/components/parameters/created" - - "$ref": "#/components/parameters/exclude-pull-requests" - - "$ref": "#/components/parameters/workflow-run-check-suite-id" - - "$ref": "#/components/parameters/workflow-run-head-sha" - responses: - '200': - description: Response - content: - application/json: - schema: - type: object - required: - - total_count - - workflow_runs - properties: - total_count: - type: integer - workflow_runs: - type: array - items: - "$ref": "#/components/schemas/workflow-run" - examples: - default: - "$ref": "#/components/examples/workflow-run-paginated" - headers: - Link: - "$ref": "#/components/headers/link" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: actions - subcategory: workflow-runs - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": - get: - summary: Get workflow usage - description: "> [!WARNING] \n> This endpoint is in the process of closing down. - Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints - closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" - for more information.\n\nGets the number of billable minutes used by a specific - workflow during the current billing cycle. Billable minutes only apply to - workflows in private repositories that use GitHub-hosted runners. Usage is - listed for each GitHub-hosted runner operating system in milliseconds. Any - job re-runs are also included in the usage. The usage does not include the - multiplier for macOS and Windows runners and is not rounded up to the nearest - whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou - can replace `workflow_id` with the workflow file name. For example, you could - use `main.yaml`.\n\nAnyone with read access to the repository can use this - endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the - `repo` scope to use this endpoint with a private repository." - tags: - - actions - operationId: actions/get-workflow-usage - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/actions/workflows#get-workflow-usage - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/workflow-id" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/workflow-usage" - examples: - default: - "$ref": "#/components/examples/workflow-usage" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: actions - subcategory: workflows - "/repos/{owner}/{repo}/activity": - get: - summary: List repository activities - description: |- - Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users. - - For more information about viewing repository activity, - see "[Viewing activity and data for your repository](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository)." - tags: - - repos - operationId: repos/list-activities - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/repos#list-repository-activities - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/direction" - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/pagination-before" - - "$ref": "#/components/parameters/pagination-after" - - name: ref - description: |- - The Git reference for the activities you want to list. - - The `ref` for a branch can be formatted either as `refs/heads/BRANCH_NAME` or `BRANCH_NAME`, where `BRANCH_NAME` is the name of your branch. - in: query - required: false - schema: - type: string - - name: actor - description: The GitHub username to use to filter by the actor who performed - the activity. - in: query - required: false - schema: - type: string - - name: time_period - description: |- - The time period to filter by. - - For example, `day` will filter for activity that occurred in the past 24 hours, and `week` will filter for activity that occurred in the past 7 days (168 hours). - in: query - required: false - schema: - type: string - enum: - - day - - week - - month - - quarter - - year - - name: activity_type - description: |- - The activity type to filter by. - - For example, you can choose to filter by "force_push", to see all force pushes to the repository. - in: query - required: false - schema: - type: string - enum: - - push - - force_push - - branch_creation - - branch_deletion - - pr_merge - - merge_queue_merge - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/activity" - examples: - default: - "$ref": "#/components/examples/activity-items" - headers: - Link: - "$ref": "#/components/headers/link" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: repos "/repos/{owner}/{repo}/assignees": get: summary: List assignees @@ -84241,6 +85574,15 @@ components: updated_at: type: string format: date-time + notification_setting: + type: string + description: Whether team members will receive notifications when the team + is mentioned. + enum: + - notifications_enabled + - notifications_disabled + examples: + - notifications_enabled required: - id - url @@ -214199,11 +215541,10 @@ components: "$ref": "#/components/schemas/simple-user" required: - action - - parent_issue_id - - parent_issue - - parent_issue_repo - sub_issue_id - sub_issue + - repository + - sender webhook-sub-issues-parent-issue-removed: title: parent issue removed event type: object @@ -214234,11 +215575,10 @@ components: "$ref": "#/components/schemas/simple-user" required: - action - - parent_issue_id - - parent_issue - - parent_issue_repo - sub_issue_id - sub_issue + - repository + - sender webhook-sub-issues-sub-issue-added: title: sub-issue added event type: object @@ -214269,11 +215609,10 @@ components: "$ref": "#/components/schemas/simple-user" required: - action - - sub_issue_id - - sub_issue - - sub_issue_repo - parent_issue_id - parent_issue + - repository + - sender webhook-sub-issues-sub-issue-removed: title: sub-issue removed event type: object @@ -214304,11 +215643,10 @@ components: "$ref": "#/components/schemas/simple-user" required: - action - - sub_issue_id - - sub_issue - - sub_issue_repo - parent_issue_id - parent_issue + - repository + - sender webhook-team-add: title: team_add event type: object diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index afcdb57f3..f39423960 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -207,6 +207,10 @@ { "name": "agent-tasks", "description": "Endpoints to manage and interact with agent tasks." + }, + { + "name": "agents", + "description": "Endpoints for Agents secrets and variables." } ], "servers": [ @@ -7673,6 +7677,14 @@ "null" ], "description": "The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/rest/scim#list-provisioned-scim-groups-for-an-enterprise)." + }, + "notification_setting": { + "type": "string", + "description": "The notification setting the team is set to. The options are:\n\n* `notifications_enabled` - team members receive notifications when the team is @mentioned.\n* `notifications_disabled` - no one receives notifications.\n\nDefault: `notifications_enabled`\n", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -8515,6 +8527,14 @@ "null" ], "description": "The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group." + }, + "notification_setting": { + "type": "string", + "description": "The notification setting the team is set to. The options are:\n\n* `notifications_enabled` - team members receive notifications when the team is @mentioned.\n* `notifications_disabled` - no one receives notifications.\n", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } } }, @@ -17746,6 +17766,1045 @@ } } }, + "/orgs/{org}/agents/secrets": { + "get": { + "summary": "List organization secrets", + "description": "Lists all secrets available in an organization without revealing their\nencrypted values.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-org-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-organization-secrets" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "secrets" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "secrets": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-actions-secret" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-actions-secret-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/public-key": { + "get": { + "summary": "Get an organization public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-public-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#get-an-organization-public-key" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/actions-public-key" + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-public-key" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}": { + "get": { + "summary": "Get an organization secret", + "description": "Gets a single organization secret without revealing its encrypted value.\n\nThe authenticated user must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#get-an-organization-secret" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-actions-secret" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-actions-secret" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "put": { + "summary": "Create or update an organization secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-or-update-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "encrypted_value": { + "type": "string", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/agents/secrets#get-an-organization-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "type": "string", + "description": "ID of the key you used to encrypt the secret." + }, + "visibility": { + "type": "string", + "description": "Which type of organization repositories have access to the organization secret. `selected` means only the repositories specified by `selected_repository_ids` can access the secret.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "encrypted_value", + "key_id", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response when creating a secret", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/empty-object" + }, + "examples": { + "default": { + "value": null + } + } + } + } + }, + "204": { + "description": "Response when updating a secret" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "delete": { + "summary": "Delete an organization secret", + "description": "Deletes a secret in an organization using the secret name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#delete-an-organization-secret" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}/repositories": { + "get": { + "summary": "List selected repositories for an organization secret", + "description": "Lists all repositories that have been selected when the `visibility`\nfor repository access to a secret is set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-selected-repos-for-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/minimal-repository" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/public-repository-paginated" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "put": { + "summary": "Set selected repositories for an organization secret", + "description": "Replaces all repositories for an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/set-selected-repos-for-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization secret](https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}": { + "put": { + "summary": "Add selected repository to an organization secret", + "description": "Adds a repository to an organization secret when the `visibility` for\nrepository access is set to `selected`. For more information about setting the visibility, see [Create or\nupdate an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/add-selected-repo-to-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "No Content when repository was added to the selected list" + }, + "409": { + "description": "Conflict when visibility type is not set to selected" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "delete": { + "summary": "Remove selected repository from an organization secret", + "description": "Removes a repository from an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/remove-selected-repo-from-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/secret-name" + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response when repository was removed from the selected list" + }, + "409": { + "description": "Conflict when visibility type not set to selected" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/variables": { + "get": { + "summary": "List organization variables", + "description": "Lists all agent variables available in an organization.\nReturned variables include their values.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-org-variables", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#list-organization-variables" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variables-per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "variables" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-actions-variable" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-actions-variables-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "post": { + "summary": "Create an organization variable", + "description": "Creates an organization agent variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#create-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + }, + "visibility": { + "type": "string", + "description": "The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "name", + "value", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response when creating a variable", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/empty-object" + }, + "examples": { + "default": { + "value": null + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}": { + "get": { + "summary": "Get an organization variable", + "description": "Gets a specific agent variable in an organization.\n\nThe authenticated user must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#get-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-actions-variable" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-actions-variable" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "patch": { + "summary": "Update an organization variable", + "description": "Updates an organization agent variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/update-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#update-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + }, + "visibility": { + "type": "string", + "description": "The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Delete an organization variable", + "description": "Deletes an organization agent variable using the variable name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#delete-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}/repositories": { + "get": { + "summary": "List selected repositories for an organization variable", + "description": "Lists all repositories that can access an organization agent variable\nthat is available to selected repositories.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-selected-repos-for-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#list-selected-repositories-for-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "$ref": "#/components/schemas/minimal-repository" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/public-repository-paginated" + } + } + } + } + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "put": { + "summary": "Set selected repositories for an organization variable", + "description": "Replaces all repositories for an organization agent variable that is available\nto selected repositories. Organization variables that are available to selected\nrepositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/set-selected-repos-for-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#set-selected-repositories-for-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "The IDs of the repositories that can access the organization variable.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}/repositories/{repository_id}": { + "put": { + "summary": "Add selected repository to an organization variable", + "description": "Adds a repository to an organization agent variable that is available to selected repositories.\nOrganization variables that are available to selected repositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/add-selected-repo-to-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#add-selected-repository-to-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Remove selected repository from an organization variable", + "description": "Removes a repository from an organization agent variable that is\navailable to selected repositories. Organization variables that are available to\nselected repositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/remove-selected-repo-from-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#remove-selected-repository-from-an-organization-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/variable-name" + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, "/orgs/{org}/artifacts/metadata/deployment-record": { "post": { "summary": "Create an artifact deployment record", @@ -42518,23 +43577,733 @@ "type": "object", "required": [ "total_count", - "workflows" + "workflows" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "workflows": { + "type": "array", + "items": { + "$ref": "#/components/schemas/workflow" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/workflow-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}": { + "get": { + "summary": "Get a workflow", + "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow\nfile name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "tags": [ + "actions" + ], + "operationId": "actions/get-workflow", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/workflows#get-a-workflow" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/workflow" + }, + "examples": { + "default": { + "$ref": "#/components/examples/workflow" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable": { + "put": { + "summary": "Disable a workflow", + "description": "Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/disable-workflow", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/workflows#disable-a-workflow" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": { + "post": { + "summary": "Create a workflow dispatch event", + "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "operationId": "actions/create-workflow-dispatch", + "tags": [ + "actions" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + } + ], + "responses": { + "204": { + "description": "Empty response when `return_run_details` parameter is `false`." + }, + "200": { + "description": "Response including the workflow run ID and URLs when `return_run_details` parameter is `true`.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/workflow-dispatch-response" + }, + "examples": { + "default": { + "$ref": "#/components/examples/workflow-dispatch-response" + } + } + } + } + } + }, + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "ref": { + "type": "string", + "description": "The git reference for the workflow. The reference can be a branch or tag name." + }, + "inputs": { + "type": "object", + "description": "Input keys and values configured in the workflow file. The maximum number of properties is 25. Any default properties configured in the workflow file will be used when `inputs` are omitted.", + "additionalProperties": true, + "maxProperties": 25 + }, + "return_run_details": { + "type": "boolean", + "description": "Whether the response should include the workflow run ID and URLs." + } + }, + "required": [ + "ref" + ] + }, + "examples": { + "default": { + "value": { + "ref": "topic-branch", + "inputs": { + "name": "Mona the Octocat", + "home": "San Francisco, CA" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "workflows" + }, + "x-github-breaking-changes": [ + { + "changeset": "change_workflow_dispatch_response_status", + "patch": [ + { + "op": "remove", + "path": "/responses/204" + }, + { + "op": "remove", + "path": "/requestBody/content/application~1json/schema/properties/return_run_details" + }, + { + "op": "replace", + "path": "/responses/200/description", + "value": "Response including the workflow run ID and URLs." + } + ], + "version": "2026-03-10" + } + ] + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": { + "put": { + "summary": "Enable a workflow", + "description": "Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "actions" + ], + "operationId": "actions/enable-workflow", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/workflows#enable-a-workflow" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": { + "get": { + "summary": "List workflow runs for a workflow", + "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.\n\nThis endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.", + "tags": [ + "actions" + ], + "operationId": "actions/list-workflow-runs", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + }, + { + "$ref": "#/components/parameters/actor" + }, + { + "$ref": "#/components/parameters/workflow-run-branch" + }, + { + "$ref": "#/components/parameters/event" + }, + { + "$ref": "#/components/parameters/workflow-run-status" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/created" + }, + { + "$ref": "#/components/parameters/exclude-pull-requests" + }, + { + "$ref": "#/components/parameters/workflow-run-check-suite-id" + }, + { + "$ref": "#/components/parameters/workflow-run-head-sha" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "workflow_runs" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "workflow_runs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/workflow-run" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/workflow-run-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "actions", + "subcategory": "workflow-runs" + } + } + }, + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": { + "get": { + "summary": "Get workflow usage", + "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "tags": [ + "actions" + ], + "operationId": "actions/get-workflow-usage", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/actions/workflows#get-workflow-usage" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/workflow-id" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/workflow-usage" + }, + "examples": { + "default": { + "$ref": "#/components/examples/workflow-usage" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/activity": { + "get": { + "summary": "List repository activities", + "description": "Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users.\n\nFor more information about viewing repository activity,\nsee \"[Viewing activity and data for your repository](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository).\"", + "tags": [ + "repos" + ], + "operationId": "repos/list-activities", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#list-repository-activities" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "name": "ref", + "description": "The Git reference for the activities you want to list.\n\nThe `ref` for a branch can be formatted either as `refs/heads/BRANCH_NAME` or `BRANCH_NAME`, where `BRANCH_NAME` is the name of your branch.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "actor", + "description": "The GitHub username to use to filter by the actor who performed the activity.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "time_period", + "description": "The time period to filter by.\n\nFor example, `day` will filter for activity that occurred in the past 24 hours, and `week` will filter for activity that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "day", + "week", + "month", + "quarter", + "year" + ] + } + }, + { + "name": "activity_type", + "description": "The activity type to filter by.\n\nFor example, you can choose to filter by \"force_push\", to see all force pushes to the repository.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "push", + "force_push", + "branch_creation", + "branch_deletion", + "pr_merge", + "merge_queue_merge" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/activity" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/activity-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "422": { + "$ref": "#/components/responses/validation_failed_simple" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "repos", + "subcategory": "repos" + } + } + }, + "/repos/{owner}/{repo}/agents/organization-secrets": { + "get": { + "summary": "List repository organization secrets", + "description": "Lists all organization secrets shared with a repository without revealing their encrypted\nvalues.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-organization-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "secrets" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "secrets": { + "type": "array", + "items": { + "$ref": "#/components/schemas/actions-secret" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-secret-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/agents/organization-variables": { + "get": { + "summary": "List repository organization variables", + "description": "Lists all organization variables shared with a repository.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-organization-variables", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#list-repository-organization-variables" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/variables-per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "variables" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "type": "array", + "items": { + "$ref": "#/components/schemas/actions-variable" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-variables-paginated" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/repos/{owner}/{repo}/agents/secrets": { + "get": { + "summary": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted\nvalues.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-repository-secrets" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "secrets" ], "properties": { "total_count": { "type": "integer" }, - "workflows": { + "secrets": { "type": "array", "items": { - "$ref": "#/components/schemas/workflow" + "$ref": "#/components/schemas/actions-secret" } } } }, "examples": { "default": { - "$ref": "#/components/examples/workflow-paginated" + "$ref": "#/components/examples/actions-secret-paginated" } } } @@ -42549,22 +44318,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflows" + "category": "agents", + "subcategory": "secrets" } } }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}": { + "/repos/{owner}/{repo}/agents/secrets/public-key": { "get": { - "summary": "Get a workflow", - "description": "Gets a specific workflow. You can replace `workflow_id` with the workflow\nfile name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + "summary": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.\n\nAnyone with read access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "actions" + "agents" ], - "operationId": "actions/get-workflow", + "operationId": "agents/get-repo-public-key", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/workflows#get-a-workflow" + "url": "https://docs.github.com/rest/agents/secrets#get-a-repository-public-key" }, "parameters": [ { @@ -42572,9 +44341,6 @@ }, { "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/workflow-id" } ], "responses": { @@ -42583,11 +44349,11 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/workflow" + "$ref": "#/components/schemas/actions-public-key" }, "examples": { "default": { - "$ref": "#/components/examples/workflow" + "$ref": "#/components/examples/actions-public-key" } } } @@ -42597,22 +44363,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflows" + "category": "agents", + "subcategory": "secrets" } } }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable": { - "put": { - "summary": "Disable a workflow", - "description": "Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "/repos/{owner}/{repo}/agents/secrets/{secret_name}": { + "get": { + "summary": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value.\n\nThe authenticated user must have collaborator access to the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "actions" + "agents" ], - "operationId": "actions/disable-workflow", + "operationId": "agents/get-repo-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/workflows#disable-a-workflow" + "url": "https://docs.github.com/rest/agents/secrets#get-a-repository-secret" }, "parameters": [ { @@ -42622,33 +44388,43 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/workflow-id" + "$ref": "#/components/parameters/secret-name" } ], "responses": { - "204": { - "description": "Response" + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/actions-secret" + }, + "examples": { + "default": { + "$ref": "#/components/examples/actions-secret" + } + } + } + } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflows" + "category": "agents", + "subcategory": "secrets" } - } - }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": { - "post": { - "summary": "Create a workflow dispatch event", - "description": "You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nYou must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see \"[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch).\"\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", - "operationId": "actions/create-workflow-dispatch", + }, + "put": { + "summary": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "actions" + "agents" ], + "operationId": "agents/create-or-update-repo-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event" + "url": "https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret" }, "parameters": [ { @@ -42658,29 +44434,9 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/workflow-id" + "$ref": "#/components/parameters/secret-name" } ], - "responses": { - "204": { - "description": "Empty response when `return_run_details` parameter is `false`." - }, - "200": { - "description": "Response including the workflow run ID and URLs when `return_run_details` parameter is `true`.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/workflow-dispatch-response" - }, - "examples": { - "default": { - "$ref": "#/components/examples/workflow-dispatch-response" - } - } - } - } - } - }, "requestBody": { "required": true, "content": { @@ -42688,79 +44444,69 @@ "schema": { "type": "object", "properties": { - "ref": { + "encrypted_value": { "type": "string", - "description": "The git reference for the workflow. The reference can be a branch or tag name." - }, - "inputs": { - "type": "object", - "description": "Input keys and values configured in the workflow file. The maximum number of properties is 25. Any default properties configured in the workflow file will be used when `inputs` are omitted.", - "additionalProperties": true, - "maxProperties": 25 + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/rest/agents/secrets#get-a-repository-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" }, - "return_run_details": { - "type": "boolean", - "description": "Whether the response should include the workflow run ID and URLs." + "key_id": { + "type": "string", + "description": "ID of the key you used to encrypt the secret." } }, "required": [ - "ref" + "encrypted_value", + "key_id" ] }, "examples": { "default": { "value": { - "ref": "topic-branch", - "inputs": { - "name": "Mona the Octocat", - "home": "San Francisco, CA" - } + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678" } } } } } }, + "responses": { + "201": { + "description": "Response when creating a secret", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/empty-object" + }, + "examples": { + "default": { + "value": null + } + } + } + } + }, + "204": { + "description": "Response when updating a secret" + } + }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflows" - }, - "x-github-breaking-changes": [ - { - "changeset": "change_workflow_dispatch_response_status", - "patch": [ - { - "op": "remove", - "path": "/responses/204" - }, - { - "op": "remove", - "path": "/requestBody/content/application~1json/schema/properties/return_run_details" - }, - { - "op": "replace", - "path": "/responses/200/description", - "value": "Response including the workflow run ID and URLs." - } - ], - "version": "2026-03-10" - } - ] - } - }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": { - "put": { - "summary": "Enable a workflow", - "description": "Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "category": "agents", + "subcategory": "secrets" + } + }, + "delete": { + "summary": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "actions" + "agents" ], - "operationId": "actions/enable-workflow", + "operationId": "agents/delete-repo-secret", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/workflows#enable-a-workflow" + "url": "https://docs.github.com/rest/agents/secrets#delete-a-repository-secret" }, "parameters": [ { @@ -42770,7 +44516,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/workflow-id" + "$ref": "#/components/parameters/secret-name" } ], "responses": { @@ -42781,22 +44527,22 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflows" + "category": "agents", + "subcategory": "secrets" } } }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": { + "/repos/{owner}/{repo}/agents/variables": { "get": { - "summary": "List workflow runs for a workflow", - "description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.\n\nThis endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.", + "summary": "List repository variables", + "description": "Lists all repository variables.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "actions" + "agents" ], - "operationId": "actions/list-workflow-runs", + "operationId": "agents/list-repo-variables", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow" + "url": "https://docs.github.com/rest/agents/variables#list-repository-variables" }, "parameters": [ { @@ -42806,37 +44552,10 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/workflow-id" - }, - { - "$ref": "#/components/parameters/actor" - }, - { - "$ref": "#/components/parameters/workflow-run-branch" - }, - { - "$ref": "#/components/parameters/event" - }, - { - "$ref": "#/components/parameters/workflow-run-status" - }, - { - "$ref": "#/components/parameters/per-page" + "$ref": "#/components/parameters/variables-per-page" }, { "$ref": "#/components/parameters/page" - }, - { - "$ref": "#/components/parameters/created" - }, - { - "$ref": "#/components/parameters/exclude-pull-requests" - }, - { - "$ref": "#/components/parameters/workflow-run-check-suite-id" - }, - { - "$ref": "#/components/parameters/workflow-run-head-sha" } ], "responses": { @@ -42848,23 +44567,23 @@ "type": "object", "required": [ "total_count", - "workflow_runs" + "variables" ], "properties": { "total_count": { "type": "integer" }, - "workflow_runs": { + "variables": { "type": "array", "items": { - "$ref": "#/components/schemas/workflow-run" + "$ref": "#/components/schemas/actions-variable" } } } }, "examples": { "default": { - "$ref": "#/components/examples/workflow-run-paginated" + "$ref": "#/components/examples/actions-variables-paginated" } } } @@ -42879,22 +44598,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "actions", - "subcategory": "workflow-runs" + "category": "agents", + "subcategory": "variables" } - } - }, - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": { - "get": { - "summary": "Get workflow usage", - "description": "> [!WARNING] \n> This endpoint is in the process of closing down. Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" for more information.\n\nGets the number of billable minutes used by a specific workflow during the current billing cycle. Billable minutes only apply to workflows in private repositories that use GitHub-hosted runners. Usage is listed for each GitHub-hosted runner operating system in milliseconds. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.\n\nAnyone with read access to the repository can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.", + }, + "post": { + "summary": "Create a repository variable", + "description": "Creates a repository variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "actions" + "agents" ], - "operationId": "actions/get-workflow-usage", + "operationId": "agents/create-repo-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/actions/workflows#get-workflow-usage" + "url": "https://docs.github.com/rest/agents/variables#create-a-repository-variable" }, "parameters": [ { @@ -42902,22 +44619,51 @@ }, { "$ref": "#/components/parameters/repo" - }, - { - "$ref": "#/components/parameters/workflow-id" } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + } + }, + "required": [ + "name", + "value" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat" + } + } + } + } + } + }, "responses": { - "200": { + "201": { "description": "Response", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/workflow-usage" + "$ref": "#/components/schemas/empty-object" }, "examples": { "default": { - "$ref": "#/components/examples/workflow-usage" + "value": null } } } @@ -42926,23 +44672,23 @@ }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "actions", - "subcategory": "workflows" + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" } } }, - "/repos/{owner}/{repo}/activity": { + "/repos/{owner}/{repo}/agents/variables/{name}": { "get": { - "summary": "List repository activities", - "description": "Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users.\n\nFor more information about viewing repository activity,\nsee \"[Viewing activity and data for your repository](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository).\"", + "summary": "Get a repository variable", + "description": "Gets a specific variable in a repository.\n\nThe authenticated user must have collaborator access to the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "repos" + "agents" ], - "operationId": "repos/list-activities", + "operationId": "agents/get-repo-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/repos#list-repository-activities" + "url": "https://docs.github.com/rest/agents/variables#get-a-repository-variable" }, "parameters": [ { @@ -42952,67 +44698,7 @@ "$ref": "#/components/parameters/repo" }, { - "$ref": "#/components/parameters/direction" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/pagination-before" - }, - { - "$ref": "#/components/parameters/pagination-after" - }, - { - "name": "ref", - "description": "The Git reference for the activities you want to list.\n\nThe `ref` for a branch can be formatted either as `refs/heads/BRANCH_NAME` or `BRANCH_NAME`, where `BRANCH_NAME` is the name of your branch.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "actor", - "description": "The GitHub username to use to filter by the actor who performed the activity.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "time_period", - "description": "The time period to filter by.\n\nFor example, `day` will filter for activity that occurred in the past 24 hours, and `week` will filter for activity that occurred in the past 7 days (168 hours).", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "day", - "week", - "month", - "quarter", - "year" - ] - } - }, - { - "name": "activity_type", - "description": "The activity type to filter by.\n\nFor example, you can choose to filter by \"force_push\", to see all force pushes to the repository.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "push", - "force_push", - "branch_creation", - "branch_deletion", - "pr_merge", - "merge_queue_merge" - ] - } + "$ref": "#/components/parameters/variable-name" } ], "responses": { @@ -43021,33 +44707,118 @@ "content": { "application/json": { "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/activity" - } + "$ref": "#/components/schemas/actions-variable" }, "examples": { "default": { - "$ref": "#/components/examples/activity-items" + "$ref": "#/components/examples/actions-variable" } } } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "patch": { + "summary": "Update a repository variable", + "description": "Updates a repository variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/update-repo-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#update-a-repository-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" + }, + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + } + } + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat" + } + } } } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Delete a repository variable", + "description": "Deletes a repository variable using the variable name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-repo-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#delete-a-repository-variable" + }, + "parameters": [ + { + "$ref": "#/components/parameters/owner" }, - "422": { - "$ref": "#/components/responses/validation_failed_simple" + { + "$ref": "#/components/parameters/repo" + }, + { + "$ref": "#/components/parameters/variable-name" + } + ], + "responses": { + "204": { + "description": "Response" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "repos" + "category": "agents", + "subcategory": "variables" } } }, @@ -116715,6 +118486,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -294371,11 +296153,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] }, "webhook-sub-issues-parent-issue-removed": { @@ -294420,11 +296201,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] }, "webhook-sub-issues-sub-issue-added": { @@ -294469,11 +296249,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] }, "webhook-sub-issues-sub-issue-removed": { @@ -294518,11 +296297,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] }, "webhook-team-add": { diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index b2587c48c..e0bd433de 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -110,6 +110,8 @@ tags: description: Endpoints to manage Projects using the REST API. - name: agent-tasks description: Endpoints to manage and interact with agent tasks. +- name: agents + description: Endpoints for Agents secrets and variables. servers: - url: https://api.github.com externalDocs: @@ -5799,6 +5801,18 @@ paths: - 'null' description: The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/rest/scim#list-provisioned-scim-groups-for-an-enterprise). + notification_setting: + type: string + description: | + The notification setting the team is set to. The options are: + + * `notifications_enabled` - team members receive notifications when the team is @mentioned. + * `notifications_disabled` - no one receives notifications. + + Default: `notifications_enabled` + enum: + - notifications_enabled + - notifications_disabled required: - name examples: @@ -6337,6 +6351,16 @@ paths: description: The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group. + notification_setting: + type: string + description: | + The notification setting the team is set to. The options are: + + * `notifications_enabled` - team members receive notifications when the team is @mentioned. + * `notifications_disabled` - no one receives notifications. + enum: + - notifications_enabled + - notifications_disabled examples: default: value: @@ -13028,6 +13052,809 @@ paths: enabledForGitHubApps: true category: actions subcategory: variables + "/orgs/{org}/agents/secrets": + get: + summary: List organization secrets + description: |- + Lists all secrets available in an organization without revealing their + encrypted values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/list-org-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-organization-secrets + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: + "$ref": "#/components/schemas/organization-actions-secret" + examples: + default: + "$ref": "#/components/examples/organization-actions-secret-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/public-key": + get: + summary: Get an organization public key + description: |- + Gets your public key, which you need to encrypt secrets. You need to + encrypt a secret before you can create or update secrets. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/get-org-public-key + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-an-organization-public-key + parameters: + - "$ref": "#/components/parameters/org" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/actions-public-key" + examples: + default: + "$ref": "#/components/examples/actions-public-key" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/{secret_name}": + get: + summary: Get an organization secret + description: |- + Gets a single organization secret without revealing its encrypted value. + + The authenticated user must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-an-organization-secret + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-actions-secret" + examples: + default: + "$ref": "#/components/examples/organization-actions-secret" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + put: + summary: Create or update an organization secret + description: |- + Creates or updates an organization secret with an encrypted value. Encrypt your secret using + [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-or-update-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + encrypted_value: + type: string + description: Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) + using the public key retrieved from the [Get an organization public + key](https://docs.github.com/rest/agents/secrets#get-an-organization-public-key) + endpoint. + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + type: string + description: ID of the key you used to encrypt the secret. + visibility: + type: string + description: Which type of organization repositories have access + to the organization secret. `selected` means only the repositories + specified by `selected_repository_ids` can access the secret. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + secret. You can only provide a list of repository ids when the + `visibility` is set to `selected`. You can manage the list of + selected repositories using the [List selected repositories for + an organization secret](https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret), + [Set selected repositories for an organization secret](https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret), + and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) + endpoints. + items: + type: integer + required: + - encrypted_value + - key_id + - visibility + examples: + default: + value: + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: Response when creating a secret + content: + application/json: + schema: + "$ref": "#/components/schemas/empty-object" + examples: + default: + value: + '204': + description: Response when updating a secret + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + delete: + summary: Delete an organization secret + description: |- + Deletes a secret in an organization using the secret name. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#delete-an-organization-secret + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/{secret_name}/repositories": + get: + summary: List selected repositories for an organization secret + description: |- + Lists all repositories that have been selected when the `visibility` + for repository access to a secret is set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/list-selected-repos-for-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: + "$ref": "#/components/schemas/minimal-repository" + examples: + default: + "$ref": "#/components/examples/public-repository-paginated" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + put: + summary: Set selected repositories for an organization secret + description: |- + Replaces all repositories for an organization secret when the `visibility` + for repository access is set to `selected`. The visibility is set when you [Create + or update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/set-selected-repos-for-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + secret. You can only provide a list of repository ids when the + `visibility` is set to `selected`. You can add and remove individual + repositories using the [Add selected repository to an organization + secret](https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret) + and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) + endpoints. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}": + put: + summary: Add selected repository to an organization secret + description: |- + Adds a repository to an organization secret when the `visibility` for + repository access is set to `selected`. For more information about setting the visibility, see [Create or + update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/add-selected-repo-to-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: No Content when repository was added to the selected list + '409': + description: Conflict when visibility type is not set to selected + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + delete: + summary: Remove selected repository from an organization secret + description: |- + Removes a repository from an organization secret when the `visibility` + for repository access is set to `selected`. The visibility is set when you [Create + or update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/remove-selected-repo-from-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/secret-name" + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response when repository was removed from the selected list + '409': + description: Conflict when visibility type not set to selected + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/variables": + get: + summary: List organization variables + description: |- + Lists all agent variables available in an organization. + Returned variables include their values. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/list-org-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#list-organization-variables + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variables-per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: + "$ref": "#/components/schemas/organization-actions-variable" + examples: + default: + "$ref": "#/components/examples/organization-actions-variables-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + post: + summary: Create an organization variable + description: |- + Creates an organization agent variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#create-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + visibility: + type: string + description: The type of repositories in the organization that can + access the variable. `selected` means only the repositories specified + by `selected_repository_ids` can access the variable. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + variable. You can only provide a list of repository ids when the + `visibility` is set to `selected`. + items: + type: integer + required: + - name + - value + - visibility + examples: + default: + value: + name: USERNAME + value: octocat + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: Response when creating a variable + content: + application/json: + schema: + "$ref": "#/components/schemas/empty-object" + examples: + default: + value: + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/orgs/{org}/agents/variables/{name}": + get: + summary: Get an organization variable + description: |- + Gets a specific agent variable in an organization. + + The authenticated user must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#get-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variable-name" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-actions-variable" + examples: + default: + "$ref": "#/components/examples/organization-actions-variable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + patch: + summary: Update an organization variable + description: |- + Updates an organization agent variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/update-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#update-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variable-name" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + visibility: + type: string + description: The type of repositories in the organization that can + access the variable. `selected` means only the repositories specified + by `selected_repository_ids` can access the variable. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + variable. You can only provide a list of repository ids when the + `visibility` is set to `selected`. + items: + type: integer + examples: + default: + value: + name: USERNAME + value: octocat + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + delete: + summary: Delete an organization variable + description: |- + Deletes an organization agent variable using the variable name. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#delete-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variable-name" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/orgs/{org}/agents/variables/{name}/repositories": + get: + summary: List selected repositories for an organization variable + description: |- + Lists all repositories that can access an organization agent variable + that is available to selected repositories. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/list-selected-repos-for-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#list-selected-repositories-for-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variable-name" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: + "$ref": "#/components/schemas/minimal-repository" + examples: + default: + "$ref": "#/components/examples/public-repository-paginated" + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + put: + summary: Set selected repositories for an organization variable + description: |- + Replaces all repositories for an organization agent variable that is available + to selected repositories. Organization variables that are available to selected + repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/set-selected-repos-for-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#set-selected-repositories-for-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variable-name" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: The IDs of the repositories that can access the organization + variable. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/orgs/{org}/agents/variables/{name}/repositories/{repository_id}": + put: + summary: Add selected repository to an organization variable + description: |- + Adds a repository to an organization agent variable that is available to selected repositories. + Organization variables that are available to selected repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/add-selected-repo-to-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#add-selected-repository-to-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variable-name" + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + delete: + summary: Remove selected repository from an organization variable + description: |- + Removes a repository from an organization agent variable that is + available to selected repositories. Organization variables that are available to + selected repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/remove-selected-repo-from-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#remove-selected-repository-from-an-organization-variable + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/variable-name" + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables "/orgs/{org}/artifacts/metadata/deployment-record": post: summary: Create an artifact deployment record @@ -31103,7 +31930,917 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: actions + subcategory: variables + delete: + summary: Delete a repository variable + description: |- + Deletes a repository variable using the variable name. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/variable-name" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + "/repos/{owner}/{repo}/actions/workflows": + get: + summary: List repository workflows + description: |- + Lists the workflows in a repository. + + Anyone with read access to the repository can use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + tags: + - actions + operationId: actions/list-repo-workflows + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/workflows#list-repository-workflows + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - workflows + properties: + total_count: + type: integer + workflows: + type: array + items: + "$ref": "#/components/schemas/workflow" + examples: + default: + "$ref": "#/components/examples/workflow-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: workflows + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}": + get: + summary: Get a workflow + description: |- + Gets a specific workflow. You can replace `workflow_id` with the workflow + file name. For example, you could use `main.yaml`. + + Anyone with read access to the repository can use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + tags: + - actions + operationId: actions/get-workflow + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/workflows#get-a-workflow + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/workflow-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/workflow" + examples: + default: + "$ref": "#/components/examples/workflow" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: workflows + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable": + put: + summary: Disable a workflow + description: |- + Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/disable-workflow + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/workflows#disable-a-workflow + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/workflow-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: workflows + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": + post: + summary: Create a workflow dispatch event + description: |- + You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. + + You must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch)." + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + operationId: actions/create-workflow-dispatch + tags: + - actions + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/workflow-id" + responses: + '204': + description: Empty response when `return_run_details` parameter is `false`. + '200': + description: Response including the workflow run ID and URLs when `return_run_details` + parameter is `true`. + content: + application/json: + schema: + "$ref": "#/components/schemas/workflow-dispatch-response" + examples: + default: + "$ref": "#/components/examples/workflow-dispatch-response" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + ref: + type: string + description: The git reference for the workflow. The reference can + be a branch or tag name. + inputs: + type: object + description: Input keys and values configured in the workflow file. + The maximum number of properties is 25. Any default properties + configured in the workflow file will be used when `inputs` are + omitted. + additionalProperties: true + maxProperties: 25 + return_run_details: + type: boolean + description: Whether the response should include the workflow run + ID and URLs. + required: + - ref + examples: + default: + value: + ref: topic-branch + inputs: + name: Mona the Octocat + home: San Francisco, CA + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: workflows + x-github-breaking-changes: + - changeset: change_workflow_dispatch_response_status + patch: + - op: remove + path: "/responses/204" + - op: remove + path: "/requestBody/content/application~1json/schema/properties/return_run_details" + - op: replace + path: "/responses/200/description" + value: Response including the workflow run ID and URLs. + version: '2026-03-10' + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": + put: + summary: Enable a workflow + description: |- + Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/enable-workflow + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/workflows#enable-a-workflow + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/workflow-id" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: workflows + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": + get: + summary: List workflow runs for a workflow + description: |- + List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#parameters). + + Anyone with read access to the repository can use this endpoint + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. + + This endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`. + tags: + - actions + operationId: actions/list-workflow-runs + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/workflow-id" + - "$ref": "#/components/parameters/actor" + - "$ref": "#/components/parameters/workflow-run-branch" + - "$ref": "#/components/parameters/event" + - "$ref": "#/components/parameters/workflow-run-status" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/created" + - "$ref": "#/components/parameters/exclude-pull-requests" + - "$ref": "#/components/parameters/workflow-run-check-suite-id" + - "$ref": "#/components/parameters/workflow-run-head-sha" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - workflow_runs + properties: + total_count: + type: integer + workflow_runs: + type: array + items: + "$ref": "#/components/schemas/workflow-run" + examples: + default: + "$ref": "#/components/examples/workflow-run-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: workflow-runs + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": + get: + summary: Get workflow usage + description: "> [!WARNING] \n> This endpoint is in the process of closing down. + Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints + closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" + for more information.\n\nGets the number of billable minutes used by a specific + workflow during the current billing cycle. Billable minutes only apply to + workflows in private repositories that use GitHub-hosted runners. Usage is + listed for each GitHub-hosted runner operating system in milliseconds. Any + job re-runs are also included in the usage. The usage does not include the + multiplier for macOS and Windows runners and is not rounded up to the nearest + whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou + can replace `workflow_id` with the workflow file name. For example, you could + use `main.yaml`.\n\nAnyone with read access to the repository can use this + endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the + `repo` scope to use this endpoint with a private repository." + tags: + - actions + operationId: actions/get-workflow-usage + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/workflows#get-workflow-usage + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/workflow-id" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/workflow-usage" + examples: + default: + "$ref": "#/components/examples/workflow-usage" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: actions + subcategory: workflows + "/repos/{owner}/{repo}/activity": + get: + summary: List repository activities + description: |- + Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users. + + For more information about viewing repository activity, + see "[Viewing activity and data for your repository](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository)." + tags: + - repos + operationId: repos/list-activities + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/repos/repos#list-repository-activities + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/direction" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - name: ref + description: |- + The Git reference for the activities you want to list. + + The `ref` for a branch can be formatted either as `refs/heads/BRANCH_NAME` or `BRANCH_NAME`, where `BRANCH_NAME` is the name of your branch. + in: query + required: false + schema: + type: string + - name: actor + description: The GitHub username to use to filter by the actor who performed + the activity. + in: query + required: false + schema: + type: string + - name: time_period + description: |- + The time period to filter by. + + For example, `day` will filter for activity that occurred in the past 24 hours, and `week` will filter for activity that occurred in the past 7 days (168 hours). + in: query + required: false + schema: + type: string + enum: + - day + - week + - month + - quarter + - year + - name: activity_type + description: |- + The activity type to filter by. + + For example, you can choose to filter by "force_push", to see all force pushes to the repository. + in: query + required: false + schema: + type: string + enum: + - push + - force_push + - branch_creation + - branch_deletion + - pr_merge + - merge_queue_merge + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/activity" + examples: + default: + "$ref": "#/components/examples/activity-items" + headers: + Link: + "$ref": "#/components/headers/link" + '422': + "$ref": "#/components/responses/validation_failed_simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: repos + subcategory: repos + "/repos/{owner}/{repo}/agents/organization-secrets": + get: + summary: List repository organization secrets + description: |- + Lists all organization secrets shared with a repository without revealing their encrypted + values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-organization-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: + "$ref": "#/components/schemas/actions-secret" + examples: + default: + "$ref": "#/components/examples/actions-secret-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/organization-variables": + get: + summary: List repository organization variables + description: |- + Lists all organization variables shared with a repository. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-organization-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#list-repository-organization-variables + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/variables-per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: + "$ref": "#/components/schemas/actions-variable" + examples: + default: + "$ref": "#/components/examples/actions-variables-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/repos/{owner}/{repo}/agents/secrets": + get: + summary: List repository secrets + description: |- + Lists all secrets available in a repository without revealing their encrypted + values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-repository-secrets + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: + "$ref": "#/components/schemas/actions-secret" + examples: + default: + "$ref": "#/components/examples/actions-secret-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/secrets/public-key": + get: + summary: Get a repository public key + description: |- + Gets your public key, which you need to encrypt secrets. You need to + encrypt a secret before you can create or update secrets. + + Anyone with read access to the repository can use this endpoint. + + If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-public-key + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-a-repository-public-key + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/actions-public-key" + examples: + default: + "$ref": "#/components/examples/actions-public-key" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/secrets/{secret_name}": + get: + summary: Get a repository secret + description: |- + Gets a single repository secret without revealing its encrypted value. + + The authenticated user must have collaborator access to the repository to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-a-repository-secret + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/secret-name" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/actions-secret" + examples: + default: + "$ref": "#/components/examples/actions-secret" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + put: + summary: Create or update a repository secret + description: |- + Creates or updates a repository secret with an encrypted value. Encrypt your secret using + [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-or-update-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/secret-name" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + encrypted_value: + type: string + description: Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) + using the public key retrieved from the [Get a repository public + key](https://docs.github.com/rest/agents/secrets#get-a-repository-public-key) + endpoint. + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + type: string + description: ID of the key you used to encrypt the secret. + required: + - encrypted_value + - key_id + examples: + default: + value: + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + responses: + '201': + description: Response when creating a secret + content: + application/json: + schema: + "$ref": "#/components/schemas/empty-object" + examples: + default: + value: + '204': + description: Response when updating a secret + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + delete: + summary: Delete a repository secret + description: |- + Deletes a secret in a repository using the secret name. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#delete-a-repository-secret + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/secret-name" + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/variables": + get: + summary: List repository variables + description: |- + Lists all repository variables. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#list-repository-variables + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/variables-per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: + "$ref": "#/components/schemas/actions-variable" + examples: + default: + "$ref": "#/components/examples/actions-variables-paginated" + headers: + Link: + "$ref": "#/components/headers/link" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + post: + summary: Create a repository variable + description: |- + Creates a repository variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#create-a-repository-variable + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + required: + - name + - value + examples: + default: + value: + name: USERNAME + value: octocat + responses: + '201': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/empty-object" + examples: + default: + value: + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/repos/{owner}/{repo}/agents/variables/{name}": + get: + summary: Get a repository variable + description: |- + Gets a specific variable in a repository. + + The authenticated user must have collaborator access to the repository to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#get-a-repository-variable + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/variable-name" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/actions-variable" + examples: + default: + "$ref": "#/components/examples/actions-variable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + patch: + summary: Update a repository variable + description: |- + Updates a repository variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/update-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#update-a-repository-variable + parameters: + - "$ref": "#/components/parameters/owner" + - "$ref": "#/components/parameters/repo" + - "$ref": "#/components/parameters/variable-name" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + examples: + default: + value: + name: USERNAME + value: octocat + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents subcategory: variables delete: summary: Delete a repository variable @@ -31114,11 +32851,11 @@ paths: OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/delete-repo-variable + - agents + operationId: agents/delete-repo-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable + url: https://docs.github.com/rest/agents/variables#delete-a-repository-variable parameters: - "$ref": "#/components/parameters/owner" - "$ref": "#/components/parameters/repo" @@ -31129,412 +32866,8 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables - "/repos/{owner}/{repo}/actions/workflows": - get: - summary: List repository workflows - description: |- - Lists the workflows in a repository. - - Anyone with read access to the repository can use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. - tags: - - actions - operationId: actions/list-repo-workflows - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/actions/workflows#list-repository-workflows - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - responses: - '200': - description: Response - content: - application/json: - schema: - type: object - required: - - total_count - - workflows - properties: - total_count: - type: integer - workflows: - type: array - items: - "$ref": "#/components/schemas/workflow" - examples: - default: - "$ref": "#/components/examples/workflow-paginated" - headers: - Link: - "$ref": "#/components/headers/link" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: actions - subcategory: workflows - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}": - get: - summary: Get a workflow - description: |- - Gets a specific workflow. You can replace `workflow_id` with the workflow - file name. For example, you could use `main.yaml`. - - Anyone with read access to the repository can use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. - tags: - - actions - operationId: actions/get-workflow - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/actions/workflows#get-a-workflow - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/workflow-id" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/workflow" - examples: - default: - "$ref": "#/components/examples/workflow" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: actions - subcategory: workflows - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable": - put: - summary: Disable a workflow - description: |- - Disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - - OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. - tags: - - actions - operationId: actions/disable-workflow - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/actions/workflows#disable-a-workflow - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/workflow-id" - responses: - '204': - description: Response - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: actions - subcategory: workflows - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": - post: - summary: Create a workflow dispatch event - description: |- - You can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - - You must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch)." - - OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. - operationId: actions/create-workflow-dispatch - tags: - - actions - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/workflow-id" - responses: - '204': - description: Empty response when `return_run_details` parameter is `false`. - '200': - description: Response including the workflow run ID and URLs when `return_run_details` - parameter is `true`. - content: - application/json: - schema: - "$ref": "#/components/schemas/workflow-dispatch-response" - examples: - default: - "$ref": "#/components/examples/workflow-dispatch-response" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - ref: - type: string - description: The git reference for the workflow. The reference can - be a branch or tag name. - inputs: - type: object - description: Input keys and values configured in the workflow file. - The maximum number of properties is 25. Any default properties - configured in the workflow file will be used when `inputs` are - omitted. - additionalProperties: true - maxProperties: 25 - return_run_details: - type: boolean - description: Whether the response should include the workflow run - ID and URLs. - required: - - ref - examples: - default: - value: - ref: topic-branch - inputs: - name: Mona the Octocat - home: San Francisco, CA - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: actions - subcategory: workflows - x-github-breaking-changes: - - changeset: change_workflow_dispatch_response_status - patch: - - op: remove - path: "/responses/204" - - op: remove - path: "/requestBody/content/application~1json/schema/properties/return_run_details" - - op: replace - path: "/responses/200/description" - value: Response including the workflow run ID and URLs. - version: '2026-03-10' - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": - put: - summary: Enable a workflow - description: |- - Enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. - - OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. - tags: - - actions - operationId: actions/enable-workflow - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/actions/workflows#enable-a-workflow - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/workflow-id" - responses: - '204': - description: Response - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: actions - subcategory: workflows - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": - get: - summary: List workflow runs for a workflow - description: |- - List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#parameters). - - Anyone with read access to the repository can use this endpoint - - OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. - - This endpoint will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`. - tags: - - actions - operationId: actions/list-workflow-runs - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/workflow-id" - - "$ref": "#/components/parameters/actor" - - "$ref": "#/components/parameters/workflow-run-branch" - - "$ref": "#/components/parameters/event" - - "$ref": "#/components/parameters/workflow-run-status" - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/page" - - "$ref": "#/components/parameters/created" - - "$ref": "#/components/parameters/exclude-pull-requests" - - "$ref": "#/components/parameters/workflow-run-check-suite-id" - - "$ref": "#/components/parameters/workflow-run-head-sha" - responses: - '200': - description: Response - content: - application/json: - schema: - type: object - required: - - total_count - - workflow_runs - properties: - total_count: - type: integer - workflow_runs: - type: array - items: - "$ref": "#/components/schemas/workflow-run" - examples: - default: - "$ref": "#/components/examples/workflow-run-paginated" - headers: - Link: - "$ref": "#/components/headers/link" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: actions - subcategory: workflow-runs - "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": - get: - summary: Get workflow usage - description: "> [!WARNING] \n> This endpoint is in the process of closing down. - Refer to \"[Actions Get workflow usage and Get workflow run usage endpoints - closing down](https://github.blog/changelog/2025-02-02-actions-get-workflow-usage-and-get-workflow-run-usage-endpoints-closing-down/)\" - for more information.\n\nGets the number of billable minutes used by a specific - workflow during the current billing cycle. Billable minutes only apply to - workflows in private repositories that use GitHub-hosted runners. Usage is - listed for each GitHub-hosted runner operating system in milliseconds. Any - job re-runs are also included in the usage. The usage does not include the - multiplier for macOS and Windows runners and is not rounded up to the nearest - whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nYou - can replace `workflow_id` with the workflow file name. For example, you could - use `main.yaml`.\n\nAnyone with read access to the repository can use this - endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the - `repo` scope to use this endpoint with a private repository." - tags: - - actions - operationId: actions/get-workflow-usage - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/actions/workflows#get-workflow-usage - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/workflow-id" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/workflow-usage" - examples: - default: - "$ref": "#/components/examples/workflow-usage" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: actions - subcategory: workflows - "/repos/{owner}/{repo}/activity": - get: - summary: List repository activities - description: |- - Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users. - - For more information about viewing repository activity, - see "[Viewing activity and data for your repository](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository)." - tags: - - repos - operationId: repos/list-activities - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/repos/repos#list-repository-activities - parameters: - - "$ref": "#/components/parameters/owner" - - "$ref": "#/components/parameters/repo" - - "$ref": "#/components/parameters/direction" - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/pagination-before" - - "$ref": "#/components/parameters/pagination-after" - - name: ref - description: |- - The Git reference for the activities you want to list. - - The `ref` for a branch can be formatted either as `refs/heads/BRANCH_NAME` or `BRANCH_NAME`, where `BRANCH_NAME` is the name of your branch. - in: query - required: false - schema: - type: string - - name: actor - description: The GitHub username to use to filter by the actor who performed - the activity. - in: query - required: false - schema: - type: string - - name: time_period - description: |- - The time period to filter by. - - For example, `day` will filter for activity that occurred in the past 24 hours, and `week` will filter for activity that occurred in the past 7 days (168 hours). - in: query - required: false - schema: - type: string - enum: - - day - - week - - month - - quarter - - year - - name: activity_type - description: |- - The activity type to filter by. - - For example, you can choose to filter by "force_push", to see all force pushes to the repository. - in: query - required: false - schema: - type: string - enum: - - push - - force_push - - branch_creation - - branch_deletion - - pr_merge - - merge_queue_merge - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/activity" - examples: - default: - "$ref": "#/components/examples/activity-items" - headers: - Link: - "$ref": "#/components/headers/link" - '422': - "$ref": "#/components/responses/validation_failed_simple" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: repos - subcategory: repos "/repos/{owner}/{repo}/assignees": get: summary: List assignees @@ -84810,6 +86143,15 @@ components: updated_at: type: string format: date-time + notification_setting: + type: string + description: Whether team members will receive notifications when the team + is mentioned. + enum: + - notifications_enabled + - notifications_disabled + examples: + - notifications_enabled required: - id - url @@ -216108,11 +217450,10 @@ components: "$ref": "#/components/schemas/simple-user" required: - action - - parent_issue_id - - parent_issue - - parent_issue_repo - sub_issue_id - sub_issue + - repository + - sender webhook-sub-issues-parent-issue-removed: title: parent issue removed event type: object @@ -216143,11 +217484,10 @@ components: "$ref": "#/components/schemas/simple-user" required: - action - - parent_issue_id - - parent_issue - - parent_issue_repo - sub_issue_id - sub_issue + - repository + - sender webhook-sub-issues-sub-issue-added: title: sub-issue added event type: object @@ -216178,11 +217518,10 @@ components: "$ref": "#/components/schemas/simple-user" required: - action - - sub_issue_id - - sub_issue - - sub_issue_repo - parent_issue_id - parent_issue + - repository + - sender webhook-sub-issues-sub-issue-removed: title: sub-issue removed event type: object @@ -216213,11 +217552,10 @@ components: "$ref": "#/components/schemas/simple-user" required: - action - - sub_issue_id - - sub_issue - - sub_issue_repo - parent_issue_id - parent_issue + - repository + - sender webhook-team-add: title: team_add event type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 8ded4fdb0..36b904a69 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -207,6 +207,10 @@ { "name": "agent-tasks", "description": "Endpoints to manage and interact with agent tasks." + }, + { + "name": "agents", + "description": "Endpoints for Agents secrets and variables." } ], "servers": [ @@ -31784,6 +31788,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -31927,6 +31942,14 @@ "null" ], "description": "The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/rest/scim#list-provisioned-scim-groups-for-an-enterprise)." + }, + "notification_setting": { + "type": "string", + "description": "The notification setting the team is set to. The options are:\n\n* `notifications_enabled` - team members receive notifications when the team is @mentioned.\n* `notifications_disabled` - no one receives notifications.\n\nDefault: `notifications_enabled`\n", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -32021,6 +32044,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -34447,249 +34481,279 @@ "updated_at": { "type": "string", "format": "date-time" - } - }, - "required": [ - "id", - "url", - "members_url", - "name", - "html_url", - "slug", - "created_at", - "updated_at", - "group_id" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "name": "Justice League", - "description": "A great team.", - "slug": "justice-league", - "url": "https://api.github.com/enterprises/dc/teams/justice-league", - "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", - "html_url": "https://github.com/enterprises/dc/teams/justice-league", - "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", - "created_at": "2019-01-26T19:01:12Z", - "updated_at": "2019-01-26T19:14:43Z" - } - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "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" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "enterprise-teams", - "subcategory": "enterprise-teams" - } - }, - "patch": { - "summary": "Update an enterprise team", - "description": "To edit a team, the authenticated user must be an enterprise owner.", - "tags": [ - "enterprise-teams" - ], - "operationId": "enterprise-teams/update", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ], - "description": "A new name for the team." - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "A new description for the team." - }, - "sync_to_organizations": { - "type": "string", - "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be changed.\n", - "enum": [ - "all", - "disabled" - ], - "default": "disabled" - }, - "organization_selection_type": { - "type": "string", - "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", - "enum": [ - "disabled", - "selected", - "all" - ], - "default": "disabled" - }, - "group_id": { - "type": [ - "string", - "null" - ], - "description": "The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group." - } - } - }, - "examples": { - "default": { - "value": { - "name": "Justice League", - "description": "A great team.", - "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Enterprise Team", - "description": "Group of enterprise owners and/or members", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" }, - "sync_to_organizations": { - "type": "string", - "description": "Retired: this field will not be returned with GHEC enterprise teams.", - "examples": [ - "disabled | all" - ] - }, - "organization_selection_type": { + "notification_setting": { "type": "string", - "examples": [ - "disabled | selected | all" - ] - }, - "group_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "62ab9291-fae2-468e-974b-7e45096d5021" - ] - }, - "group_name": { - "type": [ - "string", - "null" + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" ], - "description": "Retired: this field will not be returned with GHEC enterprise teams.", - "examples": [ - "Justice League" - ] - }, - "html_url": { - "type": "string", - "format": "uri", "examples": [ - "https://github.com/enterprises/dc/teams/justice-league" + "notifications_enabled" + ] + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "patch": { + "summary": "Update an enterprise team", + "description": "To edit a team, the authenticated user must be an enterprise owner.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/update", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ], + "description": "A new name for the team." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "A new description for the team." + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be changed.\n", + "enum": [ + "all", + "disabled" + ], + "default": "disabled" + }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, + "group_id": { + "type": [ + "string", + "null" + ], + "description": "The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group." + }, + "notification_setting": { + "type": "string", + "description": "The notification setting the team is set to. The options are:\n\n* `notifications_enabled` - team members receive notifications when the team is @mentioned.\n* `notifications_disabled` - no one receives notifications.\n", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] + } + } + }, + "examples": { + "default": { + "value": { + "name": "Justice League", + "description": "A great team.", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" ] - }, - "members_url": { - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" } }, "required": [ @@ -110255,6 +110319,3608 @@ } } }, + "/orgs/{org}/agents/secrets": { + "get": { + "summary": "List organization secrets", + "description": "Lists all secrets available in an organization without revealing their\nencrypted values.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-org-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-organization-secrets" + }, + "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/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/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", + "secrets" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "secrets": { + "type": "array", + "items": { + "title": "Actions Secret for an Organization", + "description": "Secrets for GitHub Actions for an organization.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "visibility": { + "description": "Visibility of a secret", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/org/secrets/my_secret/repositories" + ] + } + }, + "required": [ + "name", + "created_at", + "updated_at", + "visibility" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 3, + "secrets": [ + { + "name": "GIST_ID", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "private" + }, + { + "name": "DEPLOY_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "all" + }, + { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/public-key": { + "get": { + "summary": "Get an organization public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-public-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#get-an-organization-public-key" + }, + "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": { + "title": "ActionsPublicKey", + "description": "The public key used for setting Actions Secrets.", + "type": "object", + "properties": { + "key_id": { + "description": "The identifier for the key.", + "type": "string", + "examples": [ + "1234567" + ] + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "examples": [ + "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=" + ] + }, + "id": { + "type": "integer", + "examples": [ + 2 + ] + }, + "url": { + "type": "string", + "examples": [ + "https://api.github.com/user/keys/2" + ] + }, + "title": { + "type": "string", + "examples": [ + "ssh-rsa AAAAB3NzaC1yc2EAAA" + ] + }, + "created_at": { + "type": "string", + "examples": [ + "2011-01-26T19:01:12Z" + ] + } + }, + "required": [ + "key_id", + "key" + ] + }, + "examples": { + "default": { + "value": { + "key_id": "012345678912345678", + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}": { + "get": { + "summary": "Get an organization secret", + "description": "Gets a single organization secret without revealing its encrypted value.\n\nThe authenticated user must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#get-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Actions Secret for an Organization", + "description": "Secrets for GitHub Actions for an organization.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "visibility": { + "description": "Visibility of a secret", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/org/secrets/my_secret/repositories" + ] + } + }, + "required": [ + "name", + "created_at", + "updated_at", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "put": { + "summary": "Create or update an organization secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-or-update-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "encrypted_value": { + "type": "string", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/agents/secrets#get-an-organization-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "type": "string", + "description": "ID of the key you used to encrypt the secret." + }, + "visibility": { + "type": "string", + "description": "Which type of organization repositories have access to the organization secret. `selected` means only the repositories specified by `selected_repository_ids` can access the secret.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "encrypted_value", + "key_id", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response when creating a secret", + "content": { + "application/json": { + "schema": { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "examples": { + "default": { + "value": null + } + } + } + } + }, + "204": { + "description": "Response when updating a secret" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "delete": { + "summary": "Delete an organization secret", + "description": "Deletes a secret in an organization using the secret name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#delete-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}/repositories": { + "get": { + "summary": "List selected repositories for an organization secret", + "description": "Lists all repositories that have been selected when the `visibility`\nfor repository access to a secret is set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-selected-repos-for-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "title": "Minimal Repository", + "description": "Minimal Repository", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": [ + "string", + "null" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": [ + "string", + "null" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "has_pull_requests": { + "type": "boolean" + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "examples": [ + "admin" + ] + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "contributor_covenant" + ] + }, + "name": { + "type": "string", + "examples": [ + "Contributor Covenant" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/codes_of_conduct/contributor_covenant" + ] + }, + "body": { + "type": "string", + "examples": [ + "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + ] + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": [ + "object", + "null" + ], + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": [ + "string", + "null" + ] + }, + "node_id": { + "type": "string" + } + } + }, + "forks": { + "type": "integer", + "examples": [ + 0 + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 0 + ] + }, + "watchers": { + "type": "integer", + "examples": [ + 0 + ] + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "examples": [ + false + ] + }, + "security_and_analysis": { + "type": [ + "object", + "null" + ], + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_alert_dismissal": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass_options": { + "type": "object", + "properties": { + "reviewers": { + "type": "array", + "description": "The bypass reviewers for secret scanning delegated bypass", + "items": { + "type": "object", + "required": [ + "reviewer_id", + "reviewer_type" + ], + "properties": { + "reviewer_id": { + "type": "integer", + "description": "The ID of the team or role selected as a bypass reviewer" + }, + "reviewer_type": { + "type": "string", + "description": "The type of the bypass reviewer", + "enum": [ + "TEAM", + "ROLE" + ] + }, + "mode": { + "type": "string", + "description": "The bypass mode for the reviewer", + "enum": [ + "ALWAYS", + "EXEMPT" + ], + "default": "ALWAYS" + } + } + } + } + } + } + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + } + }, + "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" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "repositories": [ + { + "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}", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "put": { + "summary": "Set selected repositories for an organization secret", + "description": "Replaces all repositories for an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/set-selected-repos-for-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization secret](https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}": { + "put": { + "summary": "Add selected repository to an organization secret", + "description": "Adds a repository to an organization secret when the `visibility` for\nrepository access is set to `selected`. For more information about setting the visibility, see [Create or\nupdate an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/add-selected-repo-to-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "No Content when repository was added to the selected list" + }, + "409": { + "description": "Conflict when visibility type is not set to selected" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "delete": { + "summary": "Remove selected repository from an organization secret", + "description": "Removes a repository from an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/remove-selected-repo-from-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response when repository was removed from the selected list" + }, + "409": { + "description": "Conflict when visibility type not set to selected" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/variables": { + "get": { + "summary": "List organization variables", + "description": "Lists all agent variables available in an organization.\nReturned variables include their values.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-org-variables", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#list-organization-variables" + }, + "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 30). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 10 + } + }, + { + "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/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", + "variables" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "type": "array", + "items": { + "title": "Actions Variable for an Organization", + "description": "Organization variable for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "visibility": { + "description": "Visibility of a variable", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/org/variables/USERNAME/repositories" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at", + "visibility" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 3, + "variables": [ + { + "name": "USERNAME", + "value": "octocat", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "private" + }, + { + "name": "ACTIONS_RUNNER_DEBUG", + "value": true, + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "all" + }, + { + "name": "ADMIN_EMAIL", + "value": "octocat@github.com", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "post": { + "summary": "Create an organization variable", + "description": "Creates an organization agent variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#create-an-organization-variable" + }, + "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": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + }, + "visibility": { + "type": "string", + "description": "The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "name", + "value", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response when creating a variable", + "content": { + "application/json": { + "schema": { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "examples": { + "default": { + "value": null + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}": { + "get": { + "summary": "Get an organization variable", + "description": "Gets a specific agent variable in an organization.\n\nThe authenticated user must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#get-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Actions Variable for an Organization", + "description": "Organization variable for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "visibility": { + "description": "Visibility of a variable", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/org/variables/USERNAME/repositories" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "patch": { + "summary": "Update an organization variable", + "description": "Updates an organization agent variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/update-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#update-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + }, + "visibility": { + "type": "string", + "description": "The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Delete an organization variable", + "description": "Deletes an organization agent variable using the variable name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#delete-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}/repositories": { + "get": { + "summary": "List selected repositories for an organization variable", + "description": "Lists all repositories that can access an organization agent variable\nthat is available to selected repositories.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-selected-repos-for-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#list-selected-repositories-for-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "title": "Minimal Repository", + "description": "Minimal Repository", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": [ + "string", + "null" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": [ + "string", + "null" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "has_pull_requests": { + "type": "boolean" + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "examples": [ + "admin" + ] + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "contributor_covenant" + ] + }, + "name": { + "type": "string", + "examples": [ + "Contributor Covenant" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/codes_of_conduct/contributor_covenant" + ] + }, + "body": { + "type": "string", + "examples": [ + "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + ] + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": [ + "object", + "null" + ], + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": [ + "string", + "null" + ] + }, + "node_id": { + "type": "string" + } + } + }, + "forks": { + "type": "integer", + "examples": [ + 0 + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 0 + ] + }, + "watchers": { + "type": "integer", + "examples": [ + 0 + ] + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "examples": [ + false + ] + }, + "security_and_analysis": { + "type": [ + "object", + "null" + ], + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_alert_dismissal": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass_options": { + "type": "object", + "properties": { + "reviewers": { + "type": "array", + "description": "The bypass reviewers for secret scanning delegated bypass", + "items": { + "type": "object", + "required": [ + "reviewer_id", + "reviewer_type" + ], + "properties": { + "reviewer_id": { + "type": "integer", + "description": "The ID of the team or role selected as a bypass reviewer" + }, + "reviewer_type": { + "type": "string", + "description": "The type of the bypass reviewer", + "enum": [ + "TEAM", + "ROLE" + ] + }, + "mode": { + "type": "string", + "description": "The bypass mode for the reviewer", + "enum": [ + "ALWAYS", + "EXEMPT" + ], + "default": "ALWAYS" + } + } + } + } + } + } + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + } + }, + "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" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "repositories": [ + { + "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}", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" + } + ] + } + } + } + } + } + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "put": { + "summary": "Set selected repositories for an organization variable", + "description": "Replaces all repositories for an organization agent variable that is available\nto selected repositories. Organization variables that are available to selected\nrepositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/set-selected-repos-for-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#set-selected-repositories-for-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "The IDs of the repositories that can access the organization variable.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}/repositories/{repository_id}": { + "put": { + "summary": "Add selected repository to an organization variable", + "description": "Adds a repository to an organization agent variable that is available to selected repositories.\nOrganization variables that are available to selected repositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/add-selected-repo-to-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#add-selected-repository-to-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Remove selected repository from an organization variable", + "description": "Removes a repository from an organization agent variable that is\navailable to selected repositories. Organization variables that are available to\nselected repositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/remove-selected-repo-from-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#remove-selected-repository-from-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, "/orgs/{org}/artifacts/metadata/deployment-record": { "post": { "summary": "Create an artifact deployment record", @@ -135448,6 +139114,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -180329,6 +184006,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -303971,106 +307659,1784 @@ } }, { - "name": "workflow_id", + "name": "workflow_id", + "in": "path", + "description": "The ID of the workflow. You can also pass the workflow file name as a string.", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Workflow Usage", + "description": "Workflow Usage", + "type": "object", + "properties": { + "billable": { + "type": "object", + "properties": { + "UBUNTU": { + "type": "object", + "properties": { + "total_ms": { + "type": "integer" + } + } + }, + "MACOS": { + "type": "object", + "properties": { + "total_ms": { + "type": "integer" + } + } + }, + "WINDOWS": { + "type": "object", + "properties": { + "total_ms": { + "type": "integer" + } + } + } + } + } + }, + "required": [ + "billable" + ] + }, + "examples": { + "default": { + "value": { + "billable": { + "UBUNTU": { + "total_ms": 180000 + }, + "MACOS": { + "total_ms": 240000 + }, + "WINDOWS": { + "total_ms": 300000 + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/activity": { + "get": { + "summary": "List repository activities", + "description": "Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users.\n\nFor more information about viewing repository activity,\nsee \"[Viewing activity and data for your repository](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository).\"", + "tags": [ + "repos" + ], + "operationId": "repos/list-activities", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#list-repository-activities" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "ref", + "description": "The Git reference for the activities you want to list.\n\nThe `ref` for a branch can be formatted either as `refs/heads/BRANCH_NAME` or `BRANCH_NAME`, where `BRANCH_NAME` is the name of your branch.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "actor", + "description": "The GitHub username to use to filter by the actor who performed the activity.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "time_period", + "description": "The time period to filter by.\n\nFor example, `day` will filter for activity that occurred in the past 24 hours, and `week` will filter for activity that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "day", + "week", + "month", + "quarter", + "year" + ] + } + }, + { + "name": "activity_type", + "description": "The activity type to filter by.\n\nFor example, you can choose to filter by \"force_push\", to see all force pushes to the repository.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "push", + "force_push", + "branch_creation", + "branch_deletion", + "pr_merge", + "merge_queue_merge" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Activity", + "description": "Activity", + "type": "object", + "properties": { + "id": { + "type": "integer", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "before": { + "type": "string", + "description": "The SHA of the commit before the activity.", + "examples": [ + "6dcb09b5b57875f334f61aebed695e2e4193db5e" + ] + }, + "after": { + "type": "string", + "description": "The SHA of the commit after the activity.", + "examples": [ + "827efc6d56897b048c772eb4087f854f46256132" + ] + }, + "ref": { + "type": "string", + "description": "The full Git reference, formatted as `refs/heads/`.", + "examples": [ + "refs/heads/main" + ] + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The time when the activity occurred.", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "activity_type": { + "type": "string", + "enum": [ + "push", + "force_push", + "branch_deletion", + "branch_creation", + "pr_merge", + "merge_queue_merge" + ], + "description": "The type of the activity that was performed.", + "examples": [ + "force_push" + ] + }, + "actor": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "id", + "node_id", + "before", + "after", + "ref", + "timestamp", + "activity_type", + "actor" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "before": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "after": "827efc6d56897b048c772eb4087f854f46256132", + "ref": "refs/heads/main", + "pushed_at": "2011-01-26T19:06:43Z", + "push_type": "normal", + "pusher": { + "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 + } + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "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": "repos", + "subcategory": "repos" + } + } + }, + "/repos/{owner}/{repo}/agents/organization-secrets": { + "get": { + "summary": "List repository organization secrets", + "description": "Lists all organization secrets shared with a repository without revealing their encrypted\nvalues.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-organization-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "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/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/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", + "secrets" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "secrets": { + "type": "array", + "items": { + "title": "Actions Secret", + "description": "Set secrets for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "secrets": [ + { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + }, + { + "name": "GIST_ID", + "created_at": "2020-01-10T10:59:22Z", + "updated_at": "2020-01-11T11:59:22Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/agents/organization-variables": { + "get": { + "summary": "List repository organization variables", + "description": "Lists all organization variables shared with a repository.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-organization-variables", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#list-repository-organization-variables" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 30). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 10 + } + }, + { + "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/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", + "variables" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "type": "array", + "items": { + "title": "Actions Variable", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "variables": [ + { + "name": "USERNAME", + "value": "octocat", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + }, + { + "name": "EMAIL", + "value": "octocat@github.com", + "created_at": "2020-01-10T10:59:22Z", + "updated_at": "2020-01-11T11:59:22Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/repos/{owner}/{repo}/agents/secrets": { + "get": { + "summary": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted\nvalues.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-repository-secrets" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "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/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/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", + "secrets" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "secrets": { + "type": "array", + "items": { + "title": "Actions Secret", + "description": "Set secrets for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "secrets": [ + { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + }, + { + "name": "GIST_ID", + "created_at": "2020-01-10T10:59:22Z", + "updated_at": "2020-01-11T11:59:22Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/agents/secrets/public-key": { + "get": { + "summary": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.\n\nAnyone with read access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-repo-public-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#get-a-repository-public-key" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "ActionsPublicKey", + "description": "The public key used for setting Actions Secrets.", + "type": "object", + "properties": { + "key_id": { + "description": "The identifier for the key.", + "type": "string", + "examples": [ + "1234567" + ] + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "examples": [ + "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=" + ] + }, + "id": { + "type": "integer", + "examples": [ + 2 + ] + }, + "url": { + "type": "string", + "examples": [ + "https://api.github.com/user/keys/2" + ] + }, + "title": { + "type": "string", + "examples": [ + "ssh-rsa AAAAB3NzaC1yc2EAAA" + ] + }, + "created_at": { + "type": "string", + "examples": [ + "2011-01-26T19:01:12Z" + ] + } + }, + "required": [ + "key_id", + "key" + ] + }, + "examples": { + "default": { + "value": { + "key_id": "012345678912345678", + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/agents/secrets/{secret_name}": { + "get": { + "summary": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value.\n\nThe authenticated user must have collaborator access to the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-repo-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#get-a-repository-secret" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Actions Secret", + "description": "Set secrets for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "created_at", + "updated_at" + ] + }, + "examples": { + "default": { + "value": { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "put": { + "summary": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-or-update-repo-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "encrypted_value": { + "type": "string", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/rest/agents/secrets#get-a-repository-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "type": "string", + "description": "ID of the key you used to encrypt the secret." + } + }, + "required": [ + "encrypted_value", + "key_id" + ] + }, + "examples": { + "default": { + "value": { + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response when creating a secret", + "content": { + "application/json": { + "schema": { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "examples": { + "default": { + "value": null + } + } + } + } + }, + "204": { + "description": "Response when updating a secret" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "delete": { + "summary": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-repo-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#delete-a-repository-secret" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/agents/variables": { + "get": { + "summary": "List repository variables", + "description": "Lists all repository variables.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-variables", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#list-repository-variables" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 30). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 10 + } + }, + { + "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/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", + "variables" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "type": "array", + "items": { + "title": "Actions Variable", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "variables": [ + { + "name": "USERNAME", + "value": "octocat", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + }, + { + "name": "EMAIL", + "value": "octocat@github.com", + "created_at": "2020-01-10T10:59:22Z", + "updated_at": "2020-01-11T11:59:22Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "post": { + "summary": "Create a repository variable", + "description": "Creates a repository variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-repo-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#create-a-repository-variable" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + } + }, + "required": [ + "name", + "value" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "examples": { + "default": { + "value": null + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/repos/{owner}/{repo}/agents/variables/{name}": { + "get": { + "summary": "Get a repository variable", + "description": "Gets a specific variable in a repository.\n\nThe authenticated user must have collaborator access to the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-repo-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#get-a-repository-variable" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Actions Variable", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "created_at": "2021-08-10T14:59:22Z", + "updated_at": "2022-01-10T14:59:22Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "patch": { + "summary": "Update a repository variable", + "description": "Updates a repository variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/update-repo-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#update-a-repository-variable" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", "in": "path", - "description": "The ID of the workflow. You can also pass the workflow file name as a string.", "required": true, "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] + "type": "string" } } ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Workflow Usage", - "description": "Workflow Usage", - "type": "object", - "properties": { - "billable": { - "type": "object", - "properties": { - "UBUNTU": { - "type": "object", - "properties": { - "total_ms": { - "type": "integer" - } - } - }, - "MACOS": { - "type": "object", - "properties": { - "total_ms": { - "type": "integer" - } - } - }, - "WINDOWS": { - "type": "object", - "properties": { - "total_ms": { - "type": "integer" - } - } - } - } - } + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." }, - "required": [ - "billable" - ] - }, - "examples": { - "default": { - "value": { - "billable": { - "UBUNTU": { - "total_ms": 180000 - }, - "MACOS": { - "total_ms": 240000 - }, - "WINDOWS": { - "total_ms": 300000 - } - } - } + "value": { + "type": "string", + "description": "The value of the variable." + } + } + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat" } } } } } }, + "responses": { + "204": { + "description": "Response" + } + }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "actions", - "subcategory": "workflows" + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" } - } - }, - "/repos/{owner}/{repo}/activity": { - "get": { - "summary": "List repository activities", - "description": "Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users.\n\nFor more information about viewing repository activity,\nsee \"[Viewing activity and data for your repository](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository).\"", + }, + "delete": { + "summary": "Delete a repository variable", + "description": "Deletes a repository variable using the variable name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "repos" + "agents" ], - "operationId": "repos/list-activities", + "operationId": "agents/delete-repo-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/repos#list-repository-activities" + "url": "https://docs.github.com/rest/agents/variables#delete-a-repository-variable" }, "parameters": [ { @@ -304092,436 +309458,25 @@ } }, { - "name": "direction", - "description": "The direction to sort the results by.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ], - "default": "desc" - } - }, - { - "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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "ref", - "description": "The Git reference for the activities you want to list.\n\nThe `ref` for a branch can be formatted either as `refs/heads/BRANCH_NAME` or `BRANCH_NAME`, where `BRANCH_NAME` is the name of your branch.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "actor", - "description": "The GitHub username to use to filter by the actor who performed the activity.", - "in": "query", - "required": false, + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, "schema": { "type": "string" } - }, - { - "name": "time_period", - "description": "The time period to filter by.\n\nFor example, `day` will filter for activity that occurred in the past 24 hours, and `week` will filter for activity that occurred in the past 7 days (168 hours).", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "day", - "week", - "month", - "quarter", - "year" - ] - } - }, - { - "name": "activity_type", - "description": "The activity type to filter by.\n\nFor example, you can choose to filter by \"force_push\", to see all force pushes to the repository.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "push", - "force_push", - "branch_creation", - "branch_deletion", - "pr_merge", - "merge_queue_merge" - ] - } } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Activity", - "description": "Activity", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1296269 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "before": { - "type": "string", - "description": "The SHA of the commit before the activity.", - "examples": [ - "6dcb09b5b57875f334f61aebed695e2e4193db5e" - ] - }, - "after": { - "type": "string", - "description": "The SHA of the commit after the activity.", - "examples": [ - "827efc6d56897b048c772eb4087f854f46256132" - ] - }, - "ref": { - "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`.", - "examples": [ - "refs/heads/main" - ] - }, - "timestamp": { - "type": "string", - "format": "date-time", - "description": "The time when the activity occurred.", - "examples": [ - "2011-01-26T19:06:43Z" - ] - }, - "activity_type": { - "type": "string", - "enum": [ - "push", - "force_push", - "branch_deletion", - "branch_creation", - "pr_merge", - "merge_queue_merge" - ], - "description": "The type of the activity that was performed.", - "examples": [ - "force_push" - ] - }, - "actor": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } - }, - "required": [ - "id", - "node_id", - "before", - "after", - "ref", - "timestamp", - "activity_type", - "actor" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "before": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "after": "827efc6d56897b048c772eb4087f854f46256132", - "ref": "refs/heads/main", - "pushed_at": "2011-01-26T19:06:43Z", - "push_type": "normal", - "pusher": { - "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 - } - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "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" - } - } - } - } - } - } + "204": { + "description": "Response" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "repos" + "category": "agents", + "subcategory": "variables" } } }, @@ -1661711,11 +1666666,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] } } @@ -1672316,11 +1677270,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] } } @@ -1682921,11 +1687874,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] } } @@ -1693526,11 +1698478,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] } } diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index dfdfa387d..96e4ca9f7 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -110,6 +110,8 @@ tags: description: Endpoints to manage Projects using the REST API. - name: agent-tasks description: Endpoints to manage and interact with agent tasks. +- name: agents + description: Endpoints for Agents secrets and variables. servers: - url: https://api.github.com externalDocs: @@ -912,7 +914,7 @@ paths: - subscriptions_url - type - url - type: &320 + type: &327 type: string description: The type of credit the user is receiving. enum: @@ -1078,7 +1080,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &645 + - &649 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4187,7 +4189,7 @@ paths: schema: type: integer default: 30 - - &210 + - &217 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -4196,7 +4198,7 @@ paths: required: false schema: type: string - - &211 + - &218 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4216,7 +4218,7 @@ paths: application/json: schema: type: array - items: &212 + items: &219 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4312,7 +4314,7 @@ paths: - installation_id - repository_id examples: - default: &213 + default: &220 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4447,7 +4449,7 @@ paths: description: Response content: application/json: - schema: &214 + schema: &221 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4582,7 +4584,7 @@ paths: - request - response examples: - default: &215 + default: &222 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -10861,7 +10863,7 @@ paths: description: Response content: application/json: - schema: &182 + schema: &189 type: array description: A list of default code security configurations items: @@ -10877,7 +10879,7 @@ paths: default configuration: *47 examples: - default: &183 + default: &190 value: - default_for_new_repos: public configuration: @@ -11339,7 +11341,7 @@ paths: default: value: default_for_new_repos: all - configuration: &181 + configuration: &188 value: id: 1325 target_type: organization @@ -11429,7 +11431,7 @@ paths: application/json: schema: type: array - items: &184 + items: &191 type: object description: Repositories associated with a code security configuration and attachment status @@ -11774,7 +11776,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &185 + repository: &192 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -12280,7 +12282,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *38 - - &193 + - &200 name: classification in: query description: |- @@ -12289,7 +12291,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &194 + - &201 name: state in: query description: |- @@ -12298,7 +12300,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &195 + - &202 name: severity in: query description: |- @@ -12307,7 +12309,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &196 + - &203 name: ecosystem in: query description: |- @@ -12316,14 +12318,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &197 + - &204 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 - - &198 + - &205 name: epss_percentage in: query description: |- @@ -12335,7 +12337,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &479 + - &485 name: has in: query description: |- @@ -12349,7 +12351,7 @@ paths: type: string enum: - patch - - &199 + - &206 name: assignee in: query description: |- @@ -12358,7 +12360,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &200 + - &207 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12368,7 +12370,7 @@ paths: enum: - development - runtime - - &201 + - &208 name: sort in: query description: |- @@ -12394,11 +12396,11 @@ paths: application/json: schema: type: array - items: &202 + items: &209 type: object description: A Dependabot alert. properties: - number: &171 + number: &178 type: integer description: The security alert number. readOnly: true @@ -12465,7 +12467,7 @@ paths: - transitive - inconclusive - - security_advisory: &480 + security_advisory: &486 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12679,29 +12681,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *64 - url: &174 + url: &181 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &175 + html_url: &182 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &172 + created_at: &179 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: &173 + updated_at: &180 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: &177 + dismissed_at: &184 type: - string - 'null' @@ -12732,7 +12734,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &176 + fixed_at: &183 type: - string - 'null' @@ -12740,7 +12742,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &481 + auto_dismissed_at: &487 type: - string - 'null' @@ -12748,7 +12750,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &482 + dismissal_request: &488 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -12811,7 +12813,7 @@ paths: - repository additionalProperties: false examples: - default: &203 + default: &210 value: - number: 2 state: dismissed @@ -13196,7 +13198,7 @@ paths: description: Response content: application/json: - schema: &204 + schema: &211 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -13222,7 +13224,7 @@ paths: - *65 additionalProperties: false examples: - default: &205 + default: &212 value: default_level: public accessible_repositories: @@ -13495,6 +13497,15 @@ paths: updated_at: type: string format: date-time + notification_setting: + type: string + description: Whether team members will receive notifications + when the team is mentioned. + enum: + - notifications_enabled + - notifications_disabled + examples: + - notifications_enabled required: - id - url @@ -13581,6 +13592,18 @@ paths: - 'null' description: The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/rest/scim#list-provisioned-scim-groups-for-an-enterprise). + notification_setting: + type: string + description: | + The notification setting the team is set to. The options are: + + * `notifications_enabled` - team members receive notifications when the team is @mentioned. + * `notifications_disabled` - no one receives notifications. + + Default: `notifications_enabled` + enum: + - notifications_enabled + - notifications_disabled required: - name examples: @@ -14263,6 +14286,16 @@ paths: description: The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group. + notification_setting: + type: string + description: | + The notification setting the team is set to. The options are: + + * `notifications_enabled` - team members receive notifications when the team is @mentioned. + * `notifications_disabled` - no one receives notifications. + enum: + - notifications_enabled + - notifications_disabled examples: default: value: @@ -14436,7 +14469,7 @@ paths: properties: action: type: string - discussion: &736 + discussion: &740 title: Discussion description: A Discussion in a repository. type: object @@ -14937,7 +14970,7 @@ paths: milestone: anyOf: - type: 'null' - - &272 + - &279 title: Milestone description: A collection of related issues and pull requests. @@ -15109,7 +15142,7 @@ paths: timeline_url: type: string format: uri - type: &236 + type: &243 title: Issue Type description: The type of issue. type: @@ -15220,7 +15253,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &656 + sub_issues_summary: &660 title: Sub-issues Summary type: object properties: @@ -15304,7 +15337,7 @@ paths: pin: anyOf: - type: 'null' - - &554 + - &558 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -15331,7 +15364,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &657 + issue_dependencies_summary: &661 title: Issue Dependencies Summary type: object properties: @@ -15350,7 +15383,7 @@ paths: - total_blocking issue_field_values: type: array - items: &538 + items: &542 title: Issue Field Value description: A value assigned to an issue field type: object @@ -16131,7 +16164,7 @@ paths: type: string release: allOf: - - &586 + - &590 title: Release description: A release. type: object @@ -16213,7 +16246,7 @@ paths: author: *4 assets: type: array - items: &587 + items: &591 title: Release Asset description: Data related to a release. type: object @@ -16816,7 +16849,7 @@ paths: url: type: string format: uri - user: &663 + user: &667 title: Public User description: Public User type: object @@ -18706,7 +18739,7 @@ paths: - closed - all default: open - - &239 + - &246 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -18757,7 +18790,7 @@ paths: type: array items: *82 examples: - default: &240 + default: &247 value: - id: 1 node_id: MDU6SXNzdWUx @@ -20169,14 +20202,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &331 + - &338 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &332 + - &339 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -20238,7 +20271,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &335 + '301': &342 description: Moved permanently content: application/json: @@ -20260,7 +20293,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &562 + - &566 name: all description: If `true`, show notifications marked as read. in: query @@ -20268,7 +20301,7 @@ paths: schema: type: boolean default: false - - &563 + - &567 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -20278,7 +20311,7 @@ paths: type: boolean default: false - *87 - - &564 + - &568 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -20660,7 +20693,7 @@ paths: type: boolean examples: - false - security_and_analysis: &287 + security_and_analysis: &294 type: - object - 'null' @@ -20871,7 +20904,7 @@ paths: - url - subscription_url examples: - default: &565 + default: &569 value: - id: '1' repository: @@ -22175,7 +22208,7 @@ paths: required: false schema: type: string - - &713 + - &717 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -22321,7 +22354,7 @@ paths: parameters: - *74 - *116 - - &714 + - &718 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -22433,7 +22466,7 @@ paths: - *116 - *118 - *117 - - &715 + - &719 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -22441,7 +22474,7 @@ paths: schema: type: string - *119 - - &716 + - &720 name: sku description: The SKU to query for usage. in: query @@ -23420,7 +23453,7 @@ paths: type: integer repository_cache_usages: type: array - items: &342 + items: &349 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -24808,7 +24841,7 @@ paths: - all - local_only - selected - selected_actions_url: &348 + selected_actions_url: &354 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` @@ -24891,7 +24924,7 @@ paths: description: Response content: application/json: - schema: &352 + schema: &358 type: object properties: days: @@ -24933,7 +24966,7 @@ paths: required: true content: application/json: - schema: &353 + schema: &359 type: object properties: days: @@ -24990,7 +25023,7 @@ paths: required: - approval_policy examples: - default: &354 + default: &360 value: approval_policy: first_time_contributors '404': *6 @@ -25049,7 +25082,7 @@ paths: description: Response content: application/json: - schema: &355 + schema: &361 type: object required: - run_workflows_from_fork_pull_requests @@ -25103,7 +25136,7 @@ paths: required: true content: application/json: - schema: &356 + schema: &362 type: object required: - run_workflows_from_fork_pull_requests @@ -25738,7 +25771,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &363 type: object properties: default_workflow_permissions: &146 @@ -25789,7 +25822,7 @@ paths: required: false content: application/json: - schema: &358 + schema: &364 type: object properties: default_workflow_permissions: *146 @@ -26282,7 +26315,7 @@ paths: type: array items: *153 examples: - default: &192 + default: &199 value: total_count: 1 repositories: @@ -26929,7 +26962,7 @@ paths: application/json: schema: type: array - items: &359 + items: &365 title: Runner Application description: Runner Application type: object @@ -26954,7 +26987,7 @@ paths: - download_url - filename examples: - default: &360 + default: &366 value: - os: osx architecture: x64 @@ -27040,7 +27073,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &361 + '201': &367 description: Response content: application/json: @@ -27155,7 +27188,7 @@ paths: - token - expires_at examples: - default: &362 + default: &368 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -27194,7 +27227,7 @@ paths: application/json: schema: *157 examples: - default: &363 + default: &369 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -27228,7 +27261,7 @@ paths: application/json: schema: *155 examples: - default: &364 + default: &370 value: id: 23 name: MBP @@ -27454,7 +27487,7 @@ paths: - *74 - *154 responses: - '200': &365 + '200': &371 description: Response content: application/json: @@ -27511,7 +27544,7 @@ paths: parameters: - *74 - *154 - - &366 + - &372 name: name description: The name of a self-hosted runner's custom label. in: path @@ -27596,7 +27629,7 @@ paths: - updated_at - visibility examples: - default: + default: &166 value: total_count: 3 secrets: @@ -27643,7 +27676,7 @@ paths: description: Response content: application/json: - schema: &378 + schema: &167 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -27678,7 +27711,7 @@ paths: - key_id - key examples: - default: &379 + default: &168 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27718,7 +27751,7 @@ paths: application/json: schema: *160 examples: - default: + default: &169 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27878,97 +27911,966 @@ paths: type: array items: *153 examples: - default: &165 - value: - total_count: 1 - repositories: - - 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} - hooks_url: http://api.github.com/repos/octocat/Hello-World/hooks + default: &165 + value: + total_count: 1 + repositories: + - 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} + hooks_url: http://api.github.com/repos/octocat/Hello-World/hooks + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: secrets + put: + summary: Set selected repositories for an organization secret + description: |- + Replaces all repositories for an organization secret when the `visibility` + for repository access is set to `selected`. The visibility is set when you [Create + or update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/set-selected-repos-for-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret + parameters: + - *74 + - *161 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + secret. You can only provide a list of repository ids when the + `visibility` is set to `selected`. You can add and remove individual + repositories using the [Add selected repository to an organization + secret](https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret) + and [Remove selected repository from an organization secret](https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) + endpoints. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: secrets + "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}": + put: + summary: Add selected repository to an organization secret + description: |- + Adds a repository to an organization secret when the `visibility` for + repository access is set to `selected`. For more information about setting the visibility, see [Create or + update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/add-selected-repo-to-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret + parameters: + - *74 + - *161 + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: No Content when repository was added to the selected list + '409': + description: Conflict when visibility type is not set to selected + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: secrets + delete: + summary: Remove selected repository from an organization secret + description: |- + Removes a repository from an organization secret when the `visibility` + for repository access is set to `selected`. The visibility is set when you [Create + or update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/remove-selected-repo-from-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret + parameters: + - *74 + - *161 + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response when repository was removed from the selected list + '409': + description: Conflict when visibility type not set to selected + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: secrets + "/orgs/{org}/actions/variables": + get: + summary: List organization variables + description: |- + Lists all organization variables. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/list-org-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#list-organization-variables + parameters: + - *74 + - &170 + name: per_page + description: The number of results per page (max 30). For more information, + see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." + in: query + schema: + type: integer + default: 10 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: &163 + title: Actions Variable for an Organization + description: Organization variable for GitHub Actions. + type: object + properties: + name: + description: The name of the variable. + type: string + examples: + - USERNAME + value: + description: The value of the variable. + type: string + examples: + - octocat + created_at: + description: The date and time at which the variable was + created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + examples: + - '2019-01-24T22:45:36.000Z' + updated_at: + description: The date and time at which the variable was + last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + examples: + - '2019-01-24T22:45:36.000Z' + visibility: + description: Visibility of a variable + enum: + - all + - private + - selected + type: string + selected_repositories_url: + type: string + format: uri + examples: + - https://api.github.com/organizations/org/variables/USERNAME/repositories + required: + - name + - value + - created_at + - updated_at + - visibility + examples: + default: &171 + value: + total_count: 3 + variables: + - name: USERNAME + value: octocat + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: private + - name: ACTIONS_RUNNER_DEBUG + value: true + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: all + - name: ADMIN_EMAIL + value: octocat@github.com + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: selected + selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories + headers: + Link: *66 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + post: + summary: Create an organization variable + description: |- + Creates an organization variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/create-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#create-an-organization-variable + parameters: + - *74 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + visibility: + type: string + description: The type of repositories in the organization that can + access the variable. `selected` means only the repositories specified + by `selected_repository_ids` can access the variable. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + variable. You can only provide a list of repository ids when the + `visibility` is set to `selected`. + items: + type: integer + required: + - name + - value + - visibility + examples: + default: + value: + name: USERNAME + value: octocat + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: Response when creating a variable + content: + application/json: + schema: *162 + examples: + default: + value: + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + "/orgs/{org}/actions/variables/{name}": + get: + summary: Get an organization variable + description: |- + Gets a specific variable in an organization. + + The authenticated user must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/get-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#get-an-organization-variable + parameters: + - *74 + - &164 + name: name + description: The name of the variable. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *163 + examples: + default: &172 + value: + name: USERNAME + value: octocat + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: selected + selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + patch: + summary: Update an organization variable + description: |- + Updates an organization variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/update-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#update-an-organization-variable + parameters: + - *74 + - *164 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + visibility: + type: string + description: The type of repositories in the organization that can + access the variable. `selected` means only the repositories specified + by `selected_repository_ids` can access the variable. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + variable. You can only provide a list of repository ids when the + `visibility` is set to `selected`. + items: + type: integer + examples: + default: + value: + name: USERNAME + value: octocat + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + delete: + summary: Delete an organization variable + description: |- + Deletes an organization variable using the variable name. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable + parameters: + - *74 + - *164 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + "/orgs/{org}/actions/variables/{name}/repositories": + get: + summary: List selected repositories for an organization variable + description: |- + Lists all repositories that can access an organization variable + that is available to selected repositories. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/list-selected-repos-for-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable + parameters: + - *74 + - *164 + - *19 + - *17 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: *153 + examples: + default: *165 + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + put: + summary: Set selected repositories for an organization variable + description: |- + Replaces all repositories for an organization variable that is available + to selected repositories. Organization variables that are available to selected + repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/set-selected-repos-for-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable + parameters: + - *74 + - *164 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: The IDs of the repositories that can access the organization + variable. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + "/orgs/{org}/actions/variables/{name}/repositories/{repository_id}": + put: + summary: Add selected repository to an organization variable + description: |- + Adds a repository to an organization variable that is available to selected repositories. + Organization variables that are available to selected repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/add-selected-repo-to-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable + parameters: + - *74 + - *164 + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + delete: + summary: Remove selected repository from an organization variable + description: |- + Removes a repository from an organization variable that is + available to selected repositories. Organization variables that are available to + selected repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/remove-selected-repo-from-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable + parameters: + - *74 + - *164 + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + "/orgs/{org}/agents/secrets": + get: + summary: List organization secrets + description: |- + Lists all secrets available in an organization without revealing their + encrypted values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/list-org-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-organization-secrets + parameters: + - *74 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: *160 + examples: + default: *166 + headers: + Link: *66 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/public-key": + get: + summary: Get an organization public key + description: |- + Gets your public key, which you need to encrypt secrets. You need to + encrypt a secret before you can create or update secrets. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/get-org-public-key + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-an-organization-public-key + parameters: + - *74 + responses: + '200': + description: Response + content: + application/json: + schema: *167 + examples: + default: *168 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/{secret_name}": + get: + summary: Get an organization secret + description: |- + Gets a single organization secret without revealing its encrypted value. + + The authenticated user must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-an-organization-secret + parameters: + - *74 + - *161 + responses: + '200': + description: Response + content: + application/json: + schema: *160 + examples: + default: *169 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + put: + summary: Create or update an organization secret + description: |- + Creates or updates an organization secret with an encrypted value. Encrypt your secret using + [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-or-update-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret + parameters: + - *74 + - *161 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + encrypted_value: + type: string + description: Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) + using the public key retrieved from the [Get an organization public + key](https://docs.github.com/rest/agents/secrets#get-an-organization-public-key) + endpoint. + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + type: string + description: ID of the key you used to encrypt the secret. + visibility: + type: string + description: Which type of organization repositories have access + to the organization secret. `selected` means only the repositories + specified by `selected_repository_ids` can access the secret. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + secret. You can only provide a list of repository ids when the + `visibility` is set to `selected`. You can manage the list of + selected repositories using the [List selected repositories for + an organization secret](https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret), + [Set selected repositories for an organization secret](https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret), + and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) + endpoints. + items: + type: integer + required: + - encrypted_value + - key_id + - visibility + examples: + default: + value: + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: Response when creating a secret + content: + application/json: + schema: *162 + examples: + default: + value: + '204': + description: Response when updating a secret + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + delete: + summary: Delete an organization secret + description: |- + Deletes a secret in an organization using the secret name. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#delete-an-organization-secret + parameters: + - *74 + - *161 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/{secret_name}/repositories": + get: + summary: List selected repositories for an organization secret + description: |- + Lists all repositories that have been selected when the `visibility` + for repository access to a secret is set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/list-selected-repos-for-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret + parameters: + - *74 + - *161 + - *19 + - *17 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: *153 + examples: + default: *165 x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: secrets put: summary: Set selected repositories for an organization secret description: |- Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create - or update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret). + or update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret). Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/set-selected-repos-for-org-secret + - agents + operationId: agents/set-selected-repos-for-org-secret externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret + url: https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - *74 - *161 @@ -27985,8 +28887,8 @@ paths: secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization - secret](https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret) - and [Remove selected repository from an organization secret](https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) + secret](https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret) + and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) endpoints. items: type: integer @@ -28003,25 +28905,25 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: secrets - "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}": + "/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}": put: summary: Add selected repository to an organization secret description: |- Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. For more information about setting the visibility, see [Create or - update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret). + update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret). Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/add-selected-repo-to-org-secret + - agents + operationId: agents/add-selected-repo-to-org-secret externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret + url: https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - *74 - *161 @@ -28038,24 +28940,24 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: secrets delete: summary: Remove selected repository from an organization secret description: |- Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create - or update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret). + or update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret). Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/remove-selected-repo-from-org-secret + - agents + operationId: agents/remove-selected-repo-from-org-secret externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret + url: https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - *74 - *161 @@ -28072,33 +28974,27 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: secrets - "/orgs/{org}/actions/variables": + "/orgs/{org}/agents/variables": get: summary: List organization variables description: |- - Lists all organization variables. + Lists all agent variables available in an organization. + Returned variables include their values. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/list-org-variables + - agents + operationId: agents/list-org-variables externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#list-organization-variables + url: https://docs.github.com/rest/agents/variables#list-organization-variables parameters: - *74 - - &347 - name: per_page - description: The number of results per page (max 30). For more information, - see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 10 + - *170 - *19 responses: '200': @@ -28115,95 +29011,30 @@ paths: type: integer variables: type: array - items: &163 - title: Actions Variable for an Organization - description: Organization variable for GitHub Actions. - type: object - properties: - name: - description: The name of the variable. - type: string - examples: - - USERNAME - value: - description: The value of the variable. - type: string - examples: - - octocat - created_at: - description: The date and time at which the variable was - created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. - type: string - format: date-time - examples: - - '2019-01-24T22:45:36.000Z' - updated_at: - description: The date and time at which the variable was - last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. - type: string - format: date-time - examples: - - '2019-01-24T22:45:36.000Z' - visibility: - description: Visibility of a variable - enum: - - all - - private - - selected - type: string - selected_repositories_url: - type: string - format: uri - examples: - - https://api.github.com/organizations/org/variables/USERNAME/repositories - required: - - name - - value - - created_at - - updated_at - - visibility + items: *163 examples: - default: - value: - total_count: 3 - variables: - - name: USERNAME - value: octocat - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - visibility: private - - name: ACTIONS_RUNNER_DEBUG - value: true - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - visibility: all - - name: ADMIN_EMAIL - value: octocat@github.com - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - visibility: selected - selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories + default: *171 headers: Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables post: summary: Create an organization variable description: |- - Creates an organization variable that you can reference in a GitHub Actions workflow. + Creates an organization agent variable that you can reference in a GitHub Actions workflow. Authenticated users must have collaborator access to a repository to create, update, or read variables. - OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/create-org-variable + - agents + operationId: agents/create-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#create-an-organization-variable + url: https://docs.github.com/rest/agents/variables#create-an-organization-variable parameters: - *74 requestBody: @@ -28260,32 +29091,26 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables - "/orgs/{org}/actions/variables/{name}": + "/orgs/{org}/agents/variables/{name}": get: summary: Get an organization variable description: |- - Gets a specific variable in an organization. + Gets a specific agent variable in an organization. The authenticated user must have collaborator access to a repository to create, update, or read variables. - OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/get-org-variable + - agents + operationId: agents/get-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#get-an-organization-variable + url: https://docs.github.com/rest/agents/variables#get-an-organization-variable parameters: - *74 - - &164 - name: name - description: The name of the variable. - in: path - required: true - schema: - type: string + - *164 responses: '200': description: Response @@ -28293,33 +29118,26 @@ paths: application/json: schema: *163 examples: - default: - value: - name: USERNAME - value: octocat - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - visibility: selected - selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories + default: *172 x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables patch: summary: Update an organization variable description: |- - Updates an organization variable that you can reference in a GitHub Actions workflow. + Updates an organization agent variable that you can reference in a GitHub Actions workflow. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/update-org-variable + - agents + operationId: agents/update-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#update-an-organization-variable + url: https://docs.github.com/rest/agents/variables#update-an-organization-variable parameters: - *74 - *164 @@ -28367,22 +29185,22 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables delete: summary: Delete an organization variable description: |- - Deletes an organization variable using the variable name. + Deletes an organization agent variable using the variable name. Authenticated users must have collaborator access to a repository to create, update, or read variables. - OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/delete-org-variable + - agents + operationId: agents/delete-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable + url: https://docs.github.com/rest/agents/variables#delete-an-organization-variable parameters: - *74 - *164 @@ -28392,24 +29210,24 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables - "/orgs/{org}/actions/variables/{name}/repositories": + "/orgs/{org}/agents/variables/{name}/repositories": get: summary: List selected repositories for an organization variable description: |- - Lists all repositories that can access an organization variable + Lists all repositories that can access an organization agent variable that is available to selected repositories. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/list-selected-repos-for-org-variable + - agents + operationId: agents/list-selected-repos-for-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable + url: https://docs.github.com/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - *74 - *164 @@ -28439,12 +29257,12 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables put: summary: Set selected repositories for an organization variable description: |- - Replaces all repositories for an organization variable that is available + Replaces all repositories for an organization agent variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. @@ -28452,11 +29270,11 @@ paths: OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/set-selected-repos-for-org-variable + - agents + operationId: agents/set-selected-repos-for-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable + url: https://docs.github.com/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - *74 - *164 @@ -28489,24 +29307,24 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables - "/orgs/{org}/actions/variables/{name}/repositories/{repository_id}": + "/orgs/{org}/agents/variables/{name}/repositories/{repository_id}": put: summary: Add selected repository to an organization variable description: |- - Adds a repository to an organization variable that is available to selected repositories. + Adds a repository to an organization agent variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. - Authenticated users must have collaborator access to a repository to create, update, or read secrets. + Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/add-selected-repo-to-org-variable + - agents + operationId: agents/add-selected-repo-to-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable + url: https://docs.github.com/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - *74 - *164 @@ -28524,12 +29342,12 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables delete: summary: Remove selected repository from an organization variable description: |- - Removes a repository from an organization variable that is + Removes a repository from an organization agent variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. @@ -28537,11 +29355,11 @@ paths: OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/remove-selected-repo-from-org-variable + - agents + operationId: agents/remove-selected-repo-from-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable + url: https://docs.github.com/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - *74 - *164 @@ -28559,7 +29377,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables "/orgs/{org}/artifacts/metadata/deployment-record": post: @@ -28711,7 +29529,7 @@ paths: type: integer deployment_records: type: array - items: &166 + items: &173 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -28758,7 +29576,7 @@ paths: required: - total_count examples: - default: &167 + default: &174 value: total_count: 1 deployment_records: @@ -28938,11 +29756,11 @@ paths: type: integer deployment_records: type: array - items: *166 + items: *173 required: - total_count examples: - default: *167 + default: *174 '403': description: Forbidden content: @@ -29190,9 +30008,9 @@ paths: - 3 deployment_records: type: array - items: *166 + items: *173 examples: - default: *167 + default: *174 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29322,12 +30140,12 @@ paths: required: - subject_digests examples: - default: &694 + default: &698 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &695 + withPredicateType: &699 value: subject_digests: - sha256:abc123 @@ -29386,7 +30204,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &696 + default: &700 value: attestations_subject_digests: - sha256:abc: @@ -29737,7 +30555,7 @@ paths: initiator: type: string examples: - default: &392 + default: &398 value: attestations: - bundle: @@ -29956,7 +30774,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &168 + schema: &175 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -29982,7 +30800,7 @@ paths: application/json: schema: type: array - items: &169 + items: &176 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -30013,7 +30831,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &191 + items: &198 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -30090,7 +30908,7 @@ paths: parent: anyOf: - type: 'null' - - &251 + - &258 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -30226,7 +31044,7 @@ paths: - string - 'null' format: date-time - state: *168 + state: *175 contact_link: description: The contact link of the campaign. type: @@ -30449,9 +31267,9 @@ paths: description: Response content: application/json: - schema: *169 + schema: *176 examples: - default: &170 + default: &177 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -30534,9 +31352,9 @@ paths: description: Response content: application/json: - schema: *169 + schema: *176 examples: - default: *170 + default: *177 '404': *6 '422': description: Unprocessable Entity @@ -30614,7 +31432,7 @@ paths: - string - 'null' format: uri - state: *168 + state: *175 examples: default: value: @@ -30624,9 +31442,9 @@ paths: description: Response content: application/json: - schema: *169 + schema: *176 examples: - default: *170 + default: *177 '400': description: Bad Request content: @@ -30693,17 +31511,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *74 - - &416 + - &422 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`, but not both. in: query required: false - schema: &178 + schema: &185 type: string description: The name of the tool used to generate the code scanning analysis. - - &417 + - &423 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 @@ -30711,7 +31529,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &179 + schema: &186 type: - string - 'null' @@ -30727,7 +31545,7 @@ paths: be returned. in: query required: false - schema: &419 + schema: &425 type: string description: State of a code scanning alert. enum: @@ -30750,7 +31568,7 @@ paths: be returned. in: query required: false - schema: &420 + schema: &426 type: string description: Severity of a code scanning alert. enum: @@ -30779,18 +31597,18 @@ paths: items: type: object properties: - number: *171 - created_at: *172 - updated_at: *173 - url: *174 - html_url: *175 - instances_url: &421 + number: *178 + created_at: *179 + updated_at: *180 + url: *181 + html_url: *182 + instances_url: &427 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &180 + state: &187 type: - string - 'null' @@ -30800,13 +31618,13 @@ paths: - dismissed - fixed - - fixed_at: *176 + fixed_at: *183 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *177 - dismissed_reason: &422 + dismissed_at: *184 + dismissed_reason: &428 type: - string - 'null' @@ -30817,14 +31635,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &423 + dismissed_comment: &429 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &424 + rule: &430 type: object properties: id: @@ -30885,43 +31703,43 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &425 + tool: &431 type: object properties: - name: *178 + name: *185 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *179 - most_recent_instance: &426 + guid: *186 + most_recent_instance: &432 type: object properties: - ref: &418 + ref: &424 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &436 + analysis_key: &442 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &437 + environment: &443 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &438 + category: &444 type: string description: Identifies the configuration under which the 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: *180 + state: *187 commit_sha: type: string message: @@ -30935,7 +31753,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &439 + location: &445 type: object description: Describe a region within a file for the alert. properties: @@ -30956,7 +31774,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &440 + items: &446 type: - string - 'null' @@ -31594,7 +32412,7 @@ paths: application/json: schema: *47 examples: - default: *181 + default: *188 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31622,9 +32440,9 @@ paths: description: Response content: application/json: - schema: *182 + schema: *189 examples: - default: *183 + default: *190 '304': *35 '403': *27 '404': *6 @@ -31713,7 +32531,7 @@ paths: application/json: schema: *47 examples: - default: *181 + default: *188 '304': *35 '403': *27 '404': *6 @@ -32158,7 +32976,7 @@ paths: default: value: default_for_new_repos: all - configuration: *181 + configuration: *188 '403': *27 '404': *6 x-github: @@ -32211,13 +33029,13 @@ paths: application/json: schema: type: array - items: *184 + items: *191 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *185 + repository: *192 '403': *27 '404': *6 x-github: @@ -32257,7 +33075,7 @@ paths: type: integer codespaces: type: array - items: &241 + items: &248 type: object title: Codespace description: A codespace. @@ -32292,7 +33110,7 @@ paths: machine: anyOf: - type: 'null' - - &452 + - &458 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -32579,7 +33397,7 @@ paths: - pulls_url - recent_folders examples: - default: &242 + default: &249 value: total_count: 3 codespaces: @@ -33203,7 +34021,7 @@ paths: type: integer secrets: type: array - items: &186 + items: &193 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -33244,7 +34062,7 @@ paths: - updated_at - visibility examples: - default: &453 + default: &459 value: total_count: 2 secrets: @@ -33282,7 +34100,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &460 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -33317,7 +34135,7 @@ paths: - key_id - key examples: - default: &455 + default: &461 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33347,9 +34165,9 @@ paths: description: Response content: application/json: - schema: *186 + schema: *193 examples: - default: &457 + default: &463 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -33681,7 +34499,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &187 + items: &194 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -34076,9 +34894,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *194 examples: - default: &188 + default: &195 summary: Example response for an organization copilot space value: id: 84 @@ -34181,9 +34999,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *194 examples: - default: *188 + default: *195 '403': *27 '404': *6 x-github: @@ -34310,9 +35128,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *194 examples: - default: *188 + default: *195 '403': *27 '404': *6 '422': *15 @@ -34391,7 +35209,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &189 + items: &196 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -34614,7 +35432,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *196 examples: user: value: @@ -34742,7 +35560,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *196 examples: user: value: @@ -34889,7 +35707,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &190 + items: &197 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -35031,7 +35849,7 @@ paths: description: Resource created content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -35047,7 +35865,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -35100,7 +35918,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -35167,7 +35985,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -35407,7 +36225,7 @@ paths: currently being billed. seats: type: array - items: &244 + items: &251 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -35425,7 +36243,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *191 + - *198 - *67 type: - 'null' @@ -36043,7 +36861,7 @@ paths: - total_count - repositories examples: - default: *192 + default: *199 '500': *53 '401': *23 '403': *27 @@ -36378,7 +37196,7 @@ paths: application/json: schema: type: array - items: &324 + items: &331 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -36693,7 +37511,7 @@ paths: - date additionalProperties: true examples: - default: &325 + default: &332 value: - date: '2024-06-24' total_active_users: 24 @@ -36795,7 +37613,7 @@ paths: '500': *53 '403': *27 '404': *6 - '422': &326 + '422': &333 description: Copilot Usage Metrics API setting is disabled at the organization or enterprise level. content: @@ -36975,12 +37793,12 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *74 - - *193 - - *194 - - *195 - - *196 - - *197 - - *198 + - *200 + - *201 + - *202 + - *203 + - *204 + - *205 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -37010,7 +37828,7 @@ paths: enum: - patch - deployment - - *199 + - *206 - name: runtime_risk in: query description: |- @@ -37019,8 +37837,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *200 - - *201 + - *207 + - *208 - *60 - *45 - *46 @@ -37032,9 +37850,9 @@ paths: application/json: schema: type: array - items: *202 + items: *209 examples: - default: *203 + default: *210 '304': *35 '400': *14 '403': *27 @@ -37083,9 +37901,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *211 examples: - default: *205 + default: *212 '403': *27 '404': *6 x-github: @@ -37249,7 +38067,7 @@ paths: type: integer secrets: type: array - items: &206 + items: &213 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -37328,7 +38146,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &491 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -37347,7 +38165,7 @@ paths: - key_id - key examples: - default: &486 + default: &492 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37377,7 +38195,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *213 examples: default: value: @@ -37676,7 +38494,7 @@ paths: application/json: schema: type: array - items: &253 + items: &260 title: Package description: A software package type: object @@ -37747,7 +38565,7 @@ paths: - created_at - updated_at examples: - default: &254 + default: &261 value: - id: 197 name: hello_docker @@ -37917,7 +38735,7 @@ paths: application/json: schema: type: array - items: &230 + items: &237 title: Organization Invitation description: Organization Invitation type: object @@ -37971,7 +38789,7 @@ paths: - invitation_teams_url - node_id examples: - default: &231 + default: &238 value: - id: 1 login: monalisa @@ -38038,7 +38856,7 @@ paths: application/json: schema: type: array - items: &207 + items: &214 title: Org Hook description: Org Hook type: object @@ -38223,9 +39041,9 @@ paths: description: Response content: application/json: - schema: *207 + schema: *214 examples: - default: &208 + default: &215 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -38273,7 +39091,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *74 - - &209 + - &216 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -38286,9 +39104,9 @@ paths: description: Response content: application/json: - schema: *207 + schema: *214 examples: - default: *208 + default: *215 '404': *6 x-github: githubCloudOnly: false @@ -38316,7 +39134,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *74 - - *209 + - *216 requestBody: required: false content: @@ -38362,7 +39180,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *214 examples: default: value: @@ -38404,7 +39222,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *74 - - *209 + - *216 responses: '204': description: Response @@ -38432,7 +39250,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *74 - - *209 + - *216 responses: '200': description: Response @@ -38463,7 +39281,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *74 - - *209 + - *216 requestBody: required: false content: @@ -38514,10 +39332,10 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *74 - - *209 + - *216 - *17 - - *210 - - *211 + - *217 + - *218 responses: '200': description: Response @@ -38525,9 +39343,9 @@ paths: application/json: schema: type: array - items: *212 + items: *219 examples: - default: *213 + default: *220 '400': *14 '422': *15 x-github: @@ -38553,16 +39371,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *74 - - *209 + - *216 - *16 responses: '200': description: Response content: application/json: - schema: *214 + schema: *221 examples: - default: *215 + default: *222 '400': *14 '422': *15 x-github: @@ -38588,7 +39406,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *74 - - *209 + - *216 - *16 responses: '202': *37 @@ -38618,7 +39436,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *74 - - *209 + - *216 responses: '204': description: Response @@ -38641,7 +39459,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *74 - - &220 + - &227 name: actor_type in: path description: The type of the actor @@ -38654,14 +39472,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &221 + - &228 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &216 + - &223 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -38669,7 +39487,7 @@ paths: required: true schema: type: string - - &217 + - &224 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -38764,12 +39582,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *74 - - *216 - - *217 + - *223 + - *224 - *19 - *17 - *60 - - &226 + - &233 name: sort description: The property to sort the results by. in: query @@ -38848,14 +39666,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *74 - - *216 - - *217 + - *223 + - *224 responses: '200': description: Response content: application/json: - schema: &218 + schema: &225 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -38871,7 +39689,7 @@ paths: type: integer format: int64 examples: - default: &219 + default: &226 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -38892,23 +39710,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *74 - - &222 + - &229 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *216 - - *217 + - *223 + - *224 responses: '200': description: Response content: application/json: - schema: *218 + schema: *225 examples: - default: *219 + default: *226 x-github: enabledForGitHubApps: true category: orgs @@ -38927,18 +39745,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *74 - - *216 - - *217 - - *220 - - *221 + - *223 + - *224 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *218 + schema: *225 examples: - default: *219 + default: *226 x-github: enabledForGitHubApps: true category: orgs @@ -38956,9 +39774,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *74 - - *216 - - *217 - - &223 + - *223 + - *224 + - &230 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -38971,7 +39789,7 @@ paths: description: Response content: application/json: - schema: &224 + schema: &231 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -38987,7 +39805,7 @@ paths: type: integer format: int64 examples: - default: &225 + default: &232 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -39024,18 +39842,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *74 - - *222 - - *216 - - *217 + - *229 - *223 + - *224 + - *230 responses: '200': description: Response content: application/json: - schema: *224 + schema: *231 examples: - default: *225 + default: *232 x-github: enabledForGitHubApps: true category: orgs @@ -39053,19 +39871,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *74 - - *220 - - *221 - - *216 - - *217 + - *227 + - *228 - *223 + - *224 + - *230 responses: '200': description: Response content: application/json: - schema: *224 + schema: *231 examples: - default: *225 + default: *232 x-github: enabledForGitHubApps: true category: orgs @@ -39083,13 +39901,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *74 - - *222 - - *216 - - *217 + - *229 + - *223 + - *224 - *19 - *17 - *60 - - *226 + - *233 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -39173,7 +39991,7 @@ paths: application/json: schema: *20 examples: - default: &525 + default: &529 value: id: 1 account: @@ -39339,12 +40157,12 @@ paths: application/json: schema: anyOf: - - &228 + - &235 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &227 + limit: &234 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -39372,7 +40190,7 @@ paths: properties: {} additionalProperties: false examples: - default: &229 + default: &236 value: limit: collaborators_only origin: organization @@ -39401,13 +40219,13 @@ paths: required: true content: application/json: - schema: &526 + schema: &530 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *227 + limit: *234 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -39432,9 +40250,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *235 examples: - default: *229 + default: *236 '422': *15 x-github: githubCloudOnly: false @@ -39510,9 +40328,9 @@ paths: application/json: schema: type: array - items: *230 + items: *237 examples: - default: *231 + default: *238 headers: Link: *66 '404': *6 @@ -39589,7 +40407,7 @@ paths: description: Response content: application/json: - schema: *230 + schema: *237 examples: default: value: @@ -39644,7 +40462,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *74 - - &232 + - &239 name: invitation_id description: The unique identifier of the invitation. in: path @@ -39675,7 +40493,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *74 - - *232 + - *239 - *17 - *19 responses: @@ -39685,9 +40503,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - default: &252 + default: &259 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -39730,7 +40548,7 @@ paths: application/json: schema: type: array - items: &233 + items: &240 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -39973,9 +40791,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *240 examples: - default: &234 + default: &241 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -40031,7 +40849,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *74 - - &235 + - &242 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -40141,9 +40959,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *240 examples: - default: *234 + default: *241 '404': *6 '422': *7 x-github: @@ -40168,7 +40986,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *74 - - *235 + - *242 responses: '204': *59 '404': *6 @@ -40198,7 +41016,7 @@ paths: application/json: schema: type: array - items: *236 + items: *243 examples: default: value: @@ -40286,9 +41104,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *243 examples: - default: &237 + default: &244 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -40321,7 +41139,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *74 - - &238 + - &245 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -40377,9 +41195,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *243 examples: - default: *237 + default: *244 '404': *6 '422': *7 x-github: @@ -40404,7 +41222,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *74 - - *238 + - *245 responses: '204': description: Response @@ -40467,7 +41285,7 @@ paths: - closed - all default: open - - *239 + - *246 - name: type description: Can be the name of an issue type. in: query @@ -40498,7 +41316,7 @@ paths: type: array items: *82 examples: - default: *240 + default: *247 headers: Link: *66 '404': *6 @@ -40657,9 +41475,9 @@ paths: type: integer codespaces: type: array - items: *241 + items: *248 examples: - default: *242 + default: *249 '304': *35 '500': *53 '401': *23 @@ -40686,7 +41504,7 @@ paths: parameters: - *74 - *70 - - &243 + - &250 name: codespace_name in: path required: true @@ -40721,15 +41539,15 @@ paths: parameters: - *74 - *70 - - *243 + - *250 responses: '200': description: Response content: application/json: - schema: *241 + schema: *248 examples: - default: &451 + default: &457 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -40909,7 +41727,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *244 + schema: *251 examples: default: value: @@ -40985,7 +41803,7 @@ paths: description: Response content: application/json: - schema: &245 + schema: &252 title: Org Membership description: Org Membership type: object @@ -41054,7 +41872,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &246 + response-if-user-has-an-active-admin-membership-with-organization: &253 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -41155,9 +41973,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *252 examples: - response-if-user-already-had-membership-with-organization: *246 + response-if-user-already-had-membership-with-organization: *253 '422': *15 '403': *27 x-github: @@ -41229,7 +42047,7 @@ paths: application/json: schema: type: array - items: &247 + items: &254 title: Migration description: A migration. type: object @@ -41567,7 +42385,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *254 examples: default: value: @@ -41746,7 +42564,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *74 - - &248 + - &255 name: migration_id description: The unique identifier of the migration. in: path @@ -41774,7 +42592,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *247 + schema: *254 examples: default: value: @@ -41944,7 +42762,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *74 - - *248 + - *255 responses: '302': description: Response @@ -41966,7 +42784,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *74 - - *248 + - *255 responses: '204': description: Response @@ -41990,8 +42808,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *74 - - *248 - - &677 + - *255 + - &681 name: repo_name description: repo_name parameter in: path @@ -42019,7 +42837,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *74 - - *248 + - *255 - *17 - *19 responses: @@ -42031,7 +42849,7 @@ paths: type: array items: *153 examples: - default: &259 + default: &266 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42186,7 +43004,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &250 + items: &257 title: Organization Role description: Organization roles type: object @@ -42363,7 +43181,7 @@ paths: parameters: - *74 - *76 - - &249 + - &256 name: role_id description: The unique identifier of the role. in: path @@ -42400,7 +43218,7 @@ paths: parameters: - *74 - *76 - - *249 + - *256 responses: '204': description: Response @@ -42453,7 +43271,7 @@ paths: parameters: - *74 - *70 - - *249 + - *256 responses: '204': description: Response @@ -42485,7 +43303,7 @@ paths: parameters: - *74 - *70 - - *249 + - *256 responses: '204': description: Response @@ -42514,13 +43332,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *74 - - *249 + - *256 responses: '200': description: Response content: application/json: - schema: *250 + schema: *257 examples: default: value: @@ -42571,7 +43389,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *74 - - *249 + - *256 - *17 - *19 responses: @@ -42650,7 +43468,7 @@ paths: parent: anyOf: - type: 'null' - - *251 + - *258 type: description: The ownership type of the team type: string @@ -42683,7 +43501,7 @@ paths: - type - parent examples: - default: *252 + default: *259 headers: Link: *66 '404': @@ -42713,7 +43531,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *74 - - *249 + - *256 - *17 - *19 responses: @@ -42742,7 +43560,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *251 + items: *258 name: type: - string @@ -43052,7 +43870,7 @@ paths: - nuget - container - *74 - - &678 + - &682 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -43088,12 +43906,12 @@ paths: application/json: schema: type: array - items: *253 + items: *260 examples: - default: *254 + default: *261 '403': *27 '401': *23 - '400': &680 + '400': &684 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -43115,7 +43933,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &255 + - &262 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -43133,7 +43951,7 @@ paths: - docker - nuget - container - - &256 + - &263 name: package_name description: The name of the package. in: path @@ -43146,7 +43964,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *260 examples: default: value: @@ -43198,8 +44016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *255 - - *256 + - *262 + - *263 - *74 responses: '204': @@ -43232,8 +44050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *255 - - *256 + - *262 + - *263 - *74 - name: token description: package token @@ -43266,8 +44084,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *255 - - *256 + - *262 + - *263 - *74 - *19 - *17 @@ -43288,7 +44106,7 @@ paths: application/json: schema: type: array - items: &257 + items: &264 title: Package Version description: A version of a software package type: object @@ -43423,10 +44241,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *255 - - *256 + - *262 + - *263 - *74 - - &258 + - &265 name: package_version_id description: Unique identifier of the package version. in: path @@ -43438,7 +44256,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -43474,10 +44292,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *255 - - *256 + - *262 + - *263 - *74 - - *258 + - *265 responses: '204': description: Response @@ -43509,10 +44327,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *255 - - *256 + - *262 + - *263 - *74 - - *258 + - *265 responses: '204': description: Response @@ -43542,7 +44360,7 @@ paths: - *74 - *17 - *19 - - &260 + - &267 name: sort description: The property by which to sort the results. in: query @@ -43553,7 +44371,7 @@ paths: - created_at default: created_at - *60 - - &261 + - &268 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -43565,7 +44383,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &262 + - &269 name: repository description: The name of the repository to use to filter the results. in: query @@ -43574,7 +44392,7 @@ paths: type: string examples: - Hello-World - - &263 + - &270 name: permission description: The permission to use to filter the results. in: query @@ -43583,7 +44401,7 @@ paths: type: string examples: - issues_read - - &264 + - &271 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -43593,7 +44411,7 @@ paths: schema: type: string format: date-time - - &265 + - &272 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -43603,7 +44421,7 @@ paths: schema: type: string format: date-time - - &266 + - &273 name: token_id description: The ID of the token in: query @@ -43922,7 +44740,7 @@ paths: type: array items: *153 examples: - default: *259 + default: *266 headers: Link: *66 x-github: @@ -43948,14 +44766,14 @@ paths: - *74 - *17 - *19 - - *260 + - *267 - *60 - - *261 - - *262 - - *263 - - *264 - - *265 - - *266 + - *268 + - *269 + - *270 + - *271 + - *272 + - *273 responses: '500': *53 '422': *15 @@ -44239,7 +45057,7 @@ paths: type: array items: *153 examples: - default: *259 + default: *266 headers: Link: *66 x-github: @@ -44281,7 +45099,7 @@ paths: type: integer configurations: type: array - items: &267 + items: &274 title: Organization private registry description: Private registry configuration for an organization type: object @@ -44798,7 +45616,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &268 + org-private-registry-with-selected-visibility: &275 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -44896,9 +45714,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *267 + schema: *274 examples: - default: *268 + default: *275 '404': *6 x-github: githubCloudOnly: false @@ -45150,7 +45968,7 @@ paths: application/json: schema: type: array - items: &269 + items: &276 title: Projects v2 Project description: A projects v2 project type: object @@ -45224,7 +46042,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &764 + - &768 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -45309,7 +46127,7 @@ paths: - deleted_at - deleted_by examples: - default: &270 + default: &277 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -45412,7 +46230,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &271 + - &278 name: project_number description: The project's number. in: path @@ -45425,9 +46243,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *276 examples: - default: *270 + default: *277 headers: Link: *66 '304': *35 @@ -45450,7 +46268,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *74 - - *271 + - *278 requestBody: required: true description: Details of the draft item to create in the project. @@ -45484,7 +46302,7 @@ paths: description: Response content: application/json: - schema: &276 + schema: &283 title: Projects v2 Item description: An item belonging to a project type: object @@ -45498,7 +46316,7 @@ paths: content: oneOf: - *82 - - &466 + - &472 title: Pull Request Simple description: Pull Request Simple type: object @@ -45618,7 +46436,7 @@ paths: milestone: anyOf: - type: 'null' - - *272 + - *279 active_lock_reason: type: - string @@ -45667,7 +46485,7 @@ paths: items: *4 requested_teams: type: array - items: *191 + items: *198 head: type: object properties: @@ -45711,7 +46529,7 @@ paths: _links: type: object properties: - comments: &273 + comments: &280 title: Link description: Hypermedia Link type: object @@ -45720,13 +46538,13 @@ paths: type: string required: - href - commits: *273 - statuses: *273 - html: *273 - issue: *273 - review_comments: *273 - review_comment: *273 - self: *273 + commits: *280 + statuses: *280 + html: *280 + issue: *280 + review_comments: *280 + review_comment: *280 + self: *280 required: - comments - commits @@ -45737,7 +46555,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: &572 + auto_merge: &576 title: Auto merge description: The status of auto merging a pull request. type: @@ -45839,7 +46657,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &275 + content_type: &282 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -45883,7 +46701,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &277 + draft_issue: &284 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -45957,7 +46775,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *271 + - *278 - *74 - *17 - *45 @@ -45969,7 +46787,7 @@ paths: application/json: schema: type: array - items: &274 + items: &281 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -46122,7 +46940,7 @@ paths: - updated_at - project_url examples: - default: &700 + default: &704 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46252,7 +47070,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *271 + - *278 - *74 requestBody: required: true @@ -46299,7 +47117,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &701 + items: &705 type: object properties: name: @@ -46336,7 +47154,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &702 + iteration_configuration: &706 type: object description: The configuration for iteration fields. properties: @@ -46386,7 +47204,7 @@ paths: value: name: Due date data_type: date - single_select_field: &703 + single_select_field: &707 summary: Create a single select field value: name: Priority @@ -46413,7 +47231,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &704 + iteration_field: &708 summary: Create an iteration field value: name: Sprint @@ -46437,9 +47255,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *274 + schema: *281 examples: - text_field: &705 + text_field: &709 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -46448,7 +47266,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &706 + number_field: &710 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -46457,7 +47275,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &707 + date_field: &711 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -46466,7 +47284,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &708 + single_select_field: &712 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46500,7 +47318,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &709 + iteration_field: &713 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -46545,8 +47363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *271 - - &710 + - *278 + - &714 name: field_id description: The unique identifier of the field. in: path @@ -46559,9 +47377,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *281 examples: - default: &711 + default: &715 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46617,7 +47435,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *271 + - *278 - *74 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -46650,7 +47468,7 @@ paths: application/json: schema: type: array - items: &278 + items: &285 title: Projects v2 Item description: An item belonging to a project type: object @@ -46667,7 +47485,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *275 + content_type: *282 content: type: - object @@ -46717,7 +47535,7 @@ paths: - updated_at - archived_at examples: - default: &279 + default: &286 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -47415,7 +48233,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *74 - - *271 + - *278 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -47485,22 +48303,22 @@ paths: description: Response content: application/json: - schema: *276 + schema: *283 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *277 + value: *284 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *277 + value: *284 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *277 + value: *284 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *277 + value: *284 '304': *35 '403': *27 '401': *23 @@ -47520,9 +48338,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *271 + - *278 - *74 - - &280 + - &287 name: item_id description: The unique identifier of the project item. in: path @@ -47548,9 +48366,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *285 examples: - default: *279 + default: *286 headers: Link: *66 '304': *35 @@ -47571,9 +48389,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *271 + - *278 - *74 - - *280 + - *287 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -47646,13 +48464,13 @@ paths: description: Response content: application/json: - schema: *278 + schema: *285 examples: - text_field: *279 - number_field: *279 - date_field: *279 - single_select_field: *279 - iteration_field: *279 + text_field: *286 + number_field: *286 + date_field: *286 + single_select_field: *286 + iteration_field: *286 '401': *23 '403': *27 '404': *6 @@ -47672,9 +48490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *271 + - *278 - *74 - - *280 + - *287 responses: '204': description: Response @@ -47698,7 +48516,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *74 - - *271 + - *278 requestBody: required: true content: @@ -47772,7 +48590,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &691 + schema: &695 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -47876,7 +48694,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &281 + value: &288 value: id: 1 number: 1 @@ -47922,10 +48740,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *281 + value: *288 roadmap_view: summary: Response for creating a roadmap view - value: *281 + value: *288 '304': *35 '403': *27 '401': *23 @@ -47953,9 +48771,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *271 + - *278 - *74 - - &712 + - &716 name: view_number description: The number that identifies the project view. in: path @@ -47987,9 +48805,9 @@ paths: application/json: schema: type: array - items: *278 + items: *285 examples: - default: *279 + default: *286 headers: Link: *66 '304': *35 @@ -48022,7 +48840,7 @@ paths: application/json: schema: type: array - items: &282 + items: &289 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -48100,7 +48918,7 @@ paths: - property_name - value_type examples: - default: &283 + default: &290 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -48160,7 +48978,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *282 + items: *289 minItems: 1 maxItems: 100 required: @@ -48190,9 +49008,9 @@ paths: application/json: schema: type: array - items: *282 + items: *289 examples: - default: *283 + default: *290 '403': *27 '404': *6 x-github: @@ -48214,7 +49032,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *74 - - &284 + - &291 name: custom_property_name description: The custom property name in: path @@ -48226,9 +49044,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *289 examples: - default: &285 + default: &292 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -48263,7 +49081,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *74 - - *284 + - *291 requestBody: required: true content: @@ -48343,9 +49161,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *289 examples: - default: *285 + default: *292 '403': *27 '404': *6 x-github: @@ -48369,7 +49187,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *74 - - *284 + - *291 responses: '204': *59 '403': *27 @@ -48433,7 +49251,7 @@ paths: - octocat/Hello-World properties: type: array - items: &286 + items: &293 title: Custom Property Value description: Custom property name and associated value type: object @@ -48523,7 +49341,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *286 + items: *293 required: - repository_names - properties @@ -48715,7 +49533,7 @@ paths: type: array items: *153 examples: - default: *259 + default: *266 headers: Link: *66 x-github: @@ -48918,7 +49736,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &341 title: Full Repository description: Full Repository type: object @@ -49396,7 +50214,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &471 + code_of_conduct: &477 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -49426,7 +50244,7 @@ paths: - key - name - html_url - security_and_analysis: *287 + security_and_analysis: *294 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -49510,7 +50328,7 @@ paths: - network_count - subscribers_count examples: - default: &336 + default: &343 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -50031,7 +50849,7 @@ paths: - *74 - *17 - *19 - - &594 + - &598 name: targets description: | A comma-separated list of rule targets to filter by. @@ -50050,7 +50868,7 @@ paths: application/json: schema: type: array - items: &314 + items: &321 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -50085,7 +50903,7 @@ paths: source: type: string description: The name of the source - enforcement: &290 + enforcement: &297 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -50098,7 +50916,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &291 + items: &298 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -50169,7 +50987,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &288 + - &295 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -50193,7 +51011,7 @@ paths: match. items: type: string - - &292 + - &299 title: Organization ruleset conditions type: object description: |- @@ -50207,7 +51025,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *288 + - *295 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -50241,7 +51059,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *288 + - *295 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -50263,7 +51081,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *288 + - *295 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -50276,7 +51094,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &289 + items: &296 title: Repository ruleset property targeting definition type: object @@ -50309,7 +51127,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *289 + items: *296 required: - repository_property type: @@ -50317,12 +51135,12 @@ paths: - object rules: type: array - items: &595 + items: &599 title: Repository Rule type: object description: A repository rule. oneOf: - - &293 + - &300 title: creation description: Only allow users with bypass permission to create matching refs. @@ -50334,7 +51152,7 @@ paths: type: string enum: - creation - - &294 + - &301 title: update description: Only allow users with bypass permission to update matching refs. @@ -50355,7 +51173,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &295 + - &302 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -50367,7 +51185,7 @@ paths: type: string enum: - deletion - - &296 + - &303 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -50379,7 +51197,7 @@ paths: type: string enum: - required_linear_history - - &593 + - &597 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -50457,7 +51275,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &297 + - &304 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -50481,7 +51299,7 @@ paths: type: string required: - required_deployment_environments - - &298 + - &305 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -50493,7 +51311,7 @@ paths: type: string enum: - required_signatures - - &299 + - &306 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -50599,7 +51417,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &300 + - &307 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -50647,7 +51465,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &301 + - &308 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -50659,7 +51477,7 @@ paths: type: string enum: - non_fast_forward - - &302 + - &309 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -50696,7 +51514,7 @@ paths: required: - operator - pattern - - &303 + - &310 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -50733,7 +51551,7 @@ paths: required: - operator - pattern - - &304 + - &311 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -50770,7 +51588,7 @@ paths: required: - operator - pattern - - &305 + - &312 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -50807,7 +51625,7 @@ paths: required: - operator - pattern - - &306 + - &313 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -50844,7 +51662,7 @@ paths: required: - operator - pattern - - &307 + - &314 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -50869,7 +51687,7 @@ paths: type: string required: - restricted_file_paths - - &308 + - &315 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -50893,7 +51711,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &309 + - &316 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -50916,7 +51734,7 @@ paths: type: string required: - restricted_file_extensions - - &310 + - &317 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -50941,7 +51759,7 @@ paths: maximum: 100 required: - max_file_size - - &311 + - &318 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -50991,7 +51809,7 @@ paths: - repository_id required: - workflows - - &312 + - &319 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -51052,7 +51870,7 @@ paths: - tool required: - code_scanning_tools - - &313 + - &320 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -51151,27 +51969,20 @@ paths: - push - repository default: branch - enforcement: *290 + enforcement: *297 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *291 - conditions: *292 + items: *298 + conditions: *299 rules: type: array description: An array of rules within the ruleset. - items: &316 + items: &323 title: Repository Rule type: object description: A repository rule. oneOf: - - *293 - - *294 - - *295 - - *296 - - *297 - - *298 - - *299 - *300 - *301 - *302 @@ -51186,6 +51997,13 @@ paths: - *311 - *312 - *313 + - *314 + - *315 + - *316 + - *317 + - *318 + - *319 + - *320 required: - name - enforcement @@ -51223,9 +52041,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: - default: &315 + default: &322 value: id: 21 name: super cool ruleset @@ -51281,7 +52099,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *74 - - &596 + - &600 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -51296,7 +52114,7 @@ paths: in: query schema: type: string - - &597 + - &601 name: time_period description: |- The time period to filter by. @@ -51312,14 +52130,14 @@ paths: - week - month default: day - - &598 + - &602 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &599 + - &603 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -51339,7 +52157,7 @@ paths: description: Response content: application/json: - schema: &600 + schema: &604 title: Rule Suites description: Response type: array @@ -51395,7 +52213,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &601 + default: &605 value: - id: 21 actor_id: 12 @@ -51439,7 +52257,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *74 - - &602 + - &606 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -51455,7 +52273,7 @@ paths: description: Response content: application/json: - schema: &603 + schema: &607 title: Rule Suite description: Response type: object @@ -51562,7 +52380,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &604 + default: &608 value: id: 21 actor_id: 12 @@ -51635,9 +52453,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: - default: *315 + default: *322 '404': *6 '500': *53 put: @@ -51681,16 +52499,16 @@ paths: - tag - push - repository - enforcement: *290 + enforcement: *297 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *291 - conditions: *292 + items: *298 + conditions: *299 rules: description: An array of rules within the ruleset. type: array - items: *316 + items: *323 examples: default: value: @@ -51725,9 +52543,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: - default: *315 + default: *322 '404': *6 '422': *15 '500': *53 @@ -51785,7 +52603,7 @@ paths: application/json: schema: type: array - items: &317 + items: &324 title: Ruleset version type: object description: The historical version of a ruleset @@ -51809,7 +52627,7 @@ paths: type: string format: date-time examples: - default: &606 + default: &610 value: - version_id: 3 actor: @@ -51862,9 +52680,9 @@ paths: description: Response content: application/json: - schema: &607 + schema: &611 allOf: - - *317 + - *324 - type: object required: - state @@ -51934,7 +52752,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *74 - - &608 + - &612 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -51945,7 +52763,7 @@ paths: enum: - open - resolved - - &609 + - &613 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -51955,7 +52773,7 @@ paths: required: false schema: type: string - - &610 + - &614 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -51966,7 +52784,7 @@ paths: required: false schema: type: string - - &611 + - &615 name: exclude_providers in: query description: |- @@ -51977,7 +52795,7 @@ paths: required: false schema: type: string - - &612 + - &616 name: providers in: query description: |- @@ -51988,7 +52806,7 @@ paths: required: false schema: type: string - - &613 + - &617 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -51997,7 +52815,7 @@ paths: required: false schema: type: string - - &614 + - &618 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -52016,7 +52834,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &615 + - &619 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -52031,7 +52849,7 @@ paths: - *60 - *19 - *17 - - &616 + - &620 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -52041,7 +52859,7 @@ paths: required: false schema: type: string - - &617 + - &621 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -52051,7 +52869,7 @@ paths: required: false schema: type: string - - &618 + - &622 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -52060,7 +52878,7 @@ paths: required: false schema: type: string - - &619 + - &623 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -52069,7 +52887,7 @@ paths: schema: type: boolean default: false - - &620 + - &624 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -52078,7 +52896,7 @@ paths: schema: type: boolean default: false - - &621 + - &625 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -52087,7 +52905,7 @@ paths: schema: type: boolean default: false - - &622 + - &626 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -52108,27 +52926,27 @@ paths: items: type: object properties: - number: *171 - created_at: *172 + number: *178 + created_at: *179 updated_at: anyOf: - type: 'null' - - *173 - url: *174 - html_url: *175 + - *180 + url: *181 + html_url: *182 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &623 + state: &627 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &624 + resolution: &628 type: - string - 'null' @@ -52247,14 +53065,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &625 + - &629 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &627 + - &631 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -52318,7 +53136,7 @@ paths: - blob_url - commit_sha - commit_url - - &628 + - &632 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -52379,7 +53197,7 @@ paths: - page_url - commit_sha - commit_url - - &629 + - &633 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -52401,7 +53219,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &630 + - &634 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -52423,7 +53241,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &631 + - &635 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -52445,7 +53263,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &632 + - &636 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -52460,7 +53278,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &633 + - &637 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -52475,7 +53293,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &634 + - &638 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -52490,7 +53308,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &635 + - &639 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -52512,7 +53330,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &636 + - &640 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -52534,7 +53352,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &637 + - &641 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -52556,7 +53374,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &638 + - &642 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -52578,7 +53396,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &639 + - &643 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -52839,7 +53657,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &319 + pattern_config_version: &326 type: - string - 'null' @@ -52849,7 +53667,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &318 + items: &325 type: object properties: token_type: @@ -52918,7 +53736,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *318 + items: *325 examples: default: value: @@ -52975,7 +53793,7 @@ paths: schema: type: object properties: - pattern_config_version: *319 + pattern_config_version: *326 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -53001,7 +53819,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *319 + custom_pattern_version: *326 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -53099,7 +53917,7 @@ paths: application/json: schema: type: array - items: &643 + items: &647 description: A repository security advisory. type: object properties: @@ -53343,7 +54161,7 @@ paths: login: type: string description: The username of the user credited. - type: *320 + type: *327 credits_detailed: type: - array @@ -53354,7 +54172,7 @@ paths: type: object properties: user: *4 - type: *320 + type: *327 state: type: string description: The state of the user's acceptance of the @@ -53380,7 +54198,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *191 + items: *198 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -53418,7 +54236,7 @@ paths: - private_fork additionalProperties: false examples: - default: &644 + default: &648 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -53805,7 +54623,7 @@ paths: application/json: schema: type: array - items: *251 + items: *258 examples: default: value: @@ -54160,7 +54978,7 @@ paths: type: integer network_configurations: type: array - items: &321 + items: &328 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -54313,9 +55131,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *328 examples: - default: &322 + default: &329 value: id: 123456789ABCDEF name: My network configuration @@ -54344,7 +55162,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *74 - - &323 + - &330 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -54356,9 +55174,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *328 examples: - default: *322 + default: *329 headers: Link: *66 x-github: @@ -54380,7 +55198,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *74 - - *323 + - *330 requestBody: required: true content: @@ -54433,9 +55251,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *328 examples: - default: *322 + default: *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54455,7 +55273,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *74 - - *323 + - *330 responses: '204': description: Response @@ -54600,13 +55418,13 @@ paths: application/json: schema: type: array - items: *324 + items: *331 examples: - default: *325 + default: *332 '500': *53 '403': *27 '404': *6 - '422': *326 + '422': *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54646,9 +55464,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - default: *252 + default: *259 headers: Link: *66 '403': *27 @@ -54742,7 +55560,7 @@ paths: description: Response content: application/json: - schema: &327 + schema: &334 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -54816,7 +55634,7 @@ paths: parent: anyOf: - type: 'null' - - *251 + - *258 members_count: type: integer examples: @@ -55141,7 +55959,7 @@ paths: - repos_count - organization examples: - default: &328 + default: &335 value: id: 1 node_id: MDQ6VGVhbTE= @@ -55218,9 +56036,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *334 examples: - default: *328 + default: *335 '404': *6 x-github: githubCloudOnly: false @@ -55305,16 +56123,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *327 + schema: *334 examples: - default: *328 + default: *335 '201': description: Response content: application/json: - schema: *327 + schema: *334 examples: - default: *328 + default: *335 '404': *6 '422': *15 '403': *27 @@ -55344,7 +56162,7 @@ paths: responses: '204': description: Response - '422': &329 + '422': &336 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -55378,12 +56196,12 @@ paths: application/json: schema: type: array - items: *230 + items: *237 examples: - default: *231 + default: *238 headers: Link: *66 - '422': *329 + '422': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55465,7 +56283,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &337 title: Team Membership description: Team Membership type: object @@ -55493,7 +56311,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &659 + response-if-user-is-a-team-maintainer: &663 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -55556,9 +56374,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *337 examples: - response-if-users-membership-with-team-is-now-pending: &660 + response-if-users-membership-with-team-is-now-pending: &664 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -55634,7 +56452,7 @@ paths: type: array items: *153 examples: - default: *259 + default: *266 headers: Link: *66 x-github: @@ -55665,14 +56483,14 @@ paths: parameters: - *74 - *76 - - *331 - - *332 + - *338 + - *339 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &661 + schema: &665 title: Team Repository description: A team's access to a repository. type: object @@ -56315,8 +57133,8 @@ paths: parameters: - *74 - *76 - - *331 - - *332 + - *338 + - *339 requestBody: required: false content: @@ -56363,8 +57181,8 @@ paths: parameters: - *74 - *76 - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -56399,9 +57217,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - response-if-child-teams-exist: &662 + response-if-child-teams-exist: &666 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -56555,7 +57373,7 @@ paths: resources: type: object properties: - core: &333 + core: &340 title: Rate Limit type: object properties: @@ -56572,21 +57390,21 @@ paths: - remaining - reset - used - graphql: *333 - search: *333 - code_search: *333 - source_import: *333 - integration_manifest: *333 - code_scanning_upload: *333 - actions_runner_registration: *333 - scim: *333 - dependency_snapshots: *333 - dependency_sbom: *333 - code_scanning_autofix: *333 + graphql: *340 + search: *340 + code_search: *340 + source_import: *340 + integration_manifest: *340 + code_scanning_upload: *340 + actions_runner_registration: *340 + scim: *340 + dependency_snapshots: *340 + dependency_sbom: *340 + code_scanning_autofix: *340 required: - core - search - rate: *333 + rate: *340 required: - rate - resources @@ -56691,14 +57509,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *334 + schema: *341 examples: default-response: summary: Default response @@ -57203,7 +58021,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *335 + '301': *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57221,8 +58039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: false content: @@ -57521,10 +58339,10 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: *336 - '307': &337 + default: *343 + '307': &344 description: Temporary Redirect content: application/json: @@ -57553,8 +58371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -57576,7 +58394,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *337 + '307': *344 '404': *6 '409': *52 x-github: @@ -57600,11 +58418,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 - - &370 + - &376 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -57627,7 +58445,7 @@ paths: type: integer artifacts: type: array - items: &338 + items: &345 title: Artifact description: An artifact type: object @@ -57722,7 +58540,7 @@ paths: - expires_at - updated_at examples: - default: &371 + default: &377 value: total_count: 2 artifacts: @@ -57783,9 +58601,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *331 - - *332 - - &339 + - *338 + - *339 + - &346 name: artifact_id description: The unique identifier of the artifact. in: path @@ -57797,7 +58615,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *345 examples: default: value: @@ -57835,9 +58653,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *331 - - *332 + - *338 - *339 + - *346 responses: '204': description: Response @@ -57861,9 +58679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *331 - - *332 + - *338 - *339 + - *346 - name: archive_format in: path required: true @@ -57873,11 +58691,11 @@ paths: '302': description: Response headers: - Location: &488 + Location: &494 example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &529 + '410': &533 description: Gone content: application/json: @@ -57902,14 +58720,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: &340 + schema: &347 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -57943,13 +58761,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: application/json: - schema: *340 + schema: *347 examples: selected_actions: *40 responses: @@ -57978,14 +58796,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: &341 + schema: &348 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -58019,13 +58837,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: application/json: - schema: *341 + schema: *348 examples: selected_actions: *42 responses: @@ -58056,14 +58874,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *342 + schema: *349 examples: default: value: @@ -58089,11 +58907,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 - - &343 + - &350 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -58127,7 +58945,7 @@ paths: description: Response content: application/json: - schema: &344 + schema: &351 title: Repository actions caches description: Repository actions caches type: object @@ -58177,7 +58995,7 @@ paths: - total_count - actions_caches examples: - default: &345 + default: &352 value: total_count: 1 actions_caches: @@ -58209,23 +59027,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *331 - - *332 + - *338 + - *339 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *343 + - *350 responses: '200': description: Response content: application/json: - schema: *344 + schema: *351 examples: - default: *345 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58245,8 +59063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *331 - - *332 + - *338 + - *339 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -58275,8 +59093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *46 responses: @@ -58359,8 +59177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -58516,9 +59334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *331 - - *332 - - &346 + - *338 + - *339 + - &353 name: job_id description: The unique identifier of the job. in: path @@ -58530,7 +59348,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &380 title: Job description: Information of a job execution in a workflow run type: object @@ -58877,9 +59695,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *331 - - *332 - - *346 + - *338 + - *339 + - *353 responses: '302': description: Response @@ -58907,9 +59725,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *331 - - *332 - - *346 + - *338 + - *339 + - *353 requestBody: required: false content: @@ -58960,8 +59778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Status response @@ -59020,8 +59838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -59089,8 +59907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -59108,7 +59926,7 @@ paths: type: integer secrets: type: array - items: &376 + items: &382 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -59129,7 +59947,7 @@ paths: - created_at - updated_at examples: - default: &377 + default: &383 value: total_count: 2 secrets: @@ -59162,9 +59980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *331 - - *332 - - *347 + - *338 + - *339 + - *170 - *19 responses: '200': @@ -59181,7 +59999,7 @@ paths: type: integer variables: type: array - items: &380 + items: &384 title: Actions Variable type: object properties: @@ -59215,7 +60033,7 @@ paths: - created_at - updated_at examples: - default: &381 + default: &385 value: total_count: 2 variables: @@ -59248,8 +60066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -59258,11 +60076,11 @@ paths: schema: type: object properties: - enabled: &349 + enabled: &355 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *138 - selected_actions_url: *348 + selected_actions_url: *354 sha_pinning_required: *139 required: - enabled @@ -59291,8 +60109,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -59303,7 +60121,7 @@ paths: schema: type: object properties: - enabled: *349 + enabled: *355 allowed_actions: *138 sha_pinning_required: *139 required: @@ -59335,14 +60153,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: &350 + schema: &356 type: object properties: access_level: @@ -59359,7 +60177,7 @@ paths: required: - access_level examples: - default: &351 + default: &357 value: access_level: organization x-github: @@ -59383,15 +60201,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: application/json: - schema: *350 + schema: *356 examples: - default: *351 + default: *357 responses: '204': description: Response @@ -59415,14 +60233,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *352 + schema: *358 examples: default: value: @@ -59446,8 +60264,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Empty response for successful settings update @@ -59457,7 +60275,7 @@ paths: required: true content: application/json: - schema: *353 + schema: *359 examples: default: summary: Set retention days @@ -59481,8 +60299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -59490,7 +60308,7 @@ paths: application/json: schema: *140 examples: - default: *354 + default: *360 '404': *6 x-github: enabledForGitHubApps: true @@ -59509,8 +60327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -59544,14 +60362,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *355 + schema: *361 examples: default: *141 '403': *27 @@ -59573,13 +60391,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: application/json: - schema: *356 + schema: *362 examples: default: *141 responses: @@ -59605,8 +60423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -59633,8 +60451,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -59666,14 +60484,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *357 + schema: *363 examples: default: *148 x-github: @@ -59696,8 +60514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Success response @@ -59708,7 +60526,7 @@ paths: required: true content: application/json: - schema: *358 + schema: *364 examples: default: *148 x-github: @@ -59737,8 +60555,8 @@ paths: in: query schema: type: string - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -59782,8 +60600,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -59791,9 +60609,9 @@ paths: application/json: schema: type: array - items: *359 + items: *365 examples: - default: *360 + default: *366 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59815,8 +60633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -59859,7 +60677,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *361 + '201': *367 '404': *6 '422': *7 '409': *52 @@ -59890,8 +60708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '201': description: Response @@ -59899,7 +60717,7 @@ paths: application/json: schema: *157 examples: - default: *362 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59927,8 +60745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '201': description: Response @@ -59936,7 +60754,7 @@ paths: application/json: schema: *157 examples: - default: *363 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59958,8 +60776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *154 responses: '200': @@ -59968,7 +60786,7 @@ paths: application/json: schema: *155 examples: - default: *364 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59989,8 +60807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *154 responses: '204': @@ -60017,8 +60835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *154 responses: '200': *159 @@ -60043,8 +60861,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-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *154 requestBody: required: true @@ -60093,8 +60911,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-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *154 requestBody: required: true @@ -60144,11 +60962,11 @@ 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-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *154 responses: - '200': *365 + '200': *371 '404': *6 x-github: githubCloudOnly: false @@ -60175,10 +60993,10 @@ 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-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *154 - - *366 + - *372 responses: '200': *159 '404': *6 @@ -60206,9 +61024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *331 - - *332 - - &384 + - *338 + - *339 + - &388 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -60216,7 +61034,7 @@ paths: required: false schema: type: string - - &385 + - &389 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -60224,7 +61042,7 @@ paths: required: false schema: type: string - - &386 + - &390 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -60233,7 +61051,7 @@ paths: required: false schema: type: string - - &387 + - &391 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -60260,7 +61078,7 @@ paths: - pending - *17 - *19 - - &388 + - &392 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -60269,7 +61087,7 @@ paths: schema: type: string format: date-time - - &367 + - &373 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -60278,13 +61096,13 @@ paths: schema: type: boolean default: false - - &389 + - &393 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &390 + - &394 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -60307,7 +61125,7 @@ paths: type: integer workflow_runs: type: array - items: &368 + items: &374 title: Workflow Run description: An invocation of a workflow type: object @@ -60485,7 +61303,7 @@ paths: head_commit: anyOf: - type: 'null' - - &412 + - &418 title: Simple Commit description: A commit. type: object @@ -60600,7 +61418,7 @@ paths: - workflow_url - pull_requests examples: - default: &391 + default: &395 value: total_count: 1 workflow_runs: @@ -60836,24 +61654,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *331 - - *332 - - &369 + - *338 + - *339 + - &375 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *367 + - *373 responses: '200': description: Response content: application/json: - schema: *368 + schema: *374 examples: - default: &372 + default: &378 value: id: 30433642 name: Build @@ -61094,9 +61912,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '204': description: Response @@ -61119,9 +61937,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '200': description: Response @@ -61249,9 +62067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '201': description: Response @@ -61284,12 +62102,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 - *17 - *19 - - *370 + - *376 - *60 responses: '200': @@ -61306,9 +62124,9 @@ paths: type: integer artifacts: type: array - items: *338 + items: *345 examples: - default: *371 + default: *377 headers: Link: *66 x-github: @@ -61332,25 +62150,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *331 - - *332 - - *369 - - &373 + - *338 + - *339 + - *375 + - &379 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *367 + - *373 responses: '200': description: Response content: application/json: - schema: *368 + schema: *374 examples: - default: *372 + default: *378 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61373,10 +62191,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *331 - - *332 - - *369 - - *373 + - *338 + - *339 + - *375 + - *379 - *17 - *19 responses: @@ -61394,9 +62212,9 @@ paths: type: integer jobs: type: array - items: *374 + items: *380 examples: - default: &375 + default: &381 value: total_count: 1 jobs: @@ -61509,10 +62327,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *331 - - *332 - - *369 - - *373 + - *338 + - *339 + - *375 + - *379 responses: '302': description: Response @@ -61540,9 +62358,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '202': description: Response @@ -61588,9 +62406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 - *17 - *45 - *46 @@ -61767,9 +62585,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 requestBody: required: true content: @@ -61836,9 +62654,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '202': description: Response @@ -61871,9 +62689,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -61903,9 +62721,9 @@ paths: type: integer jobs: type: array - items: *374 + items: *380 examples: - default: *375 + default: *381 headers: Link: *66 x-github: @@ -61930,9 +62748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '302': description: Response @@ -61959,9 +62777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '204': description: Response @@ -61988,9 +62806,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '200': description: Response @@ -62059,7 +62877,7 @@ paths: items: type: object properties: - type: &495 + type: &501 type: string description: The type of reviewer. enum: @@ -62070,7 +62888,7 @@ paths: reviewer: anyOf: - *4 - - *191 + - *198 required: - environment - wait_timer @@ -62145,9 +62963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 requestBody: required: true content: @@ -62197,7 +63015,7 @@ paths: application/json: schema: type: array - items: &490 + items: &496 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -62309,7 +63127,7 @@ paths: - created_at - updated_at examples: - default: &491 + default: &497 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -62365,9 +63183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 requestBody: required: false content: @@ -62412,9 +63230,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 requestBody: required: false content: @@ -62468,9 +63286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '200': description: Response @@ -62607,8 +63425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -62626,9 +63444,9 @@ paths: type: integer secrets: type: array - items: *376 + items: *382 examples: - default: *377 + default: *383 headers: Link: *66 x-github: @@ -62653,16 +63471,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *378 + schema: *167 examples: - default: *379 + default: *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62684,17 +63502,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 responses: '200': description: Response content: application/json: - schema: *376 + schema: *382 examples: - default: &508 + default: &396 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -62720,8 +63538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 requestBody: required: true @@ -62779,8 +63597,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 responses: '204': @@ -62806,9 +63624,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *331 - - *332 - - *347 + - *338 + - *339 + - *170 - *19 responses: '200': @@ -62825,9 +63643,9 @@ paths: type: integer variables: type: array - items: *380 + items: *384 examples: - default: *381 + default: *385 headers: Link: *66 x-github: @@ -62850,8 +63668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -62903,17 +63721,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *331 - - *332 + - *338 + - *339 - *164 responses: '200': description: Response content: application/json: - schema: *380 + schema: *384 examples: - default: &509 + default: &397 value: name: USERNAME value: octocat @@ -62939,8 +63757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *331 - - *332 + - *338 + - *339 - *164 requestBody: required: true @@ -62983,8 +63801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *331 - - *332 + - *338 + - *339 - *164 responses: '204': @@ -63010,8 +63828,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -63029,7 +63847,7 @@ paths: type: integer workflows: type: array - items: &382 + items: &386 title: Workflow description: A GitHub Actions workflow type: object @@ -63147,9 +63965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *331 - - *332 - - &383 + - *338 + - *339 + - &387 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -63164,7 +63982,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *386 examples: default: value: @@ -63197,9 +64015,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *331 - - *332 - - *383 + - *338 + - *339 + - *387 responses: '204': description: Response @@ -63224,9 +64042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *331 - - *332 - - *383 + - *338 + - *339 + - *387 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -63313,9 +64131,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *331 - - *332 - - *383 + - *338 + - *339 + - *387 responses: '204': description: Response @@ -63342,19 +64160,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *331 - - *332 - - *383 - - *384 - - *385 - - *386 + - *338 + - *339 - *387 - - *17 - - *19 - *388 - - *367 - *389 - *390 + - *391 + - *17 + - *19 + - *392 + - *373 + - *393 + - *394 responses: '200': description: Response @@ -63370,9 +64188,9 @@ paths: type: integer workflow_runs: type: array - items: *368 + items: *374 examples: - default: *391 + default: *395 headers: Link: *66 x-github: @@ -63404,9 +64222,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *331 - - *332 - - *383 + - *338 + - *339 + - *387 responses: '200': description: Response @@ -63467,8 +64285,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *331 - - *332 + - *338 + - *339 - *60 - *17 - *45 @@ -63624,6 +64442,492 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos + "/repos/{owner}/{repo}/agents/organization-secrets": + get: + summary: List repository organization secrets + description: |- + Lists all organization secrets shared with a repository without revealing their encrypted + values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-organization-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets + parameters: + - *338 + - *339 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: *382 + examples: + default: *383 + headers: + Link: *66 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/organization-variables": + get: + summary: List repository organization variables + description: |- + Lists all organization variables shared with a repository. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-organization-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#list-repository-organization-variables + parameters: + - *338 + - *339 + - *170 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: *384 + examples: + default: *385 + headers: + Link: *66 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/repos/{owner}/{repo}/agents/secrets": + get: + summary: List repository secrets + description: |- + Lists all secrets available in a repository without revealing their encrypted + values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-repository-secrets + parameters: + - *338 + - *339 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: *382 + examples: + default: *383 + headers: + Link: *66 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/secrets/public-key": + get: + summary: Get a repository public key + description: |- + Gets your public key, which you need to encrypt secrets. You need to + encrypt a secret before you can create or update secrets. + + Anyone with read access to the repository can use this endpoint. + + If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-public-key + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-a-repository-public-key + parameters: + - *338 + - *339 + responses: + '200': + description: Response + content: + application/json: + schema: *167 + examples: + default: *168 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/secrets/{secret_name}": + get: + summary: Get a repository secret + description: |- + Gets a single repository secret without revealing its encrypted value. + + The authenticated user must have collaborator access to the repository to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-a-repository-secret + parameters: + - *338 + - *339 + - *161 + responses: + '200': + description: Response + content: + application/json: + schema: *382 + examples: + default: *396 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + put: + summary: Create or update a repository secret + description: |- + Creates or updates a repository secret with an encrypted value. Encrypt your secret using + [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-or-update-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret + parameters: + - *338 + - *339 + - *161 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + encrypted_value: + type: string + description: Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) + using the public key retrieved from the [Get a repository public + key](https://docs.github.com/rest/agents/secrets#get-a-repository-public-key) + endpoint. + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + type: string + description: ID of the key you used to encrypt the secret. + required: + - encrypted_value + - key_id + examples: + default: + value: + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + responses: + '201': + description: Response when creating a secret + content: + application/json: + schema: *162 + examples: + default: + value: + '204': + description: Response when updating a secret + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + delete: + summary: Delete a repository secret + description: |- + Deletes a secret in a repository using the secret name. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#delete-a-repository-secret + parameters: + - *338 + - *339 + - *161 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/variables": + get: + summary: List repository variables + description: |- + Lists all repository variables. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#list-repository-variables + parameters: + - *338 + - *339 + - *170 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: *384 + examples: + default: *385 + headers: + Link: *66 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + post: + summary: Create a repository variable + description: |- + Creates a repository variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#create-a-repository-variable + parameters: + - *338 + - *339 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + required: + - name + - value + examples: + default: + value: + name: USERNAME + value: octocat + responses: + '201': + description: Response + content: + application/json: + schema: *162 + examples: + default: + value: + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/repos/{owner}/{repo}/agents/variables/{name}": + get: + summary: Get a repository variable + description: |- + Gets a specific variable in a repository. + + The authenticated user must have collaborator access to the repository to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#get-a-repository-variable + parameters: + - *338 + - *339 + - *164 + responses: + '200': + description: Response + content: + application/json: + schema: *384 + examples: + default: *397 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + patch: + summary: Update a repository variable + description: |- + Updates a repository variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/update-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#update-a-repository-variable + parameters: + - *338 + - *339 + - *164 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + examples: + default: + value: + name: USERNAME + value: octocat + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + delete: + summary: Delete a repository variable + description: |- + Deletes a repository variable using the variable name. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#delete-a-repository-variable + parameters: + - *338 + - *339 + - *164 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables "/repos/{owner}/{repo}/assignees": get: summary: List assignees @@ -63636,8 +64940,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -63674,8 +64978,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *331 - - *332 + - *338 + - *339 - name: assignee in: path required: true @@ -63711,8 +65015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -63822,8 +65126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *45 - *46 @@ -63880,7 +65184,7 @@ paths: initiator: type: string examples: - default: *392 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63900,8 +65204,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -63909,7 +65213,7 @@ paths: application/json: schema: type: array - items: &393 + items: &399 title: Autolink reference description: An autolink reference. type: object @@ -63968,8 +65272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -64008,9 +65312,9 @@ paths: description: response content: application/json: - schema: *393 + schema: *399 examples: - default: &394 + default: &400 value: id: 1 key_prefix: TICKET- @@ -64041,9 +65345,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *331 - - *332 - - &395 + - *338 + - *339 + - &401 name: autolink_id description: The unique identifier of the autolink. in: path @@ -64055,9 +65359,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *399 examples: - default: *394 + default: *400 '404': *6 x-github: githubCloudOnly: false @@ -64077,9 +65381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *331 - - *332 - - *395 + - *338 + - *339 + - *401 responses: '204': description: Response @@ -64103,8 +65407,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response if Dependabot is enabled @@ -64154,8 +65458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -64176,8 +65480,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -64197,8 +65501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *331 - - *332 + - *338 + - *339 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -64236,7 +65540,7 @@ paths: - url protected: type: boolean - protection: &397 + protection: &403 title: Branch Protection description: Branch Protection type: object @@ -64279,7 +65583,7 @@ paths: required: - contexts - checks - enforce_admins: &400 + enforce_admins: &406 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -64296,7 +65600,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &402 + required_pull_request_reviews: &408 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -64318,7 +65622,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *191 + items: *198 apps: description: The list of apps with review dismissal access. @@ -64350,7 +65654,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *191 + items: *198 apps: description: The list of apps allowed to bypass pull request requirements. @@ -64380,7 +65684,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &399 + restrictions: &405 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -64443,7 +65747,7 @@ paths: type: string teams: type: array - items: *191 + items: *198 apps: type: array items: @@ -64673,9 +65977,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *331 - - *332 - - &398 + - *338 + - *339 + - &404 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -64689,14 +65993,14 @@ paths: description: Response content: application/json: - schema: &408 + schema: &414 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &462 + commit: &468 title: Commit description: Commit type: object @@ -64735,7 +66039,7 @@ paths: author: anyOf: - type: 'null' - - &396 + - &402 title: Git User description: Metaproperties for Git author/committer information. @@ -64757,7 +66061,7 @@ paths: committer: anyOf: - type: 'null' - - *396 + - *402 message: type: string examples: @@ -64781,7 +66085,7 @@ paths: required: - sha - url - verification: &515 + verification: &519 title: Verification type: object properties: @@ -64861,7 +66165,7 @@ paths: type: integer files: type: array - items: &473 + items: &479 title: Diff Entry description: Diff Entry type: object @@ -64957,7 +66261,7 @@ paths: - self protected: type: boolean - protection: *397 + protection: *403 protection_url: type: string format: uri @@ -65066,7 +66370,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *335 + '301': *342 '404': *6 x-github: githubCloudOnly: false @@ -65088,15 +66392,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *397 + schema: *403 examples: default: value: @@ -65290,9 +66594,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -65552,7 +66856,7 @@ paths: url: type: string format: uri - required_status_checks: &405 + required_status_checks: &411 title: Status Check Policy description: Status Check Policy type: object @@ -65633,7 +66937,7 @@ paths: items: *4 teams: type: array - items: *191 + items: *198 apps: type: array items: *5 @@ -65651,7 +66955,7 @@ paths: items: *4 teams: type: array - items: *191 + items: *198 apps: type: array items: *5 @@ -65711,7 +67015,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *399 + restrictions: *405 required_conversation_resolution: type: object properties: @@ -65823,9 +67127,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '204': description: Response @@ -65850,17 +67154,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *400 + schema: *406 examples: - default: &401 + default: &407 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -65882,17 +67186,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *400 + schema: *406 examples: - default: *401 + default: *407 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65911,9 +67215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '204': description: Response @@ -65938,17 +67242,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *402 + schema: *408 examples: - default: &403 + default: &409 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -66044,9 +67348,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: false content: @@ -66144,9 +67448,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *408 examples: - default: *403 + default: *409 '422': *15 x-github: githubCloudOnly: false @@ -66167,9 +67471,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '204': description: Response @@ -66196,17 +67500,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *400 + schema: *406 examples: - default: &404 + default: &410 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -66229,17 +67533,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *400 + schema: *406 examples: - default: *404 + default: *410 '404': *6 x-github: githubCloudOnly: false @@ -66259,9 +67563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '204': description: Response @@ -66286,17 +67590,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *405 + schema: *411 examples: - default: &406 + default: &412 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -66322,9 +67626,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: false content: @@ -66376,9 +67680,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *411 examples: - default: *406 + default: *412 '404': *6 '422': *15 x-github: @@ -66400,9 +67704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '204': description: Response @@ -66426,9 +67730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response @@ -66462,9 +67766,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: false content: @@ -66531,9 +67835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: false content: @@ -66597,9 +67901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: content: application/json: @@ -66665,15 +67969,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *399 + schema: *405 examples: default: value: @@ -66764,9 +68068,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '204': description: Response @@ -66789,9 +68093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response @@ -66801,7 +68105,7 @@ paths: type: array items: *5 examples: - default: &407 + default: &413 value: - id: 1 slug: octoapp @@ -66858,9 +68162,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -66894,7 +68198,7 @@ paths: type: array items: *5 examples: - default: *407 + default: *413 '422': *15 x-github: githubCloudOnly: false @@ -66915,9 +68219,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -66951,7 +68255,7 @@ paths: type: array items: *5 examples: - default: *407 + default: *413 '422': *15 x-github: githubCloudOnly: false @@ -66972,9 +68276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -67008,7 +68312,7 @@ paths: type: array items: *5 examples: - default: *407 + default: *413 '422': *15 x-github: githubCloudOnly: false @@ -67030,9 +68334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response @@ -67040,9 +68344,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - default: *252 + default: *259 '404': *6 x-github: githubCloudOnly: false @@ -67062,9 +68366,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: false content: @@ -67100,9 +68404,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - default: *252 + default: *259 '422': *15 x-github: githubCloudOnly: false @@ -67123,9 +68427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: false content: @@ -67161,9 +68465,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - default: *252 + default: *259 '422': *15 x-github: githubCloudOnly: false @@ -67184,9 +68488,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: content: application/json: @@ -67221,9 +68525,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - default: *252 + default: *259 '422': *15 x-github: githubCloudOnly: false @@ -67245,9 +68549,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response @@ -67281,9 +68585,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -67341,9 +68645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -67401,9 +68705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -67463,9 +68767,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -67487,7 +68791,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *414 examples: default: value: @@ -67603,8 +68907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -67883,7 +69187,7 @@ paths: description: Response content: application/json: - schema: &409 + schema: &415 title: CheckRun description: A check performed on the code of a given code change type: object @@ -68019,7 +69323,7 @@ paths: check. type: array items: *85 - deployment: &725 + deployment: &729 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -68306,9 +69610,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *331 - - *332 - - &410 + - *338 + - *339 + - &416 name: check_run_id description: The unique identifier of the check run. in: path @@ -68320,9 +69624,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *415 examples: - default: &411 + default: &417 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -68422,9 +69726,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *331 - - *332 - - *410 + - *338 + - *339 + - *416 requestBody: required: true content: @@ -68664,9 +69968,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *415 examples: - default: *411 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68686,9 +69990,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *331 - - *332 - - *410 + - *338 + - *339 + - *416 - *17 - *19 responses: @@ -68798,9 +70102,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *331 - - *332 - - *410 + - *338 + - *339 + - *416 responses: '201': description: Response @@ -68844,8 +70148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -68867,7 +70171,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &413 + schema: &419 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -68965,7 +70269,7 @@ paths: - string - 'null' format: date-time - head_commit: *412 + head_commit: *418 latest_check_runs_count: type: integer check_runs_url: @@ -68993,7 +70297,7 @@ paths: - check_runs_url - pull_requests examples: - default: &414 + default: &420 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -69284,9 +70588,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *413 + schema: *419 examples: - default: *414 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69305,8 +70609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -69615,9 +70919,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *331 - - *332 - - &415 + - *338 + - *339 + - &421 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -69629,9 +70933,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *419 examples: - default: *414 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69654,17 +70958,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *331 - - *332 - - *415 - - &468 + - *338 + - *339 + - *421 + - &474 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &469 + - &475 name: status description: Returns check runs with the specified `status`. in: query @@ -69703,9 +71007,9 @@ paths: type: integer check_runs: type: array - items: *409 + items: *415 examples: - default: &470 + default: &476 value: total_count: 1 check_runs: @@ -69807,9 +71111,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *331 - - *332 - - *415 + - *338 + - *339 + - *421 responses: '201': description: Response @@ -69842,21 +71146,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *331 - - *332 - - *416 - - *417 + - *338 + - *339 + - *422 + - *423 - *19 - *17 - - &434 + - &440 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *418 - - &435 + schema: *424 + - &441 name: pr description: The number of the pull request for the results you want to list. in: query @@ -69881,13 +71185,13 @@ paths: be returned. in: query required: false - schema: *419 + schema: *425 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *420 + schema: *426 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -69906,24 +71210,24 @@ paths: items: type: object properties: - number: *171 - created_at: *172 - updated_at: *173 - url: *174 - html_url: *175 - instances_url: *421 - state: *180 - fixed_at: *176 + number: *178 + created_at: *179 + updated_at: *180 + url: *181 + html_url: *182 + instances_url: *427 + state: *187 + fixed_at: *183 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *177 - dismissed_reason: *422 - dismissed_comment: *423 - rule: *424 - tool: *425 - most_recent_instance: *426 + dismissed_at: *184 + dismissed_reason: *428 + dismissed_comment: *429 + rule: *430 + tool: *431 + most_recent_instance: *432 dismissal_approved_by: anyOf: - type: 'null' @@ -70046,7 +71350,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &427 + '403': &433 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -70073,9 +71377,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *331 - - *332 - - &428 + - *338 + - *339 + - &434 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -70083,30 +71387,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *171 + schema: *178 responses: '200': description: Response content: application/json: - schema: &429 + schema: &435 type: object properties: - number: *171 - created_at: *172 - updated_at: *173 - url: *174 - html_url: *175 - instances_url: *421 - state: *180 - fixed_at: *176 + number: *178 + created_at: *179 + updated_at: *180 + url: *181 + html_url: *182 + instances_url: *427 + state: *187 + fixed_at: *183 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *177 - dismissed_reason: *422 - dismissed_comment: *423 + dismissed_at: *184 + dismissed_reason: *428 + dismissed_comment: *429 rule: type: object properties: @@ -70168,8 +71472,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *425 - most_recent_instance: *426 + tool: *431 + most_recent_instance: *432 dismissal_approved_by: anyOf: - type: 'null' @@ -70265,7 +71569,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *427 + '403': *433 '404': *6 '503': *114 x-github: @@ -70285,9 +71589,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *331 - - *332 - - *428 + - *338 + - *339 + - *434 requestBody: required: true content: @@ -70302,8 +71606,8 @@ paths: enum: - open - dismissed - dismissed_reason: *422 - dismissed_comment: *423 + dismissed_reason: *428 + dismissed_comment: *429 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -70331,7 +71635,7 @@ paths: description: Response content: application/json: - schema: *429 + schema: *435 examples: default: value: @@ -70407,7 +71711,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &433 + '403': &439 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -70434,15 +71738,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *331 - - *332 - - *428 + - *338 + - *339 + - *434 responses: '200': description: Response content: application/json: - schema: &430 + schema: &436 type: object properties: status: @@ -70469,13 +71773,13 @@ paths: - description - started_at examples: - default: &431 + default: &437 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &432 + '400': &438 description: Bad Request content: application/json: @@ -70486,7 +71790,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *427 + '403': *433 '404': *6 '503': *114 x-github: @@ -70511,29 +71815,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *331 - - *332 - - *428 + - *338 + - *339 + - *434 responses: '200': description: OK content: application/json: - schema: *430 + schema: *436 examples: - default: *431 + default: *437 '202': description: Accepted content: application/json: - schema: *430 + schema: *436 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *432 + '400': *438 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -70565,9 +71869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *331 - - *332 - - *428 + - *338 + - *339 + - *434 requestBody: required: false content: @@ -70613,8 +71917,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *432 - '403': *433 + '400': *438 + '403': *439 '404': *6 '422': description: Unprocessable Entity @@ -70638,13 +71942,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *331 - - *332 - - *428 + - *338 + - *339 + - *434 - *19 - *17 - - *434 - - *435 + - *440 + - *441 responses: '200': description: Response @@ -70655,10 +71959,10 @@ paths: items: type: object properties: - ref: *418 - analysis_key: *436 - environment: *437 - category: *438 + ref: *424 + analysis_key: *442 + environment: *443 + category: *444 state: type: - string @@ -70675,7 +71979,7 @@ paths: properties: text: type: string - location: *439 + location: *445 html_url: type: string classifications: @@ -70683,7 +71987,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *440 + items: *446 examples: default: value: @@ -70720,7 +72024,7 @@ paths: end_column: 50 classifications: - source - '403': *427 + '403': *433 '404': *6 '503': *114 x-github: @@ -70754,25 +72058,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *331 - - *332 - - *416 - - *417 + - *338 + - *339 + - *422 + - *423 - *19 - *17 - - *435 + - *441 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *418 + schema: *424 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &441 + schema: &447 type: string description: An identifier for the upload. examples: @@ -70794,23 +72098,23 @@ paths: application/json: schema: type: array - items: &442 + items: &448 type: object properties: - ref: *418 - commit_sha: &450 + ref: *424 + commit_sha: &456 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *436 + analysis_key: *442 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *438 + category: *444 error: type: string examples: @@ -70835,8 +72139,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *441 - tool: *425 + sarif_id: *447 + tool: *431 deletable: type: boolean warning: @@ -70898,7 +72202,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *427 + '403': *433 '404': *6 '503': *114 x-github: @@ -70934,8 +72238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -70948,7 +72252,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *448 examples: response: summary: application/json response @@ -71002,7 +72306,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *427 + '403': *433 '404': *6 '422': description: Response if analysis could not be processed @@ -71089,8 +72393,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -71146,7 +72450,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *433 + '403': *439 '404': *6 '503': *114 x-github: @@ -71168,8 +72472,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -71177,7 +72481,7 @@ paths: application/json: schema: type: array - items: &443 + items: &449 title: CodeQL Database description: A CodeQL database. type: object @@ -71289,7 +72593,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *427 + '403': *433 '404': *6 '503': *114 x-github: @@ -71318,8 +72622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - name: language in: path description: The language of the CodeQL database. @@ -71331,7 +72635,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *449 examples: default: value: @@ -71363,9 +72667,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &477 + '302': &483 description: Found - '403': *427 + '403': *433 '404': *6 '503': *114 x-github: @@ -71387,8 +72691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *331 - - *332 + - *338 + - *339 - name: language in: path description: The language of the CodeQL database. @@ -71398,7 +72702,7 @@ paths: responses: '204': description: Response - '403': *433 + '403': *439 '404': *6 '503': *114 x-github: @@ -71426,8 +72730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -71436,7 +72740,7 @@ paths: type: object additionalProperties: false properties: - language: &444 + language: &450 type: string description: The language targeted by the CodeQL query enum: @@ -71516,7 +72820,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &448 + schema: &454 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -71526,7 +72830,7 @@ paths: description: The ID of the variant analysis. controller_repo: *65 actor: *4 - query_language: *444 + query_language: *450 query_pack_url: type: string description: The download url for the query pack. @@ -71574,7 +72878,7 @@ paths: items: type: object properties: - repository: &445 + repository: &451 title: Repository Identifier description: Repository Identifier type: object @@ -71616,7 +72920,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &449 + analysis_status: &455 type: string description: The new status of the CodeQL variant analysis repository task. @@ -71648,7 +72952,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &446 + access_mismatch_repos: &452 type: object properties: repository_count: @@ -71663,7 +72967,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *445 + items: *451 required: - repository_count - repositories @@ -71686,8 +72990,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *446 - over_limit_repos: *446 + no_codeql_db_repos: *452 + over_limit_repos: *452 required: - access_mismatch_repos - not_found_repos @@ -71703,7 +73007,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &447 + value: &453 summary: Default response value: id: 1 @@ -71849,10 +73153,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *447 + value: *453 repository_lists: summary: Response for a successful variant analysis submission - value: *447 + value: *453 '404': *6 '422': description: Unable to process variant analysis submission @@ -71880,8 +73184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *331 - - *332 + - *338 + - *339 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -71893,9 +73197,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *454 examples: - default: *447 + default: *453 '404': *6 '503': *114 x-github: @@ -71918,7 +73222,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *331 + - *338 - name: repo in: path description: The name of the controller repository. @@ -71953,7 +73257,7 @@ paths: type: object properties: repository: *65 - analysis_status: *449 + analysis_status: *455 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -72078,8 +73382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -72172,7 +73476,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *427 + '403': *433 '404': *6 '503': *114 x-github: @@ -72193,8 +73497,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -72288,7 +73592,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *433 + '403': *439 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -72359,8 +73663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -72368,7 +73672,7 @@ paths: schema: type: object properties: - commit_sha: *450 + commit_sha: *456 ref: type: string description: |- @@ -72428,7 +73732,7 @@ paths: schema: type: object properties: - id: *441 + id: *447 url: type: string description: The REST API URL for checking the status of the upload. @@ -72442,7 +73746,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *433 + '403': *439 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -72465,8 +73769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *331 - - *332 + - *338 + - *339 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -72514,7 +73818,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *427 + '403': *433 '404': description: Not Found if the sarif id does not match any upload '503': *114 @@ -72539,8 +73843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -72621,8 +73925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *331 - - *332 + - *338 + - *339 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -72750,8 +74054,8 @@ paths: parameters: - *17 - *19 - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -72767,7 +74071,7 @@ paths: type: integer codespaces: type: array - items: *241 + items: *248 examples: default: value: @@ -73065,8 +74369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -73130,17 +74434,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '400': *14 '401': *23 '403': *27 @@ -73169,8 +74473,8 @@ paths: parameters: - *17 - *19 - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -73234,8 +74538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -73272,9 +74576,9 @@ paths: type: integer machines: type: array - items: *452 + items: *458 examples: - default: &668 + default: &672 value: total_count: 2 machines: @@ -73314,8 +74618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *331 - - *332 + - *338 + - *339 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -73402,8 +74706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *331 - - *332 + - *338 + - *339 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -73472,8 +74776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -73491,7 +74795,7 @@ paths: type: integer secrets: type: array - items: &456 + items: &462 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -73512,7 +74816,7 @@ paths: - created_at - updated_at examples: - default: *453 + default: *459 headers: Link: *66 x-github: @@ -73535,16 +74839,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *454 + schema: *460 examples: - default: *455 + default: *461 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -73564,17 +74868,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 responses: '200': description: Response content: application/json: - schema: *456 + schema: *462 examples: - default: *457 + default: *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73594,8 +74898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 requestBody: required: true @@ -73648,8 +74952,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 responses: '204': @@ -73678,8 +74982,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *331 - - *332 + - *338 + - *339 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -73717,7 +75021,7 @@ paths: application/json: schema: type: array - items: &458 + items: &464 title: Collaborator description: Collaborator type: object @@ -73910,8 +75214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *331 - - *332 + - *338 + - *339 - *70 responses: '204': @@ -73958,8 +75262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *331 - - *332 + - *338 + - *339 - *70 requestBody: required: false @@ -73986,7 +75290,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &528 + schema: &532 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -74214,8 +75518,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *331 - - *332 + - *338 + - *339 - *70 responses: '204': @@ -74247,8 +75551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *331 - - *332 + - *338 + - *339 - *70 responses: '200': @@ -74269,7 +75573,7 @@ paths: user: anyOf: - type: 'null' - - *458 + - *464 required: - permission - role_name @@ -74323,8 +75627,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -74334,7 +75638,7 @@ paths: application/json: schema: type: array - items: &459 + items: &465 title: Commit Comment description: Commit Comment type: object @@ -74392,7 +75696,7 @@ paths: - created_at - updated_at examples: - default: &464 + default: &470 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74451,17 +75755,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '200': description: Response content: application/json: - schema: *459 + schema: *465 examples: - default: &465 + default: &471 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74518,8 +75822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 requestBody: required: true @@ -74542,7 +75846,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *465 examples: default: value: @@ -74593,8 +75897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '204': @@ -74616,8 +75920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -74644,7 +75948,7 @@ paths: application/json: schema: type: array - items: &460 + items: &466 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -74688,7 +75992,7 @@ paths: - content - created_at examples: - default: &531 + default: &535 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -74733,8 +76037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 requestBody: required: true @@ -74767,9 +76071,9 @@ paths: description: Reaction exists content: application/json: - schema: *460 + schema: *466 examples: - default: &461 + default: &467 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -74798,9 +76102,9 @@ paths: description: Reaction created content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '422': *15 x-github: githubCloudOnly: false @@ -74822,10 +76126,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *331 - - *332 + - *338 + - *339 - *96 - - &532 + - &536 name: reaction_id description: The unique identifier of the reaction. in: path @@ -74880,8 +76184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *331 - - *332 + - *338 + - *339 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -74937,9 +76241,9 @@ paths: application/json: schema: type: array - items: *462 + items: *468 examples: - default: &579 + default: &583 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -75033,9 +76337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *331 - - *332 - - &463 + - *338 + - *339 + - &469 name: commit_sha description: The SHA of the commit. in: path @@ -75107,9 +76411,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *331 - - *332 - - *463 + - *338 + - *339 + - *469 - *17 - *19 responses: @@ -75119,9 +76423,9 @@ paths: application/json: schema: type: array - items: *459 + items: *465 examples: - default: *464 + default: *470 headers: Link: *66 x-github: @@ -75149,9 +76453,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *331 - - *332 - - *463 + - *338 + - *339 + - *469 requestBody: required: true content: @@ -75186,9 +76490,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *465 examples: - default: *465 + default: *471 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -75216,9 +76520,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *331 - - *332 - - *463 + - *338 + - *339 + - *469 - *17 - *19 responses: @@ -75228,9 +76532,9 @@ paths: application/json: schema: type: array - items: *466 + items: *472 examples: - default: &571 + default: &575 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -75767,11 +77071,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *331 - - *332 + - *338 + - *339 - *19 - *17 - - &467 + - &473 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -75786,9 +77090,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *468 examples: - default: &559 + default: &563 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -75876,7 +77180,7 @@ paths: schema: type: string examples: - default: &474 + default: &480 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -75889,7 +77193,7 @@ paths: schema: type: string examples: - default: &475 + default: &481 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -75942,11 +77246,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *331 - - *332 - - *467 - - *468 - - *469 + - *338 + - *339 + - *473 + - *474 + - *475 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -75980,9 +77284,9 @@ paths: type: integer check_runs: type: array - items: *409 + items: *415 examples: - default: *470 + default: *476 headers: Link: *66 x-github: @@ -76007,9 +77311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *331 - - *332 - - *467 + - *338 + - *339 + - *473 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -76017,7 +77321,7 @@ paths: schema: type: integer example: 1 - - *468 + - *474 - *17 - *19 responses: @@ -76035,7 +77339,7 @@ paths: type: integer check_suites: type: array - items: *413 + items: *419 examples: default: value: @@ -76235,9 +77539,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *331 - - *332 - - *467 + - *338 + - *339 + - *473 - *17 - *19 responses: @@ -76439,9 +77743,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *331 - - *332 - - *467 + - *338 + - *339 + - *473 - *17 - *19 responses: @@ -76451,7 +77755,7 @@ paths: application/json: schema: type: array - items: &648 + items: &652 title: Status description: The status of a commit. type: object @@ -76532,7 +77836,7 @@ paths: site_admin: false headers: Link: *66 - '301': *335 + '301': *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76560,8 +77864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -76594,11 +77898,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *471 + - *477 code_of_conduct_file: anyOf: - type: 'null' - - &472 + - &478 title: Community Health File type: object properties: @@ -76618,19 +77922,19 @@ paths: contributing: anyOf: - type: 'null' - - *472 + - *478 readme: anyOf: - type: 'null' - - *472 + - *478 issue_template: anyOf: - type: 'null' - - *472 + - *478 pull_request_template: anyOf: - type: 'null' - - *472 + - *478 required: - code_of_conduct - code_of_conduct_file @@ -76759,8 +78063,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *331 - - *332 + - *338 + - *339 - *19 - *17 - name: basehead @@ -76808,8 +78112,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *462 - merge_base_commit: *462 + base_commit: *468 + merge_base_commit: *468 status: type: string enum: @@ -76833,10 +78137,10 @@ paths: - 6 commits: type: array - items: *462 + items: *468 files: type: array - items: *473 + items: *479 required: - url - html_url @@ -77082,12 +78386,12 @@ paths: schema: type: string examples: - default: *474 + default: *480 application/vnd.github.patch: schema: type: string examples: - default: *475 + default: *481 '404': *6 '500': *53 '503': *114 @@ -77132,8 +78436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *331 - - *332 + - *338 + - *339 - name: path description: path parameter in: path @@ -77303,7 +78607,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &476 + response-if-content-is-a-file-github-object: &482 summary: Response if content is a file value: type: file @@ -77440,7 +78744,7 @@ paths: - size - type - url - - &584 + - &588 title: Content File description: Content File type: object @@ -77658,7 +78962,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *476 + response-if-content-is-a-file: *482 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -77727,7 +79031,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *477 + '302': *483 '304': *35 x-github: githubCloudOnly: false @@ -77750,8 +79054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *331 - - *332 + - *338 + - *339 - name: path description: path parameter in: path @@ -77846,7 +79150,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &484 title: File Commit description: File Commit type: object @@ -78002,7 +79306,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *484 examples: example-for-creating-a-file: value: @@ -78056,7 +79360,7 @@ paths: schema: oneOf: - *3 - - &510 + - &514 description: Repository rule violation was detected type: object properties: @@ -78077,7 +79381,7 @@ paths: items: type: object properties: - placeholder_id: &640 + placeholder_id: &644 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -78109,8 +79413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *331 - - *332 + - *338 + - *339 - name: path description: path parameter in: path @@ -78171,7 +79475,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *484 examples: default: value: @@ -78226,8 +79530,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *331 - - *332 + - *338 + - *339 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -78351,24 +79655,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *331 - - *332 - - *193 - - *194 - - *195 - - *196 - - *197 + - *338 + - *339 + - *200 + - *201 + - *202 + - *203 + - *204 - 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 - - *198 - - *479 - - *199 - - *200 - - *201 + - *205 + - *485 + - *206 + - *207 + - *208 - *60 - *45 - *46 @@ -78380,11 +79684,11 @@ paths: application/json: schema: type: array - items: &483 + items: &489 type: object description: A Dependabot alert. properties: - number: *171 + number: *178 state: type: string description: The state of the Dependabot alert. @@ -78431,13 +79735,13 @@ paths: - transitive - inconclusive - - security_advisory: *480 + security_advisory: *486 security_vulnerability: *64 - url: *174 - html_url: *175 - created_at: *172 - updated_at: *173 - dismissed_at: *177 + url: *181 + html_url: *182 + created_at: *179 + updated_at: *180 + dismissed_at: *184 dismissed_by: anyOf: - type: 'null' @@ -78461,9 +79765,9 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *176 - auto_dismissed_at: *481 - dismissal_request: *482 + fixed_at: *183 + auto_dismissed_at: *487 + dismissal_request: *488 assignees: type: array description: The users assigned to this alert. @@ -78718,9 +80022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *331 - - *332 - - &484 + - *338 + - *339 + - &490 name: alert_number in: path description: |- @@ -78729,13 +80033,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *171 + schema: *178 responses: '200': description: Response content: application/json: - schema: *483 + schema: *489 examples: default: value: @@ -78867,9 +80171,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *331 - - *332 - - *484 + - *338 + - *339 + - *490 requestBody: required: true content: @@ -78925,7 +80229,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *489 examples: default: value: @@ -79055,8 +80359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -79074,7 +80378,7 @@ paths: type: integer secrets: type: array - items: &487 + items: &493 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -79128,16 +80432,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *485 + schema: *491 examples: - default: *486 + default: *492 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79157,15 +80461,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 responses: '200': description: Response content: application/json: - schema: *487 + schema: *493 examples: default: value: @@ -79191,8 +80495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 requestBody: required: true @@ -79245,8 +80549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 responses: '204': @@ -79269,8 +80573,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *331 - - *332 + - *338 + - *339 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -79444,8 +80748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -79704,8 +81008,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - name: sbom_uuid in: path required: true @@ -79716,7 +81020,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *488 + Location: *494 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -79737,8 +81041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '201': description: Response @@ -79776,8 +81080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -79860,7 +81164,7 @@ paths: - version - url additionalProperties: false - metadata: &489 + metadata: &495 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -79899,7 +81203,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *489 + metadata: *495 resolved: type: object description: A collection of resolved package dependencies. @@ -79913,7 +81217,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *489 + metadata: *495 relationship: type: string description: A notation of whether a dependency is requested @@ -80046,8 +81350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *331 - - *332 + - *338 + - *339 - name: sha description: The SHA recorded at creation time. in: query @@ -80088,9 +81392,9 @@ paths: application/json: schema: type: array - items: *490 + items: *496 examples: - default: *491 + default: *497 headers: Link: *66 x-github: @@ -80156,8 +81460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -80239,7 +81543,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *496 examples: simple-example: summary: Simple example @@ -80312,9 +81616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *331 - - *332 - - &492 + - *338 + - *339 + - &498 name: deployment_id description: deployment_id parameter in: path @@ -80326,7 +81630,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *496 examples: default: value: @@ -80391,9 +81695,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *331 - - *332 - - *492 + - *338 + - *339 + - *498 responses: '204': description: Response @@ -80415,9 +81719,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *331 - - *332 - - *492 + - *338 + - *339 + - *498 - *17 - *19 responses: @@ -80427,7 +81731,7 @@ paths: application/json: schema: type: array - items: &493 + items: &499 title: Deployment Status description: The status of a deployment. type: object @@ -80591,9 +81895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *331 - - *332 - - *492 + - *338 + - *339 + - *498 requestBody: required: true content: @@ -80668,9 +81972,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *499 examples: - default: &494 + default: &500 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -80726,9 +82030,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *331 - - *332 - - *492 + - *338 + - *339 + - *498 - name: status_id in: path required: true @@ -80739,9 +82043,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *499 examples: - default: *494 + default: *500 '404': *6 x-github: githubCloudOnly: false @@ -80766,8 +82070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -80824,8 +82128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -80843,7 +82147,7 @@ paths: - 5 environments: type: array - items: &496 + items: &502 title: Environment description: Details of a deployment environment type: object @@ -80905,7 +82209,7 @@ paths: type: string examples: - wait_timer - wait_timer: &498 + wait_timer: &504 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -80947,11 +82251,11 @@ paths: items: type: object properties: - type: *495 + type: *501 reviewer: anyOf: - *4 - - *191 + - *198 required: - id - node_id @@ -80974,7 +82278,7 @@ paths: - id - node_id - type - deployment_branch_policy: &499 + deployment_branch_policy: &505 type: - object - 'null' @@ -81091,9 +82395,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *331 - - *332 - - &497 + - *338 + - *339 + - &503 name: environment_name in: path required: true @@ -81106,9 +82410,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *502 examples: - default: &500 + default: &506 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -81192,9 +82496,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 requestBody: required: false content: @@ -81204,7 +82508,7 @@ paths: - object - 'null' properties: - wait_timer: *498 + wait_timer: *504 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -81223,14 +82527,14 @@ paths: items: type: object properties: - type: *495 + type: *501 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *499 + deployment_branch_policy: *505 additionalProperties: false examples: default: @@ -81250,9 +82554,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *502 examples: - default: *500 + default: *506 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -81276,9 +82580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 responses: '204': description: Default response @@ -81303,9 +82607,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 - *17 - *19 responses: @@ -81324,7 +82628,7 @@ paths: - 2 branch_policies: type: array - items: &501 + items: &507 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -81385,9 +82689,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 requestBody: required: true content: @@ -81435,9 +82739,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *507 examples: - example-wildcard: &502 + example-wildcard: &508 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -81479,10 +82783,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *331 - - *332 - - *497 - - &503 + - *338 + - *339 + - *503 + - &509 name: branch_policy_id in: path required: true @@ -81494,9 +82798,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *507 examples: - default: *502 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81515,10 +82819,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *331 - - *332 - - *497 + - *338 + - *339 - *503 + - *509 requestBody: required: true content: @@ -81547,9 +82851,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *507 examples: - default: *502 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81568,10 +82872,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *331 - - *332 - - *497 + - *338 + - *339 - *503 + - *509 responses: '204': description: Response @@ -81596,9 +82900,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *497 - - *332 - - *331 + - *503 + - *339 + - *338 responses: '200': description: List of deployment protection rules @@ -81615,7 +82919,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &504 + items: &510 title: Deployment protection rule description: Deployment protection rule type: object @@ -81637,7 +82941,7 @@ paths: for the environment. examples: - true - app: &505 + app: &511 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -81740,9 +83044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *497 - - *332 - - *331 + - *503 + - *339 + - *338 requestBody: content: application/json: @@ -81763,9 +83067,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *504 + schema: *510 examples: - default: &506 + default: &512 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -81800,9 +83104,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *497 - - *332 - - *331 + - *503 + - *339 + - *338 - *19 - *17 responses: @@ -81822,7 +83126,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *505 + items: *511 examples: default: value: @@ -81857,10 +83161,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *331 - - *332 - - *497 - - &507 + - *338 + - *339 + - *503 + - &513 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -81872,9 +83176,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *510 examples: - default: *506 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81895,10 +83199,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *497 - - *332 - - *331 - - *507 + - *503 + - *339 + - *338 + - *513 responses: '204': description: Response @@ -81924,9 +83228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 - *17 - *19 responses: @@ -81944,9 +83248,9 @@ paths: type: integer secrets: type: array - items: *376 + items: *382 examples: - default: *377 + default: *383 headers: Link: *66 x-github: @@ -81971,17 +83275,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 responses: '200': description: Response content: application/json: - schema: *378 + schema: *167 examples: - default: *379 + default: *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82003,18 +83307,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 - *161 responses: '200': description: Response content: application/json: - schema: *376 + schema: *382 examples: - default: *508 + default: *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82036,9 +83340,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 - *161 requestBody: required: true @@ -82096,9 +83400,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 - *161 responses: '204': @@ -82124,10 +83428,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *331 - - *332 - - *497 - - *347 + - *338 + - *339 + - *503 + - *170 - *19 responses: '200': @@ -82144,9 +83448,9 @@ paths: type: integer variables: type: array - items: *380 + items: *384 examples: - default: *381 + default: *385 headers: Link: *66 x-github: @@ -82169,9 +83473,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 requestBody: required: true content: @@ -82223,18 +83527,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 - *164 responses: '200': description: Response content: application/json: - schema: *380 + schema: *384 examples: - default: *509 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82255,10 +83559,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *331 - - *332 + - *338 + - *339 - *164 - - *497 + - *503 requestBody: required: true content: @@ -82300,10 +83604,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *331 - - *332 + - *338 + - *339 - *164 - - *497 + - *503 responses: '204': description: Response @@ -82325,8 +83629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -82394,8 +83698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *331 - - *332 + - *338 + - *339 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -82554,8 +83858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: false content: @@ -82588,9 +83892,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: *336 + default: *343 '400': *14 '422': *15 '403': *27 @@ -82611,8 +83915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -82672,7 +83976,7 @@ paths: schema: oneOf: - *122 - - *510 + - *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82697,8 +84001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *331 - - *332 + - *338 + - *339 - name: file_sha in: path required: true @@ -82798,8 +84102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -82908,7 +84212,7 @@ paths: description: Response content: application/json: - schema: &511 + schema: &515 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -83135,15 +84439,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *331 - - *332 - - *463 + - *338 + - *339 + - *469 responses: '200': description: Response content: application/json: - schema: *511 + schema: *515 examples: default: value: @@ -83199,9 +84503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *331 - - *332 - - &512 + - *338 + - *339 + - &516 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -83218,7 +84522,7 @@ paths: application/json: schema: type: array - items: &513 + items: &517 title: Git Reference description: Git references within a repository type: object @@ -83294,17 +84598,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *331 - - *332 - - *512 + - *338 + - *339 + - *516 responses: '200': description: Response content: application/json: - schema: *513 + schema: *517 examples: - default: &514 + default: &518 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -83333,8 +84637,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -83363,9 +84667,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *517 examples: - default: *514 + default: *518 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -83391,9 +84695,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *331 - - *332 - - *512 + - *338 + - *339 + - *516 requestBody: required: true content: @@ -83422,9 +84726,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *517 examples: - default: *514 + default: *518 '422': *15 '409': *52 x-github: @@ -83442,9 +84746,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *331 - - *332 - - *512 + - *338 + - *339 + - *516 responses: '204': description: Response @@ -83499,8 +84803,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -83567,7 +84871,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &520 title: Git Tag description: Metadata for a Git tag type: object @@ -83623,7 +84927,7 @@ paths: - sha - type - url - verification: *515 + verification: *519 required: - sha - url @@ -83633,7 +84937,7 @@ paths: - tag - message examples: - default: &517 + default: &521 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -83706,8 +85010,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *331 - - *332 + - *338 + - *339 - name: tag_sha in: path required: true @@ -83718,9 +85022,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *520 examples: - default: *517 + default: *521 '404': *6 '409': *52 x-github: @@ -83744,8 +85048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -83819,7 +85123,7 @@ paths: description: Response content: application/json: - schema: &518 + schema: &522 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -83921,8 +85225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *331 - - *332 + - *338 + - *339 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -83945,7 +85249,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *522 examples: default-response: summary: Default response @@ -84004,8 +85308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -84015,7 +85319,7 @@ paths: application/json: schema: type: array - items: &519 + items: &523 title: Webhook description: Webhooks for repositories. type: object @@ -84078,7 +85382,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &756 + last_response: &760 title: Hook Response type: object properties: @@ -84155,8 +85459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: false content: @@ -84209,9 +85513,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: &520 + default: &524 value: type: Repository id: 12345678 @@ -84259,17 +85563,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 responses: '200': description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: *520 + default: *524 '404': *6 x-github: githubCloudOnly: false @@ -84289,9 +85593,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 requestBody: required: true content: @@ -84336,9 +85640,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: *520 + default: *524 '422': *15 '404': *6 x-github: @@ -84359,9 +85663,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 responses: '204': description: Response @@ -84385,9 +85689,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 responses: '200': description: Response @@ -84414,9 +85718,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 requestBody: required: false content: @@ -84460,12 +85764,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 - *17 - - *210 - - *211 + - *217 + - *218 responses: '200': description: Response @@ -84473,9 +85777,9 @@ paths: application/json: schema: type: array - items: *212 + items: *219 examples: - default: *213 + default: *220 '400': *14 '422': *15 x-github: @@ -84494,18 +85798,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 - *16 responses: '200': description: Response content: application/json: - schema: *214 + schema: *221 examples: - default: *215 + default: *222 '400': *14 '422': *15 x-github: @@ -84524,9 +85828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 - *16 responses: '202': *37 @@ -84549,9 +85853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 responses: '204': description: Response @@ -84576,9 +85880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 responses: '204': description: Response @@ -84601,8 +85905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response if immutable releases are enabled @@ -84650,8 +85954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': *59 '409': *52 @@ -84671,8 +85975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': *59 '409': *52 @@ -84729,14 +86033,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: &521 + schema: &525 title: Import description: A repository import from an external source. type: object @@ -84843,7 +86147,7 @@ paths: - html_url - authors_url examples: - default: &524 + default: &528 value: vcs: subversion use_lfs: true @@ -84859,7 +86163,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &522 + '503': &526 description: Unavailable due to service under maintenance. content: application/json: @@ -84888,8 +86192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -84937,7 +86241,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *525 examples: default: value: @@ -84962,7 +86266,7 @@ paths: type: string '422': *15 '404': *6 - '503': *522 + '503': *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84990,8 +86294,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: false content: @@ -85043,7 +86347,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *525 examples: example-1: summary: Example 1 @@ -85091,7 +86395,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *522 + '503': *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85114,12 +86418,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response - '503': *522 + '503': *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85145,9 +86449,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *331 - - *332 - - &689 + - *338 + - *339 + - &693 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -85161,7 +86465,7 @@ paths: application/json: schema: type: array - items: &523 + items: &527 title: Porter Author description: Porter Author type: object @@ -85215,7 +86519,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *522 + '503': *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85240,8 +86544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *331 - - *332 + - *338 + - *339 - name: author_id in: path required: true @@ -85271,7 +86575,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *527 examples: default: value: @@ -85284,7 +86588,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *522 + '503': *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85308,8 +86612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -85350,7 +86654,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *522 + '503': *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85378,8 +86682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -85406,11 +86710,11 @@ paths: description: Response content: application/json: - schema: *521 + schema: *525 examples: - default: *524 + default: *528 '422': *15 - '503': *522 + '503': *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85433,8 +86737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -85442,8 +86746,8 @@ paths: application/json: schema: *20 examples: - default: *525 - '301': *335 + default: *529 + '301': *342 '404': *6 x-github: githubCloudOnly: false @@ -85463,8 +86767,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -85472,12 +86776,12 @@ paths: application/json: schema: anyOf: - - *228 + - *235 - type: object properties: {} additionalProperties: false examples: - default: &527 + default: &531 value: limit: collaborators_only origin: repository @@ -85502,13 +86806,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: application/json: - schema: *526 + schema: *530 examples: default: summary: Example request body @@ -85520,9 +86824,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *235 examples: - default: *527 + default: *531 '409': description: Response x-github: @@ -85544,8 +86848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -85568,8 +86872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -85579,9 +86883,9 @@ paths: application/json: schema: type: array - items: *528 + items: *532 examples: - default: &682 + default: &686 value: - id: 1 repository: @@ -85712,9 +87016,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *331 - - *332 - - *232 + - *338 + - *339 + - *239 requestBody: required: false content: @@ -85743,7 +87047,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *532 examples: default: value: @@ -85874,9 +87178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *331 - - *332 - - *232 + - *338 + - *339 + - *239 responses: '204': description: Response @@ -85907,8 +87211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *331 - - *332 + - *338 + - *339 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -85956,7 +87260,7 @@ paths: required: false schema: type: string - - *239 + - *246 - name: sort description: What to sort results by. in: query @@ -85981,7 +87285,7 @@ paths: type: array items: *82 examples: - default: &537 + default: &541 value: - id: 1 node_id: MDU6SXNzdWUx @@ -86130,7 +87434,7 @@ paths: state_reason: completed headers: Link: *66 - '301': *335 + '301': *342 '422': *15 '404': *6 x-github: @@ -86159,8 +87463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -86273,7 +87577,7 @@ paths: application/json: schema: *82 examples: - default: &534 + default: &538 value: id: 1 node_id: MDU6SXNzdWUx @@ -86430,7 +87734,7 @@ paths: '422': *15 '503': *114 '404': *6 - '410': *529 + '410': *533 x-github: triggersNotification: true githubCloudOnly: false @@ -86458,8 +87762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *104 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -86482,7 +87786,7 @@ paths: type: array items: *83 examples: - default: &536 + default: &540 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -86540,8 +87844,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '200': @@ -86550,7 +87854,7 @@ paths: application/json: schema: *83 examples: - default: &530 + default: &534 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -86605,8 +87909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 requestBody: required: true @@ -86631,7 +87935,7 @@ paths: application/json: schema: *83 examples: - default: *530 + default: *534 '422': *15 x-github: githubCloudOnly: false @@ -86649,8 +87953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '204': @@ -86679,8 +87983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '200': @@ -86743,7 +88047,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *529 + '410': *533 '422': *15 x-github: githubCloudOnly: false @@ -86760,8 +88064,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '204': @@ -86769,7 +88073,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *529 + '410': *533 '503': *114 x-github: githubCloudOnly: false @@ -86787,8 +88091,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -86815,9 +88119,9 @@ paths: application/json: schema: type: array - items: *460 + items: *466 examples: - default: *531 + default: *535 headers: Link: *66 '404': *6 @@ -86838,8 +88142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 requestBody: required: true @@ -86872,16 +88176,16 @@ paths: description: Reaction exists content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '201': description: Reaction created content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '422': *15 x-github: githubCloudOnly: false @@ -86903,10 +88207,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *331 - - *332 + - *338 + - *339 - *96 - - *532 + - *536 responses: '204': description: Response @@ -86926,8 +88230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -86937,7 +88241,7 @@ paths: application/json: schema: type: array - items: &533 + items: &537 title: Issue Event description: Issue Event type: object @@ -87017,7 +88321,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *191 + requested_team: *198 dismissed_review: title: Issue Event Dismissed Review type: object @@ -87277,8 +88581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *331 - - *332 + - *338 + - *339 - name: event_id in: path required: true @@ -87289,7 +88593,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *537 examples: default: value: @@ -87482,7 +88786,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *529 + '410': *533 '403': *27 x-github: githubCloudOnly: false @@ -87516,9 +88820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *331 - - *332 - - &535 + - *338 + - *339 + - &539 name: issue_number description: The number that identifies the issue. in: path @@ -87534,7 +88838,7 @@ paths: examples: default: summary: Issue - value: *534 + value: *538 pinned_comment: summary: Issue with pinned comment value: @@ -87733,9 +89037,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 '304': *35 x-github: githubCloudOnly: false @@ -87760,9 +89064,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: false content: @@ -87903,13 +89207,13 @@ paths: application/json: schema: *82 examples: - default: *534 + default: *538 '422': *15 '503': *114 '403': *27 - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87927,9 +89231,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: false content: @@ -87957,7 +89261,7 @@ paths: application/json: schema: *82 examples: - default: *534 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87973,9 +89277,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: content: application/json: @@ -88002,7 +89306,7 @@ paths: application/json: schema: *82 examples: - default: *534 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88024,9 +89328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - name: assignee in: path required: true @@ -88066,9 +89370,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *87 - *17 - *19 @@ -88081,11 +89385,11 @@ paths: type: array items: *83 examples: - default: *536 + default: *540 headers: Link: *66 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88114,9 +89418,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -88140,14 +89444,14 @@ paths: application/json: schema: *83 examples: - default: *530 + default: *534 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *529 + '410': *533 '422': *15 '404': *6 x-github: @@ -88175,9 +89479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *17 - *19 responses: @@ -88189,12 +89493,12 @@ paths: type: array items: *82 examples: - default: *537 + default: *541 headers: Link: *66 - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88222,9 +89526,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -88248,15 +89552,15 @@ paths: application/json: schema: *82 examples: - default: *534 + default: *538 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *335 + '301': *342 '403': *27 - '410': *529 + '410': *533 '422': *15 '404': *6 x-github: @@ -88287,9 +89591,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -88303,13 +89607,13 @@ paths: application/json: schema: *82 examples: - default: *534 - '301': *335 + default: *538 + '301': *342 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *529 + '410': *533 x-github: triggersNotification: true githubCloudOnly: false @@ -88335,9 +89639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *17 - *19 responses: @@ -88349,12 +89653,12 @@ paths: type: array items: *82 examples: - default: *537 + default: *541 headers: Link: *66 - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88371,9 +89675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *17 - *19 responses: @@ -88387,7 +89691,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &541 + - &545 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -88436,7 +89740,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &546 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -88564,7 +89868,7 @@ paths: - performed_via_github_app - assignee - assigner - - &543 + - &547 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -88610,7 +89914,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &548 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -88656,7 +89960,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &549 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -88705,7 +90009,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &550 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -88734,7 +90038,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *191 + requested_team: *198 requested_reviewer: *4 required: - review_requester @@ -88747,7 +90051,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &551 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -88776,7 +90080,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *191 + requested_team: *198 requested_reviewer: *4 required: - review_requester @@ -88789,7 +90093,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &548 + - &552 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -88845,7 +90149,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &553 title: Locked Issue Event description: Locked Issue Event type: object @@ -88890,7 +90194,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &550 + - &554 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -88951,7 +90255,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &551 + - &555 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -89012,7 +90316,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &552 + - &556 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -89073,7 +90377,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &553 + - &557 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -89166,7 +90470,7 @@ paths: color: red headers: Link: *66 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89183,9 +90487,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *17 - *19 responses: @@ -89195,9 +90499,9 @@ paths: application/json: schema: type: array - items: *538 + items: *542 examples: - default: &539 + default: &543 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -89221,9 +90525,9 @@ paths: value: '2025-12-25' headers: Link: *66 - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89252,9 +90556,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -89320,9 +90624,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *538 + items: *542 examples: - default: *539 + default: *543 '400': *14 '403': *27 '404': *6 @@ -89358,9 +90662,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -89427,9 +90731,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *538 + items: *542 examples: - default: *539 + default: *543 '400': *14 '403': *27 '404': *6 @@ -89460,10 +90764,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *331 - - *332 - - *535 - - *235 + - *338 + - *339 + - *539 + - *242 responses: '204': description: Issue field value deleted successfully @@ -89488,9 +90792,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *17 - *19 responses: @@ -89502,7 +90806,7 @@ paths: type: array items: *81 examples: - default: &540 + default: &544 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -89520,9 +90824,9 @@ paths: default: false headers: Link: *66 - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89538,9 +90842,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: false content: @@ -89585,10 +90889,10 @@ paths: type: array items: *81 examples: - default: *540 - '301': *335 + default: *544 + '301': *342 '404': *6 - '410': *529 + '410': *533 '422': *15 x-github: githubCloudOnly: false @@ -89605,9 +90909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: false content: @@ -89669,10 +90973,10 @@ paths: type: array items: *81 examples: - default: *540 - '301': *335 + default: *544 + '301': *342 '404': *6 - '410': *529 + '410': *533 '422': *15 x-github: githubCloudOnly: false @@ -89689,15 +90993,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 responses: '204': description: Response - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89716,9 +91020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - name: name in: path required: true @@ -89742,9 +91046,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89764,9 +91068,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: false content: @@ -89795,7 +91099,7 @@ paths: '204': description: Response '403': *27 - '410': *529 + '410': *533 '404': *6 '422': *15 x-github: @@ -89813,9 +91117,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 responses: '204': description: Response @@ -89845,9 +91149,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 responses: '200': description: Response @@ -89855,10 +91159,10 @@ paths: application/json: schema: *82 examples: - default: *534 - '301': *335 + default: *538 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89875,9 +91179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - 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. @@ -89903,13 +91207,13 @@ paths: application/json: schema: type: array - items: *460 + items: *466 examples: - default: *531 + default: *535 headers: Link: *66 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89927,9 +91231,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -89961,16 +91265,16 @@ paths: description: Response content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '201': description: Response content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '422': *15 x-github: githubCloudOnly: false @@ -89992,10 +91296,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *331 - - *332 - - *535 - - *532 + - *338 + - *339 + - *539 + - *536 responses: '204': description: Response @@ -90024,9 +91328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -90050,7 +91354,7 @@ paths: application/json: schema: *82 examples: - default: *534 + default: *538 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -90083,9 +91387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *17 - *19 responses: @@ -90097,11 +91401,11 @@ paths: type: array items: *82 examples: - default: *537 + default: *541 headers: Link: *66 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90129,9 +91433,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -90160,14 +91464,14 @@ paths: application/json: schema: *82 examples: - default: *534 + default: *538 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *529 + '410': *533 '422': *15 '404': *6 x-github: @@ -90187,9 +91491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -90222,7 +91526,7 @@ paths: application/json: schema: *82 examples: - default: *534 + default: *538 '403': *27 '404': *6 '422': *7 @@ -90244,9 +91548,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *17 - *19 responses: @@ -90261,10 +91565,6 @@ paths: description: Timeline Event type: object anyOf: - - *541 - - *542 - - *543 - - *544 - *545 - *546 - *547 @@ -90274,6 +91574,10 @@ paths: - *551 - *552 - *553 + - *554 + - *555 + - *556 + - *557 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -90330,7 +91634,7 @@ paths: pin: anyOf: - type: 'null' - - *554 + - *558 required: - event - actor @@ -90606,7 +91910,7 @@ paths: type: string comments: type: array - items: &573 + items: &577 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -90847,7 +92151,7 @@ paths: type: string comments: type: array - items: *459 + items: *465 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -91122,7 +92426,7 @@ paths: headers: Link: *66 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91139,8 +92443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -91150,7 +92454,7 @@ paths: application/json: schema: type: array - items: &555 + items: &559 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -91218,8 +92522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -91255,9 +92559,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *559 examples: - default: &556 + default: &560 value: id: 1 key: ssh-rsa AAA... @@ -91291,9 +92595,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *331 - - *332 - - &557 + - *338 + - *339 + - &561 name: key_id description: The unique identifier of the key. in: path @@ -91305,9 +92609,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *559 examples: - default: *556 + default: *560 '404': *6 x-github: githubCloudOnly: false @@ -91325,9 +92629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *331 - - *332 - - *557 + - *338 + - *339 + - *561 responses: '204': description: Response @@ -91347,8 +92651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -91360,7 +92664,7 @@ paths: type: array items: *81 examples: - default: *540 + default: *544 headers: Link: *66 '404': *6 @@ -91381,8 +92685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -91420,7 +92724,7 @@ paths: application/json: schema: *81 examples: - default: &558 + default: &562 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -91452,8 +92756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *331 - - *332 + - *338 + - *339 - name: name in: path required: true @@ -91466,7 +92770,7 @@ paths: application/json: schema: *81 examples: - default: *558 + default: *562 '404': *6 x-github: githubCloudOnly: false @@ -91483,8 +92787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *331 - - *332 + - *338 + - *339 - name: name in: path required: true @@ -91549,8 +92853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *331 - - *332 + - *338 + - *339 - name: name in: path required: true @@ -91576,8 +92880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -91616,9 +92920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *331 - - *332 - - *434 + - *338 + - *339 + - *440 responses: '200': description: Response @@ -91765,8 +93069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -91831,8 +93135,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -91866,9 +93170,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *462 + schema: *468 examples: - default: *559 + default: *563 '204': description: Response when already merged '404': @@ -91893,8 +93197,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *331 - - *332 + - *338 + - *339 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -91935,7 +93239,7 @@ paths: application/json: schema: type: array - items: *272 + items: *279 examples: default: value: @@ -91991,8 +93295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -92032,9 +93336,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *279 examples: - default: &560 + default: &564 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -92093,9 +93397,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *331 - - *332 - - &561 + - *338 + - *339 + - &565 name: milestone_number description: The number that identifies the milestone. in: path @@ -92107,9 +93411,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *279 examples: - default: *560 + default: *564 '404': *6 x-github: githubCloudOnly: false @@ -92126,9 +93430,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *331 - - *332 - - *561 + - *338 + - *339 + - *565 requestBody: required: false content: @@ -92166,9 +93470,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *279 examples: - default: *560 + default: *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92184,9 +93488,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *331 - - *332 - - *561 + - *338 + - *339 + - *565 responses: '204': description: Response @@ -92207,9 +93511,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *331 - - *332 - - *561 + - *338 + - *339 + - *565 - *17 - *19 responses: @@ -92221,7 +93525,7 @@ paths: type: array items: *81 examples: - default: *540 + default: *544 headers: Link: *66 x-github: @@ -92240,12 +93544,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *331 - - *332 - - *562 - - *563 + - *338 + - *339 + - *566 + - *567 - *87 - - *564 + - *568 - *17 - *19 responses: @@ -92257,7 +93561,7 @@ paths: type: array items: *107 examples: - default: *565 + default: *569 headers: Link: *66 x-github: @@ -92281,8 +93585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: false content: @@ -92340,14 +93644,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: &566 + schema: &570 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -92491,7 +93795,7 @@ paths: - custom_404 - public examples: - default: &567 + default: &571 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -92532,8 +93836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -92588,9 +93892,9 @@ paths: description: Response content: application/json: - schema: *566 + schema: *570 examples: - default: *567 + default: *571 '422': *15 '409': *52 x-github: @@ -92613,8 +93917,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -92714,8 +94018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -92741,8 +94045,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -92752,7 +94056,7 @@ paths: application/json: schema: type: array - items: &568 + items: &572 title: Page Build description: Page Build type: object @@ -92844,8 +94148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *331 - - *332 + - *338 + - *339 responses: '201': description: Response @@ -92892,16 +94196,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *568 + schema: *572 examples: - default: &569 + default: &573 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -92949,8 +94253,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *331 - - *332 + - *338 + - *339 - name: build_id in: path required: true @@ -92961,9 +94265,9 @@ paths: description: Response content: application/json: - schema: *568 + schema: *572 examples: - default: *569 + default: *573 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92983,8 +94287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -93092,9 +94396,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *331 - - *332 - - &570 + - *338 + - *339 + - &574 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -93152,9 +94456,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *331 - - *332 - - *570 + - *338 + - *339 + - *574 responses: '204': *59 '404': *6 @@ -93181,8 +94485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -93477,8 +94781,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Private vulnerability reporting status @@ -93515,8 +94819,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': *59 '422': *14 @@ -93537,8 +94841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': *59 '422': *14 @@ -93560,8 +94864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -93569,7 +94873,7 @@ paths: application/json: schema: type: array - items: *286 + items: *293 examples: default: value: @@ -93600,8 +94904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -93613,7 +94917,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *286 + items: *293 required: - properties examples: @@ -93663,8 +94967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *331 - - *332 + - *338 + - *339 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -93724,9 +95028,9 @@ paths: application/json: schema: type: array - items: *466 + items: *472 examples: - default: *571 + default: *575 headers: Link: *66 '304': *35 @@ -93758,8 +95062,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -93826,7 +95130,7 @@ paths: description: Response content: application/json: - schema: &575 + schema: &579 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -93955,7 +95259,7 @@ paths: milestone: anyOf: - type: 'null' - - *272 + - *279 active_lock_reason: type: - string @@ -94004,7 +95308,7 @@ paths: items: *4 requested_teams: type: array - items: *251 + items: *258 head: type: object properties: @@ -94042,14 +95346,14 @@ paths: _links: type: object properties: - comments: *273 - commits: *273 - statuses: *273 - html: *273 - issue: *273 - review_comments: *273 - review_comment: *273 - self: *273 + comments: *280 + commits: *280 + statuses: *280 + html: *280 + issue: *280 + review_comments: *280 + review_comment: *280 + self: *280 required: - comments - commits @@ -94060,7 +95364,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: *572 + auto_merge: *576 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -94162,7 +95466,7 @@ paths: - merged_by - review_comments examples: - default: &576 + default: &580 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -94689,8 +95993,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - name: sort in: query required: false @@ -94719,9 +96023,9 @@ paths: application/json: schema: type: array - items: *573 + items: *577 examples: - default: &578 + default: &582 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -94798,17 +96102,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '200': description: Response content: application/json: - schema: *573 + schema: *577 examples: - default: &574 + default: &578 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -94883,8 +96187,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *331 - - *332 + - *338 + - *339 - *96 requestBody: required: true @@ -94907,9 +96211,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *577 examples: - default: *574 + default: *578 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94925,8 +96229,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '204': @@ -94948,8 +96252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -94976,9 +96280,9 @@ paths: application/json: schema: type: array - items: *460 + items: *466 examples: - default: *531 + default: *535 headers: Link: *66 '404': *6 @@ -94999,8 +96303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 requestBody: required: true @@ -95033,16 +96337,16 @@ paths: description: Reaction exists content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '201': description: Reaction created content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '422': *15 x-github: githubCloudOnly: false @@ -95064,10 +96368,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *331 - - *332 + - *338 + - *339 - *96 - - *532 + - *536 responses: '204': description: Response @@ -95110,9 +96414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *331 - - *332 - - &577 + - *338 + - *339 + - &581 name: pull_number description: The number that identifies the pull request. in: path @@ -95125,9 +96429,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *575 + schema: *579 examples: - default: *576 + default: *580 '304': *35 '404': *6 '406': @@ -95162,9 +96466,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: false content: @@ -95206,9 +96510,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *579 examples: - default: *576 + default: *580 '422': *15 '403': *27 x-github: @@ -95230,9 +96534,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#archive-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 responses: '204': description: Response @@ -95257,9 +96561,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#unarchive-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 responses: '204': description: Response @@ -95285,9 +96589,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: true content: @@ -95348,17 +96652,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '401': *23 '403': *27 '404': *6 @@ -95388,9 +96692,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 - *104 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -95411,9 +96715,9 @@ paths: application/json: schema: type: array - items: *573 + items: *577 examples: - default: *578 + default: *582 headers: Link: *66 x-github: @@ -95446,9 +96750,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: true content: @@ -95554,7 +96858,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *577 examples: example-for-a-multi-line-comment: value: @@ -95642,9 +96946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 - *96 requestBody: required: true @@ -95667,7 +96971,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *577 examples: default: value: @@ -95753,9 +97057,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 - *17 - *19 responses: @@ -95765,9 +97069,9 @@ paths: application/json: schema: type: array - items: *462 + items: *468 examples: - default: *579 + default: *583 headers: Link: *66 x-github: @@ -95797,9 +97101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 - *17 - *19 responses: @@ -95809,7 +97113,7 @@ paths: application/json: schema: type: array - items: *473 + items: *479 examples: default: value: @@ -95847,9 +97151,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 responses: '204': description: Response if pull request has been merged @@ -95872,9 +97176,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: false content: @@ -95986,9 +97290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 responses: '200': description: Response @@ -96004,7 +97308,7 @@ paths: items: *4 teams: type: array - items: *191 + items: *198 required: - users - teams @@ -96063,9 +97367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: false content: @@ -96102,7 +97406,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *472 examples: default: value: @@ -96638,9 +97942,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: true content: @@ -96674,7 +97978,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *472 examples: default: value: @@ -97179,9 +98483,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 - *17 - *19 responses: @@ -97191,7 +98495,7 @@ paths: application/json: schema: type: array - items: &580 + items: &584 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -97347,9 +98651,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: false content: @@ -97439,9 +98743,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *584 examples: - default: &582 + default: &586 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -97504,10 +98808,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *331 - - *332 - - *577 - - &581 + - *338 + - *339 + - *581 + - &585 name: review_id description: The unique identifier of the review. in: path @@ -97519,9 +98823,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *584 examples: - default: &583 + default: &587 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -97580,10 +98884,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 - *581 + - *585 requestBody: required: true content: @@ -97606,7 +98910,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *584 examples: default: value: @@ -97668,18 +98972,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 - *581 + - *585 responses: '200': description: Response content: application/json: - schema: *580 + schema: *584 examples: - default: *582 + default: *586 '422': *7 '404': *6 x-github: @@ -97706,10 +99010,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *331 - - *332 - - *577 + - *338 + - *339 - *581 + - *585 - *17 - *19 responses: @@ -97807,9 +99111,9 @@ paths: _links: type: object properties: - self: *273 - html: *273 - pull_request: *273 + self: *280 + html: *280 + pull_request: *280 required: - self - html @@ -97967,10 +99271,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 - *581 + - *585 requestBody: required: true content: @@ -97999,7 +99303,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *584 examples: default: value: @@ -98062,10 +99366,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 - *581 + - *585 requestBody: required: true content: @@ -98100,9 +99404,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *584 examples: - default: *583 + default: *587 '404': *6 '422': *7 '403': *27 @@ -98124,9 +99428,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: false content: @@ -98190,8 +99494,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *331 - - *332 + - *338 + - *339 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -98204,9 +99508,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *588 examples: - default: &585 + default: &589 value: type: file encoding: base64 @@ -98248,8 +99552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *331 - - *332 + - *338 + - *339 - name: dir description: The alternate path to look for a README file in: path @@ -98269,9 +99573,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *588 examples: - default: *585 + default: *589 '404': *6 '422': *15 x-github: @@ -98293,8 +99597,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -98304,7 +99608,7 @@ paths: application/json: schema: type: array - items: *586 + items: *590 examples: default: value: @@ -98398,8 +99702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -98475,9 +99779,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *590 examples: - default: &590 + default: &594 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -98582,9 +99886,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *331 - - *332 - - &588 + - *338 + - *339 + - &592 name: asset_id description: The unique identifier of the asset. in: path @@ -98596,9 +99900,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *591 examples: - default: &589 + default: &593 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -98633,7 +99937,7 @@ paths: type: User site_admin: false '404': *6 - '302': *477 + '302': *483 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98649,9 +99953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *331 - - *332 - - *588 + - *338 + - *339 + - *592 requestBody: required: false content: @@ -98680,9 +99984,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *591 examples: - default: *589 + default: *593 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98698,9 +100002,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *331 - - *332 - - *588 + - *338 + - *339 + - *592 responses: '204': description: Response @@ -98725,8 +100029,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -98812,16 +100116,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *586 + schema: *590 examples: - default: *590 + default: *594 '404': *6 x-github: githubCloudOnly: false @@ -98839,8 +100143,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *331 - - *332 + - *338 + - *339 - name: tag description: tag parameter in: path @@ -98853,9 +100157,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *590 examples: - default: *590 + default: *594 '404': *6 x-github: githubCloudOnly: false @@ -98877,9 +100181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *331 - - *332 - - &591 + - *338 + - *339 + - &595 name: release_id description: The unique identifier of the release. in: path @@ -98893,9 +100197,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *586 + schema: *590 examples: - default: *590 + default: *594 '401': description: Unauthorized x-github: @@ -98913,9 +100217,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *331 - - *332 - - *591 + - *338 + - *339 + - *595 requestBody: required: false content: @@ -98979,9 +100283,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *590 examples: - default: *590 + default: *594 '404': description: Not Found if the discussion category name is invalid content: @@ -99002,9 +100306,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *331 - - *332 - - *591 + - *338 + - *339 + - *595 responses: '204': description: Response @@ -99025,9 +100329,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *331 - - *332 - - *591 + - *338 + - *339 + - *595 - *17 - *19 responses: @@ -99037,7 +100341,7 @@ paths: application/json: schema: type: array - items: *587 + items: *591 examples: default: value: @@ -99118,9 +100422,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *331 - - *332 - - *591 + - *338 + - *339 + - *595 - name: name in: query required: true @@ -99146,7 +100450,7 @@ paths: description: Response for successful upload content: application/json: - schema: *587 + schema: *591 examples: response-for-successful-upload: value: @@ -99201,9 +100505,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *331 - - *332 - - *591 + - *338 + - *339 + - *595 - 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 release. @@ -99227,9 +100531,9 @@ paths: application/json: schema: type: array - items: *460 + items: *466 examples: - default: *531 + default: *535 headers: Link: *66 '404': *6 @@ -99250,9 +100554,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *331 - - *332 - - *591 + - *338 + - *339 + - *595 requestBody: required: true content: @@ -99282,16 +100586,16 @@ paths: description: Reaction exists content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '201': description: Reaction created content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '422': *15 x-github: githubCloudOnly: false @@ -99313,10 +100617,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *331 - - *332 - - *591 - - *532 + - *338 + - *339 + - *595 + - *536 responses: '204': description: Response @@ -99340,9 +100644,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 - *17 - *19 responses: @@ -99358,8 +100662,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *293 - - &592 + - *300 + - &596 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -99378,69 +100682,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *294 - - *592 - - allOf: - - *295 - - *592 - - allOf: - - *296 - - *592 - - allOf: - - *593 - - *592 - - allOf: - - *297 - - *592 - - allOf: - - *298 - - *592 - - allOf: - - *299 - - *592 - - allOf: - - *300 - - *592 - allOf: - *301 - - *592 + - *596 - allOf: - *302 - - *592 + - *596 - allOf: - *303 - - *592 + - *596 + - allOf: + - *597 + - *596 - allOf: - *304 - - *592 + - *596 - allOf: - *305 - - *592 + - *596 - allOf: - *306 - - *592 + - *596 - allOf: - *307 - - *592 + - *596 - allOf: - *308 - - *592 + - *596 - allOf: - *309 - - *592 + - *596 - allOf: - *310 - - *592 + - *596 - allOf: - *311 - - *592 + - *596 - allOf: - *312 - - *592 + - *596 - allOf: - *313 - - *592 + - *596 + - allOf: + - *314 + - *596 + - allOf: + - *315 + - *596 + - allOf: + - *316 + - *596 + - allOf: + - *317 + - *596 + - allOf: + - *318 + - *596 + - allOf: + - *319 + - *596 + - allOf: + - *320 + - *596 examples: default: value: @@ -99479,8 +100783,8 @@ paths: category: repos subcategory: rules parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 - name: includes_parents @@ -99491,7 +100795,7 @@ paths: schema: type: boolean default: true - - *594 + - *598 responses: '200': description: Response @@ -99499,7 +100803,7 @@ paths: application/json: schema: type: array - items: *314 + items: *321 examples: default: value: @@ -99546,8 +100850,8 @@ paths: category: repos subcategory: rules parameters: - - *331 - - *332 + - *338 + - *339 requestBody: description: Request body required: true @@ -99567,16 +100871,16 @@ paths: - tag - push default: branch - enforcement: *290 + enforcement: *297 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *291 - conditions: *288 + items: *298 + conditions: *295 rules: type: array description: An array of rules within the ruleset. - items: *595 + items: *599 required: - name - enforcement @@ -99607,9 +100911,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: - default: &605 + default: &609 value: id: 42 name: super cool ruleset @@ -99657,12 +100961,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *331 - - *332 - - *596 - - *597 - - *598 - - *599 + - *338 + - *339 + - *600 + - *601 + - *602 + - *603 - *17 - *19 responses: @@ -99670,9 +100974,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *604 examples: - default: *601 + default: *605 '404': *6 '500': *53 x-github: @@ -99693,17 +100997,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *331 - - *332 - - *602 + - *338 + - *339 + - *606 responses: '200': description: Response content: application/json: - schema: *603 + schema: *607 examples: - default: *604 + default: *608 '404': *6 '500': *53 x-github: @@ -99731,8 +101035,8 @@ paths: category: repos subcategory: rules parameters: - - *331 - - *332 + - *338 + - *339 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99752,9 +101056,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: - default: *605 + default: *609 '404': *6 '500': *53 put: @@ -99772,8 +101076,8 @@ paths: category: repos subcategory: rules parameters: - - *331 - - *332 + - *338 + - *339 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99798,16 +101102,16 @@ paths: - branch - tag - push - enforcement: *290 + enforcement: *297 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *291 - conditions: *288 + items: *298 + conditions: *295 rules: description: An array of rules within the ruleset. type: array - items: *595 + items: *599 examples: default: value: @@ -99835,9 +101139,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: - default: *605 + default: *609 '404': *6 '422': *15 '500': *53 @@ -99856,8 +101160,8 @@ paths: category: repos subcategory: rules parameters: - - *331 - - *332 + - *338 + - *339 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99880,8 +101184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 - name: ruleset_id @@ -99897,9 +101201,9 @@ paths: application/json: schema: type: array - items: *317 + items: *324 examples: - default: *606 + default: *610 '404': *6 '500': *53 x-github: @@ -99918,8 +101222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *331 - - *332 + - *338 + - *339 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99937,7 +101241,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *611 examples: default: value: @@ -99992,26 +101296,26 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *331 - - *332 - - *608 - - *609 - - *610 - - *611 + - *338 + - *339 - *612 - *613 - *614 - *615 - - *60 - - *19 - - *17 - *616 - *617 - *618 - *619 + - *60 + - *19 + - *17 - *620 - *621 - *622 + - *623 + - *624 + - *625 + - *626 responses: '200': description: Response @@ -100019,24 +101323,24 @@ paths: application/json: schema: type: array - items: &626 + items: &630 type: object properties: - number: *171 - created_at: *172 + number: *178 + created_at: *179 updated_at: anyOf: - type: 'null' - - *173 - url: *174 - html_url: *175 + - *180 + url: *181 + html_url: *182 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *623 - resolution: *624 + state: *627 + resolution: *628 resolved_at: type: - string @@ -100142,7 +101446,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *625 + - *629 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -100301,16 +101605,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *331 - - *332 - - *428 - - *621 + - *338 + - *339 + - *434 + - *625 responses: '200': description: Response content: application/json: - schema: *626 + schema: *630 examples: default: value: @@ -100364,9 +101668,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *331 - - *332 - - *428 + - *338 + - *339 + - *434 requestBody: required: true content: @@ -100374,8 +101678,8 @@ paths: schema: type: object properties: - state: *623 - resolution: *624 + state: *627 + resolution: *628 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -100423,7 +101727,7 @@ paths: description: Response content: application/json: - schema: *626 + schema: *630 examples: default: value: @@ -100522,9 +101826,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *331 - - *332 - - *428 + - *338 + - *339 + - *434 - *19 - *17 responses: @@ -100535,7 +101839,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &776 + items: &780 type: object properties: type: @@ -100562,10 +101866,6 @@ paths: - commit details: oneOf: - - *627 - - *628 - - *629 - - *630 - *631 - *632 - *633 @@ -100575,6 +101875,10 @@ paths: - *637 - *638 - *639 + - *640 + - *641 + - *642 + - *643 examples: default: value: @@ -100660,8 +101964,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -100669,14 +101973,14 @@ paths: schema: type: object properties: - reason: &641 + reason: &645 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *640 + placeholder_id: *644 required: - reason - placeholder_id @@ -100693,7 +101997,7 @@ paths: schema: type: object properties: - reason: *641 + reason: *645 expire_at: type: - string @@ -100740,8 +102044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -100756,7 +102060,7 @@ paths: properties: incremental_scans: type: array - items: &642 + items: &646 description: Information on a single scan performed by secret scanning on the repository type: object @@ -100784,15 +102088,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *642 + items: *646 backfill_scans: type: array - items: *642 + items: *646 custom_pattern_backfill_scans: type: array items: allOf: - - *642 + - *646 - type: object properties: pattern_name: @@ -100805,7 +102109,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *642 + items: *646 examples: default: value: @@ -100870,8 +102174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *331 - - *332 + - *338 + - *339 - *60 - name: sort description: The property to sort the results by. @@ -100915,9 +102219,9 @@ paths: application/json: schema: type: array - items: *643 + items: *647 examples: - default: *644 + default: *648 '400': *14 '404': *6 x-github: @@ -100940,8 +102244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -101021,7 +102325,7 @@ paths: login: type: string description: The username of the user credited. - type: *320 + type: *327 required: - login - type @@ -101111,9 +102415,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *647 examples: - default: &646 + default: &650 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -101346,8 +102650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -101460,7 +102764,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *647 examples: default: value: @@ -101607,17 +102911,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *331 - - *332 - - *645 + - *338 + - *339 + - *649 responses: '200': description: Response content: application/json: - schema: *643 + schema: *647 examples: - default: *646 + default: *650 '403': *27 '404': *6 x-github: @@ -101641,9 +102945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *331 - - *332 - - *645 + - *338 + - *339 + - *649 requestBody: required: true content: @@ -101723,7 +103027,7 @@ paths: login: type: string description: The username of the user credited. - type: *320 + type: *327 required: - login - type @@ -101814,10 +103118,10 @@ paths: description: Response content: application/json: - schema: *643 + schema: *647 examples: - default: *646 - add_credit: *646 + default: *650 + add_credit: *650 '403': *27 '404': *6 '422': @@ -101855,9 +103159,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *331 - - *332 - - *645 + - *338 + - *339 + - *649 responses: '202': *37 '400': *14 @@ -101884,17 +103188,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *331 - - *332 - - *645 + - *338 + - *339 + - *649 responses: '202': description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: *336 + default: *343 '400': *14 '422': *15 '403': *27 @@ -101920,8 +103224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -102017,8 +103321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -102027,7 +103331,7 @@ paths: application/json: schema: type: array - items: &647 + items: &651 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -102060,8 +103364,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -102139,8 +103443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -102234,8 +103538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -102389,8 +103693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -102400,7 +103704,7 @@ paths: application/json: schema: type: array - items: *647 + items: *651 examples: default: value: @@ -102433,8 +103737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *331 - - *332 + - *338 + - *339 - name: sha in: path required: true @@ -102490,7 +103794,7 @@ paths: description: Response content: application/json: - schema: *648 + schema: *652 examples: default: value: @@ -102544,8 +103848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -102577,14 +103881,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &649 + schema: &653 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -102657,8 +103961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: false content: @@ -102684,7 +103988,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *653 examples: default: value: @@ -102711,8 +104015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -102732,8 +104036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -102815,8 +104119,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *331 - - *332 + - *338 + - *339 - name: ref in: path required: true @@ -102852,8 +104156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -102863,9 +104167,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - default: *252 + default: *259 headers: Link: *66 '404': *6 @@ -102885,8 +104189,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *331 - - *332 + - *338 + - *339 - *19 - *17 responses: @@ -102894,7 +104198,7 @@ paths: description: Response content: application/json: - schema: &650 + schema: &654 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -102906,7 +104210,7 @@ paths: required: - names examples: - default: &651 + default: &655 value: names: - octocat @@ -102929,8 +104233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -102961,9 +104265,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *654 examples: - default: *651 + default: *655 '404': *6 '422': *7 x-github: @@ -102984,9 +104288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *331 - - *332 - - &652 + - *338 + - *339 + - &656 name: per description: The time frame to display results for. in: query @@ -103017,7 +104321,7 @@ paths: - 128 clones: type: array - items: &653 + items: &657 title: Traffic type: object properties: @@ -103104,8 +104408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -103199,8 +104503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -103263,9 +104567,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *331 - - *332 - - *652 + - *338 + - *339 + - *656 responses: '200': description: Response @@ -103286,7 +104590,7 @@ paths: - 3782 views: type: array - items: *653 + items: *657 required: - uniques - count @@ -103363,8 +104667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -103638,8 +104942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -103662,8 +104966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -103685,8 +104989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -103712,8 +105016,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *331 - - *332 + - *338 + - *339 - name: ref in: path required: true @@ -103805,9 +105109,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: *336 + default: *343 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -104059,7 +105363,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &654 + text_matches: &658 title: Search Result Text Matches type: array items: @@ -104222,7 +105526,7 @@ paths: enum: - author-date - committer-date - - &655 + - &659 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -104291,7 +105595,7 @@ paths: committer: anyOf: - type: 'null' - - *396 + - *402 comment_count: type: integer message: @@ -104310,7 +105614,7 @@ paths: url: type: string format: uri - verification: *515 + verification: *519 required: - author - committer @@ -104325,7 +105629,7 @@ paths: committer: anyOf: - type: 'null' - - *396 + - *402 parents: type: array items: @@ -104342,7 +105646,7 @@ paths: type: number node_id: type: string - text_matches: *654 + text_matches: *658 required: - sha - node_id @@ -104534,7 +105838,7 @@ paths: - interactions - created - updated - - *655 + - *659 - *17 - *19 - name: advanced_search @@ -104648,11 +105952,11 @@ paths: type: - string - 'null' - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: type: string state_reason: @@ -104666,7 +105970,7 @@ paths: milestone: anyOf: - type: 'null' - - *272 + - *279 comments: type: integer created_at: @@ -104680,7 +105984,7 @@ paths: - string - 'null' format: date-time - text_matches: *654 + text_matches: *658 pull_request: type: object properties: @@ -104729,7 +106033,7 @@ paths: timeline_url: type: string format: uri - type: *236 + type: *243 performed_via_github_app: anyOf: - type: 'null' @@ -104946,7 +106250,7 @@ paths: enum: - created - updated - - *655 + - *659 - *17 - *19 responses: @@ -104991,7 +106295,7 @@ paths: - 'null' score: type: number - text_matches: *654 + text_matches: *658 required: - id - node_id @@ -105076,7 +106380,7 @@ paths: - forks - help-wanted-issues - updated - - *655 + - *659 - *17 - *19 responses: @@ -105322,7 +106626,7 @@ paths: - admin - pull - push - text_matches: *654 + text_matches: *658 temp_clone_token: type: string allow_merge_commit: @@ -105630,7 +106934,7 @@ paths: - string - 'null' format: uri - text_matches: *654 + text_matches: *658 related: type: - array @@ -105823,7 +107127,7 @@ paths: - followers - repositories - joined - - *655 + - *659 - *17 - *19 responses: @@ -105933,7 +107237,7 @@ paths: type: - boolean - 'null' - text_matches: *654 + text_matches: *658 blog: type: - string @@ -106015,7 +107319,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &658 + - &662 name: team_id description: The unique identifier of the team. in: path @@ -106027,9 +107331,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *334 examples: - default: *328 + default: *335 '404': *6 x-github: githubCloudOnly: false @@ -106056,7 +107360,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *658 + - *662 requestBody: required: true content: @@ -106120,16 +107424,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *327 + schema: *334 examples: - default: *328 + default: *335 '201': description: Response content: application/json: - schema: *327 + schema: *334 examples: - default: *328 + default: *335 '404': *6 '422': *15 '403': *27 @@ -106157,7 +107461,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *658 + - *662 responses: '204': description: Response @@ -106186,7 +107490,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *658 + - *662 - *17 - *19 responses: @@ -106196,9 +107500,9 @@ paths: application/json: schema: type: array - items: *230 + items: *237 examples: - default: *231 + default: *238 headers: Link: *66 x-github: @@ -106224,7 +107528,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *658 + - *662 - name: role description: Filters members returned by their role in the team. in: query @@ -106275,7 +107579,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *658 + - *662 - *70 responses: '204': @@ -106312,7 +107616,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *658 + - *662 - *70 responses: '204': @@ -106352,7 +107656,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *658 + - *662 - *70 responses: '204': @@ -106389,16 +107693,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *658 + - *662 - *70 responses: '200': description: Response content: application/json: - schema: *330 + schema: *337 examples: - response-if-user-is-a-team-maintainer: *659 + response-if-user-is-a-team-maintainer: *663 '404': *6 x-github: githubCloudOnly: false @@ -106431,7 +107735,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *658 + - *662 - *70 requestBody: required: false @@ -106457,9 +107761,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *337 examples: - response-if-users-membership-with-team-is-now-pending: *660 + response-if-users-membership-with-team-is-now-pending: *664 '403': description: Forbidden if team synchronization is set up '422': @@ -106493,7 +107797,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *658 + - *662 - *70 responses: '204': @@ -106521,7 +107825,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *658 + - *662 - *17 - *19 responses: @@ -106533,7 +107837,7 @@ paths: type: array items: *153 examples: - default: *259 + default: *266 headers: Link: *66 '404': *6 @@ -106563,15 +107867,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *658 - - *331 - - *332 + - *662 + - *338 + - *339 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *661 + schema: *665 examples: alternative-response-with-extra-repository-information: value: @@ -106722,9 +108026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *658 - - *331 - - *332 + - *662 + - *338 + - *339 requestBody: required: false content: @@ -106774,9 +108078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *658 - - *331 - - *332 + - *662 + - *338 + - *339 responses: '204': description: Response @@ -106801,7 +108105,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *658 + - *662 - *17 - *19 responses: @@ -106811,9 +108115,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - response-if-child-teams-exist: *662 + response-if-child-teams-exist: *666 headers: Link: *66 '404': *6 @@ -106846,7 +108150,7 @@ paths: application/json: schema: oneOf: - - &664 + - &668 title: Private User description: Private User type: object @@ -107096,7 +108400,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *663 + - *667 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -107256,7 +108560,7 @@ paths: description: Response content: application/json: - schema: *664 + schema: *668 examples: default: value: @@ -107459,9 +108763,9 @@ paths: type: integer codespaces: type: array - items: *241 + items: *248 examples: - default: *242 + default: *249 '304': *35 '500': *53 '401': *23 @@ -107600,17 +108904,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '401': *23 '403': *27 '404': *6 @@ -107654,7 +108958,7 @@ paths: type: integer secrets: type: array - items: &665 + items: &669 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -107696,7 +109000,7 @@ paths: - visibility - selected_repositories_url examples: - default: *453 + default: *459 headers: Link: *66 x-github: @@ -107774,7 +109078,7 @@ paths: description: Response content: application/json: - schema: *665 + schema: *669 examples: default: value: @@ -107920,7 +109224,7 @@ paths: type: array items: *153 examples: - default: *192 + default: *199 '401': *23 '403': *27 '404': *6 @@ -108064,15 +109368,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *243 + - *250 responses: '200': description: Response content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '304': *35 '500': *53 '401': *23 @@ -108098,7 +109402,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *243 + - *250 requestBody: required: false content: @@ -108128,9 +109432,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '401': *23 '403': *27 '404': *6 @@ -108152,7 +109456,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *243 + - *250 responses: '202': *37 '304': *35 @@ -108181,13 +109485,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *243 + - *250 responses: '202': description: Response content: application/json: - schema: &666 + schema: &670 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -108240,7 +109544,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &667 + default: &671 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -108272,7 +109576,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *243 + - *250 - name: export_id in: path required: true @@ -108285,9 +109589,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *670 examples: - default: *667 + default: *671 '404': *6 x-github: githubCloudOnly: false @@ -108308,7 +109612,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *243 + - *250 responses: '200': description: Response @@ -108324,9 +109628,9 @@ paths: type: integer machines: type: array - items: *452 + items: *458 examples: - default: *668 + default: *672 '304': *35 '500': *53 '401': *23 @@ -108355,7 +109659,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *243 + - *250 requestBody: required: true content: @@ -108411,11 +109715,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *334 + repository: *341 machine: anyOf: - type: 'null' - - *452 + - *458 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -109212,15 +110516,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *243 + - *250 responses: '200': description: Response content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '304': *35 '500': *53 '400': *14 @@ -109252,15 +110556,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *243 + - *250 responses: '200': description: Response content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '500': *53 '401': *23 '403': *27 @@ -109290,9 +110594,9 @@ paths: application/json: schema: type: array - items: *253 + items: *260 examples: - default: &679 + default: &683 value: - id: 197 name: hello_docker @@ -109393,7 +110697,7 @@ paths: application/json: schema: type: array - items: &669 + items: &673 title: Email description: Email type: object @@ -109463,9 +110767,9 @@ paths: application/json: schema: type: array - items: *669 + items: *673 examples: - default: &681 + default: &685 value: - email: octocat@github.com verified: true @@ -109542,7 +110846,7 @@ paths: application/json: schema: type: array - items: *669 + items: *673 examples: default: value: @@ -109800,7 +111104,7 @@ paths: application/json: schema: type: array - items: &670 + items: &674 title: GPG Key description: A unique encryption key type: object @@ -109945,7 +111249,7 @@ paths: - subkeys - revoked examples: - default: &698 + default: &702 value: - id: 3 name: Octocat's GPG Key @@ -110030,9 +111334,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *674 examples: - default: &671 + default: &675 value: id: 3 name: Octocat's GPG Key @@ -110089,7 +111393,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &672 + - &676 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -110101,9 +111405,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *674 examples: - default: *671 + default: *675 '404': *6 '304': *35 '403': *27 @@ -110126,7 +111430,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *672 + - *676 responses: '204': description: Response @@ -110405,12 +111709,12 @@ paths: application/json: schema: anyOf: - - *228 + - *235 - type: object properties: {} additionalProperties: false examples: - default: *229 + default: *236 '204': description: Response when there are no restrictions x-github: @@ -110434,7 +111738,7 @@ paths: required: true content: application/json: - schema: *526 + schema: *530 examples: default: value: @@ -110445,7 +111749,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *235 examples: default: value: @@ -110526,7 +111830,7 @@ paths: - closed - all default: open - - *239 + - *246 - name: sort description: What to sort results by. in: query @@ -110551,7 +111855,7 @@ paths: type: array items: *82 examples: - default: *240 + default: *247 headers: Link: *66 '404': *6 @@ -110584,7 +111888,7 @@ paths: application/json: schema: type: array - items: &673 + items: &677 title: Key description: Key type: object @@ -110687,9 +111991,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *677 examples: - default: &674 + default: &678 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110722,15 +112026,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *557 + - *561 responses: '200': description: Response content: application/json: - schema: *673 + schema: *677 examples: - default: *674 + default: *678 '404': *6 '304': *35 '403': *27 @@ -110753,7 +112057,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *557 + - *561 responses: '204': description: Response @@ -110786,7 +112090,7 @@ paths: application/json: schema: type: array - items: &675 + items: &679 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -110865,7 +112169,7 @@ paths: - account - plan examples: - default: &676 + default: &680 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -110927,9 +112231,9 @@ paths: application/json: schema: type: array - items: *675 + items: *679 examples: - default: *676 + default: *680 headers: Link: *66 '304': *35 @@ -110969,7 +112273,7 @@ paths: application/json: schema: type: array - items: *245 + items: *252 examples: default: value: @@ -111083,7 +112387,7 @@ paths: description: Response content: application/json: - schema: *245 + schema: *252 examples: default: value: @@ -111170,7 +112474,7 @@ paths: description: Response content: application/json: - schema: *245 + schema: *252 examples: default: value: @@ -111242,7 +112546,7 @@ paths: application/json: schema: type: array - items: *247 + items: *254 examples: default: value: @@ -111504,7 +112808,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *254 examples: default: value: @@ -111684,7 +112988,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *248 + - *255 - name: exclude in: query required: false @@ -111697,7 +113001,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *254 examples: default: value: @@ -111891,7 +113195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *248 + - *255 responses: '302': description: Response @@ -111917,7 +113221,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *248 + - *255 responses: '204': description: Response @@ -111946,8 +113250,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *248 - - *677 + - *255 + - *681 responses: '204': description: Response @@ -111971,7 +113275,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *248 + - *255 - *17 - *19 responses: @@ -111983,7 +113287,7 @@ paths: type: array items: *153 examples: - default: *259 + default: *266 headers: Link: *66 '404': *6 @@ -112062,7 +113366,7 @@ paths: - docker - nuget - container - - *678 + - *682 - *19 - *17 responses: @@ -112072,10 +113376,10 @@ paths: application/json: schema: type: array - items: *253 + items: *260 examples: - default: *679 - '400': *680 + default: *683 + '400': *684 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112095,16 +113399,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *255 - - *256 + - *262 + - *263 responses: '200': description: Response content: application/json: - schema: *253 + schema: *260 examples: - default: &699 + default: &703 value: id: 40201 name: octo-name @@ -112217,8 +113521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *255 - - *256 + - *262 + - *263 responses: '204': description: Response @@ -112248,8 +113552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *255 - - *256 + - *262 + - *263 - name: token description: package token schema: @@ -112281,8 +113585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *255 - - *256 + - *262 + - *263 - *19 - *17 - name: state @@ -112302,7 +113606,7 @@ paths: application/json: schema: type: array - items: *257 + items: *264 examples: default: value: @@ -112351,15 +113655,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *255 - - *256 - - *258 + - *262 + - *263 + - *265 responses: '200': description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -112395,9 +113699,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *255 - - *256 - - *258 + - *262 + - *263 + - *265 responses: '204': description: Response @@ -112427,9 +113731,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *255 - - *256 - - *258 + - *262 + - *263 + - *265 responses: '204': description: Response @@ -112466,9 +113770,9 @@ paths: application/json: schema: type: array - items: *669 + items: *673 examples: - default: *681 + default: *685 headers: Link: *66 '304': *35 @@ -112581,7 +113885,7 @@ paths: type: array items: *78 examples: - default: &688 + default: &692 summary: Default response value: - id: 1296269 @@ -112899,9 +114203,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: *336 + default: *343 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -112939,9 +114243,9 @@ paths: application/json: schema: type: array - items: *528 + items: *532 examples: - default: *682 + default: *686 headers: Link: *66 '304': *35 @@ -112964,7 +114268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *232 + - *239 responses: '204': description: Response @@ -112987,7 +114291,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *232 + - *239 responses: '204': description: Response @@ -113020,7 +114324,7 @@ paths: application/json: schema: type: array - items: &683 + items: &687 title: Social account description: Social media account type: object @@ -113037,7 +114341,7 @@ paths: - provider - url examples: - default: &684 + default: &688 value: - provider: twitter url: https://twitter.com/github @@ -113100,9 +114404,9 @@ paths: application/json: schema: type: array - items: *683 + items: *687 examples: - default: *684 + default: *688 '422': *15 '304': *35 '404': *6 @@ -113190,7 +114494,7 @@ paths: application/json: schema: type: array - items: &685 + items: &689 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -113210,7 +114514,7 @@ paths: - title - created_at examples: - default: &717 + default: &721 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -113275,9 +114579,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *689 examples: - default: &686 + default: &690 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -113307,7 +114611,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &687 + - &691 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -113319,9 +114623,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *689 examples: - default: *686 + default: *690 '404': *6 '304': *35 '403': *27 @@ -113344,7 +114648,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *687 + - *691 responses: '204': description: Response @@ -113373,7 +114677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &718 + - &722 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -113398,11 +114702,11 @@ paths: type: array items: *78 examples: - default-response: *688 + default-response: *692 application/vnd.github.v3.star+json: schema: type: array - items: &719 + items: &723 title: Starred Repository description: Starred Repository type: object @@ -113558,8 +114862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response if this repository is starred by you @@ -113587,8 +114891,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -113612,8 +114916,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -113648,7 +114952,7 @@ paths: type: array items: *153 examples: - default: *259 + default: *266 headers: Link: *66 '304': *35 @@ -113685,7 +114989,7 @@ paths: application/json: schema: type: array - items: *327 + items: *334 examples: default: value: @@ -113771,10 +115075,10 @@ paths: application/json: schema: oneOf: - - *664 - - *663 + - *668 + - *667 examples: - default-response: &692 + default-response: &696 summary: Default response value: login: octocat @@ -113809,7 +115113,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &693 + response-with-git-hub-plan-information: &697 summary: Response with GitHub plan information value: login: octocat @@ -113866,14 +115170,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &690 + - &694 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *271 + - *278 requestBody: required: true description: Details of the draft item to create in the project. @@ -113907,9 +115211,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *283 examples: - draft_issue: *277 + draft_issue: *284 '304': *35 '403': *27 '401': *23 @@ -113932,7 +115236,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *689 + - *693 - *17 responses: '200': @@ -113967,8 +115271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *690 - - *271 + - *694 + - *278 requestBody: required: true content: @@ -114042,17 +115346,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *691 + schema: *695 examples: table_view: summary: Response for creating a table view - value: *281 + value: *288 board_view: summary: Response for creating a board view with filter - value: *281 + value: *288 roadmap_view: summary: Response for creating a roadmap view - value: *281 + value: *288 '304': *35 '403': *27 '401': *23 @@ -114094,11 +115398,11 @@ paths: application/json: schema: oneOf: - - *664 - - *663 + - *668 + - *667 examples: - default-response: *692 - response-with-git-hub-plan-information: *693 + default-response: *696 + response-with-git-hub-plan-information: *697 '404': *6 x-github: githubCloudOnly: false @@ -114148,8 +115452,8 @@ paths: required: - subject_digests examples: - default: *694 - withPredicateType: *695 + default: *698 + withPredicateType: *699 responses: '200': description: Response @@ -114203,7 +115507,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *696 + default: *700 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114408,7 +115712,7 @@ paths: initiator: type: string examples: - default: *392 + default: *398 '201': description: Response content: @@ -114475,7 +115779,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *187 + items: *194 examples: default: summary: Example response for listing user copilot spaces @@ -114690,9 +115994,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *194 examples: - default: &697 + default: &701 summary: Example response for a user copilot space value: id: 42 @@ -114791,9 +116095,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *194 examples: - default: *697 + default: *701 '403': *27 '404': *6 x-github: @@ -114917,9 +116221,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *194 examples: - default: *697 + default: *701 '403': *27 '404': *6 '422': *15 @@ -114996,7 +116300,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *189 + items: *196 examples: default: value: @@ -115139,7 +116443,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *196 examples: default: value: @@ -115250,7 +116554,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *196 examples: default: value: @@ -115380,7 +116684,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *190 + items: *197 examples: default: value: @@ -115472,7 +116776,7 @@ paths: description: Resource created content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -115488,7 +116792,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -115541,7 +116845,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -115608,7 +116912,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -115685,9 +116989,9 @@ paths: application/json: schema: type: array - items: *253 + items: *260 examples: - default: *679 + default: *683 '403': *27 '401': *23 x-github: @@ -116071,9 +117375,9 @@ paths: application/json: schema: type: array - items: *670 + items: *674 examples: - default: *698 + default: *702 headers: Link: *66 x-github: @@ -116177,7 +117481,7 @@ paths: application/json: schema: *20 examples: - default: *525 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116302,7 +117606,7 @@ paths: - docker - nuget - container - - *678 + - *682 - *70 - *19 - *17 @@ -116313,12 +117617,12 @@ paths: application/json: schema: type: array - items: *253 + items: *260 examples: - default: *679 + default: *683 '403': *27 '401': *23 - '400': *680 + '400': *684 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116338,17 +117642,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *255 - - *256 + - *262 + - *263 - *70 responses: '200': description: Response content: application/json: - schema: *253 + schema: *260 examples: - default: *699 + default: *703 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116369,8 +117673,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *255 - - *256 + - *262 + - *263 - *70 responses: '204': @@ -116403,8 +117707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *255 - - *256 + - *262 + - *263 - *70 - name: token description: package token @@ -116437,8 +117741,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *255 - - *256 + - *262 + - *263 - *70 responses: '200': @@ -116447,7 +117751,7 @@ paths: application/json: schema: type: array - items: *257 + items: *264 examples: default: value: @@ -116505,16 +117809,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *255 - - *256 - - *258 + - *262 + - *263 + - *265 - *70 responses: '200': description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -116549,10 +117853,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *255 - - *256 + - *262 + - *263 - *70 - - *258 + - *265 responses: '204': description: Response @@ -116584,10 +117888,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *255 - - *256 + - *262 + - *263 - *70 - - *258 + - *265 responses: '204': description: Response @@ -116628,9 +117932,9 @@ paths: application/json: schema: type: array - items: *269 + items: *276 examples: - default: *270 + default: *277 headers: Link: *66 '304': *35 @@ -116652,16 +117956,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *271 + - *278 - *70 responses: '200': description: Response content: application/json: - schema: *269 + schema: *276 examples: - default: *270 + default: *277 headers: Link: *66 '304': *35 @@ -116683,7 +117987,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *271 + - *278 - *70 - *17 - *45 @@ -116695,9 +117999,9 @@ paths: application/json: schema: type: array - items: *274 + items: *281 examples: - default: *700 + default: *704 headers: Link: *66 '304': *35 @@ -116719,7 +118023,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - *70 - - *271 + - *278 requestBody: required: true content: @@ -116757,7 +118061,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *701 + items: *705 required: - name - data_type @@ -116773,7 +118077,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *702 + iteration_configuration: *706 required: - name - data_type @@ -116795,20 +118099,20 @@ paths: value: name: Due date data_type: date - single_select_field: *703 - iteration_field: *704 + single_select_field: *707 + iteration_field: *708 responses: '201': description: Response content: application/json: - schema: *274 + schema: *281 examples: - text_field: *705 - number_field: *706 - date_field: *707 - single_select_field: *708 - iteration_field: *709 + text_field: *709 + number_field: *710 + date_field: *711 + single_select_field: *712 + iteration_field: *713 '304': *35 '403': *27 '401': *23 @@ -116829,17 +118133,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *271 - - *710 + - *278 + - *714 - *70 responses: '200': description: Response content: application/json: - schema: *274 + schema: *281 examples: - default: *711 + default: *715 headers: Link: *66 '304': *35 @@ -116862,7 +118166,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *271 + - *278 - *70 - *45 - *46 @@ -116895,9 +118199,9 @@ paths: application/json: schema: type: array - items: *278 + items: *285 examples: - default: *279 + default: *286 headers: Link: *66 '304': *35 @@ -116919,7 +118223,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *70 - - *271 + - *278 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -116989,22 +118293,22 @@ paths: description: Response content: application/json: - schema: *276 + schema: *283 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *277 + value: *284 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *277 + value: *284 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *277 + value: *284 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *277 + value: *284 '304': *35 '403': *27 '401': *23 @@ -117024,9 +118328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *271 + - *278 - *70 - - *280 + - *287 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -117046,9 +118350,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *285 examples: - default: *279 + default: *286 headers: Link: *66 '304': *35 @@ -117069,9 +118373,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *271 + - *278 - *70 - - *280 + - *287 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -117144,13 +118448,13 @@ paths: description: Response content: application/json: - schema: *278 + schema: *285 examples: - text_field: *279 - number_field: *279 - date_field: *279 - single_select_field: *279 - iteration_field: *279 + text_field: *286 + number_field: *286 + date_field: *286 + single_select_field: *286 + iteration_field: *286 '401': *23 '403': *27 '404': *6 @@ -117170,9 +118474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *271 + - *278 - *70 - - *280 + - *287 responses: '204': description: Response @@ -117194,9 +118498,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *271 + - *278 - *70 - - *712 + - *716 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -117222,9 +118526,9 @@ paths: application/json: schema: type: array - items: *278 + items: *285 examples: - default: *279 + default: *286 headers: Link: *66 '304': *35 @@ -117445,7 +118749,7 @@ paths: type: array items: *153 examples: - default: *259 + default: *266 headers: Link: *66 x-github: @@ -117471,7 +118775,7 @@ paths: - *116 - *118 - *117 - - *713 + - *717 - *119 responses: '200': @@ -117602,7 +118906,7 @@ paths: parameters: - *70 - *116 - - *714 + - *718 - *117 responses: '200': @@ -117701,9 +119005,9 @@ paths: - *116 - *118 - *117 - - *715 + - *719 - *119 - - *716 + - *720 responses: '200': description: Response when getting a billing usage summary @@ -117837,9 +119141,9 @@ paths: application/json: schema: type: array - items: *683 + items: *687 examples: - default: *684 + default: *688 headers: Link: *66 x-github: @@ -117869,9 +119173,9 @@ paths: application/json: schema: type: array - items: *685 + items: *689 examples: - default: *717 + default: *721 headers: Link: *66 x-github: @@ -117896,7 +119200,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *70 - - *718 + - *722 - *60 - *17 - *19 @@ -117908,11 +119212,11 @@ paths: schema: anyOf: - type: array - items: *719 + items: *723 - type: array items: *78 examples: - default-response: *688 + default-response: *692 headers: Link: *66 x-github: @@ -117943,7 +119247,7 @@ paths: type: array items: *153 examples: - default: *259 + default: *266 headers: Link: *66 x-github: @@ -118072,7 +119376,7 @@ webhooks: type: string enum: - disabled - enterprise: &720 + enterprise: &724 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -118141,7 +119445,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &721 + installation: &725 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -118162,7 +119466,7 @@ webhooks: required: - id - node_id - organization: &722 + organization: &726 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -118235,7 +119539,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &723 + repository: &727 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -119161,10 +120465,10 @@ webhooks: type: string enum: - enabled - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -119240,11 +120544,11 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - rule: &724 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + rule: &728 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -119467,11 +120771,11 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - rule: *724 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + rule: *728 sender: *4 required: - action @@ -119659,11 +120963,11 @@ webhooks: - everyone required: - from - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - rule: *724 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + rule: *728 sender: *4 required: - action @@ -119747,7 +121051,7 @@ webhooks: type: string enum: - completed - check_run: &726 + check_run: &730 title: CheckRun description: A check performed on the code of a given code change type: object @@ -119857,7 +121161,7 @@ webhooks: - examples: - neutral - deployment: *725 + deployment: *729 details_url: type: string examples: @@ -119955,10 +121259,10 @@ webhooks: - output - app - pull_requests - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + installation: *725 + enterprise: *724 + organization: *726 + repository: *727 sender: *4 required: - check_run @@ -120349,11 +121653,11 @@ webhooks: type: string enum: - created - check_run: *726 - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + check_run: *730 + installation: *725 + enterprise: *724 + organization: *726 + repository: *727 sender: *4 required: - check_run @@ -120747,11 +122051,11 @@ webhooks: type: string enum: - requested_action - check_run: *726 - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + check_run: *730 + installation: *725 + enterprise: *724 + organization: *726 + repository: *727 requested_action: description: The action requested by the user. type: object @@ -121154,11 +122458,11 @@ webhooks: type: string enum: - rerequested - check_run: *726 - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + check_run: *730 + installation: *725 + enterprise: *724 + organization: *726 + repository: *727 sender: *4 required: - check_run @@ -122143,10 +123447,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -122850,10 +124154,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -123551,10 +124855,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -123723,7 +125027,7 @@ webhooks: required: - login - id - dismissed_comment: *423 + dismissed_comment: *429 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -123875,20 +125179,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &727 + commit_oid: &731 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *720 - installation: *721 - organization: *722 - ref: &728 + enterprise: *724 + installation: *725 + organization: *726 + ref: &732 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *723 + repository: *727 sender: *4 required: - action @@ -124055,7 +125359,7 @@ webhooks: required: - login - id - dismissed_comment: *423 + dismissed_comment: *429 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -124296,12 +125600,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *731 + enterprise: *724 + installation: *725 + organization: *726 + ref: *732 + repository: *727 sender: *4 required: - action @@ -124399,7 +125703,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *423 + dismissed_comment: *429 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -124584,12 +125888,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *731 + enterprise: *724 + installation: *725 + organization: *726 + ref: *732 + repository: *727 sender: *4 required: - action @@ -124758,7 +126062,7 @@ webhooks: required: - login - id - dismissed_comment: *423 + dismissed_comment: *429 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -124935,12 +126239,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *731 + enterprise: *724 + installation: *725 + organization: *726 + ref: *732 + repository: *727 sender: *4 required: - action @@ -125041,7 +126345,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *423 + dismissed_comment: *429 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -125230,9 +126534,9 @@ webhooks: type: - string - 'null' - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -125240,7 +126544,7 @@ webhooks: type: - string - 'null' - repository: *723 + repository: *727 sender: *4 required: - action @@ -125339,7 +126643,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *423 + dismissed_comment: *429 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -125486,12 +126790,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *731 + enterprise: *724 + installation: *725 + organization: *726 + ref: *732 + repository: *727 sender: *4 required: - action @@ -125660,7 +126964,7 @@ webhooks: required: - login - id - dismissed_comment: *423 + dismissed_comment: *429 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -125812,10 +127116,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -126075,10 +127379,10 @@ webhooks: - updated_at - author_association - body - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -126159,18 +127463,18 @@ webhooks: type: - string - 'null' - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *722 - pusher_type: &729 + organization: *726 + pusher_type: &733 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &730 + ref: &734 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -126180,7 +127484,7 @@ webhooks: enum: - tag - branch - repository: *723 + repository: *727 sender: *4 required: - ref @@ -126262,10 +127566,10 @@ webhooks: type: string enum: - created - definition: *282 - enterprise: *720 - installation: *721 - organization: *722 + definition: *289 + enterprise: *724 + installation: *725 + organization: *726 sender: *4 required: - action @@ -126350,9 +127654,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 sender: *4 required: - action @@ -126429,10 +127733,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *282 - enterprise: *720 - installation: *721 - organization: *722 + definition: *289 + enterprise: *724 + installation: *725 + organization: *726 sender: *4 required: - action @@ -126509,10 +127813,10 @@ webhooks: type: string enum: - updated - definition: *282 - enterprise: *720 - installation: *721 - organization: *722 + definition: *289 + enterprise: *724 + installation: *725 + organization: *726 sender: *4 required: - action @@ -126589,19 +127893,19 @@ webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - repository: *723 - organization: *722 + enterprise: *724 + installation: *725 + repository: *727 + organization: *726 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *286 + items: *293 old_property_values: type: array description: The old custom property values for the repository. - items: *286 + items: *293 required: - action - repository @@ -126677,18 +127981,18 @@ webhooks: title: delete event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - pusher_type: *729 - ref: *730 + enterprise: *724 + installation: *725 + organization: *726 + pusher_type: *733 + ref: *734 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *723 + repository: *727 sender: *4 required: - ref @@ -126768,11 +128072,11 @@ webhooks: type: string enum: - assignees_changed - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -126852,11 +128156,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -126937,11 +128241,11 @@ webhooks: type: string enum: - auto_reopened - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -127022,11 +128326,11 @@ webhooks: type: string enum: - created - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -127105,11 +128409,11 @@ webhooks: type: string enum: - dismissed - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -127188,11 +128492,11 @@ webhooks: type: string enum: - fixed - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -127272,11 +128576,11 @@ webhooks: type: string enum: - reintroduced - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -127355,11 +128659,11 @@ webhooks: type: string enum: - reopened - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -127436,9 +128740,9 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - key: &731 + enterprise: *724 + installation: *725 + key: &735 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -127476,8 +128780,8 @@ webhooks: - verified - created_at - read_only - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -127554,11 +128858,11 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - key: *731 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + key: *735 + organization: *726 + repository: *727 sender: *4 required: - action @@ -128125,12 +129429,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - workflow: &735 + workflow: &739 title: Workflow type: - object @@ -128881,13 +130185,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *490 + - *496 pull_requests: type: array - items: *575 - repository: *723 - organization: *722 - installation: *721 + items: *579 + repository: *727 + organization: *726 + installation: *725 sender: *4 responses: '200': @@ -128958,7 +130262,7 @@ webhooks: type: string enum: - approved - approver: &732 + approver: &736 type: object properties: avatar_url: @@ -129001,11 +130305,11 @@ webhooks: type: string comment: type: string - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - reviewers: &733 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + reviewers: &737 type: array items: type: object @@ -129086,7 +130390,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &734 + workflow_job_run: &738 type: object properties: conclusion: @@ -129832,18 +131136,18 @@ webhooks: type: string enum: - rejected - approver: *732 + approver: *736 comment: type: string - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - reviewers: *733 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + reviewers: *737 sender: *4 since: type: string - workflow_job_run: *734 + workflow_job_run: *738 workflow_job_runs: type: array items: @@ -130560,13 +131864,13 @@ webhooks: type: string enum: - requested - enterprise: *720 + enterprise: *724 environment: type: string - installation: *721 - organization: *722 - repository: *723 - requestor: &740 + installation: *725 + organization: *726 + repository: *727 + requestor: &744 title: User type: - object @@ -132499,12 +133803,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - workflow: *735 + workflow: *739 workflow_run: title: Deployment Workflow Run type: @@ -133195,7 +134499,7 @@ webhooks: type: string enum: - answered - answer: &738 + answer: &742 type: object properties: author_association: @@ -133355,11 +134659,11 @@ webhooks: - created_at - updated_at - body - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -133486,11 +134790,11 @@ webhooks: - from required: - category - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -133573,11 +134877,11 @@ webhooks: type: string enum: - closed - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -133659,7 +134963,7 @@ webhooks: type: string enum: - created - comment: &737 + comment: &741 type: object properties: author_association: @@ -133819,11 +135123,11 @@ webhooks: - updated_at - body - reactions - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -133906,12 +135210,12 @@ webhooks: type: string enum: - deleted - comment: *737 - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + comment: *741 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134006,12 +135310,12 @@ webhooks: - from required: - body - comment: *737 - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + comment: *741 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134095,11 +135399,11 @@ webhooks: type: string enum: - created - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134181,11 +135485,11 @@ webhooks: type: string enum: - deleted - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134285,11 +135589,11 @@ webhooks: type: string required: - from - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134371,10 +135675,10 @@ webhooks: type: string enum: - labeled - discussion: *736 - enterprise: *720 - installation: *721 - label: &739 + discussion: *740 + enterprise: *724 + installation: *725 + label: &743 title: Label type: object properties: @@ -134407,8 +135711,8 @@ webhooks: - color - default - description - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134491,11 +135795,11 @@ webhooks: type: string enum: - locked - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134577,11 +135881,11 @@ webhooks: type: string enum: - pinned - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134663,11 +135967,11 @@ webhooks: type: string enum: - reopened - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134752,16 +136056,16 @@ webhooks: changes: type: object properties: - new_discussion: *736 - new_repository: *723 + new_discussion: *740 + new_repository: *727 required: - new_discussion - new_repository - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134844,10 +136148,10 @@ webhooks: type: string enum: - unanswered - discussion: *736 - old_answer: *738 - organization: *722 - repository: *723 + discussion: *740 + old_answer: *742 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134929,12 +136233,12 @@ webhooks: type: string enum: - unlabeled - discussion: *736 - enterprise: *720 - installation: *721 - label: *739 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + label: *743 + organization: *726 + repository: *727 sender: *4 required: - action @@ -135017,11 +136321,11 @@ webhooks: type: string enum: - unlocked - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -135103,11 +136407,11 @@ webhooks: type: string enum: - unpinned - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -135180,7 +136484,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *720 + enterprise: *724 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -135858,9 +137162,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - forkee @@ -136006,9 +137310,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pages: description: The pages that were updated. type: array @@ -136046,7 +137350,7 @@ webhooks: - action - sha - html_url - repository: *723 + repository: *727 sender: *4 required: - pages @@ -136122,10 +137426,10 @@ webhooks: type: string enum: - created - enterprise: *720 + enterprise: *724 installation: *20 - organization: *722 - repositories: &741 + organization: *726 + repositories: &745 description: An array of repository objects that the installation can access. type: array @@ -136151,8 +137455,8 @@ webhooks: - name - full_name - private - repository: *723 - requester: *740 + repository: *727 + requester: *744 sender: *4 required: - action @@ -136227,11 +137531,11 @@ webhooks: type: string enum: - deleted - enterprise: *720 + enterprise: *724 installation: *20 - organization: *722 - repositories: *741 - repository: *723 + organization: *726 + repositories: *745 + repository: *727 requester: type: - 'null' @@ -136308,11 +137612,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *720 + enterprise: *724 installation: *20 - organization: *722 - repositories: *741 - repository: *723 + organization: *726 + repositories: *745 + repository: *727 requester: type: - 'null' @@ -136389,10 +137693,10 @@ webhooks: type: string enum: - added - enterprise: *720 + enterprise: *724 installation: *20 - organization: *722 - repositories_added: &742 + organization: *726 + repositories_added: &746 description: An array of repository objects, which were added to the installation. type: array @@ -136438,15 +137742,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *723 - repository_selection: &743 + repository: *727 + repository_selection: &747 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *740 + requester: *744 sender: *4 required: - action @@ -136525,10 +137829,10 @@ webhooks: type: string enum: - removed - enterprise: *720 + enterprise: *724 installation: *20 - organization: *722 - repositories_added: *742 + organization: *726 + repositories_added: *746 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -136555,9 +137859,9 @@ webhooks: - name - full_name - private - repository: *723 - repository_selection: *743 - requester: *740 + repository: *727 + repository_selection: *747 + requester: *744 sender: *4 required: - action @@ -136636,11 +137940,11 @@ webhooks: type: string enum: - suspend - enterprise: *720 + enterprise: *724 installation: *20 - organization: *722 - repositories: *741 - repository: *723 + organization: *726 + repositories: *745 + repository: *727 requester: type: - 'null' @@ -136822,10 +138126,10 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 target_type: type: string @@ -136904,11 +138208,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *720 + enterprise: *724 installation: *20 - organization: *722 - repositories: *741 - repository: *723 + organization: *726 + repositories: *745 + repository: *727 requester: type: - 'null' @@ -137074,7 +138378,7 @@ webhooks: pin: anyOf: - type: 'null' - - *554 + - *558 user: title: User type: @@ -137160,8 +138464,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -137973,8 +139277,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137991,7 +139295,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -138335,8 +139639,8 @@ webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -138416,7 +139720,7 @@ webhooks: type: string enum: - deleted - comment: &744 + comment: &748 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -138573,7 +139877,7 @@ webhooks: pin: anyOf: - type: 'null' - - *554 + - *558 required: - url - html_url @@ -138587,8 +139891,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -139396,8 +140700,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139414,7 +140718,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -139760,8 +141064,8 @@ webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -139841,7 +141145,7 @@ webhooks: type: string enum: - edited - changes: &768 + changes: &772 description: The changes to the comment. type: object properties: @@ -139853,9 +141157,9 @@ webhooks: type: string required: - from - comment: *744 - enterprise: *720 - installation: *721 + comment: *748 + enterprise: *724 + installation: *725 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -140666,8 +141970,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140684,7 +141988,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -141028,8 +142332,8 @@ webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -141110,9 +142414,9 @@ webhooks: type: string enum: - pinned - comment: *744 - enterprise: *720 - installation: *721 + comment: *748 + enterprise: *724 + installation: *725 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -141925,8 +143229,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141943,7 +143247,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -142289,8 +143593,8 @@ webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -142370,9 +143674,9 @@ webhooks: type: string enum: - unpinned - comment: *744 - enterprise: *720 - installation: *721 + comment: *748 + enterprise: *724 + installation: *725 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -143185,8 +144489,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143203,7 +144507,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -143549,8 +144853,8 @@ webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -143639,9 +144943,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -143730,9 +145034,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -143820,9 +145124,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -143911,9 +145215,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -143993,10 +145297,10 @@ webhooks: type: string enum: - assigned - assignee: *740 - enterprise: *720 - installation: *721 - issue: &745 + assignee: *744 + enterprise: *724 + installation: *725 + issue: &749 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -144807,11 +146111,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144828,7 +146132,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -144931,8 +146235,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -145012,8 +146316,8 @@ webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -145829,11 +147133,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145850,7 +147154,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -146096,8 +147400,8 @@ webhooks: required: - state - closed_at - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -146176,8 +147480,8 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -146984,11 +148288,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147005,7 +148309,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -147107,8 +148411,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -147187,8 +148491,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -148018,11 +149322,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148039,7 +149343,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -148120,7 +149424,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &746 + milestone: &750 title: Milestone description: A collection of related issues and pull requests. type: object @@ -148263,8 +149567,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -148363,8 +149667,8 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -149175,11 +150479,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149193,7 +150497,7 @@ webhooks: timeline_url: type: string format: uri - type: *236 + type: *243 title: description: Title of the issue type: string @@ -149299,9 +150603,9 @@ webhooks: - active_lock_reason - body - reactions - label: *739 - organization: *722 - repository: *723 + label: *743 + organization: *726 + repository: *727 sender: *4 required: - action @@ -149381,9 +150685,9 @@ webhooks: type: string enum: - field_added - enterprise: *720 - installation: *721 - issue: *745 + enterprise: *724 + installation: *725 + issue: *749 issue_field: type: object description: The issue field whose value was set or updated on the @@ -149502,8 +150806,8 @@ webhooks: - id required: - from - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -149583,9 +150887,9 @@ webhooks: type: string enum: - field_removed - enterprise: *720 - installation: *721 - issue: *745 + enterprise: *724 + installation: *725 + issue: *749 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -149648,8 +150952,8 @@ webhooks: - 'null' required: - id - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -149729,8 +151033,8 @@ webhooks: type: string enum: - labeled - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150540,11 +151844,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150558,7 +151862,7 @@ webhooks: timeline_url: type: string format: uri - type: *236 + type: *243 title: description: Title of the issue type: string @@ -150664,9 +151968,9 @@ webhooks: - active_lock_reason - body - reactions - label: *739 - organization: *722 - repository: *723 + label: *743 + organization: *726 + repository: *727 sender: *4 required: - action @@ -150746,8 +152050,8 @@ webhooks: type: string enum: - locked - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151582,11 +152886,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151600,7 +152904,7 @@ webhooks: timeline_url: type: string format: uri - type: *236 + type: *243 title: description: Title of the issue type: string @@ -151683,8 +152987,8 @@ webhooks: format: uri user_view_type: type: string - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -151763,8 +153067,8 @@ webhooks: type: string enum: - milestoned - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -152593,11 +153897,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152614,7 +153918,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -152694,9 +153998,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *746 - organization: *722 - repository: *723 + milestone: *750 + organization: *726 + repository: *727 sender: *4 required: - action @@ -153583,11 +154887,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153687,7 +154991,7 @@ webhooks: required: - login - id - type: *236 + type: *243 required: - id - number @@ -154179,8 +155483,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154987,11 +156291,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155008,7 +156312,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -155114,8 +156418,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -155195,9 +156499,9 @@ webhooks: type: string enum: - pinned - enterprise: *720 - installation: *721 - issue: &747 + enterprise: *724 + installation: *725 + issue: &751 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -156002,11 +157306,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156023,7 +157327,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -156125,8 +157429,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -156205,8 +157509,8 @@ webhooks: type: string enum: - reopened - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -157039,11 +158343,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157140,9 +158444,9 @@ webhooks: format: uri user_view_type: type: string - type: *236 - organization: *722 - repository: *723 + type: *243 + organization: *726 + repository: *727 sender: *4 required: - action @@ -158030,11 +159334,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158051,7 +159355,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -158644,11 +159948,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *720 - installation: *721 - issue: *747 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + issue: *751 + organization: *726 + repository: *727 sender: *4 required: - action @@ -158728,12 +160032,12 @@ webhooks: type: string enum: - typed - enterprise: *720 - installation: *721 - issue: *745 - type: *236 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + issue: *749 + type: *243 + organization: *726 + repository: *727 sender: *4 required: - action @@ -158814,7 +160118,7 @@ webhooks: type: string enum: - unassigned - assignee: &771 + assignee: &775 title: User type: - object @@ -158886,11 +160190,11 @@ webhooks: required: - login - id - enterprise: *720 - installation: *721 - issue: *745 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + issue: *749 + organization: *726 + repository: *727 sender: *4 required: - action @@ -158969,12 +160273,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *720 - installation: *721 - issue: *745 - label: *739 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + issue: *749 + label: *743 + organization: *726 + repository: *727 sender: *4 required: - action @@ -159054,8 +160358,8 @@ webhooks: type: string enum: - unlocked - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -159888,11 +161192,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159909,7 +161213,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -159989,8 +161293,8 @@ webhooks: format: uri user_view_type: type: string - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -160070,11 +161374,11 @@ webhooks: type: string enum: - unpinned - enterprise: *720 - installation: *721 - issue: *747 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + issue: *751 + organization: *726 + repository: *727 sender: *4 required: - action @@ -160153,12 +161457,12 @@ webhooks: type: string enum: - untyped - enterprise: *720 - installation: *721 - issue: *745 - type: *236 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + issue: *749 + type: *243 + organization: *726 + repository: *727 sender: *4 required: - action @@ -160238,11 +161542,11 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - label: *739 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + label: *743 + organization: *726 + repository: *727 sender: *4 required: - action @@ -160320,11 +161624,11 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - label: *739 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + label: *743 + organization: *726 + repository: *727 sender: *4 required: - action @@ -160434,11 +161738,11 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - label: *739 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + label: *743 + organization: *726 + repository: *727 sender: *4 required: - action @@ -160520,9 +161824,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: &748 + enterprise: *724 + installation: *725 + marketplace_purchase: &752 title: Marketplace Purchase type: object required: @@ -160610,8 +161914,8 @@ webhooks: type: integer unit_count: type: integer - organization: *722 - previous_marketplace_purchase: &749 + organization: *726 + previous_marketplace_purchase: &753 title: Marketplace Purchase type: object properties: @@ -160695,7 +161999,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *723 + repository: *727 sender: *4 required: - action @@ -160775,10 +162079,10 @@ webhooks: - changed effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: *748 - organization: *722 + enterprise: *724 + installation: *725 + marketplace_purchase: *752 + organization: *726 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -160866,7 +162170,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *723 + repository: *727 sender: *4 required: - action @@ -160948,10 +162252,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: *748 - organization: *722 + enterprise: *724 + installation: *725 + marketplace_purchase: *752 + organization: *726 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161037,7 +162341,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *723 + repository: *727 sender: *4 required: - action @@ -161118,8 +162422,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 marketplace_purchase: title: Marketplace Purchase type: object @@ -161205,9 +162509,9 @@ webhooks: type: integer unit_count: type: integer - organization: *722 - previous_marketplace_purchase: *749 - repository: *723 + organization: *726 + previous_marketplace_purchase: *753 + repository: *727 sender: *4 required: - action @@ -161287,12 +162591,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: *748 - organization: *722 - previous_marketplace_purchase: *749 - repository: *723 + enterprise: *724 + installation: *725 + marketplace_purchase: *752 + organization: *726 + previous_marketplace_purchase: *753 + repository: *727 sender: *4 required: - action @@ -161394,11 +162698,11 @@ webhooks: type: string required: - to - enterprise: *720 - installation: *721 - member: *740 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + member: *744 + organization: *726 + repository: *727 sender: *4 required: - action @@ -161500,11 +162804,11 @@ webhooks: type: - string - 'null' - enterprise: *720 - installation: *721 - member: *740 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + member: *744 + organization: *726 + repository: *727 sender: *4 required: - action @@ -161583,11 +162887,11 @@ webhooks: type: string enum: - removed - enterprise: *720 - installation: *721 - member: *740 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + member: *744 + organization: *726 + repository: *727 sender: *4 required: - action @@ -161665,11 +162969,11 @@ webhooks: type: string enum: - added - enterprise: *720 - installation: *721 - member: *740 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + member: *744 + organization: *726 + repository: *727 scope: description: The scope of the membership. Currently, can only be `team`. @@ -161747,7 +163051,7 @@ webhooks: required: - login - id - team: &750 + team: &754 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -161977,11 +163281,11 @@ webhooks: type: string enum: - removed - enterprise: *720 - installation: *721 - member: *740 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + member: *744 + organization: *726 + repository: *727 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162060,7 +163364,7 @@ webhooks: required: - login - id - team: *750 + team: *754 required: - action - scope @@ -162142,8 +163446,8 @@ webhooks: type: string enum: - checks_requested - installation: *721 - merge_group: &751 + installation: *725 + merge_group: &755 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -162162,15 +163466,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *412 + head_commit: *418 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -162256,10 +163560,10 @@ webhooks: - merged - invalidated - dequeued - installation: *721 - merge_group: *751 - organization: *722 - repository: *723 + installation: *725 + merge_group: *755 + organization: *726 + repository: *727 sender: *4 required: - action @@ -162332,7 +163636,7 @@ webhooks: type: string enum: - deleted - enterprise: *720 + enterprise: *724 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -162441,12 +163745,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *721 - organization: *722 + installation: *725 + organization: *726 repository: anyOf: - type: 'null' - - *723 + - *727 sender: *4 required: - action @@ -162526,11 +163830,11 @@ webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 - milestone: *746 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + milestone: *750 + organization: *726 + repository: *727 sender: *4 required: - action @@ -162609,9 +163913,9 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - milestone: &752 + enterprise: *724 + installation: *725 + milestone: &756 title: Milestone description: A collection of related issues and pull requests. type: object @@ -162753,8 +164057,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -162833,11 +164137,11 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - milestone: *746 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + milestone: *750 + organization: *726 + repository: *727 sender: *4 required: - action @@ -162947,11 +164251,11 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - milestone: *746 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + milestone: *750 + organization: *726 + repository: *727 sender: *4 required: - action @@ -163031,11 +164335,11 @@ webhooks: type: string enum: - opened - enterprise: *720 - installation: *721 - milestone: *752 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + milestone: *756 + organization: *726 + repository: *727 sender: *4 required: - action @@ -163114,11 +164418,11 @@ webhooks: type: string enum: - blocked - blocked_user: *740 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + blocked_user: *744 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -163197,11 +164501,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *740 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + blocked_user: *744 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -163280,9 +164584,9 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - membership: &753 + enterprise: *724 + installation: *725 + membership: &757 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -163392,8 +164696,8 @@ webhooks: - role - organization_url - user - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -163471,11 +164775,11 @@ webhooks: type: string enum: - member_added - enterprise: *720 - installation: *721 - membership: *753 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + membership: *757 + organization: *726 + repository: *727 sender: *4 required: - action @@ -163554,8 +164858,8 @@ webhooks: type: string enum: - member_invited - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -163677,10 +164981,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 - user: *740 + user: *744 required: - action - invitation @@ -163758,11 +165062,11 @@ webhooks: type: string enum: - member_removed - enterprise: *720 - installation: *721 - membership: *753 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + membership: *757 + organization: *726 + repository: *727 sender: *4 required: - action @@ -163849,11 +165153,11 @@ webhooks: properties: from: type: string - enterprise: *720 - installation: *721 - membership: *753 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + membership: *757 + organization: *726 + repository: *727 sender: *4 required: - action @@ -163930,9 +165234,9 @@ webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 package: description: Information about the package. type: object @@ -164455,7 +165759,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &754 + items: &758 title: Ruby Gems metadata type: object properties: @@ -164552,7 +165856,7 @@ webhooks: - owner - package_version - registry - repository: *723 + repository: *727 sender: *4 required: - action @@ -164628,9 +165932,9 @@ webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 package: description: Information about the package. type: object @@ -164992,7 +166296,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *754 + items: *758 source_url: type: string format: uri @@ -165063,7 +166367,7 @@ webhooks: - owner - package_version - registry - repository: *723 + repository: *727 sender: *4 required: - action @@ -165243,12 +166547,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *720 + enterprise: *724 id: type: integer - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - id @@ -165325,7 +166629,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &755 + personal_access_token_request: &759 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -165475,10 +166779,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *720 - organization: *722 + enterprise: *724 + organization: *726 sender: *4 - installation: *721 + installation: *725 required: - action - personal_access_token_request @@ -165555,11 +166859,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *755 - enterprise: *720 - organization: *722 + personal_access_token_request: *759 + enterprise: *724 + organization: *726 sender: *4 - installation: *721 + installation: *725 required: - action - personal_access_token_request @@ -165635,11 +166939,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *755 - enterprise: *720 - organization: *722 + personal_access_token_request: *759 + enterprise: *724 + organization: *726 sender: *4 - installation: *721 + installation: *725 required: - action - personal_access_token_request @@ -165714,11 +167018,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *755 - organization: *722 - enterprise: *720 + personal_access_token_request: *759 + organization: *726 + enterprise: *724 sender: *4 - installation: *721 + installation: *725 required: - action - personal_access_token_request @@ -165823,7 +167127,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *756 + last_response: *760 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -165855,8 +167159,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 zen: description: Random string of GitHub zen. @@ -166101,10 +167405,10 @@ webhooks: - from required: - note - enterprise: *720 - installation: *721 - organization: *722 - project_card: &757 + enterprise: *724 + installation: *725 + organization: *726 + project_card: &761 title: Project Card type: object properties: @@ -166227,7 +167531,7 @@ webhooks: - creator - created_at - updated_at - repository: *723 + repository: *727 sender: *4 required: - action @@ -166308,11 +167612,11 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - project_card: *757 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + project_card: *761 + repository: *727 sender: *4 required: - action @@ -166392,9 +167696,9 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 project_card: title: Project Card type: object @@ -166524,7 +167828,7 @@ webhooks: repository: anyOf: - type: 'null' - - *723 + - *727 sender: *4 required: - action @@ -166618,11 +167922,11 @@ webhooks: - from required: - note - enterprise: *720 - installation: *721 - organization: *722 - project_card: *757 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + project_card: *761 + repository: *727 sender: *4 required: - action @@ -166716,9 +168020,9 @@ webhooks: - from required: - column_id - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 project_card: allOf: - title: Project Card @@ -166915,7 +168219,7 @@ webhooks: type: string required: - after_id - repository: *723 + repository: *727 sender: *4 required: - action @@ -166995,10 +168299,10 @@ webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 - organization: *722 - project: &759 + enterprise: *724 + installation: *725 + organization: *726 + project: &763 title: Project type: object properties: @@ -167125,7 +168429,7 @@ webhooks: - creator - created_at - updated_at - repository: *723 + repository: *727 sender: *4 required: - action @@ -167205,10 +168509,10 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - project_column: &758 + enterprise: *724 + installation: *725 + organization: *726 + project_column: &762 title: Project Column type: object properties: @@ -167248,7 +168552,7 @@ webhooks: - name - created_at - updated_at - repository: *723 + repository: *727 sender: *4 required: - action @@ -167327,14 +168631,14 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - project_column: *758 + enterprise: *724 + installation: *725 + organization: *726 + project_column: *762 repository: anyOf: - type: 'null' - - *723 + - *727 sender: *4 required: - action @@ -167423,11 +168727,11 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - project_column: *758 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + project_column: *762 + repository: *727 sender: *4 required: - action @@ -167507,11 +168811,11 @@ webhooks: type: string enum: - moved - enterprise: *720 - installation: *721 - organization: *722 - project_column: *758 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + project_column: *762 + repository: *727 sender: *4 required: - action @@ -167591,11 +168895,11 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - project: *759 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + project: *763 + repository: *727 sender: *4 required: - action @@ -167675,14 +168979,14 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - project: *759 + enterprise: *724 + installation: *725 + organization: *726 + project: *763 repository: anyOf: - type: 'null' - - *723 + - *727 sender: *4 required: - action @@ -167783,11 +169087,11 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - project: *759 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + project: *763 + repository: *727 sender: *4 required: - action @@ -167866,11 +169170,11 @@ webhooks: type: string enum: - reopened - enterprise: *720 - installation: *721 - organization: *722 - project: *759 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + project: *763 + repository: *727 sender: *4 required: - action @@ -167951,9 +169255,9 @@ webhooks: type: string enum: - closed - installation: *721 - organization: *722 - projects_v2: *269 + installation: *725 + organization: *726 + projects_v2: *276 sender: *4 required: - action @@ -168034,9 +169338,9 @@ webhooks: type: string enum: - created - installation: *721 - organization: *722 - projects_v2: *269 + installation: *725 + organization: *726 + projects_v2: *276 sender: *4 required: - action @@ -168117,9 +169421,9 @@ webhooks: type: string enum: - deleted - installation: *721 - organization: *722 - projects_v2: *269 + installation: *725 + organization: *726 + projects_v2: *276 sender: *4 required: - action @@ -168240,9 +169544,9 @@ webhooks: type: string to: type: string - installation: *721 - organization: *722 - projects_v2: *269 + installation: *725 + organization: *726 + projects_v2: *276 sender: *4 required: - action @@ -168325,7 +169629,7 @@ webhooks: type: string enum: - archived - changes: &763 + changes: &767 type: object properties: archived_at: @@ -168341,9 +169645,9 @@ webhooks: - string - 'null' format: date-time - installation: *721 - organization: *722 - projects_v2_item: &760 + installation: *725 + organization: *726 + projects_v2_item: &764 title: Projects v2 Item description: An item belonging to a project type: object @@ -168361,7 +169665,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *275 + content_type: *282 creator: *4 created_at: type: string @@ -168483,9 +169787,9 @@ webhooks: - 'null' to: type: string - installation: *721 - organization: *722 - projects_v2_item: *760 + installation: *725 + organization: *726 + projects_v2_item: *764 sender: *4 required: - action @@ -168567,9 +169871,9 @@ webhooks: type: string enum: - created - installation: *721 - organization: *722 - projects_v2_item: *760 + installation: *725 + organization: *726 + projects_v2_item: *764 sender: *4 required: - action @@ -168650,9 +169954,9 @@ webhooks: type: string enum: - deleted - installation: *721 - organization: *722 - projects_v2_item: *760 + installation: *725 + organization: *726 + projects_v2_item: *764 sender: *4 required: - action @@ -168757,7 +170061,7 @@ webhooks: oneOf: - type: string - type: integer - - &761 + - &765 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -168781,7 +170085,7 @@ webhooks: required: - id - name - - &762 + - &766 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -168821,8 +170125,8 @@ webhooks: oneOf: - type: string - type: integer - - *761 - - *762 + - *765 + - *766 type: - 'null' - string @@ -168845,9 +170149,9 @@ webhooks: - 'null' required: - body - installation: *721 - organization: *722 - projects_v2_item: *760 + installation: *725 + organization: *726 + projects_v2_item: *764 sender: *4 required: - action @@ -168944,9 +170248,9 @@ webhooks: type: - string - 'null' - installation: *721 - organization: *722 - projects_v2_item: *760 + installation: *725 + organization: *726 + projects_v2_item: *764 sender: *4 required: - action @@ -169029,10 +170333,10 @@ webhooks: type: string enum: - restored - changes: *763 - installation: *721 - organization: *722 - projects_v2_item: *760 + changes: *767 + installation: *725 + organization: *726 + projects_v2_item: *764 sender: *4 required: - action @@ -169114,9 +170418,9 @@ webhooks: type: string enum: - reopened - installation: *721 - organization: *722 - projects_v2: *269 + installation: *725 + organization: *726 + projects_v2: *276 sender: *4 required: - action @@ -169197,9 +170501,9 @@ webhooks: type: string enum: - created - installation: *721 - organization: *722 - projects_v2_status_update: *764 + installation: *725 + organization: *726 + projects_v2_status_update: *768 sender: *4 required: - action @@ -169280,9 +170584,9 @@ webhooks: type: string enum: - deleted - installation: *721 - organization: *722 - projects_v2_status_update: *764 + installation: *725 + organization: *726 + projects_v2_status_update: *768 sender: *4 required: - action @@ -169428,9 +170732,9 @@ webhooks: - string - 'null' format: date - installation: *721 - organization: *722 - projects_v2_status_update: *764 + installation: *725 + organization: *726 + projects_v2_status_update: *768 sender: *4 required: - action @@ -169501,10 +170805,10 @@ webhooks: title: public event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - repository @@ -169581,13 +170885,13 @@ webhooks: type: string enum: - assigned - assignee: *740 - enterprise: *720 - installation: *721 - number: &765 + assignee: *744 + enterprise: *724 + installation: *725 + number: &769 description: The pull request number. type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -171958,7 +173262,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -172040,11 +173344,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -174408,7 +175712,7 @@ webhooks: - draft reason: type: string - repository: *723 + repository: *727 sender: *4 required: - action @@ -174490,11 +175794,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -176858,7 +178162,7 @@ webhooks: - draft reason: type: string - repository: *723 + repository: *727 sender: *4 required: - action @@ -176940,13 +178244,13 @@ webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 - number: *765 - organization: *722 - pull_request: &766 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 + pull_request: &770 allOf: - - *575 + - *579 - type: object properties: allow_auto_merge: @@ -177008,7 +178312,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *723 + repository: *727 sender: *4 required: - action @@ -177089,12 +178393,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *720 - installation: *721 - number: *765 - organization: *722 - pull_request: *766 - repository: *723 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 + pull_request: *770 + repository: *727 sender: *4 required: - action @@ -177174,11 +178478,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *720 - milestone: *272 - number: *765 - organization: *722 - pull_request: &767 + enterprise: *724 + milestone: *279 + number: *769 + organization: *726 + pull_request: &771 title: Pull Request type: object properties: @@ -179527,7 +180831,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -179606,11 +180910,11 @@ webhooks: type: string enum: - dequeued - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -181978,7 +183282,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *723 + repository: *727 sender: *4 required: - action @@ -182102,12 +183406,12 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - number: *765 - organization: *722 - pull_request: *766 - repository: *723 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 + pull_request: *770 + repository: *727 sender: *4 required: - action @@ -182187,11 +183491,11 @@ webhooks: type: string enum: - enqueued - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -184544,7 +185848,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -184624,11 +185928,11 @@ webhooks: type: string enum: - labeled - enterprise: *720 - installation: *721 - label: *739 - number: *765 - organization: *722 + enterprise: *724 + installation: *725 + label: *743 + number: *769 + organization: *726 pull_request: title: Pull Request type: object @@ -186998,7 +188302,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -187079,10 +188383,10 @@ webhooks: type: string enum: - locked - enterprise: *720 - installation: *721 - number: *765 - organization: *722 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 pull_request: title: Pull Request type: object @@ -189450,7 +190754,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -189530,12 +190834,12 @@ webhooks: type: string enum: - milestoned - enterprise: *720 - milestone: *272 - number: *765 - organization: *722 - pull_request: *767 - repository: *723 + enterprise: *724 + milestone: *279 + number: *769 + organization: *726 + pull_request: *771 + repository: *727 sender: *4 required: - action @@ -189614,12 +190918,12 @@ webhooks: type: string enum: - opened - enterprise: *720 - installation: *721 - number: *765 - organization: *722 - pull_request: *766 - repository: *723 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 + pull_request: *770 + repository: *727 sender: *4 required: - action @@ -189700,12 +191004,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *720 - installation: *721 - number: *765 - organization: *722 - pull_request: *766 - repository: *723 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 + pull_request: *770 + repository: *727 sender: *4 required: - action @@ -189785,12 +191089,12 @@ webhooks: type: string enum: - reopened - enterprise: *720 - installation: *721 - number: *765 - organization: *722 - pull_request: *766 - repository: *723 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 + pull_request: *770 + repository: *727 sender: *4 required: - action @@ -190165,9 +191469,9 @@ webhooks: - start_side - side - reactions - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pull_request: type: object properties: @@ -192419,7 +193723,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *723 + repository: *727 sender: *4 required: - action @@ -192499,7 +193803,7 @@ webhooks: type: string enum: - deleted - comment: &769 + comment: &773 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -192792,9 +194096,9 @@ webhooks: - start_side - side - reactions - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pull_request: type: object properties: @@ -195034,7 +196338,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *723 + repository: *727 sender: *4 required: - action @@ -195114,11 +196418,11 @@ webhooks: type: string enum: - edited - changes: *768 - comment: *769 - enterprise: *720 - installation: *721 - organization: *722 + changes: *772 + comment: *773 + enterprise: *724 + installation: *725 + organization: *726 pull_request: type: object properties: @@ -197361,7 +198665,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *723 + repository: *727 sender: *4 required: - action @@ -197442,9 +198746,9 @@ webhooks: type: string enum: - dismissed - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pull_request: title: Simple Pull Request type: object @@ -199699,7 +201003,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 + repository: *727 review: description: The review that was affected. type: object @@ -199950,9 +201254,9 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pull_request: title: Simple Pull Request type: object @@ -202066,8 +203370,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 - review: &770 + repository: *727 + review: &774 description: The review that was affected. type: object properties: @@ -202305,12 +203609,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: description: The pull request number. type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -204679,7 +205983,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 requested_reviewer: title: User type: @@ -204765,12 +206069,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: description: The pull request number. type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -207146,7 +208450,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 requested_team: title: Team description: Groups of organization members that gives permissions @@ -207341,12 +208645,12 @@ webhooks: type: string enum: - review_requested - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: description: The pull request number. type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -209717,7 +211021,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 requested_reviewer: title: User type: @@ -209804,12 +211108,12 @@ webhooks: type: string enum: - review_requested - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: description: The pull request number. type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -212171,7 +213475,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 requested_team: title: Team description: Groups of organization members that gives permissions @@ -212355,9 +213659,9 @@ webhooks: type: string enum: - submitted - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pull_request: title: Simple Pull Request type: object @@ -214615,8 +215919,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 - review: *770 + repository: *727 + review: *774 sender: *4 required: - action @@ -214696,9 +216000,9 @@ webhooks: type: string enum: - resolved - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pull_request: title: Simple Pull Request type: object @@ -216851,7 +218155,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 + repository: *727 sender: *4 thread: type: object @@ -217248,9 +218552,9 @@ webhooks: type: string enum: - unresolved - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pull_request: title: Simple Pull Request type: object @@ -219386,7 +220690,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 + repository: *727 sender: *4 thread: type: object @@ -219785,10 +221089,10 @@ webhooks: type: string before: type: string - enterprise: *720 - installation: *721 - number: *765 - organization: *722 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 pull_request: title: Pull Request type: object @@ -222145,7 +223449,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -222227,11 +223531,11 @@ webhooks: type: string enum: - unassigned - assignee: *771 - enterprise: *720 - installation: *721 - number: *765 - organization: *722 + assignee: *775 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 pull_request: title: Pull Request type: object @@ -224603,7 +225907,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -224682,11 +225986,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *720 - installation: *721 - label: *739 - number: *765 - organization: *722 + enterprise: *724 + installation: *725 + label: *743 + number: *769 + organization: *726 pull_request: title: Pull Request type: object @@ -227047,7 +228351,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -227128,10 +228432,10 @@ webhooks: type: string enum: - unlocked - enterprise: *720 - installation: *721 - number: *765 - organization: *722 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 pull_request: title: Pull Request type: object @@ -229482,7 +230786,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -229685,7 +230989,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *720 + enterprise: *724 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -229780,8 +231084,8 @@ webhooks: - url - author - committer - installation: *721 - organization: *722 + installation: *725 + organization: *726 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -230380,9 +231684,9 @@ webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 registry_package: type: object properties: @@ -230859,7 +232163,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *754 + items: *758 summary: type: string tag_name: @@ -230915,7 +232219,7 @@ webhooks: - owner - package_version - registry - repository: *723 + repository: *727 sender: *4 required: - action @@ -230993,9 +232297,9 @@ webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 registry_package: type: object properties: @@ -231307,7 +232611,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *754 + items: *758 summary: type: string tag_name: @@ -231357,7 +232661,7 @@ webhooks: - owner - package_version - registry - repository: *723 + repository: *727 sender: *4 required: - action @@ -231434,10 +232738,10 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - release: &772 + enterprise: *724 + installation: *725 + organization: *726 + release: &776 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -231768,7 +233072,7 @@ webhooks: - updated_at - zipball_url - body - repository: *723 + repository: *727 sender: *4 required: - action @@ -231845,11 +233149,11 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - release: *772 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + release: *776 + repository: *727 sender: *4 required: - action @@ -231966,11 +233270,11 @@ webhooks: type: boolean required: - to - enterprise: *720 - installation: *721 - organization: *722 - release: *772 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + release: *776 + repository: *727 sender: *4 required: - action @@ -232048,9 +233352,9 @@ webhooks: type: string enum: - prereleased - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -232386,7 +233690,7 @@ webhooks: - string - 'null' format: uri - repository: *723 + repository: *727 sender: *4 required: - action @@ -232462,10 +233766,10 @@ webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 - release: &773 + enterprise: *724 + installation: *725 + organization: *726 + release: &777 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -232798,7 +234102,7 @@ webhooks: - string - 'null' format: uri - repository: *723 + repository: *727 sender: *4 required: - action @@ -232874,11 +234178,11 @@ webhooks: type: string enum: - released - enterprise: *720 - installation: *721 - organization: *722 - release: *772 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + release: *776 + repository: *727 sender: *4 required: - action @@ -232954,11 +234258,11 @@ webhooks: type: string enum: - unpublished - enterprise: *720 - installation: *721 - organization: *722 - release: *773 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + release: *777 + repository: *727 sender: *4 required: - action @@ -233034,11 +234338,11 @@ webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_advisory: *643 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + repository_advisory: *647 sender: *4 required: - action @@ -233114,11 +234418,11 @@ webhooks: type: string enum: - reported - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_advisory: *643 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + repository_advisory: *647 sender: *4 required: - action @@ -233194,10 +234498,10 @@ webhooks: type: string enum: - archived - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -233274,10 +234578,10 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -233355,10 +234659,10 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -233443,10 +234747,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -233561,10 +234865,10 @@ webhooks: - 'null' items: type: string - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -233636,10 +234940,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 status: type: string @@ -233720,10 +235024,10 @@ webhooks: type: string enum: - privatized - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -233800,10 +235104,10 @@ webhooks: type: string enum: - publicized - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -233897,10 +235201,10 @@ webhooks: - name required: - repository - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -233980,11 +235284,11 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_ruleset: *314 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + repository_ruleset: *321 sender: *4 required: - action @@ -234062,11 +235366,11 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_ruleset: *314 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + repository_ruleset: *321 sender: *4 required: - action @@ -234144,11 +235448,11 @@ webhooks: type: string enum: - edited - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_ruleset: *314 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + repository_ruleset: *321 changes: type: object properties: @@ -234167,16 +235471,16 @@ webhooks: properties: added: type: array - items: *288 + items: *295 deleted: type: array - items: *288 + items: *295 updated: type: array items: type: object properties: - condition: *288 + condition: *295 changes: type: object properties: @@ -234209,16 +235513,16 @@ webhooks: properties: added: type: array - items: *595 + items: *599 deleted: type: array - items: *595 + items: *599 updated: type: array items: type: object properties: - rule: *595 + rule: *599 changes: type: object properties: @@ -234455,10 +235759,10 @@ webhooks: - from required: - owner - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -234536,10 +235840,10 @@ webhooks: type: string enum: - unarchived - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -234617,7 +235921,7 @@ webhooks: type: string enum: - create - alert: &774 + alert: &778 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -234742,10 +236046,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -234955,10 +236259,10 @@ webhooks: type: string enum: - dismissed - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -235036,11 +236340,11 @@ webhooks: type: string enum: - reopen - alert: *774 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *778 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -235242,10 +236546,10 @@ webhooks: enum: - fixed - open - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -235323,17 +236627,17 @@ webhooks: type: string enum: - assigned - alert: &775 + alert: &779 type: object properties: - number: *171 - created_at: *172 + number: *178 + created_at: *179 updated_at: anyOf: - type: 'null' - - *173 - url: *174 - html_url: *175 + - *180 + url: *181 + html_url: *182 locations_url: type: string format: uri @@ -235463,10 +236767,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -235544,11 +236848,11 @@ webhooks: type: string enum: - created - alert: *775 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *779 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -235629,11 +236933,11 @@ webhooks: type: string enum: - created - alert: *775 - installation: *721 - location: *776 - organization: *722 - repository: *723 + alert: *779 + installation: *725 + location: *780 + organization: *726 + repository: *727 sender: *4 required: - location @@ -235871,11 +237175,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *775 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *779 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -235953,11 +237257,11 @@ webhooks: type: string enum: - reopened - alert: *775 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *779 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -236035,11 +237339,11 @@ webhooks: type: string enum: - resolved - alert: *775 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *779 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -236117,12 +237421,12 @@ webhooks: type: string enum: - unassigned - alert: *775 + alert: *779 assignee: *4 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -236200,11 +237504,11 @@ webhooks: type: string enum: - validated - alert: *775 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *779 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -236334,10 +237638,10 @@ webhooks: - organization - enterprise - - repository: *723 - enterprise: *720 - installation: *721 - organization: *722 + repository: *727 + enterprise: *724 + installation: *725 + organization: *726 sender: *4 required: - action @@ -236415,11 +237719,11 @@ webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - security_advisory: &777 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + security_advisory: &781 description: The details of the security advisory, including summary, description, and severity. type: object @@ -236605,11 +237909,11 @@ webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - security_advisory: *777 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + security_advisory: *781 sender: *4 required: - action @@ -236682,10 +237986,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -236871,11 +238175,11 @@ webhooks: from: type: object properties: - security_and_analysis: *287 - enterprise: *720 - installation: *721 - organization: *722 - repository: *334 + security_and_analysis: *294 + enterprise: *724 + installation: *725 + organization: *726 + repository: *341 sender: *4 required: - changes @@ -236953,12 +238257,12 @@ webhooks: type: string enum: - cancelled - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - sponsorship: &778 + sponsorship: &782 type: object properties: created_at: @@ -237263,12 +238567,12 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - sponsorship: *778 + sponsorship: *782 required: - action - sponsorship @@ -237356,12 +238660,12 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - sponsorship: *778 + sponsorship: *782 required: - action - changes @@ -237438,17 +238742,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &779 + effective_date: &783 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - sponsorship: *778 + sponsorship: *782 required: - action - sponsorship @@ -237522,7 +238826,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &780 + changes: &784 type: object properties: tier: @@ -237566,13 +238870,13 @@ webhooks: - from required: - tier - effective_date: *779 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + effective_date: *783 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - sponsorship: *778 + sponsorship: *782 required: - action - changes @@ -237649,13 +238953,13 @@ webhooks: type: string enum: - tier_changed - changes: *780 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + changes: *784 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - sponsorship: *778 + sponsorship: *782 required: - action - changes @@ -237729,10 +239033,10 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -237816,10 +239120,10 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -238253,15 +239557,15 @@ webhooks: type: - string - 'null' - enterprise: *720 + enterprise: *724 id: description: The unique identifier of the status. type: integer - installation: *721 + installation: *725 name: type: string - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 sha: description: The Commit SHA. @@ -238377,17 +239681,16 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action - - parent_issue_id - - parent_issue - - parent_issue_repo - sub_issue_id - sub_issue + - repository + - sender responses: '200': description: Return a 200 status to indicate that the data was received @@ -238469,17 +239772,16 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action - - parent_issue_id - - parent_issue - - parent_issue_repo - sub_issue_id - sub_issue + - repository + - sender responses: '200': description: Return a 200 status to indicate that the data was received @@ -238561,17 +239863,16 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action - - sub_issue_id - - sub_issue - - sub_issue_repo - parent_issue_id - parent_issue + - repository + - sender responses: '200': description: Return a 200 status to indicate that the data was received @@ -238653,17 +239954,16 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action - - sub_issue_id - - sub_issue - - sub_issue_repo - parent_issue_id - parent_issue + - repository + - sender responses: '200': description: Return a 200 status to indicate that the data was received @@ -238732,12 +240032,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - team: &781 + team: &785 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -238967,9 +240267,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 repository: title: Repository description: A git repository @@ -239439,7 +240739,7 @@ webhooks: - topics - visibility sender: *4 - team: *781 + team: *785 required: - action - team @@ -239515,9 +240815,9 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 repository: title: Repository description: A git repository @@ -239987,7 +241287,7 @@ webhooks: - topics - visibility sender: *4 - team: *781 + team: *785 required: - action - team @@ -240064,9 +241364,9 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 repository: title: Repository description: A git repository @@ -240536,7 +241836,7 @@ webhooks: - topics - visibility sender: *4 - team: *781 + team: *785 required: - action - team @@ -240680,9 +241980,9 @@ webhooks: - from required: - permissions - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 repository: title: Repository description: A git repository @@ -241152,7 +242452,7 @@ webhooks: - topics - visibility sender: *4 - team: *781 + team: *785 required: - action - changes @@ -241230,9 +242530,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 repository: title: Repository description: A git repository @@ -241702,7 +243002,7 @@ webhooks: - topics - visibility sender: *4 - team: *781 + team: *785 required: - action - team @@ -241778,10 +243078,10 @@ webhooks: type: string enum: - started - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -241854,17 +243154,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *720 + enterprise: *724 inputs: type: - object - 'null' additionalProperties: true - installation: *721 - organization: *722 + installation: *725 + organization: *726 ref: type: string - repository: *723 + repository: *727 sender: *4 workflow: type: string @@ -241946,10 +243246,10 @@ webhooks: type: string enum: - completed - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 workflow_job: allOf: @@ -242205,7 +243505,7 @@ webhooks: type: string required: - conclusion - deployment: *490 + deployment: *496 required: - action - repository @@ -242284,10 +243584,10 @@ webhooks: type: string enum: - in_progress - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 workflow_job: allOf: @@ -242569,7 +243869,7 @@ webhooks: required: - status - steps - deployment: *490 + deployment: *496 required: - action - repository @@ -242648,10 +243948,10 @@ webhooks: type: string enum: - queued - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 workflow_job: type: object @@ -242797,7 +244097,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *490 + deployment: *496 required: - action - repository @@ -242876,10 +244176,10 @@ webhooks: type: string enum: - waiting - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 workflow_job: type: object @@ -243026,7 +244326,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *490 + deployment: *496 required: - action - repository @@ -243106,12 +244406,12 @@ webhooks: type: string enum: - completed - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - workflow: *735 + workflow: *739 workflow_run: title: Workflow Run type: object @@ -244130,12 +245430,12 @@ webhooks: type: string enum: - in_progress - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - workflow: *735 + workflow: *739 workflow_run: title: Workflow Run type: object @@ -245139,12 +246439,12 @@ webhooks: type: string enum: - requested - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - workflow: *735 + workflow: *739 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json index 15bf73a3b..6135bd7c7 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.json @@ -207,6 +207,10 @@ { "name": "agent-tasks", "description": "Endpoints to manage and interact with agent tasks." + }, + { + "name": "agents", + "description": "Endpoints for Agents secrets and variables." } ], "servers": [ @@ -31661,6 +31665,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -31804,6 +31819,14 @@ "null" ], "description": "The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/rest/scim#list-provisioned-scim-groups-for-an-enterprise)." + }, + "notification_setting": { + "type": "string", + "description": "The notification setting the team is set to. The options are:\n\n* `notifications_enabled` - team members receive notifications when the team is @mentioned.\n* `notifications_disabled` - no one receives notifications.\n\nDefault: `notifications_enabled`\n", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -31898,6 +31921,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -34324,249 +34358,279 @@ "updated_at": { "type": "string", "format": "date-time" - } - }, - "required": [ - "id", - "url", - "members_url", - "name", - "html_url", - "slug", - "created_at", - "updated_at", - "group_id" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "name": "Justice League", - "description": "A great team.", - "slug": "justice-league", - "url": "https://api.github.com/enterprises/dc/teams/justice-league", - "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", - "html_url": "https://github.com/enterprises/dc/teams/justice-league", - "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", - "created_at": "2019-01-26T19:01:12Z", - "updated_at": "2019-01-26T19:14:43Z" - } - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "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" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "enterprise-teams", - "subcategory": "enterprise-teams" - } - }, - "patch": { - "summary": "Update an enterprise team", - "description": "To edit a team, the authenticated user must be an enterprise owner.", - "tags": [ - "enterprise-teams" - ], - "operationId": "enterprise-teams/update", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ], - "description": "A new name for the team." - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "A new description for the team." - }, - "sync_to_organizations": { - "type": "string", - "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be changed.\n", - "enum": [ - "all", - "disabled" - ], - "default": "disabled" - }, - "organization_selection_type": { - "type": "string", - "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", - "enum": [ - "disabled", - "selected", - "all" - ], - "default": "disabled" - }, - "group_id": { - "type": [ - "string", - "null" - ], - "description": "The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group." - } - } - }, - "examples": { - "default": { - "value": { - "name": "Justice League", - "description": "A great team.", - "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Enterprise Team", - "description": "Group of enterprise owners and/or members", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" }, - "sync_to_organizations": { - "type": "string", - "description": "Retired: this field will not be returned with GHEC enterprise teams.", - "examples": [ - "disabled | all" - ] - }, - "organization_selection_type": { + "notification_setting": { "type": "string", - "examples": [ - "disabled | selected | all" - ] - }, - "group_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "62ab9291-fae2-468e-974b-7e45096d5021" - ] - }, - "group_name": { - "type": [ - "string", - "null" + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" ], - "description": "Retired: this field will not be returned with GHEC enterprise teams.", - "examples": [ - "Justice League" - ] - }, - "html_url": { - "type": "string", - "format": "uri", "examples": [ - "https://github.com/enterprises/dc/teams/justice-league" + "notifications_enabled" + ] + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "patch": { + "summary": "Update an enterprise team", + "description": "To edit a team, the authenticated user must be an enterprise owner.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/update", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ], + "description": "A new name for the team." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "A new description for the team." + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be changed.\n", + "enum": [ + "all", + "disabled" + ], + "default": "disabled" + }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, + "group_id": { + "type": [ + "string", + "null" + ], + "description": "The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group." + }, + "notification_setting": { + "type": "string", + "description": "The notification setting the team is set to. The options are:\n\n* `notifications_enabled` - team members receive notifications when the team is @mentioned.\n* `notifications_disabled` - no one receives notifications.\n", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] + } + } + }, + "examples": { + "default": { + "value": { + "name": "Justice League", + "description": "A great team.", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" ] - }, - "members_url": { - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" } }, "required": [ @@ -105990,6 +106054,3602 @@ } } }, + "/orgs/{org}/agents/secrets": { + "get": { + "summary": "List organization secrets", + "description": "Lists all secrets available in an organization without revealing their\nencrypted values.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-org-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-organization-secrets" + }, + "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/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/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", + "secrets" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "secrets": { + "type": "array", + "items": { + "title": "Actions Secret for an Organization", + "description": "Secrets for GitHub Actions for an organization.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "visibility": { + "description": "Visibility of a secret", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/org/secrets/my_secret/repositories" + ] + } + }, + "required": [ + "name", + "created_at", + "updated_at", + "visibility" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 3, + "secrets": [ + { + "name": "GIST_ID", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "private" + }, + { + "name": "DEPLOY_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "all" + }, + { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/public-key": { + "get": { + "summary": "Get an organization public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-public-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#get-an-organization-public-key" + }, + "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": { + "title": "ActionsPublicKey", + "description": "The public key used for setting Actions Secrets.", + "type": "object", + "properties": { + "key_id": { + "description": "The identifier for the key.", + "type": "string", + "examples": [ + "1234567" + ] + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "examples": [ + "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=" + ] + }, + "id": { + "type": "integer", + "examples": [ + 2 + ] + }, + "url": { + "type": "string", + "examples": [ + "https://api.github.com/user/keys/2" + ] + }, + "title": { + "type": "string", + "examples": [ + "ssh-rsa AAAAB3NzaC1yc2EAAA" + ] + }, + "created_at": { + "type": "string", + "examples": [ + "2011-01-26T19:01:12Z" + ] + } + }, + "required": [ + "key_id", + "key" + ] + }, + "examples": { + "default": { + "value": { + "key_id": "012345678912345678", + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}": { + "get": { + "summary": "Get an organization secret", + "description": "Gets a single organization secret without revealing its encrypted value.\n\nThe authenticated user must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#get-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Actions Secret for an Organization", + "description": "Secrets for GitHub Actions for an organization.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "visibility": { + "description": "Visibility of a secret", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/org/secrets/my_secret/repositories" + ] + } + }, + "required": [ + "name", + "created_at", + "updated_at", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "put": { + "summary": "Create or update an organization secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-or-update-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "encrypted_value": { + "type": "string", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/agents/secrets#get-an-organization-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "type": "string", + "description": "ID of the key you used to encrypt the secret." + }, + "visibility": { + "type": "string", + "description": "Which type of organization repositories have access to the organization secret. `selected` means only the repositories specified by `selected_repository_ids` can access the secret.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "encrypted_value", + "key_id", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response when creating a secret", + "content": { + "application/json": { + "schema": { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "examples": { + "default": { + "value": null + } + } + } + } + }, + "204": { + "description": "Response when updating a secret" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "delete": { + "summary": "Delete an organization secret", + "description": "Deletes a secret in an organization using the secret name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#delete-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}/repositories": { + "get": { + "summary": "List selected repositories for an organization secret", + "description": "Lists all repositories that have been selected when the `visibility`\nfor repository access to a secret is set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-selected-repos-for-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "title": "Minimal Repository", + "description": "Minimal Repository", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": [ + "string", + "null" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": [ + "string", + "null" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "has_pull_requests": { + "type": "boolean" + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "examples": [ + "admin" + ] + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "contributor_covenant" + ] + }, + "name": { + "type": "string", + "examples": [ + "Contributor Covenant" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/codes_of_conduct/contributor_covenant" + ] + }, + "body": { + "type": "string", + "examples": [ + "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + ] + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": [ + "object", + "null" + ], + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": [ + "string", + "null" + ] + }, + "node_id": { + "type": "string" + } + } + }, + "forks": { + "type": "integer", + "examples": [ + 0 + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 0 + ] + }, + "watchers": { + "type": "integer", + "examples": [ + 0 + ] + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "examples": [ + false + ] + }, + "security_and_analysis": { + "type": [ + "object", + "null" + ], + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_alert_dismissal": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass_options": { + "type": "object", + "properties": { + "reviewers": { + "type": "array", + "description": "The bypass reviewers for secret scanning delegated bypass", + "items": { + "type": "object", + "required": [ + "reviewer_id", + "reviewer_type" + ], + "properties": { + "reviewer_id": { + "type": "integer", + "description": "The ID of the team or role selected as a bypass reviewer" + }, + "reviewer_type": { + "type": "string", + "description": "The type of the bypass reviewer", + "enum": [ + "TEAM", + "ROLE" + ] + }, + "mode": { + "type": "string", + "description": "The bypass mode for the reviewer", + "enum": [ + "ALWAYS", + "EXEMPT" + ], + "default": "ALWAYS" + } + } + } + } + } + } + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + } + }, + "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" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "repositories": [ + { + "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}", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "put": { + "summary": "Set selected repositories for an organization secret", + "description": "Replaces all repositories for an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/set-selected-repos-for-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization secret](https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}": { + "put": { + "summary": "Add selected repository to an organization secret", + "description": "Adds a repository to an organization secret when the `visibility` for\nrepository access is set to `selected`. For more information about setting the visibility, see [Create or\nupdate an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/add-selected-repo-to-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "No Content when repository was added to the selected list" + }, + "409": { + "description": "Conflict when visibility type is not set to selected" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "delete": { + "summary": "Remove selected repository from an organization secret", + "description": "Removes a repository from an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/remove-selected-repo-from-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response when repository was removed from the selected list" + }, + "409": { + "description": "Conflict when visibility type not set to selected" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/variables": { + "get": { + "summary": "List organization variables", + "description": "Lists all agent variables available in an organization.\nReturned variables include their values.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-org-variables", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#list-organization-variables" + }, + "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 30). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 10 + } + }, + { + "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/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", + "variables" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "type": "array", + "items": { + "title": "Actions Variable for an Organization", + "description": "Organization variable for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "visibility": { + "description": "Visibility of a variable", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/org/variables/USERNAME/repositories" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at", + "visibility" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 3, + "variables": [ + { + "name": "USERNAME", + "value": "octocat", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "private" + }, + { + "name": "ACTIONS_RUNNER_DEBUG", + "value": true, + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "all" + }, + { + "name": "ADMIN_EMAIL", + "value": "octocat@github.com", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "post": { + "summary": "Create an organization variable", + "description": "Creates an organization agent variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#create-an-organization-variable" + }, + "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": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + }, + "visibility": { + "type": "string", + "description": "The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "name", + "value", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response when creating a variable", + "content": { + "application/json": { + "schema": { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "examples": { + "default": { + "value": null + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}": { + "get": { + "summary": "Get an organization variable", + "description": "Gets a specific agent variable in an organization.\n\nThe authenticated user must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#get-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Actions Variable for an Organization", + "description": "Organization variable for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "visibility": { + "description": "Visibility of a variable", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/org/variables/USERNAME/repositories" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "patch": { + "summary": "Update an organization variable", + "description": "Updates an organization agent variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/update-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#update-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + }, + "visibility": { + "type": "string", + "description": "The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Delete an organization variable", + "description": "Deletes an organization agent variable using the variable name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#delete-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}/repositories": { + "get": { + "summary": "List selected repositories for an organization variable", + "description": "Lists all repositories that can access an organization agent variable\nthat is available to selected repositories.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-selected-repos-for-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#list-selected-repositories-for-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "title": "Minimal Repository", + "description": "Minimal Repository", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": [ + "string", + "null" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": [ + "string", + "null" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "has_pull_requests": { + "type": "boolean" + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "examples": [ + "admin" + ] + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "contributor_covenant" + ] + }, + "name": { + "type": "string", + "examples": [ + "Contributor Covenant" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/codes_of_conduct/contributor_covenant" + ] + }, + "body": { + "type": "string", + "examples": [ + "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + ] + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": [ + "object", + "null" + ], + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": [ + "string", + "null" + ] + }, + "node_id": { + "type": "string" + } + } + }, + "forks": { + "type": "integer", + "examples": [ + 0 + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 0 + ] + }, + "watchers": { + "type": "integer", + "examples": [ + 0 + ] + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "examples": [ + false + ] + }, + "security_and_analysis": { + "type": [ + "object", + "null" + ], + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_alert_dismissal": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass_options": { + "type": "object", + "properties": { + "reviewers": { + "type": "array", + "description": "The bypass reviewers for secret scanning delegated bypass", + "items": { + "type": "object", + "required": [ + "reviewer_id", + "reviewer_type" + ], + "properties": { + "reviewer_id": { + "type": "integer", + "description": "The ID of the team or role selected as a bypass reviewer" + }, + "reviewer_type": { + "type": "string", + "description": "The type of the bypass reviewer", + "enum": [ + "TEAM", + "ROLE" + ] + }, + "mode": { + "type": "string", + "description": "The bypass mode for the reviewer", + "enum": [ + "ALWAYS", + "EXEMPT" + ], + "default": "ALWAYS" + } + } + } + } + } + } + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + } + }, + "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" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "repositories": [ + { + "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}", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" + } + ] + } + } + } + } + } + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "put": { + "summary": "Set selected repositories for an organization variable", + "description": "Replaces all repositories for an organization agent variable that is available\nto selected repositories. Organization variables that are available to selected\nrepositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/set-selected-repos-for-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#set-selected-repositories-for-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "The IDs of the repositories that can access the organization variable.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}/repositories/{repository_id}": { + "put": { + "summary": "Add selected repository to an organization variable", + "description": "Adds a repository to an organization agent variable that is available to selected repositories.\nOrganization variables that are available to selected repositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/add-selected-repo-to-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#add-selected-repository-to-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Remove selected repository from an organization variable", + "description": "Removes a repository from an organization agent variable that is\navailable to selected repositories. Organization variables that are available to\nselected repositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/remove-selected-repo-from-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#remove-selected-repository-from-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, "/orgs/{org}/artifacts/metadata/deployment-record": { "post": { "summary": "Create an artifact deployment record", @@ -131136,6 +134796,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -175472,6 +179143,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -296298,106 +299980,1784 @@ } }, { - "name": "workflow_id", + "name": "workflow_id", + "in": "path", + "description": "The ID of the workflow. You can also pass the workflow file name as a string.", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Workflow Usage", + "description": "Workflow Usage", + "type": "object", + "properties": { + "billable": { + "type": "object", + "properties": { + "UBUNTU": { + "type": "object", + "properties": { + "total_ms": { + "type": "integer" + } + } + }, + "MACOS": { + "type": "object", + "properties": { + "total_ms": { + "type": "integer" + } + } + }, + "WINDOWS": { + "type": "object", + "properties": { + "total_ms": { + "type": "integer" + } + } + } + } + } + }, + "required": [ + "billable" + ] + }, + "examples": { + "default": { + "value": { + "billable": { + "UBUNTU": { + "total_ms": 180000 + }, + "MACOS": { + "total_ms": 240000 + }, + "WINDOWS": { + "total_ms": 300000 + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/activity": { + "get": { + "summary": "List repository activities", + "description": "Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users.\n\nFor more information about viewing repository activity,\nsee \"[Viewing activity and data for your repository](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository).\"", + "tags": [ + "repos" + ], + "operationId": "repos/list-activities", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#list-repository-activities" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "ref", + "description": "The Git reference for the activities you want to list.\n\nThe `ref` for a branch can be formatted either as `refs/heads/BRANCH_NAME` or `BRANCH_NAME`, where `BRANCH_NAME` is the name of your branch.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "actor", + "description": "The GitHub username to use to filter by the actor who performed the activity.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "time_period", + "description": "The time period to filter by.\n\nFor example, `day` will filter for activity that occurred in the past 24 hours, and `week` will filter for activity that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "day", + "week", + "month", + "quarter", + "year" + ] + } + }, + { + "name": "activity_type", + "description": "The activity type to filter by.\n\nFor example, you can choose to filter by \"force_push\", to see all force pushes to the repository.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "push", + "force_push", + "branch_creation", + "branch_deletion", + "pr_merge", + "merge_queue_merge" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Activity", + "description": "Activity", + "type": "object", + "properties": { + "id": { + "type": "integer", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "before": { + "type": "string", + "description": "The SHA of the commit before the activity.", + "examples": [ + "6dcb09b5b57875f334f61aebed695e2e4193db5e" + ] + }, + "after": { + "type": "string", + "description": "The SHA of the commit after the activity.", + "examples": [ + "827efc6d56897b048c772eb4087f854f46256132" + ] + }, + "ref": { + "type": "string", + "description": "The full Git reference, formatted as `refs/heads/`.", + "examples": [ + "refs/heads/main" + ] + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The time when the activity occurred.", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "activity_type": { + "type": "string", + "enum": [ + "push", + "force_push", + "branch_deletion", + "branch_creation", + "pr_merge", + "merge_queue_merge" + ], + "description": "The type of the activity that was performed.", + "examples": [ + "force_push" + ] + }, + "actor": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "id", + "node_id", + "before", + "after", + "ref", + "timestamp", + "activity_type", + "actor" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "before": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "after": "827efc6d56897b048c772eb4087f854f46256132", + "ref": "refs/heads/main", + "pushed_at": "2011-01-26T19:06:43Z", + "push_type": "normal", + "pusher": { + "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 + } + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "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": "repos", + "subcategory": "repos" + } + } + }, + "/repos/{owner}/{repo}/agents/organization-secrets": { + "get": { + "summary": "List repository organization secrets", + "description": "Lists all organization secrets shared with a repository without revealing their encrypted\nvalues.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-organization-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "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/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/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", + "secrets" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "secrets": { + "type": "array", + "items": { + "title": "Actions Secret", + "description": "Set secrets for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "secrets": [ + { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + }, + { + "name": "GIST_ID", + "created_at": "2020-01-10T10:59:22Z", + "updated_at": "2020-01-11T11:59:22Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/agents/organization-variables": { + "get": { + "summary": "List repository organization variables", + "description": "Lists all organization variables shared with a repository.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-organization-variables", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#list-repository-organization-variables" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 30). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 10 + } + }, + { + "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/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", + "variables" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "type": "array", + "items": { + "title": "Actions Variable", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "variables": [ + { + "name": "USERNAME", + "value": "octocat", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + }, + { + "name": "EMAIL", + "value": "octocat@github.com", + "created_at": "2020-01-10T10:59:22Z", + "updated_at": "2020-01-11T11:59:22Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/repos/{owner}/{repo}/agents/secrets": { + "get": { + "summary": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted\nvalues.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-repository-secrets" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "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/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/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", + "secrets" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "secrets": { + "type": "array", + "items": { + "title": "Actions Secret", + "description": "Set secrets for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "secrets": [ + { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + }, + { + "name": "GIST_ID", + "created_at": "2020-01-10T10:59:22Z", + "updated_at": "2020-01-11T11:59:22Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/agents/secrets/public-key": { + "get": { + "summary": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.\n\nAnyone with read access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-repo-public-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#get-a-repository-public-key" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "ActionsPublicKey", + "description": "The public key used for setting Actions Secrets.", + "type": "object", + "properties": { + "key_id": { + "description": "The identifier for the key.", + "type": "string", + "examples": [ + "1234567" + ] + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "examples": [ + "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=" + ] + }, + "id": { + "type": "integer", + "examples": [ + 2 + ] + }, + "url": { + "type": "string", + "examples": [ + "https://api.github.com/user/keys/2" + ] + }, + "title": { + "type": "string", + "examples": [ + "ssh-rsa AAAAB3NzaC1yc2EAAA" + ] + }, + "created_at": { + "type": "string", + "examples": [ + "2011-01-26T19:01:12Z" + ] + } + }, + "required": [ + "key_id", + "key" + ] + }, + "examples": { + "default": { + "value": { + "key_id": "012345678912345678", + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/agents/secrets/{secret_name}": { + "get": { + "summary": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value.\n\nThe authenticated user must have collaborator access to the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-repo-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#get-a-repository-secret" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Actions Secret", + "description": "Set secrets for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "created_at", + "updated_at" + ] + }, + "examples": { + "default": { + "value": { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "put": { + "summary": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-or-update-repo-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "encrypted_value": { + "type": "string", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/rest/agents/secrets#get-a-repository-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "type": "string", + "description": "ID of the key you used to encrypt the secret." + } + }, + "required": [ + "encrypted_value", + "key_id" + ] + }, + "examples": { + "default": { + "value": { + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response when creating a secret", + "content": { + "application/json": { + "schema": { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "examples": { + "default": { + "value": null + } + } + } + } + }, + "204": { + "description": "Response when updating a secret" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "delete": { + "summary": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-repo-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#delete-a-repository-secret" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/agents/variables": { + "get": { + "summary": "List repository variables", + "description": "Lists all repository variables.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-variables", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#list-repository-variables" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 30). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 10 + } + }, + { + "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/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", + "variables" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "type": "array", + "items": { + "title": "Actions Variable", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "variables": [ + { + "name": "USERNAME", + "value": "octocat", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + }, + { + "name": "EMAIL", + "value": "octocat@github.com", + "created_at": "2020-01-10T10:59:22Z", + "updated_at": "2020-01-11T11:59:22Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "post": { + "summary": "Create a repository variable", + "description": "Creates a repository variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-repo-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#create-a-repository-variable" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + } + }, + "required": [ + "name", + "value" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "examples": { + "default": { + "value": null + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/repos/{owner}/{repo}/agents/variables/{name}": { + "get": { + "summary": "Get a repository variable", + "description": "Gets a specific variable in a repository.\n\nThe authenticated user must have collaborator access to the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-repo-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#get-a-repository-variable" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Actions Variable", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "created_at": "2021-08-10T14:59:22Z", + "updated_at": "2022-01-10T14:59:22Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "patch": { + "summary": "Update a repository variable", + "description": "Updates a repository variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/update-repo-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#update-a-repository-variable" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", "in": "path", - "description": "The ID of the workflow. You can also pass the workflow file name as a string.", "required": true, "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] + "type": "string" } } ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Workflow Usage", - "description": "Workflow Usage", - "type": "object", - "properties": { - "billable": { - "type": "object", - "properties": { - "UBUNTU": { - "type": "object", - "properties": { - "total_ms": { - "type": "integer" - } - } - }, - "MACOS": { - "type": "object", - "properties": { - "total_ms": { - "type": "integer" - } - } - }, - "WINDOWS": { - "type": "object", - "properties": { - "total_ms": { - "type": "integer" - } - } - } - } - } + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." }, - "required": [ - "billable" - ] - }, - "examples": { - "default": { - "value": { - "billable": { - "UBUNTU": { - "total_ms": 180000 - }, - "MACOS": { - "total_ms": 240000 - }, - "WINDOWS": { - "total_ms": 300000 - } - } - } + "value": { + "type": "string", + "description": "The value of the variable." + } + } + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat" } } } } } }, + "responses": { + "204": { + "description": "Response" + } + }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "actions", - "subcategory": "workflows" + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" } - } - }, - "/repos/{owner}/{repo}/activity": { - "get": { - "summary": "List repository activities", - "description": "Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users.\n\nFor more information about viewing repository activity,\nsee \"[Viewing activity and data for your repository](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository).\"", + }, + "delete": { + "summary": "Delete a repository variable", + "description": "Deletes a repository variable using the variable name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "repos" + "agents" ], - "operationId": "repos/list-activities", + "operationId": "agents/delete-repo-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/repos#list-repository-activities" + "url": "https://docs.github.com/rest/agents/variables#delete-a-repository-variable" }, "parameters": [ { @@ -296419,436 +301779,25 @@ } }, { - "name": "direction", - "description": "The direction to sort the results by.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ], - "default": "desc" - } - }, - { - "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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "ref", - "description": "The Git reference for the activities you want to list.\n\nThe `ref` for a branch can be formatted either as `refs/heads/BRANCH_NAME` or `BRANCH_NAME`, where `BRANCH_NAME` is the name of your branch.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "actor", - "description": "The GitHub username to use to filter by the actor who performed the activity.", - "in": "query", - "required": false, + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, "schema": { "type": "string" } - }, - { - "name": "time_period", - "description": "The time period to filter by.\n\nFor example, `day` will filter for activity that occurred in the past 24 hours, and `week` will filter for activity that occurred in the past 7 days (168 hours).", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "day", - "week", - "month", - "quarter", - "year" - ] - } - }, - { - "name": "activity_type", - "description": "The activity type to filter by.\n\nFor example, you can choose to filter by \"force_push\", to see all force pushes to the repository.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "push", - "force_push", - "branch_creation", - "branch_deletion", - "pr_merge", - "merge_queue_merge" - ] - } } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Activity", - "description": "Activity", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1296269 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "before": { - "type": "string", - "description": "The SHA of the commit before the activity.", - "examples": [ - "6dcb09b5b57875f334f61aebed695e2e4193db5e" - ] - }, - "after": { - "type": "string", - "description": "The SHA of the commit after the activity.", - "examples": [ - "827efc6d56897b048c772eb4087f854f46256132" - ] - }, - "ref": { - "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`.", - "examples": [ - "refs/heads/main" - ] - }, - "timestamp": { - "type": "string", - "format": "date-time", - "description": "The time when the activity occurred.", - "examples": [ - "2011-01-26T19:06:43Z" - ] - }, - "activity_type": { - "type": "string", - "enum": [ - "push", - "force_push", - "branch_deletion", - "branch_creation", - "pr_merge", - "merge_queue_merge" - ], - "description": "The type of the activity that was performed.", - "examples": [ - "force_push" - ] - }, - "actor": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } - }, - "required": [ - "id", - "node_id", - "before", - "after", - "ref", - "timestamp", - "activity_type", - "actor" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "before": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "after": "827efc6d56897b048c772eb4087f854f46256132", - "ref": "refs/heads/main", - "pushed_at": "2011-01-26T19:06:43Z", - "push_type": "normal", - "pusher": { - "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 - } - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "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" - } - } - } - } - } - } + "204": { + "description": "Response" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "repos" + "category": "agents", + "subcategory": "variables" } } }, @@ -1635473,11 +1640422,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] } } @@ -1645667,11 +1650615,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] } } @@ -1655861,11 +1660808,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] } } @@ -1666055,11 +1671001,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] } } diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml index 180c397f4..af8e52332 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2026-03-10.deref.yaml @@ -110,6 +110,8 @@ tags: description: Endpoints to manage Projects using the REST API. - name: agent-tasks description: Endpoints to manage and interact with agent tasks. +- name: agents + description: Endpoints for Agents secrets and variables. servers: - url: https://api.github.com externalDocs: @@ -881,7 +883,7 @@ paths: - subscriptions_url - type - url - type: &320 + type: &327 type: string description: The type of credit the user is receiving. enum: @@ -1046,7 +1048,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &645 + - &649 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4152,7 +4154,7 @@ paths: schema: type: integer default: 30 - - &210 + - &217 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -4161,7 +4163,7 @@ paths: required: false schema: type: string - - &211 + - &218 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4181,7 +4183,7 @@ paths: application/json: schema: type: array - items: &212 + items: &219 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4277,7 +4279,7 @@ paths: - installation_id - repository_id examples: - default: &213 + default: &220 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4412,7 +4414,7 @@ paths: description: Response content: application/json: - schema: &214 + schema: &221 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4547,7 +4549,7 @@ paths: - request - response examples: - default: &215 + default: &222 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -10809,7 +10811,7 @@ paths: description: Response content: application/json: - schema: &182 + schema: &189 type: array description: A list of default code security configurations items: @@ -10825,7 +10827,7 @@ paths: default configuration: *47 examples: - default: &183 + default: &190 value: - default_for_new_repos: public configuration: @@ -11287,7 +11289,7 @@ paths: default: value: default_for_new_repos: all - configuration: &181 + configuration: &188 value: id: 1325 target_type: organization @@ -11377,7 +11379,7 @@ paths: application/json: schema: type: array - items: &184 + items: &191 type: object description: Repositories associated with a code security configuration and attachment status @@ -11722,7 +11724,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &185 + repository: &192 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -12228,7 +12230,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *38 - - &193 + - &200 name: classification in: query description: |- @@ -12237,7 +12239,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &194 + - &201 name: state in: query description: |- @@ -12246,7 +12248,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &195 + - &202 name: severity in: query description: |- @@ -12255,7 +12257,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &196 + - &203 name: ecosystem in: query description: |- @@ -12264,14 +12266,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &197 + - &204 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 - - &198 + - &205 name: epss_percentage in: query description: |- @@ -12283,7 +12285,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &479 + - &485 name: has in: query description: |- @@ -12297,7 +12299,7 @@ paths: type: string enum: - patch - - &199 + - &206 name: assignee in: query description: |- @@ -12306,7 +12308,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &200 + - &207 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12316,7 +12318,7 @@ paths: enum: - development - runtime - - &201 + - &208 name: sort in: query description: |- @@ -12342,11 +12344,11 @@ paths: application/json: schema: type: array - items: &202 + items: &209 type: object description: A Dependabot alert. properties: - number: &171 + number: &178 type: integer description: The security alert number. readOnly: true @@ -12413,7 +12415,7 @@ paths: - transitive - inconclusive - - security_advisory: &480 + security_advisory: &486 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12604,29 +12606,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *64 - url: &174 + url: &181 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &175 + html_url: &182 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &172 + created_at: &179 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: &173 + updated_at: &180 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: &177 + dismissed_at: &184 type: - string - 'null' @@ -12657,7 +12659,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &176 + fixed_at: &183 type: - string - 'null' @@ -12665,7 +12667,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &481 + auto_dismissed_at: &487 type: - string - 'null' @@ -12673,7 +12675,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &482 + dismissal_request: &488 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -12736,7 +12738,7 @@ paths: - repository additionalProperties: false examples: - default: &203 + default: &210 value: - number: 2 state: dismissed @@ -13121,7 +13123,7 @@ paths: description: Response content: application/json: - schema: &204 + schema: &211 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -13147,7 +13149,7 @@ paths: - *65 additionalProperties: false examples: - default: &205 + default: &212 value: default_level: public accessible_repositories: @@ -13420,6 +13422,15 @@ paths: updated_at: type: string format: date-time + notification_setting: + type: string + description: Whether team members will receive notifications + when the team is mentioned. + enum: + - notifications_enabled + - notifications_disabled + examples: + - notifications_enabled required: - id - url @@ -13506,6 +13517,18 @@ paths: - 'null' description: The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/rest/scim#list-provisioned-scim-groups-for-an-enterprise). + notification_setting: + type: string + description: | + The notification setting the team is set to. The options are: + + * `notifications_enabled` - team members receive notifications when the team is @mentioned. + * `notifications_disabled` - no one receives notifications. + + Default: `notifications_enabled` + enum: + - notifications_enabled + - notifications_disabled required: - name examples: @@ -14188,6 +14211,16 @@ paths: description: The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group. + notification_setting: + type: string + description: | + The notification setting the team is set to. The options are: + + * `notifications_enabled` - team members receive notifications when the team is @mentioned. + * `notifications_disabled` - no one receives notifications. + enum: + - notifications_enabled + - notifications_disabled examples: default: value: @@ -14361,7 +14394,7 @@ paths: properties: action: type: string - discussion: &736 + discussion: &740 title: Discussion description: A Discussion in a repository. type: object @@ -14858,7 +14891,7 @@ paths: milestone: anyOf: - type: 'null' - - &272 + - &279 title: Milestone description: A collection of related issues and pull requests. @@ -15035,7 +15068,7 @@ paths: timeline_url: type: string format: uri - type: &236 + type: &243 title: Issue Type description: The type of issue. type: @@ -15146,7 +15179,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &656 + sub_issues_summary: &660 title: Sub-issues Summary type: object properties: @@ -15230,7 +15263,7 @@ paths: pin: anyOf: - type: 'null' - - &554 + - &558 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -15257,7 +15290,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &657 + issue_dependencies_summary: &661 title: Issue Dependencies Summary type: object properties: @@ -15276,7 +15309,7 @@ paths: - total_blocking issue_field_values: type: array - items: &538 + items: &542 title: Issue Field Value description: A value assigned to an issue field type: object @@ -16056,7 +16089,7 @@ paths: type: string release: allOf: - - &586 + - &590 title: Release description: A release. type: object @@ -16138,7 +16171,7 @@ paths: author: *4 assets: type: array - items: &587 + items: &591 title: Release Asset description: Data related to a release. type: object @@ -18394,7 +18427,7 @@ paths: - closed - all default: open - - &239 + - &246 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -18445,7 +18478,7 @@ paths: type: array items: *82 examples: - default: &240 + default: &247 value: - id: 1 node_id: MDU6SXNzdWUx @@ -19857,14 +19890,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &331 + - &338 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &332 + - &339 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -19926,7 +19959,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &335 + '301': &342 description: Moved permanently content: application/json: @@ -19948,7 +19981,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &562 + - &566 name: all description: If `true`, show notifications marked as read. in: query @@ -19956,7 +19989,7 @@ paths: schema: type: boolean default: false - - &563 + - &567 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -19966,7 +19999,7 @@ paths: type: boolean default: false - *87 - - &564 + - &568 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -20346,7 +20379,7 @@ paths: type: boolean examples: - false - security_and_analysis: &287 + security_and_analysis: &294 type: - object - 'null' @@ -20557,7 +20590,7 @@ paths: - url - subscription_url examples: - default: &565 + default: &569 value: - id: '1' repository: @@ -21861,7 +21894,7 @@ paths: required: false schema: type: string - - &713 + - &717 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -22007,7 +22040,7 @@ paths: parameters: - *74 - *116 - - &714 + - &718 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -22119,7 +22152,7 @@ paths: - *116 - *118 - *117 - - &715 + - &719 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -22127,7 +22160,7 @@ paths: schema: type: string - *119 - - &716 + - &720 name: sku description: The SKU to query for usage. in: query @@ -23096,7 +23129,7 @@ paths: type: integer repository_cache_usages: type: array - items: &342 + items: &349 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -24484,7 +24517,7 @@ paths: - all - local_only - selected - selected_actions_url: &348 + selected_actions_url: &354 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` @@ -24567,7 +24600,7 @@ paths: description: Response content: application/json: - schema: &352 + schema: &358 type: object properties: days: @@ -24609,7 +24642,7 @@ paths: required: true content: application/json: - schema: &353 + schema: &359 type: object properties: days: @@ -24666,7 +24699,7 @@ paths: required: - approval_policy examples: - default: &354 + default: &360 value: approval_policy: first_time_contributors '404': *6 @@ -24725,7 +24758,7 @@ paths: description: Response content: application/json: - schema: &355 + schema: &361 type: object required: - run_workflows_from_fork_pull_requests @@ -24779,7 +24812,7 @@ paths: required: true content: application/json: - schema: &356 + schema: &362 type: object required: - run_workflows_from_fork_pull_requests @@ -25414,7 +25447,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &363 type: object properties: default_workflow_permissions: &146 @@ -25465,7 +25498,7 @@ paths: required: false content: application/json: - schema: &358 + schema: &364 type: object properties: default_workflow_permissions: *146 @@ -25958,7 +25991,7 @@ paths: type: array items: *153 examples: - default: &192 + default: &199 value: total_count: 1 repositories: @@ -26605,7 +26638,7 @@ paths: application/json: schema: type: array - items: &359 + items: &365 title: Runner Application description: Runner Application type: object @@ -26630,7 +26663,7 @@ paths: - download_url - filename examples: - default: &360 + default: &366 value: - os: osx architecture: x64 @@ -26716,7 +26749,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &361 + '201': &367 description: Response content: application/json: @@ -26831,7 +26864,7 @@ paths: - token - expires_at examples: - default: &362 + default: &368 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -26870,7 +26903,7 @@ paths: application/json: schema: *157 examples: - default: &363 + default: &369 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -26904,7 +26937,7 @@ paths: application/json: schema: *155 examples: - default: &364 + default: &370 value: id: 23 name: MBP @@ -27130,7 +27163,7 @@ paths: - *74 - *154 responses: - '200': &365 + '200': &371 description: Response content: application/json: @@ -27187,7 +27220,7 @@ paths: parameters: - *74 - *154 - - &366 + - &372 name: name description: The name of a self-hosted runner's custom label. in: path @@ -27272,7 +27305,7 @@ paths: - updated_at - visibility examples: - default: + default: &166 value: total_count: 3 secrets: @@ -27319,7 +27352,7 @@ paths: description: Response content: application/json: - schema: &378 + schema: &167 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -27354,7 +27387,7 @@ paths: - key_id - key examples: - default: &379 + default: &168 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27394,7 +27427,7 @@ paths: application/json: schema: *160 examples: - default: + default: &169 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27554,97 +27587,966 @@ paths: type: array items: *153 examples: - default: &165 - value: - total_count: 1 - repositories: - - 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} - hooks_url: http://api.github.com/repos/octocat/Hello-World/hooks + default: &165 + value: + total_count: 1 + repositories: + - 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} + hooks_url: http://api.github.com/repos/octocat/Hello-World/hooks + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: secrets + put: + summary: Set selected repositories for an organization secret + description: |- + Replaces all repositories for an organization secret when the `visibility` + for repository access is set to `selected`. The visibility is set when you [Create + or update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/set-selected-repos-for-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret + parameters: + - *74 + - *161 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + secret. You can only provide a list of repository ids when the + `visibility` is set to `selected`. You can add and remove individual + repositories using the [Add selected repository to an organization + secret](https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret) + and [Remove selected repository from an organization secret](https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) + endpoints. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: secrets + "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}": + put: + summary: Add selected repository to an organization secret + description: |- + Adds a repository to an organization secret when the `visibility` for + repository access is set to `selected`. For more information about setting the visibility, see [Create or + update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/add-selected-repo-to-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret + parameters: + - *74 + - *161 + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: No Content when repository was added to the selected list + '409': + description: Conflict when visibility type is not set to selected + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: secrets + delete: + summary: Remove selected repository from an organization secret + description: |- + Removes a repository from an organization secret when the `visibility` + for repository access is set to `selected`. The visibility is set when you [Create + or update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/remove-selected-repo-from-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret + parameters: + - *74 + - *161 + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response when repository was removed from the selected list + '409': + description: Conflict when visibility type not set to selected + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: secrets + "/orgs/{org}/actions/variables": + get: + summary: List organization variables + description: |- + Lists all organization variables. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/list-org-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#list-organization-variables + parameters: + - *74 + - &170 + name: per_page + description: The number of results per page (max 30). For more information, + see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." + in: query + schema: + type: integer + default: 10 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: &163 + title: Actions Variable for an Organization + description: Organization variable for GitHub Actions. + type: object + properties: + name: + description: The name of the variable. + type: string + examples: + - USERNAME + value: + description: The value of the variable. + type: string + examples: + - octocat + created_at: + description: The date and time at which the variable was + created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + examples: + - '2019-01-24T22:45:36.000Z' + updated_at: + description: The date and time at which the variable was + last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + examples: + - '2019-01-24T22:45:36.000Z' + visibility: + description: Visibility of a variable + enum: + - all + - private + - selected + type: string + selected_repositories_url: + type: string + format: uri + examples: + - https://api.github.com/organizations/org/variables/USERNAME/repositories + required: + - name + - value + - created_at + - updated_at + - visibility + examples: + default: &171 + value: + total_count: 3 + variables: + - name: USERNAME + value: octocat + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: private + - name: ACTIONS_RUNNER_DEBUG + value: true + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: all + - name: ADMIN_EMAIL + value: octocat@github.com + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: selected + selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories + headers: + Link: *66 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + post: + summary: Create an organization variable + description: |- + Creates an organization variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/create-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#create-an-organization-variable + parameters: + - *74 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + visibility: + type: string + description: The type of repositories in the organization that can + access the variable. `selected` means only the repositories specified + by `selected_repository_ids` can access the variable. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + variable. You can only provide a list of repository ids when the + `visibility` is set to `selected`. + items: + type: integer + required: + - name + - value + - visibility + examples: + default: + value: + name: USERNAME + value: octocat + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: Response when creating a variable + content: + application/json: + schema: *162 + examples: + default: + value: + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + "/orgs/{org}/actions/variables/{name}": + get: + summary: Get an organization variable + description: |- + Gets a specific variable in an organization. + + The authenticated user must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/get-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#get-an-organization-variable + parameters: + - *74 + - &164 + name: name + description: The name of the variable. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *163 + examples: + default: &172 + value: + name: USERNAME + value: octocat + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: selected + selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + patch: + summary: Update an organization variable + description: |- + Updates an organization variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/update-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#update-an-organization-variable + parameters: + - *74 + - *164 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + visibility: + type: string + description: The type of repositories in the organization that can + access the variable. `selected` means only the repositories specified + by `selected_repository_ids` can access the variable. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + variable. You can only provide a list of repository ids when the + `visibility` is set to `selected`. + items: + type: integer + examples: + default: + value: + name: USERNAME + value: octocat + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + delete: + summary: Delete an organization variable + description: |- + Deletes an organization variable using the variable name. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable + parameters: + - *74 + - *164 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + "/orgs/{org}/actions/variables/{name}/repositories": + get: + summary: List selected repositories for an organization variable + description: |- + Lists all repositories that can access an organization variable + that is available to selected repositories. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/list-selected-repos-for-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable + parameters: + - *74 + - *164 + - *19 + - *17 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: *153 + examples: + default: *165 + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + put: + summary: Set selected repositories for an organization variable + description: |- + Replaces all repositories for an organization variable that is available + to selected repositories. Organization variables that are available to selected + repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/set-selected-repos-for-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable + parameters: + - *74 + - *164 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: The IDs of the repositories that can access the organization + variable. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + "/orgs/{org}/actions/variables/{name}/repositories/{repository_id}": + put: + summary: Add selected repository to an organization variable + description: |- + Adds a repository to an organization variable that is available to selected repositories. + Organization variables that are available to selected repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/add-selected-repo-to-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable + parameters: + - *74 + - *164 + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + delete: + summary: Remove selected repository from an organization variable + description: |- + Removes a repository from an organization variable that is + available to selected repositories. Organization variables that are available to + selected repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/remove-selected-repo-from-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable + parameters: + - *74 + - *164 + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + "/orgs/{org}/agents/secrets": + get: + summary: List organization secrets + description: |- + Lists all secrets available in an organization without revealing their + encrypted values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/list-org-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-organization-secrets + parameters: + - *74 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: *160 + examples: + default: *166 + headers: + Link: *66 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/public-key": + get: + summary: Get an organization public key + description: |- + Gets your public key, which you need to encrypt secrets. You need to + encrypt a secret before you can create or update secrets. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/get-org-public-key + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-an-organization-public-key + parameters: + - *74 + responses: + '200': + description: Response + content: + application/json: + schema: *167 + examples: + default: *168 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/{secret_name}": + get: + summary: Get an organization secret + description: |- + Gets a single organization secret without revealing its encrypted value. + + The authenticated user must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-an-organization-secret + parameters: + - *74 + - *161 + responses: + '200': + description: Response + content: + application/json: + schema: *160 + examples: + default: *169 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + put: + summary: Create or update an organization secret + description: |- + Creates or updates an organization secret with an encrypted value. Encrypt your secret using + [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-or-update-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret + parameters: + - *74 + - *161 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + encrypted_value: + type: string + description: Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) + using the public key retrieved from the [Get an organization public + key](https://docs.github.com/rest/agents/secrets#get-an-organization-public-key) + endpoint. + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + type: string + description: ID of the key you used to encrypt the secret. + visibility: + type: string + description: Which type of organization repositories have access + to the organization secret. `selected` means only the repositories + specified by `selected_repository_ids` can access the secret. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + secret. You can only provide a list of repository ids when the + `visibility` is set to `selected`. You can manage the list of + selected repositories using the [List selected repositories for + an organization secret](https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret), + [Set selected repositories for an organization secret](https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret), + and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) + endpoints. + items: + type: integer + required: + - encrypted_value + - key_id + - visibility + examples: + default: + value: + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: Response when creating a secret + content: + application/json: + schema: *162 + examples: + default: + value: + '204': + description: Response when updating a secret + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + delete: + summary: Delete an organization secret + description: |- + Deletes a secret in an organization using the secret name. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#delete-an-organization-secret + parameters: + - *74 + - *161 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/{secret_name}/repositories": + get: + summary: List selected repositories for an organization secret + description: |- + Lists all repositories that have been selected when the `visibility` + for repository access to a secret is set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/list-selected-repos-for-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret + parameters: + - *74 + - *161 + - *19 + - *17 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: *153 + examples: + default: *165 x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: secrets put: summary: Set selected repositories for an organization secret description: |- Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create - or update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret). + or update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret). Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/set-selected-repos-for-org-secret + - agents + operationId: agents/set-selected-repos-for-org-secret externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret + url: https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - *74 - *161 @@ -27661,8 +28563,8 @@ paths: secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization - secret](https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret) - and [Remove selected repository from an organization secret](https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) + secret](https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret) + and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) endpoints. items: type: integer @@ -27679,25 +28581,25 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: secrets - "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}": + "/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}": put: summary: Add selected repository to an organization secret description: |- Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. For more information about setting the visibility, see [Create or - update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret). + update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret). Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/add-selected-repo-to-org-secret + - agents + operationId: agents/add-selected-repo-to-org-secret externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret + url: https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - *74 - *161 @@ -27714,24 +28616,24 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: secrets delete: summary: Remove selected repository from an organization secret description: |- Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create - or update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret). + or update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret). Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/remove-selected-repo-from-org-secret + - agents + operationId: agents/remove-selected-repo-from-org-secret externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret + url: https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - *74 - *161 @@ -27748,33 +28650,27 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: secrets - "/orgs/{org}/actions/variables": + "/orgs/{org}/agents/variables": get: summary: List organization variables description: |- - Lists all organization variables. + Lists all agent variables available in an organization. + Returned variables include their values. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/list-org-variables + - agents + operationId: agents/list-org-variables externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#list-organization-variables + url: https://docs.github.com/rest/agents/variables#list-organization-variables parameters: - *74 - - &347 - name: per_page - description: The number of results per page (max 30). For more information, - see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 10 + - *170 - *19 responses: '200': @@ -27791,95 +28687,30 @@ paths: type: integer variables: type: array - items: &163 - title: Actions Variable for an Organization - description: Organization variable for GitHub Actions. - type: object - properties: - name: - description: The name of the variable. - type: string - examples: - - USERNAME - value: - description: The value of the variable. - type: string - examples: - - octocat - created_at: - description: The date and time at which the variable was - created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. - type: string - format: date-time - examples: - - '2019-01-24T22:45:36.000Z' - updated_at: - description: The date and time at which the variable was - last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. - type: string - format: date-time - examples: - - '2019-01-24T22:45:36.000Z' - visibility: - description: Visibility of a variable - enum: - - all - - private - - selected - type: string - selected_repositories_url: - type: string - format: uri - examples: - - https://api.github.com/organizations/org/variables/USERNAME/repositories - required: - - name - - value - - created_at - - updated_at - - visibility + items: *163 examples: - default: - value: - total_count: 3 - variables: - - name: USERNAME - value: octocat - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - visibility: private - - name: ACTIONS_RUNNER_DEBUG - value: true - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - visibility: all - - name: ADMIN_EMAIL - value: octocat@github.com - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - visibility: selected - selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories + default: *171 headers: Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables post: summary: Create an organization variable description: |- - Creates an organization variable that you can reference in a GitHub Actions workflow. + Creates an organization agent variable that you can reference in a GitHub Actions workflow. Authenticated users must have collaborator access to a repository to create, update, or read variables. - OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/create-org-variable + - agents + operationId: agents/create-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#create-an-organization-variable + url: https://docs.github.com/rest/agents/variables#create-an-organization-variable parameters: - *74 requestBody: @@ -27936,32 +28767,26 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables - "/orgs/{org}/actions/variables/{name}": + "/orgs/{org}/agents/variables/{name}": get: summary: Get an organization variable description: |- - Gets a specific variable in an organization. + Gets a specific agent variable in an organization. The authenticated user must have collaborator access to a repository to create, update, or read variables. - OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/get-org-variable + - agents + operationId: agents/get-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#get-an-organization-variable + url: https://docs.github.com/rest/agents/variables#get-an-organization-variable parameters: - *74 - - &164 - name: name - description: The name of the variable. - in: path - required: true - schema: - type: string + - *164 responses: '200': description: Response @@ -27969,33 +28794,26 @@ paths: application/json: schema: *163 examples: - default: - value: - name: USERNAME - value: octocat - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - visibility: selected - selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories + default: *172 x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables patch: summary: Update an organization variable description: |- - Updates an organization variable that you can reference in a GitHub Actions workflow. + Updates an organization agent variable that you can reference in a GitHub Actions workflow. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/update-org-variable + - agents + operationId: agents/update-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#update-an-organization-variable + url: https://docs.github.com/rest/agents/variables#update-an-organization-variable parameters: - *74 - *164 @@ -28043,22 +28861,22 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables delete: summary: Delete an organization variable description: |- - Deletes an organization variable using the variable name. + Deletes an organization agent variable using the variable name. Authenticated users must have collaborator access to a repository to create, update, or read variables. - OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/delete-org-variable + - agents + operationId: agents/delete-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable + url: https://docs.github.com/rest/agents/variables#delete-an-organization-variable parameters: - *74 - *164 @@ -28068,24 +28886,24 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables - "/orgs/{org}/actions/variables/{name}/repositories": + "/orgs/{org}/agents/variables/{name}/repositories": get: summary: List selected repositories for an organization variable description: |- - Lists all repositories that can access an organization variable + Lists all repositories that can access an organization agent variable that is available to selected repositories. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/list-selected-repos-for-org-variable + - agents + operationId: agents/list-selected-repos-for-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable + url: https://docs.github.com/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - *74 - *164 @@ -28115,12 +28933,12 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables put: summary: Set selected repositories for an organization variable description: |- - Replaces all repositories for an organization variable that is available + Replaces all repositories for an organization agent variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. @@ -28128,11 +28946,11 @@ paths: OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/set-selected-repos-for-org-variable + - agents + operationId: agents/set-selected-repos-for-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable + url: https://docs.github.com/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - *74 - *164 @@ -28165,24 +28983,24 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables - "/orgs/{org}/actions/variables/{name}/repositories/{repository_id}": + "/orgs/{org}/agents/variables/{name}/repositories/{repository_id}": put: summary: Add selected repository to an organization variable description: |- - Adds a repository to an organization variable that is available to selected repositories. + Adds a repository to an organization agent variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. - Authenticated users must have collaborator access to a repository to create, update, or read secrets. + Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/add-selected-repo-to-org-variable + - agents + operationId: agents/add-selected-repo-to-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable + url: https://docs.github.com/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - *74 - *164 @@ -28200,12 +29018,12 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables delete: summary: Remove selected repository from an organization variable description: |- - Removes a repository from an organization variable that is + Removes a repository from an organization agent variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. @@ -28213,11 +29031,11 @@ paths: OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/remove-selected-repo-from-org-variable + - agents + operationId: agents/remove-selected-repo-from-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable + url: https://docs.github.com/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - *74 - *164 @@ -28235,7 +29053,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables "/orgs/{org}/artifacts/metadata/deployment-record": post: @@ -28387,7 +29205,7 @@ paths: type: integer deployment_records: type: array - items: &166 + items: &173 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -28434,7 +29252,7 @@ paths: required: - total_count examples: - default: &167 + default: &174 value: total_count: 1 deployment_records: @@ -28614,11 +29432,11 @@ paths: type: integer deployment_records: type: array - items: *166 + items: *173 required: - total_count examples: - default: *167 + default: *174 '403': description: Forbidden content: @@ -28866,9 +29684,9 @@ paths: - 3 deployment_records: type: array - items: *166 + items: *173 examples: - default: *167 + default: *174 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28998,12 +29816,12 @@ paths: required: - subject_digests examples: - default: &694 + default: &698 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &695 + withPredicateType: &699 value: subject_digests: - sha256:abc123 @@ -29048,7 +29866,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &696 + default: &700 value: attestations_subject_digests: - sha256:abc: @@ -29381,7 +30199,7 @@ paths: initiator: type: string examples: - default: &392 + default: &398 value: attestations: - bundle: @@ -29600,7 +30418,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &168 + schema: &175 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -29626,7 +30444,7 @@ paths: application/json: schema: type: array - items: &169 + items: &176 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -29657,7 +30475,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &191 + items: &198 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -29734,7 +30552,7 @@ paths: parent: anyOf: - type: 'null' - - &251 + - &258 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -29870,7 +30688,7 @@ paths: - string - 'null' format: date-time - state: *168 + state: *175 contact_link: description: The contact link of the campaign. type: @@ -30093,9 +30911,9 @@ paths: description: Response content: application/json: - schema: *169 + schema: *176 examples: - default: &170 + default: &177 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -30178,9 +30996,9 @@ paths: description: Response content: application/json: - schema: *169 + schema: *176 examples: - default: *170 + default: *177 '404': *6 '422': description: Unprocessable Entity @@ -30258,7 +31076,7 @@ paths: - string - 'null' format: uri - state: *168 + state: *175 examples: default: value: @@ -30268,9 +31086,9 @@ paths: description: Response content: application/json: - schema: *169 + schema: *176 examples: - default: *170 + default: *177 '400': description: Bad Request content: @@ -30337,17 +31155,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *74 - - &416 + - &422 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`, but not both. in: query required: false - schema: &178 + schema: &185 type: string description: The name of the tool used to generate the code scanning analysis. - - &417 + - &423 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 @@ -30355,7 +31173,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &179 + schema: &186 type: - string - 'null' @@ -30371,7 +31189,7 @@ paths: be returned. in: query required: false - schema: &419 + schema: &425 type: string description: State of a code scanning alert. enum: @@ -30394,7 +31212,7 @@ paths: be returned. in: query required: false - schema: &420 + schema: &426 type: string description: Severity of a code scanning alert. enum: @@ -30423,18 +31241,18 @@ paths: items: type: object properties: - number: *171 - created_at: *172 - updated_at: *173 - url: *174 - html_url: *175 - instances_url: &421 + number: *178 + created_at: *179 + updated_at: *180 + url: *181 + html_url: *182 + instances_url: &427 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &180 + state: &187 type: - string - 'null' @@ -30444,13 +31262,13 @@ paths: - dismissed - fixed - - fixed_at: *176 + fixed_at: *183 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *177 - dismissed_reason: &422 + dismissed_at: *184 + dismissed_reason: &428 type: - string - 'null' @@ -30461,14 +31279,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &423 + dismissed_comment: &429 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &424 + rule: &430 type: object properties: id: @@ -30529,43 +31347,43 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &425 + tool: &431 type: object properties: - name: *178 + name: *185 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *179 - most_recent_instance: &426 + guid: *186 + most_recent_instance: &432 type: object properties: - ref: &418 + ref: &424 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &436 + analysis_key: &442 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &437 + environment: &443 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &438 + category: &444 type: string description: Identifies the configuration under which the 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: *180 + state: *187 commit_sha: type: string message: @@ -30579,7 +31397,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &439 + location: &445 type: object description: Describe a region within a file for the alert. properties: @@ -30600,7 +31418,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &440 + items: &446 type: - string - 'null' @@ -31238,7 +32056,7 @@ paths: application/json: schema: *47 examples: - default: *181 + default: *188 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31266,9 +32084,9 @@ paths: description: Response content: application/json: - schema: *182 + schema: *189 examples: - default: *183 + default: *190 '304': *35 '403': *27 '404': *6 @@ -31357,7 +32175,7 @@ paths: application/json: schema: *47 examples: - default: *181 + default: *188 '304': *35 '403': *27 '404': *6 @@ -31802,7 +32620,7 @@ paths: default: value: default_for_new_repos: all - configuration: *181 + configuration: *188 '403': *27 '404': *6 x-github: @@ -31855,13 +32673,13 @@ paths: application/json: schema: type: array - items: *184 + items: *191 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *185 + repository: *192 '403': *27 '404': *6 x-github: @@ -31901,7 +32719,7 @@ paths: type: integer codespaces: type: array - items: &241 + items: &248 type: object title: Codespace description: A codespace. @@ -31936,7 +32754,7 @@ paths: machine: anyOf: - type: 'null' - - &452 + - &458 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -32223,7 +33041,7 @@ paths: - pulls_url - recent_folders examples: - default: &242 + default: &249 value: total_count: 3 codespaces: @@ -32847,7 +33665,7 @@ paths: type: integer secrets: type: array - items: &186 + items: &193 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -32888,7 +33706,7 @@ paths: - updated_at - visibility examples: - default: &453 + default: &459 value: total_count: 2 secrets: @@ -32926,7 +33744,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &460 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -32961,7 +33779,7 @@ paths: - key_id - key examples: - default: &455 + default: &461 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32991,9 +33809,9 @@ paths: description: Response content: application/json: - schema: *186 + schema: *193 examples: - default: &457 + default: &463 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -33325,7 +34143,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &187 + items: &194 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -33720,9 +34538,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *194 examples: - default: &188 + default: &195 summary: Example response for an organization copilot space value: id: 84 @@ -33825,9 +34643,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *194 examples: - default: *188 + default: *195 '403': *27 '404': *6 x-github: @@ -33954,9 +34772,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *194 examples: - default: *188 + default: *195 '403': *27 '404': *6 '422': *15 @@ -34035,7 +34853,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &189 + items: &196 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -34258,7 +35076,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *196 examples: user: value: @@ -34386,7 +35204,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *196 examples: user: value: @@ -34533,7 +35351,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &190 + items: &197 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -34675,7 +35493,7 @@ paths: description: Resource created content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -34691,7 +35509,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -34744,7 +35562,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -34811,7 +35629,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -35051,7 +35869,7 @@ paths: currently being billed. seats: type: array - items: &244 + items: &251 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -35069,7 +35887,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *191 + - *198 - *67 type: - 'null' @@ -35687,7 +36505,7 @@ paths: - total_count - repositories examples: - default: *192 + default: *199 '500': *53 '401': *23 '403': *27 @@ -36022,7 +36840,7 @@ paths: application/json: schema: type: array - items: &324 + items: &331 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -36337,7 +37155,7 @@ paths: - date additionalProperties: true examples: - default: &325 + default: &332 value: - date: '2024-06-24' total_active_users: 24 @@ -36439,7 +37257,7 @@ paths: '500': *53 '403': *27 '404': *6 - '422': &326 + '422': &333 description: Copilot Usage Metrics API setting is disabled at the organization or enterprise level. content: @@ -36619,12 +37437,12 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *74 - - *193 - - *194 - - *195 - - *196 - - *197 - - *198 + - *200 + - *201 + - *202 + - *203 + - *204 + - *205 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -36654,7 +37472,7 @@ paths: enum: - patch - deployment - - *199 + - *206 - name: runtime_risk in: query description: |- @@ -36663,8 +37481,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *200 - - *201 + - *207 + - *208 - *60 - *45 - *46 @@ -36676,9 +37494,9 @@ paths: application/json: schema: type: array - items: *202 + items: *209 examples: - default: *203 + default: *210 '304': *35 '400': *14 '403': *27 @@ -36727,9 +37545,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *211 examples: - default: *205 + default: *212 '403': *27 '404': *6 x-github: @@ -36893,7 +37711,7 @@ paths: type: integer secrets: type: array - items: &206 + items: &213 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -36972,7 +37790,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &491 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -36991,7 +37809,7 @@ paths: - key_id - key examples: - default: &486 + default: &492 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37021,7 +37839,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *213 examples: default: value: @@ -37318,7 +38136,7 @@ paths: application/json: schema: type: array - items: &253 + items: &260 title: Package description: A software package type: object @@ -37389,7 +38207,7 @@ paths: - created_at - updated_at examples: - default: &254 + default: &261 value: - id: 197 name: hello_docker @@ -37559,7 +38377,7 @@ paths: application/json: schema: type: array - items: &230 + items: &237 title: Organization Invitation description: Organization Invitation type: object @@ -37613,7 +38431,7 @@ paths: - invitation_teams_url - node_id examples: - default: &231 + default: &238 value: - id: 1 login: monalisa @@ -37680,7 +38498,7 @@ paths: application/json: schema: type: array - items: &207 + items: &214 title: Org Hook description: Org Hook type: object @@ -37865,9 +38683,9 @@ paths: description: Response content: application/json: - schema: *207 + schema: *214 examples: - default: &208 + default: &215 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -37915,7 +38733,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *74 - - &209 + - &216 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -37928,9 +38746,9 @@ paths: description: Response content: application/json: - schema: *207 + schema: *214 examples: - default: *208 + default: *215 '404': *6 x-github: githubCloudOnly: false @@ -37958,7 +38776,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *74 - - *209 + - *216 requestBody: required: false content: @@ -38004,7 +38822,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *214 examples: default: value: @@ -38046,7 +38864,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *74 - - *209 + - *216 responses: '204': description: Response @@ -38074,7 +38892,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *74 - - *209 + - *216 responses: '200': description: Response @@ -38105,7 +38923,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *74 - - *209 + - *216 requestBody: required: false content: @@ -38156,10 +38974,10 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *74 - - *209 + - *216 - *17 - - *210 - - *211 + - *217 + - *218 responses: '200': description: Response @@ -38167,9 +38985,9 @@ paths: application/json: schema: type: array - items: *212 + items: *219 examples: - default: *213 + default: *220 '400': *14 '422': *15 x-github: @@ -38195,16 +39013,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *74 - - *209 + - *216 - *16 responses: '200': description: Response content: application/json: - schema: *214 + schema: *221 examples: - default: *215 + default: *222 '400': *14 '422': *15 x-github: @@ -38230,7 +39048,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *74 - - *209 + - *216 - *16 responses: '202': *37 @@ -38260,7 +39078,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *74 - - *209 + - *216 responses: '204': description: Response @@ -38283,7 +39101,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *74 - - &220 + - &227 name: actor_type in: path description: The type of the actor @@ -38296,14 +39114,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &221 + - &228 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &216 + - &223 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -38311,7 +39129,7 @@ paths: required: true schema: type: string - - &217 + - &224 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -38406,12 +39224,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *74 - - *216 - - *217 + - *223 + - *224 - *19 - *17 - *60 - - &226 + - &233 name: sort description: The property to sort the results by. in: query @@ -38490,14 +39308,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *74 - - *216 - - *217 + - *223 + - *224 responses: '200': description: Response content: application/json: - schema: &218 + schema: &225 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -38513,7 +39331,7 @@ paths: type: integer format: int64 examples: - default: &219 + default: &226 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -38534,23 +39352,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *74 - - &222 + - &229 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *216 - - *217 + - *223 + - *224 responses: '200': description: Response content: application/json: - schema: *218 + schema: *225 examples: - default: *219 + default: *226 x-github: enabledForGitHubApps: true category: orgs @@ -38569,18 +39387,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *74 - - *216 - - *217 - - *220 - - *221 + - *223 + - *224 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *218 + schema: *225 examples: - default: *219 + default: *226 x-github: enabledForGitHubApps: true category: orgs @@ -38598,9 +39416,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *74 - - *216 - - *217 - - &223 + - *223 + - *224 + - &230 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -38613,7 +39431,7 @@ paths: description: Response content: application/json: - schema: &224 + schema: &231 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -38629,7 +39447,7 @@ paths: type: integer format: int64 examples: - default: &225 + default: &232 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -38666,18 +39484,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *74 - - *222 - - *216 - - *217 + - *229 - *223 + - *224 + - *230 responses: '200': description: Response content: application/json: - schema: *224 + schema: *231 examples: - default: *225 + default: *232 x-github: enabledForGitHubApps: true category: orgs @@ -38695,19 +39513,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *74 - - *220 - - *221 - - *216 - - *217 + - *227 + - *228 - *223 + - *224 + - *230 responses: '200': description: Response content: application/json: - schema: *224 + schema: *231 examples: - default: *225 + default: *232 x-github: enabledForGitHubApps: true category: orgs @@ -38725,13 +39543,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *74 - - *222 - - *216 - - *217 + - *229 + - *223 + - *224 - *19 - *17 - *60 - - *226 + - *233 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -38815,7 +39633,7 @@ paths: application/json: schema: *20 examples: - default: &525 + default: &529 value: id: 1 account: @@ -38981,12 +39799,12 @@ paths: application/json: schema: anyOf: - - &228 + - &235 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &227 + limit: &234 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -39014,7 +39832,7 @@ paths: properties: {} additionalProperties: false examples: - default: &229 + default: &236 value: limit: collaborators_only origin: organization @@ -39043,13 +39861,13 @@ paths: required: true content: application/json: - schema: &526 + schema: &530 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *227 + limit: *234 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -39074,9 +39892,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *235 examples: - default: *229 + default: *236 '422': *15 x-github: githubCloudOnly: false @@ -39152,9 +39970,9 @@ paths: application/json: schema: type: array - items: *230 + items: *237 examples: - default: *231 + default: *238 headers: Link: *66 '404': *6 @@ -39231,7 +40049,7 @@ paths: description: Response content: application/json: - schema: *230 + schema: *237 examples: default: value: @@ -39286,7 +40104,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *74 - - &232 + - &239 name: invitation_id description: The unique identifier of the invitation. in: path @@ -39317,7 +40135,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *74 - - *232 + - *239 - *17 - *19 responses: @@ -39327,9 +40145,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - default: &252 + default: &259 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -39372,7 +40190,7 @@ paths: application/json: schema: type: array - items: &233 + items: &240 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -39615,9 +40433,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *240 examples: - default: &234 + default: &241 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -39673,7 +40491,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *74 - - &235 + - &242 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -39783,9 +40601,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *240 examples: - default: *234 + default: *241 '404': *6 '422': *7 x-github: @@ -39810,7 +40628,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *74 - - *235 + - *242 responses: '204': *59 '404': *6 @@ -39840,7 +40658,7 @@ paths: application/json: schema: type: array - items: *236 + items: *243 examples: default: value: @@ -39928,9 +40746,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *243 examples: - default: &237 + default: &244 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -39963,7 +40781,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *74 - - &238 + - &245 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -40019,9 +40837,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *243 examples: - default: *237 + default: *244 '404': *6 '422': *7 x-github: @@ -40046,7 +40864,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *74 - - *238 + - *245 responses: '204': description: Response @@ -40109,7 +40927,7 @@ paths: - closed - all default: open - - *239 + - *246 - name: type description: Can be the name of an issue type. in: query @@ -40140,7 +40958,7 @@ paths: type: array items: *82 examples: - default: *240 + default: *247 headers: Link: *66 '404': *6 @@ -40300,9 +41118,9 @@ paths: type: integer codespaces: type: array - items: *241 + items: *248 examples: - default: *242 + default: *249 '304': *35 '500': *53 '401': *23 @@ -40329,7 +41147,7 @@ paths: parameters: - *74 - *70 - - &243 + - &250 name: codespace_name in: path required: true @@ -40364,15 +41182,15 @@ paths: parameters: - *74 - *70 - - *243 + - *250 responses: '200': description: Response content: application/json: - schema: *241 + schema: *248 examples: - default: &451 + default: &457 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -40552,7 +41370,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *244 + schema: *251 examples: default: value: @@ -40628,7 +41446,7 @@ paths: description: Response content: application/json: - schema: &245 + schema: &252 title: Org Membership description: Org Membership type: object @@ -40697,7 +41515,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &246 + response-if-user-has-an-active-admin-membership-with-organization: &253 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -40798,9 +41616,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *252 examples: - response-if-user-already-had-membership-with-organization: *246 + response-if-user-already-had-membership-with-organization: *253 '422': *15 '403': *27 '451': *15 @@ -40873,7 +41691,7 @@ paths: application/json: schema: type: array - items: &247 + items: &254 title: Migration description: A migration. type: object @@ -41211,7 +42029,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *254 examples: default: value: @@ -41390,7 +42208,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *74 - - &248 + - &255 name: migration_id description: The unique identifier of the migration. in: path @@ -41418,7 +42236,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *247 + schema: *254 examples: default: value: @@ -41588,7 +42406,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *74 - - *248 + - *255 responses: '302': description: Response @@ -41610,7 +42428,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *74 - - *248 + - *255 responses: '204': description: Response @@ -41634,8 +42452,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *74 - - *248 - - &676 + - *255 + - &680 name: repo_name description: repo_name parameter in: path @@ -41663,7 +42481,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *74 - - *248 + - *255 - *17 - *19 responses: @@ -41717,7 +42535,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &250 + items: &257 title: Organization Role description: Organization roles type: object @@ -41894,7 +42712,7 @@ paths: parameters: - *74 - *76 - - &249 + - &256 name: role_id description: The unique identifier of the role. in: path @@ -41931,7 +42749,7 @@ paths: parameters: - *74 - *76 - - *249 + - *256 responses: '204': description: Response @@ -41984,7 +42802,7 @@ paths: parameters: - *74 - *70 - - *249 + - *256 responses: '204': description: Response @@ -42016,7 +42834,7 @@ paths: parameters: - *74 - *70 - - *249 + - *256 responses: '204': description: Response @@ -42045,13 +42863,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *74 - - *249 + - *256 responses: '200': description: Response content: application/json: - schema: *250 + schema: *257 examples: default: value: @@ -42102,7 +42920,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *74 - - *249 + - *256 - *17 - *19 responses: @@ -42181,7 +42999,7 @@ paths: parent: anyOf: - type: 'null' - - *251 + - *258 type: description: The ownership type of the team type: string @@ -42214,7 +43032,7 @@ paths: - type - parent examples: - default: *252 + default: *259 headers: Link: *66 '404': @@ -42244,7 +43062,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *74 - - *249 + - *256 - *17 - *19 responses: @@ -42273,7 +43091,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *251 + items: *258 name: type: - string @@ -42583,7 +43401,7 @@ paths: - nuget - container - *74 - - &677 + - &681 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -42619,12 +43437,12 @@ paths: application/json: schema: type: array - items: *253 + items: *260 examples: - default: *254 + default: *261 '403': *27 '401': *23 - '400': &679 + '400': &683 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -42646,7 +43464,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &255 + - &262 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -42664,7 +43482,7 @@ paths: - docker - nuget - container - - &256 + - &263 name: package_name description: The name of the package. in: path @@ -42677,7 +43495,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *260 examples: default: value: @@ -42729,8 +43547,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *255 - - *256 + - *262 + - *263 - *74 responses: '204': @@ -42763,8 +43581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *255 - - *256 + - *262 + - *263 - *74 - name: token description: package token @@ -42797,8 +43615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *255 - - *256 + - *262 + - *263 - *74 - *19 - *17 @@ -42819,7 +43637,7 @@ paths: application/json: schema: type: array - items: &257 + items: &264 title: Package Version description: A version of a software package type: object @@ -42954,10 +43772,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *255 - - *256 + - *262 + - *263 - *74 - - &258 + - &265 name: package_version_id description: Unique identifier of the package version. in: path @@ -42969,7 +43787,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -43005,10 +43823,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *255 - - *256 + - *262 + - *263 - *74 - - *258 + - *265 responses: '204': description: Response @@ -43040,10 +43858,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *255 - - *256 + - *262 + - *263 - *74 - - *258 + - *265 responses: '204': description: Response @@ -43073,7 +43891,7 @@ paths: - *74 - *17 - *19 - - &259 + - &266 name: sort description: The property by which to sort the results. in: query @@ -43084,7 +43902,7 @@ paths: - created_at default: created_at - *60 - - &260 + - &267 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -43096,7 +43914,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &261 + - &268 name: repository description: The name of the repository to use to filter the results. in: query @@ -43105,7 +43923,7 @@ paths: type: string examples: - Hello-World - - &262 + - &269 name: permission description: The permission to use to filter the results. in: query @@ -43114,7 +43932,7 @@ paths: type: string examples: - issues_read - - &263 + - &270 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -43124,7 +43942,7 @@ paths: schema: type: string format: date-time - - &264 + - &271 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -43134,7 +43952,7 @@ paths: schema: type: string format: date-time - - &265 + - &272 name: token_id description: The ID of the token in: query @@ -43453,7 +44271,7 @@ paths: type: array items: *153 examples: - default: &266 + default: &273 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43590,14 +44408,14 @@ paths: - *74 - *17 - *19 - - *259 + - *266 - *60 - - *260 - - *261 - - *262 - - *263 - - *264 - - *265 + - *267 + - *268 + - *269 + - *270 + - *271 + - *272 responses: '500': *53 '422': *15 @@ -43881,7 +44699,7 @@ paths: type: array items: *153 examples: - default: *266 + default: *273 headers: Link: *66 x-github: @@ -43923,7 +44741,7 @@ paths: type: integer configurations: type: array - items: &267 + items: &274 title: Organization private registry description: Private registry configuration for an organization type: object @@ -44440,7 +45258,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &268 + org-private-registry-with-selected-visibility: &275 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -44538,9 +45356,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *267 + schema: *274 examples: - default: *268 + default: *275 '404': *6 x-github: githubCloudOnly: false @@ -44792,7 +45610,7 @@ paths: application/json: schema: type: array - items: &269 + items: &276 title: Projects v2 Project description: A projects v2 project type: object @@ -44866,7 +45684,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &764 + - &768 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -44951,7 +45769,7 @@ paths: - deleted_at - deleted_by examples: - default: &270 + default: &277 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -45054,7 +45872,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &271 + - &278 name: project_number description: The project's number. in: path @@ -45067,9 +45885,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *276 examples: - default: *270 + default: *277 headers: Link: *66 '304': *35 @@ -45092,7 +45910,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *74 - - *271 + - *278 requestBody: required: true description: Details of the draft item to create in the project. @@ -45126,7 +45944,7 @@ paths: description: Response content: application/json: - schema: &276 + schema: &283 title: Projects v2 Item description: An item belonging to a project type: object @@ -45140,7 +45958,7 @@ paths: content: oneOf: - *82 - - &466 + - &472 title: Pull Request Simple description: Pull Request Simple type: object @@ -45260,7 +46078,7 @@ paths: milestone: anyOf: - type: 'null' - - *272 + - *279 active_lock_reason: type: - string @@ -45299,7 +46117,7 @@ paths: items: *4 requested_teams: type: array - items: *191 + items: *198 head: type: object properties: @@ -45343,7 +46161,7 @@ paths: _links: type: object properties: - comments: &273 + comments: &280 title: Link description: Hypermedia Link type: object @@ -45352,13 +46170,13 @@ paths: type: string required: - href - commits: *273 - statuses: *273 - html: *273 - issue: *273 - review_comments: *273 - review_comment: *273 - self: *273 + commits: *280 + statuses: *280 + html: *280 + issue: *280 + review_comments: *280 + review_comment: *280 + self: *280 required: - comments - commits @@ -45369,7 +46187,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: &572 + auto_merge: &576 title: Auto merge description: The status of auto merging a pull request. type: @@ -45469,7 +46287,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &275 + content_type: &282 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -45513,7 +46331,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &277 + draft_issue: &284 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -45587,7 +46405,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *271 + - *278 - *74 - *17 - *45 @@ -45599,7 +46417,7 @@ paths: application/json: schema: type: array - items: &274 + items: &281 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -45752,7 +46570,7 @@ paths: - updated_at - project_url examples: - default: &700 + default: &704 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -45882,7 +46700,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *271 + - *278 - *74 requestBody: required: true @@ -45929,7 +46747,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &701 + items: &705 type: object properties: name: @@ -45966,7 +46784,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &702 + iteration_configuration: &706 type: object description: The configuration for iteration fields. properties: @@ -46016,7 +46834,7 @@ paths: value: name: Due date data_type: date - single_select_field: &703 + single_select_field: &707 summary: Create a single select field value: name: Priority @@ -46043,7 +46861,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &704 + iteration_field: &708 summary: Create an iteration field value: name: Sprint @@ -46067,9 +46885,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *274 + schema: *281 examples: - text_field: &705 + text_field: &709 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -46078,7 +46896,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &706 + number_field: &710 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -46087,7 +46905,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &707 + date_field: &711 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -46096,7 +46914,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &708 + single_select_field: &712 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46130,7 +46948,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &709 + iteration_field: &713 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -46175,8 +46993,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *271 - - &710 + - *278 + - &714 name: field_id description: The unique identifier of the field. in: path @@ -46189,9 +47007,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *281 examples: - default: &711 + default: &715 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46247,7 +47065,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *271 + - *278 - *74 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -46280,7 +47098,7 @@ paths: application/json: schema: type: array - items: &278 + items: &285 title: Projects v2 Item description: An item belonging to a project type: object @@ -46297,7 +47115,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *275 + content_type: *282 content: type: - object @@ -46347,7 +47165,7 @@ paths: - updated_at - archived_at examples: - default: &279 + default: &286 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -47045,7 +47863,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *74 - - *271 + - *278 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -47115,22 +47933,22 @@ paths: description: Response content: application/json: - schema: *276 + schema: *283 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *277 + value: *284 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *277 + value: *284 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *277 + value: *284 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *277 + value: *284 '304': *35 '403': *27 '401': *23 @@ -47150,9 +47968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *271 + - *278 - *74 - - &280 + - &287 name: item_id description: The unique identifier of the project item. in: path @@ -47178,9 +47996,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *285 examples: - default: *279 + default: *286 headers: Link: *66 '304': *35 @@ -47201,9 +48019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *271 + - *278 - *74 - - *280 + - *287 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -47276,13 +48094,13 @@ paths: description: Response content: application/json: - schema: *278 + schema: *285 examples: - text_field: *279 - number_field: *279 - date_field: *279 - single_select_field: *279 - iteration_field: *279 + text_field: *286 + number_field: *286 + date_field: *286 + single_select_field: *286 + iteration_field: *286 '401': *23 '403': *27 '404': *6 @@ -47302,9 +48120,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *271 + - *278 - *74 - - *280 + - *287 responses: '204': description: Response @@ -47328,7 +48146,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *74 - - *271 + - *278 requestBody: required: true content: @@ -47402,7 +48220,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &691 + schema: &695 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -47506,7 +48324,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &281 + value: &288 value: id: 1 number: 1 @@ -47552,10 +48370,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *281 + value: *288 roadmap_view: summary: Response for creating a roadmap view - value: *281 + value: *288 '304': *35 '403': *27 '401': *23 @@ -47583,9 +48401,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *271 + - *278 - *74 - - &712 + - &716 name: view_number description: The number that identifies the project view. in: path @@ -47617,9 +48435,9 @@ paths: application/json: schema: type: array - items: *278 + items: *285 examples: - default: *279 + default: *286 headers: Link: *66 '304': *35 @@ -47652,7 +48470,7 @@ paths: application/json: schema: type: array - items: &282 + items: &289 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -47730,7 +48548,7 @@ paths: - property_name - value_type examples: - default: &283 + default: &290 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -47790,7 +48608,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *282 + items: *289 minItems: 1 maxItems: 100 required: @@ -47820,9 +48638,9 @@ paths: application/json: schema: type: array - items: *282 + items: *289 examples: - default: *283 + default: *290 '403': *27 '404': *6 x-github: @@ -47844,7 +48662,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *74 - - &284 + - &291 name: custom_property_name description: The custom property name in: path @@ -47856,9 +48674,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *289 examples: - default: &285 + default: &292 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -47893,7 +48711,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *74 - - *284 + - *291 requestBody: required: true content: @@ -47973,9 +48791,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *289 examples: - default: *285 + default: *292 '403': *27 '404': *6 x-github: @@ -47999,7 +48817,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *74 - - *284 + - *291 responses: '204': *59 '403': *27 @@ -48063,7 +48881,7 @@ paths: - octocat/Hello-World properties: type: array - items: &286 + items: &293 title: Custom Property Value description: Custom property name and associated value type: object @@ -48153,7 +48971,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *286 + items: *293 required: - repository_names - properties @@ -48345,7 +49163,7 @@ paths: type: array items: *153 examples: - default: *266 + default: *273 headers: Link: *66 x-github: @@ -48548,7 +49366,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &341 title: Full Repository description: Full Repository type: object @@ -49018,7 +49836,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &471 + code_of_conduct: &477 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -49048,7 +49866,7 @@ paths: - key - name - html_url - security_and_analysis: *287 + security_and_analysis: *294 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -49132,7 +49950,7 @@ paths: - network_count - subscribers_count examples: - default: &336 + default: &343 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -49653,7 +50471,7 @@ paths: - *74 - *17 - *19 - - &594 + - &598 name: targets description: | A comma-separated list of rule targets to filter by. @@ -49672,7 +50490,7 @@ paths: application/json: schema: type: array - items: &314 + items: &321 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -49707,7 +50525,7 @@ paths: source: type: string description: The name of the source - enforcement: &290 + enforcement: &297 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -49720,7 +50538,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &291 + items: &298 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -49791,7 +50609,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &288 + - &295 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -49815,7 +50633,7 @@ paths: match. items: type: string - - &292 + - &299 title: Organization ruleset conditions type: object description: |- @@ -49829,7 +50647,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *288 + - *295 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -49863,7 +50681,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *288 + - *295 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -49885,7 +50703,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *288 + - *295 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -49898,7 +50716,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &289 + items: &296 title: Repository ruleset property targeting definition type: object @@ -49931,7 +50749,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *289 + items: *296 required: - repository_property type: @@ -49939,12 +50757,12 @@ paths: - object rules: type: array - items: &595 + items: &599 title: Repository Rule type: object description: A repository rule. oneOf: - - &293 + - &300 title: creation description: Only allow users with bypass permission to create matching refs. @@ -49956,7 +50774,7 @@ paths: type: string enum: - creation - - &294 + - &301 title: update description: Only allow users with bypass permission to update matching refs. @@ -49977,7 +50795,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &295 + - &302 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -49989,7 +50807,7 @@ paths: type: string enum: - deletion - - &296 + - &303 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -50001,7 +50819,7 @@ paths: type: string enum: - required_linear_history - - &593 + - &597 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -50079,7 +50897,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &297 + - &304 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -50103,7 +50921,7 @@ paths: type: string required: - required_deployment_environments - - &298 + - &305 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -50115,7 +50933,7 @@ paths: type: string enum: - required_signatures - - &299 + - &306 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -50221,7 +51039,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &300 + - &307 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -50269,7 +51087,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &301 + - &308 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -50281,7 +51099,7 @@ paths: type: string enum: - non_fast_forward - - &302 + - &309 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -50318,7 +51136,7 @@ paths: required: - operator - pattern - - &303 + - &310 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -50355,7 +51173,7 @@ paths: required: - operator - pattern - - &304 + - &311 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -50392,7 +51210,7 @@ paths: required: - operator - pattern - - &305 + - &312 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -50429,7 +51247,7 @@ paths: required: - operator - pattern - - &306 + - &313 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -50466,7 +51284,7 @@ paths: required: - operator - pattern - - &307 + - &314 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -50491,7 +51309,7 @@ paths: type: string required: - restricted_file_paths - - &308 + - &315 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -50515,7 +51333,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &309 + - &316 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -50538,7 +51356,7 @@ paths: type: string required: - restricted_file_extensions - - &310 + - &317 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -50563,7 +51381,7 @@ paths: maximum: 100 required: - max_file_size - - &311 + - &318 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -50613,7 +51431,7 @@ paths: - repository_id required: - workflows - - &312 + - &319 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -50674,7 +51492,7 @@ paths: - tool required: - code_scanning_tools - - &313 + - &320 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -50773,27 +51591,20 @@ paths: - push - repository default: branch - enforcement: *290 + enforcement: *297 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *291 - conditions: *292 + items: *298 + conditions: *299 rules: type: array description: An array of rules within the ruleset. - items: &316 + items: &323 title: Repository Rule type: object description: A repository rule. oneOf: - - *293 - - *294 - - *295 - - *296 - - *297 - - *298 - - *299 - *300 - *301 - *302 @@ -50808,6 +51619,13 @@ paths: - *311 - *312 - *313 + - *314 + - *315 + - *316 + - *317 + - *318 + - *319 + - *320 required: - name - enforcement @@ -50845,9 +51663,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: - default: &315 + default: &322 value: id: 21 name: super cool ruleset @@ -50903,7 +51721,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *74 - - &596 + - &600 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -50918,7 +51736,7 @@ paths: in: query schema: type: string - - &597 + - &601 name: time_period description: |- The time period to filter by. @@ -50934,14 +51752,14 @@ paths: - week - month default: day - - &598 + - &602 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &599 + - &603 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -50961,7 +51779,7 @@ paths: description: Response content: application/json: - schema: &600 + schema: &604 title: Rule Suites description: Response type: array @@ -51017,7 +51835,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &601 + default: &605 value: - id: 21 actor_id: 12 @@ -51061,7 +51879,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *74 - - &602 + - &606 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -51077,7 +51895,7 @@ paths: description: Response content: application/json: - schema: &603 + schema: &607 title: Rule Suite description: Response type: object @@ -51184,7 +52002,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &604 + default: &608 value: id: 21 actor_id: 12 @@ -51257,9 +52075,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: - default: *315 + default: *322 '404': *6 '500': *53 put: @@ -51303,16 +52121,16 @@ paths: - tag - push - repository - enforcement: *290 + enforcement: *297 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *291 - conditions: *292 + items: *298 + conditions: *299 rules: description: An array of rules within the ruleset. type: array - items: *316 + items: *323 examples: default: value: @@ -51347,9 +52165,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: - default: *315 + default: *322 '404': *6 '422': *15 '500': *53 @@ -51407,7 +52225,7 @@ paths: application/json: schema: type: array - items: &317 + items: &324 title: Ruleset version type: object description: The historical version of a ruleset @@ -51431,7 +52249,7 @@ paths: type: string format: date-time examples: - default: &606 + default: &610 value: - version_id: 3 actor: @@ -51484,9 +52302,9 @@ paths: description: Response content: application/json: - schema: &607 + schema: &611 allOf: - - *317 + - *324 - type: object required: - state @@ -51556,7 +52374,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *74 - - &608 + - &612 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -51567,7 +52385,7 @@ paths: enum: - open - resolved - - &609 + - &613 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -51577,7 +52395,7 @@ paths: required: false schema: type: string - - &610 + - &614 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -51588,7 +52406,7 @@ paths: required: false schema: type: string - - &611 + - &615 name: exclude_providers in: query description: |- @@ -51599,7 +52417,7 @@ paths: required: false schema: type: string - - &612 + - &616 name: providers in: query description: |- @@ -51610,7 +52428,7 @@ paths: required: false schema: type: string - - &613 + - &617 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -51619,7 +52437,7 @@ paths: required: false schema: type: string - - &614 + - &618 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -51638,7 +52456,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &615 + - &619 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -51653,7 +52471,7 @@ paths: - *60 - *19 - *17 - - &616 + - &620 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -51663,7 +52481,7 @@ paths: required: false schema: type: string - - &617 + - &621 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -51673,7 +52491,7 @@ paths: required: false schema: type: string - - &618 + - &622 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -51682,7 +52500,7 @@ paths: required: false schema: type: string - - &619 + - &623 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -51691,7 +52509,7 @@ paths: schema: type: boolean default: false - - &620 + - &624 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -51700,7 +52518,7 @@ paths: schema: type: boolean default: false - - &621 + - &625 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -51709,7 +52527,7 @@ paths: schema: type: boolean default: false - - &622 + - &626 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -51730,27 +52548,27 @@ paths: items: type: object properties: - number: *171 - created_at: *172 + number: *178 + created_at: *179 updated_at: anyOf: - type: 'null' - - *173 - url: *174 - html_url: *175 + - *180 + url: *181 + html_url: *182 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &623 + state: &627 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &624 + resolution: &628 type: - string - 'null' @@ -51869,14 +52687,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &625 + - &629 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &627 + - &631 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -51940,7 +52758,7 @@ paths: - blob_url - commit_sha - commit_url - - &628 + - &632 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -52001,7 +52819,7 @@ paths: - page_url - commit_sha - commit_url - - &629 + - &633 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -52023,7 +52841,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &630 + - &634 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -52045,7 +52863,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &631 + - &635 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -52067,7 +52885,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &632 + - &636 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -52082,7 +52900,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &633 + - &637 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -52097,7 +52915,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &634 + - &638 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -52112,7 +52930,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &635 + - &639 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -52134,7 +52952,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &636 + - &640 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -52156,7 +52974,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &637 + - &641 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -52178,7 +52996,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &638 + - &642 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -52200,7 +53018,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &639 + - &643 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -52461,7 +53279,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &319 + pattern_config_version: &326 type: - string - 'null' @@ -52471,7 +53289,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &318 + items: &325 type: object properties: token_type: @@ -52540,7 +53358,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *318 + items: *325 examples: default: value: @@ -52597,7 +53415,7 @@ paths: schema: type: object properties: - pattern_config_version: *319 + pattern_config_version: *326 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -52623,7 +53441,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *319 + custom_pattern_version: *326 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -52721,7 +53539,7 @@ paths: application/json: schema: type: array - items: &643 + items: &647 description: A repository security advisory. type: object properties: @@ -52944,7 +53762,7 @@ paths: login: type: string description: The username of the user credited. - type: *320 + type: *327 credits_detailed: type: - array @@ -52955,7 +53773,7 @@ paths: type: object properties: user: *4 - type: *320 + type: *327 state: type: string description: The state of the user's acceptance of the @@ -52981,7 +53799,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *191 + items: *198 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -53018,7 +53836,7 @@ paths: - private_fork additionalProperties: false examples: - default: &644 + default: &648 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -53405,7 +54223,7 @@ paths: application/json: schema: type: array - items: *251 + items: *258 examples: default: value: @@ -53760,7 +54578,7 @@ paths: type: integer network_configurations: type: array - items: &321 + items: &328 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -53913,9 +54731,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *328 examples: - default: &322 + default: &329 value: id: 123456789ABCDEF name: My network configuration @@ -53944,7 +54762,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *74 - - &323 + - &330 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -53956,9 +54774,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *328 examples: - default: *322 + default: *329 headers: Link: *66 x-github: @@ -53980,7 +54798,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *74 - - *323 + - *330 requestBody: required: true content: @@ -54033,9 +54851,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *328 examples: - default: *322 + default: *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54055,7 +54873,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *74 - - *323 + - *330 responses: '204': description: Response @@ -54200,13 +55018,13 @@ paths: application/json: schema: type: array - items: *324 + items: *331 examples: - default: *325 + default: *332 '500': *53 '403': *27 '404': *6 - '422': *326 + '422': *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54246,9 +55064,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - default: *252 + default: *259 headers: Link: *66 '403': *27 @@ -54334,7 +55152,7 @@ paths: description: Response content: application/json: - schema: &327 + schema: &334 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -54408,7 +55226,7 @@ paths: parent: anyOf: - type: 'null' - - *251 + - *258 members_count: type: integer examples: @@ -54733,7 +55551,7 @@ paths: - repos_count - organization examples: - default: &328 + default: &335 value: id: 1 node_id: MDQ6VGVhbTE= @@ -54810,9 +55628,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *334 examples: - default: *328 + default: *335 '404': *6 x-github: githubCloudOnly: false @@ -54897,16 +55715,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *327 + schema: *334 examples: - default: *328 + default: *335 '201': description: Response content: application/json: - schema: *327 + schema: *334 examples: - default: *328 + default: *335 '404': *6 '422': *15 '403': *27 @@ -54936,7 +55754,7 @@ paths: responses: '204': description: Response - '422': &329 + '422': &336 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -54970,12 +55788,12 @@ paths: application/json: schema: type: array - items: *230 + items: *237 examples: - default: *231 + default: *238 headers: Link: *66 - '422': *329 + '422': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55057,7 +55875,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &337 title: Team Membership description: Team Membership type: object @@ -55085,7 +55903,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &659 + response-if-user-is-a-team-maintainer: &663 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -55148,9 +55966,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *337 examples: - response-if-users-membership-with-team-is-now-pending: &660 + response-if-users-membership-with-team-is-now-pending: &664 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -55226,7 +56044,7 @@ paths: type: array items: *153 examples: - default: *266 + default: *273 headers: Link: *66 x-github: @@ -55257,14 +56075,14 @@ paths: parameters: - *74 - *76 - - *331 - - *332 + - *338 + - *339 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &661 + schema: &665 title: Team Repository description: A team's access to a repository. type: object @@ -55899,8 +56717,8 @@ paths: parameters: - *74 - *76 - - *331 - - *332 + - *338 + - *339 requestBody: required: false content: @@ -55947,8 +56765,8 @@ paths: parameters: - *74 - *76 - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -55983,9 +56801,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - response-if-child-teams-exist: &662 + response-if-child-teams-exist: &666 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -56139,7 +56957,7 @@ paths: resources: type: object properties: - core: &333 + core: &340 title: Rate Limit type: object properties: @@ -56156,17 +56974,17 @@ paths: - remaining - reset - used - graphql: *333 - search: *333 - code_search: *333 - source_import: *333 - integration_manifest: *333 - code_scanning_upload: *333 - actions_runner_registration: *333 - scim: *333 - dependency_snapshots: *333 - dependency_sbom: *333 - code_scanning_autofix: *333 + graphql: *340 + search: *340 + code_search: *340 + source_import: *340 + integration_manifest: *340 + code_scanning_upload: *340 + actions_runner_registration: *340 + scim: *340 + dependency_snapshots: *340 + dependency_sbom: *340 + code_scanning_autofix: *340 required: - core - search @@ -56268,14 +57086,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *334 + schema: *341 examples: default-response: summary: Default response @@ -56779,7 +57597,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *335 + '301': *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56797,8 +57615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: false content: @@ -57097,10 +57915,10 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: *336 - '307': &337 + default: *343 + '307': &344 description: Temporary Redirect content: application/json: @@ -57129,8 +57947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -57152,7 +57970,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *337 + '307': *344 '404': *6 '409': *52 x-github: @@ -57176,11 +57994,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 - - &370 + - &376 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -57203,7 +58021,7 @@ paths: type: integer artifacts: type: array - items: &338 + items: &345 title: Artifact description: An artifact type: object @@ -57298,7 +58116,7 @@ paths: - expires_at - updated_at examples: - default: &371 + default: &377 value: total_count: 2 artifacts: @@ -57359,9 +58177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *331 - - *332 - - &339 + - *338 + - *339 + - &346 name: artifact_id description: The unique identifier of the artifact. in: path @@ -57373,7 +58191,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *345 examples: default: value: @@ -57411,9 +58229,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *331 - - *332 + - *338 - *339 + - *346 responses: '204': description: Response @@ -57437,9 +58255,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *331 - - *332 + - *338 - *339 + - *346 - name: archive_format in: path required: true @@ -57449,11 +58267,11 @@ paths: '302': description: Response headers: - Location: &488 + Location: &494 example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &529 + '410': &533 description: Gone content: application/json: @@ -57478,14 +58296,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: &340 + schema: &347 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -57519,13 +58337,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: application/json: - schema: *340 + schema: *347 examples: selected_actions: *40 responses: @@ -57554,14 +58372,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: &341 + schema: &348 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -57595,13 +58413,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: application/json: - schema: *341 + schema: *348 examples: selected_actions: *42 responses: @@ -57632,14 +58450,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *342 + schema: *349 examples: default: value: @@ -57665,11 +58483,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 - - &343 + - &350 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -57703,7 +58521,7 @@ paths: description: Response content: application/json: - schema: &344 + schema: &351 title: Repository actions caches description: Repository actions caches type: object @@ -57753,7 +58571,7 @@ paths: - total_count - actions_caches examples: - default: &345 + default: &352 value: total_count: 1 actions_caches: @@ -57785,23 +58603,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *331 - - *332 + - *338 + - *339 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *343 + - *350 responses: '200': description: Response content: application/json: - schema: *344 + schema: *351 examples: - default: *345 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57821,8 +58639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *331 - - *332 + - *338 + - *339 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -57851,8 +58669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *46 responses: @@ -57935,8 +58753,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -58092,9 +58910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *331 - - *332 - - &346 + - *338 + - *339 + - &353 name: job_id description: The unique identifier of the job. in: path @@ -58106,7 +58924,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &380 title: Job description: Information of a job execution in a workflow run type: object @@ -58453,9 +59271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *331 - - *332 - - *346 + - *338 + - *339 + - *353 responses: '302': description: Response @@ -58483,9 +59301,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *331 - - *332 - - *346 + - *338 + - *339 + - *353 requestBody: required: false content: @@ -58536,8 +59354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Status response @@ -58596,8 +59414,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -58665,8 +59483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -58684,7 +59502,7 @@ paths: type: integer secrets: type: array - items: &376 + items: &382 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -58705,7 +59523,7 @@ paths: - created_at - updated_at examples: - default: &377 + default: &383 value: total_count: 2 secrets: @@ -58738,9 +59556,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *331 - - *332 - - *347 + - *338 + - *339 + - *170 - *19 responses: '200': @@ -58757,7 +59575,7 @@ paths: type: integer variables: type: array - items: &380 + items: &384 title: Actions Variable type: object properties: @@ -58791,7 +59609,7 @@ paths: - created_at - updated_at examples: - default: &381 + default: &385 value: total_count: 2 variables: @@ -58824,8 +59642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -58834,11 +59652,11 @@ paths: schema: type: object properties: - enabled: &349 + enabled: &355 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *138 - selected_actions_url: *348 + selected_actions_url: *354 sha_pinning_required: *139 required: - enabled @@ -58867,8 +59685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -58879,7 +59697,7 @@ paths: schema: type: object properties: - enabled: *349 + enabled: *355 allowed_actions: *138 sha_pinning_required: *139 required: @@ -58911,14 +59729,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: &350 + schema: &356 type: object properties: access_level: @@ -58935,7 +59753,7 @@ paths: required: - access_level examples: - default: &351 + default: &357 value: access_level: organization x-github: @@ -58959,15 +59777,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: application/json: - schema: *350 + schema: *356 examples: - default: *351 + default: *357 responses: '204': description: Response @@ -58991,14 +59809,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *352 + schema: *358 examples: default: value: @@ -59022,8 +59840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Empty response for successful settings update @@ -59033,7 +59851,7 @@ paths: required: true content: application/json: - schema: *353 + schema: *359 examples: default: summary: Set retention days @@ -59057,8 +59875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -59066,7 +59884,7 @@ paths: application/json: schema: *140 examples: - default: *354 + default: *360 '404': *6 x-github: enabledForGitHubApps: true @@ -59085,8 +59903,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -59120,14 +59938,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *355 + schema: *361 examples: default: *141 '403': *27 @@ -59149,13 +59967,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: application/json: - schema: *356 + schema: *362 examples: default: *141 responses: @@ -59181,8 +59999,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -59209,8 +60027,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -59242,14 +60060,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *357 + schema: *363 examples: default: *148 x-github: @@ -59272,8 +60090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Success response @@ -59284,7 +60102,7 @@ paths: required: true content: application/json: - schema: *358 + schema: *364 examples: default: *148 x-github: @@ -59313,8 +60131,8 @@ paths: in: query schema: type: string - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -59358,8 +60176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -59367,9 +60185,9 @@ paths: application/json: schema: type: array - items: *359 + items: *365 examples: - default: *360 + default: *366 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59391,8 +60209,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -59435,7 +60253,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *361 + '201': *367 '404': *6 '422': *7 '409': *52 @@ -59466,8 +60284,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '201': description: Response @@ -59475,7 +60293,7 @@ paths: application/json: schema: *157 examples: - default: *362 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59503,8 +60321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '201': description: Response @@ -59512,7 +60330,7 @@ paths: application/json: schema: *157 examples: - default: *363 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59534,8 +60352,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *154 responses: '200': @@ -59544,7 +60362,7 @@ paths: application/json: schema: *155 examples: - default: *364 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59565,8 +60383,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *154 responses: '204': @@ -59593,8 +60411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *154 responses: '200': *159 @@ -59619,8 +60437,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-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *154 requestBody: required: true @@ -59669,8 +60487,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-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *154 requestBody: required: true @@ -59720,11 +60538,11 @@ 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-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *154 responses: - '200': *365 + '200': *371 '404': *6 x-github: githubCloudOnly: false @@ -59751,10 +60569,10 @@ 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-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *154 - - *366 + - *372 responses: '200': *159 '404': *6 @@ -59782,9 +60600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *331 - - *332 - - &384 + - *338 + - *339 + - &388 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -59792,7 +60610,7 @@ paths: required: false schema: type: string - - &385 + - &389 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -59800,7 +60618,7 @@ paths: required: false schema: type: string - - &386 + - &390 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -59809,7 +60627,7 @@ paths: required: false schema: type: string - - &387 + - &391 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -59836,7 +60654,7 @@ paths: - pending - *17 - *19 - - &388 + - &392 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -59845,7 +60663,7 @@ paths: schema: type: string format: date-time - - &367 + - &373 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -59854,13 +60672,13 @@ paths: schema: type: boolean default: false - - &389 + - &393 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &390 + - &394 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -59883,7 +60701,7 @@ paths: type: integer workflow_runs: type: array - items: &368 + items: &374 title: Workflow Run description: An invocation of a workflow type: object @@ -60061,7 +60879,7 @@ paths: head_commit: anyOf: - type: 'null' - - &412 + - &418 title: Simple Commit description: A commit. type: object @@ -60176,7 +60994,7 @@ paths: - workflow_url - pull_requests examples: - default: &391 + default: &395 value: total_count: 1 workflow_runs: @@ -60412,24 +61230,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *331 - - *332 - - &369 + - *338 + - *339 + - &375 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *367 + - *373 responses: '200': description: Response content: application/json: - schema: *368 + schema: *374 examples: - default: &372 + default: &378 value: id: 30433642 name: Build @@ -60670,9 +61488,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '204': description: Response @@ -60695,9 +61513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '200': description: Response @@ -60825,9 +61643,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '201': description: Response @@ -60860,12 +61678,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 - *17 - *19 - - *370 + - *376 - *60 responses: '200': @@ -60882,9 +61700,9 @@ paths: type: integer artifacts: type: array - items: *338 + items: *345 examples: - default: *371 + default: *377 headers: Link: *66 x-github: @@ -60908,25 +61726,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *331 - - *332 - - *369 - - &373 + - *338 + - *339 + - *375 + - &379 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *367 + - *373 responses: '200': description: Response content: application/json: - schema: *368 + schema: *374 examples: - default: *372 + default: *378 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60949,10 +61767,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *331 - - *332 - - *369 - - *373 + - *338 + - *339 + - *375 + - *379 - *17 - *19 responses: @@ -60970,9 +61788,9 @@ paths: type: integer jobs: type: array - items: *374 + items: *380 examples: - default: &375 + default: &381 value: total_count: 1 jobs: @@ -61085,10 +61903,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *331 - - *332 - - *369 - - *373 + - *338 + - *339 + - *375 + - *379 responses: '302': description: Response @@ -61116,9 +61934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '202': description: Response @@ -61164,9 +61982,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 - *17 - *45 - *46 @@ -61343,9 +62161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 requestBody: required: true content: @@ -61412,9 +62230,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '202': description: Response @@ -61447,9 +62265,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -61479,9 +62297,9 @@ paths: type: integer jobs: type: array - items: *374 + items: *380 examples: - default: *375 + default: *381 headers: Link: *66 x-github: @@ -61506,9 +62324,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '302': description: Response @@ -61535,9 +62353,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '204': description: Response @@ -61564,9 +62382,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '200': description: Response @@ -61635,7 +62453,7 @@ paths: items: type: object properties: - type: &495 + type: &501 type: string description: The type of reviewer. enum: @@ -61646,7 +62464,7 @@ paths: reviewer: anyOf: - *4 - - *191 + - *198 required: - environment - wait_timer @@ -61721,9 +62539,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 requestBody: required: true content: @@ -61773,7 +62591,7 @@ paths: application/json: schema: type: array - items: &490 + items: &496 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -61885,7 +62703,7 @@ paths: - created_at - updated_at examples: - default: &491 + default: &497 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -61941,9 +62759,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 requestBody: required: false content: @@ -61988,9 +62806,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 requestBody: required: false content: @@ -62044,9 +62862,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '200': description: Response @@ -62183,8 +63001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -62202,9 +63020,9 @@ paths: type: integer secrets: type: array - items: *376 + items: *382 examples: - default: *377 + default: *383 headers: Link: *66 x-github: @@ -62229,16 +63047,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *378 + schema: *167 examples: - default: *379 + default: *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62260,17 +63078,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 responses: '200': description: Response content: application/json: - schema: *376 + schema: *382 examples: - default: &508 + default: &396 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -62296,8 +63114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 requestBody: required: true @@ -62355,8 +63173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 responses: '204': @@ -62382,9 +63200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *331 - - *332 - - *347 + - *338 + - *339 + - *170 - *19 responses: '200': @@ -62401,9 +63219,9 @@ paths: type: integer variables: type: array - items: *380 + items: *384 examples: - default: *381 + default: *385 headers: Link: *66 x-github: @@ -62426,8 +63244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -62479,17 +63297,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *331 - - *332 + - *338 + - *339 - *164 responses: '200': description: Response content: application/json: - schema: *380 + schema: *384 examples: - default: &509 + default: &397 value: name: USERNAME value: octocat @@ -62515,8 +63333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *331 - - *332 + - *338 + - *339 - *164 requestBody: required: true @@ -62559,8 +63377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *331 - - *332 + - *338 + - *339 - *164 responses: '204': @@ -62586,8 +63404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -62605,7 +63423,7 @@ paths: type: integer workflows: type: array - items: &382 + items: &386 title: Workflow description: A GitHub Actions workflow type: object @@ -62723,9 +63541,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *331 - - *332 - - &383 + - *338 + - *339 + - &387 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -62740,7 +63558,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *386 examples: default: value: @@ -62773,9 +63591,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *331 - - *332 - - *383 + - *338 + - *339 + - *387 responses: '204': description: Response @@ -62800,9 +63618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *331 - - *332 - - *383 + - *338 + - *339 + - *387 responses: '200': description: Response including the workflow run ID and URLs. @@ -62882,9 +63700,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *331 - - *332 - - *383 + - *338 + - *339 + - *387 responses: '204': description: Response @@ -62911,19 +63729,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *331 - - *332 - - *383 - - *384 - - *385 - - *386 + - *338 + - *339 - *387 - - *17 - - *19 - *388 - - *367 - *389 - *390 + - *391 + - *17 + - *19 + - *392 + - *373 + - *393 + - *394 responses: '200': description: Response @@ -62939,9 +63757,9 @@ paths: type: integer workflow_runs: type: array - items: *368 + items: *374 examples: - default: *391 + default: *395 headers: Link: *66 x-github: @@ -62973,9 +63791,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *331 - - *332 - - *383 + - *338 + - *339 + - *387 responses: '200': description: Response @@ -63036,8 +63854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *331 - - *332 + - *338 + - *339 - *60 - *17 - *45 @@ -63193,6 +64011,492 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos + "/repos/{owner}/{repo}/agents/organization-secrets": + get: + summary: List repository organization secrets + description: |- + Lists all organization secrets shared with a repository without revealing their encrypted + values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-organization-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets + parameters: + - *338 + - *339 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: *382 + examples: + default: *383 + headers: + Link: *66 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/organization-variables": + get: + summary: List repository organization variables + description: |- + Lists all organization variables shared with a repository. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-organization-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#list-repository-organization-variables + parameters: + - *338 + - *339 + - *170 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: *384 + examples: + default: *385 + headers: + Link: *66 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/repos/{owner}/{repo}/agents/secrets": + get: + summary: List repository secrets + description: |- + Lists all secrets available in a repository without revealing their encrypted + values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-repository-secrets + parameters: + - *338 + - *339 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: *382 + examples: + default: *383 + headers: + Link: *66 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/secrets/public-key": + get: + summary: Get a repository public key + description: |- + Gets your public key, which you need to encrypt secrets. You need to + encrypt a secret before you can create or update secrets. + + Anyone with read access to the repository can use this endpoint. + + If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-public-key + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-a-repository-public-key + parameters: + - *338 + - *339 + responses: + '200': + description: Response + content: + application/json: + schema: *167 + examples: + default: *168 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/secrets/{secret_name}": + get: + summary: Get a repository secret + description: |- + Gets a single repository secret without revealing its encrypted value. + + The authenticated user must have collaborator access to the repository to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-a-repository-secret + parameters: + - *338 + - *339 + - *161 + responses: + '200': + description: Response + content: + application/json: + schema: *382 + examples: + default: *396 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + put: + summary: Create or update a repository secret + description: |- + Creates or updates a repository secret with an encrypted value. Encrypt your secret using + [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-or-update-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret + parameters: + - *338 + - *339 + - *161 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + encrypted_value: + type: string + description: Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) + using the public key retrieved from the [Get a repository public + key](https://docs.github.com/rest/agents/secrets#get-a-repository-public-key) + endpoint. + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + type: string + description: ID of the key you used to encrypt the secret. + required: + - encrypted_value + - key_id + examples: + default: + value: + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + responses: + '201': + description: Response when creating a secret + content: + application/json: + schema: *162 + examples: + default: + value: + '204': + description: Response when updating a secret + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + delete: + summary: Delete a repository secret + description: |- + Deletes a secret in a repository using the secret name. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#delete-a-repository-secret + parameters: + - *338 + - *339 + - *161 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/variables": + get: + summary: List repository variables + description: |- + Lists all repository variables. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#list-repository-variables + parameters: + - *338 + - *339 + - *170 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: *384 + examples: + default: *385 + headers: + Link: *66 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + post: + summary: Create a repository variable + description: |- + Creates a repository variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#create-a-repository-variable + parameters: + - *338 + - *339 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + required: + - name + - value + examples: + default: + value: + name: USERNAME + value: octocat + responses: + '201': + description: Response + content: + application/json: + schema: *162 + examples: + default: + value: + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/repos/{owner}/{repo}/agents/variables/{name}": + get: + summary: Get a repository variable + description: |- + Gets a specific variable in a repository. + + The authenticated user must have collaborator access to the repository to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#get-a-repository-variable + parameters: + - *338 + - *339 + - *164 + responses: + '200': + description: Response + content: + application/json: + schema: *384 + examples: + default: *397 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + patch: + summary: Update a repository variable + description: |- + Updates a repository variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/update-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#update-a-repository-variable + parameters: + - *338 + - *339 + - *164 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + examples: + default: + value: + name: USERNAME + value: octocat + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + delete: + summary: Delete a repository variable + description: |- + Deletes a repository variable using the variable name. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#delete-a-repository-variable + parameters: + - *338 + - *339 + - *164 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables "/repos/{owner}/{repo}/assignees": get: summary: List assignees @@ -63205,8 +64509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -63243,8 +64547,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *331 - - *332 + - *338 + - *339 - name: assignee in: path required: true @@ -63280,8 +64584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -63391,8 +64695,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *45 - *46 @@ -63433,7 +64737,7 @@ paths: initiator: type: string examples: - default: *392 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63453,8 +64757,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -63462,7 +64766,7 @@ paths: application/json: schema: type: array - items: &393 + items: &399 title: Autolink reference description: An autolink reference. type: object @@ -63521,8 +64825,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -63561,9 +64865,9 @@ paths: description: response content: application/json: - schema: *393 + schema: *399 examples: - default: &394 + default: &400 value: id: 1 key_prefix: TICKET- @@ -63594,9 +64898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *331 - - *332 - - &395 + - *338 + - *339 + - &401 name: autolink_id description: The unique identifier of the autolink. in: path @@ -63608,9 +64912,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *399 examples: - default: *394 + default: *400 '404': *6 x-github: githubCloudOnly: false @@ -63630,9 +64934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *331 - - *332 - - *395 + - *338 + - *339 + - *401 responses: '204': description: Response @@ -63656,8 +64960,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response if Dependabot is enabled @@ -63707,8 +65011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -63729,8 +65033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -63750,8 +65054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *331 - - *332 + - *338 + - *339 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -63789,7 +65093,7 @@ paths: - url protected: type: boolean - protection: &397 + protection: &403 title: Branch Protection description: Branch Protection type: object @@ -63832,7 +65136,7 @@ paths: required: - contexts - checks - enforce_admins: &400 + enforce_admins: &406 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -63849,7 +65153,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &402 + required_pull_request_reviews: &408 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -63871,7 +65175,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *191 + items: *198 apps: description: The list of apps with review dismissal access. @@ -63903,7 +65207,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *191 + items: *198 apps: description: The list of apps allowed to bypass pull request requirements. @@ -63933,7 +65237,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &399 + restrictions: &405 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -63996,7 +65300,7 @@ paths: type: string teams: type: array - items: *191 + items: *198 apps: type: array items: @@ -64226,9 +65530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *331 - - *332 - - &398 + - *338 + - *339 + - &404 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -64242,14 +65546,14 @@ paths: description: Response content: application/json: - schema: &408 + schema: &414 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &462 + commit: &468 title: Commit description: Commit type: object @@ -64288,7 +65592,7 @@ paths: author: anyOf: - type: 'null' - - &396 + - &402 title: Git User description: Metaproperties for Git author/committer information. @@ -64310,7 +65614,7 @@ paths: committer: anyOf: - type: 'null' - - *396 + - *402 message: type: string examples: @@ -64334,7 +65638,7 @@ paths: required: - sha - url - verification: &515 + verification: &519 title: Verification type: object properties: @@ -64414,7 +65718,7 @@ paths: type: integer files: type: array - items: &473 + items: &479 title: Diff Entry description: Diff Entry type: object @@ -64510,7 +65814,7 @@ paths: - self protected: type: boolean - protection: *397 + protection: *403 protection_url: type: string format: uri @@ -64619,7 +65923,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *335 + '301': *342 '404': *6 x-github: githubCloudOnly: false @@ -64641,15 +65945,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *397 + schema: *403 examples: default: value: @@ -64843,9 +66147,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -65105,7 +66409,7 @@ paths: url: type: string format: uri - required_status_checks: &405 + required_status_checks: &411 title: Status Check Policy description: Status Check Policy type: object @@ -65186,7 +66490,7 @@ paths: items: *4 teams: type: array - items: *191 + items: *198 apps: type: array items: *5 @@ -65204,7 +66508,7 @@ paths: items: *4 teams: type: array - items: *191 + items: *198 apps: type: array items: *5 @@ -65264,7 +66568,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *399 + restrictions: *405 required_conversation_resolution: type: object properties: @@ -65376,9 +66680,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '204': description: Response @@ -65403,17 +66707,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *400 + schema: *406 examples: - default: &401 + default: &407 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -65435,17 +66739,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *400 + schema: *406 examples: - default: *401 + default: *407 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65464,9 +66768,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '204': description: Response @@ -65491,17 +66795,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *402 + schema: *408 examples: - default: &403 + default: &409 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -65597,9 +66901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: false content: @@ -65697,9 +67001,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *408 examples: - default: *403 + default: *409 '422': *15 x-github: githubCloudOnly: false @@ -65720,9 +67024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '204': description: Response @@ -65749,17 +67053,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *400 + schema: *406 examples: - default: &404 + default: &410 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -65782,17 +67086,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *400 + schema: *406 examples: - default: *404 + default: *410 '404': *6 x-github: githubCloudOnly: false @@ -65812,9 +67116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '204': description: Response @@ -65839,17 +67143,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *405 + schema: *411 examples: - default: &406 + default: &412 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -65875,9 +67179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: false content: @@ -65929,9 +67233,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *411 examples: - default: *406 + default: *412 '404': *6 '422': *15 x-github: @@ -65953,9 +67257,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '204': description: Response @@ -65979,9 +67283,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response @@ -66015,9 +67319,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: false content: @@ -66084,9 +67388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: false content: @@ -66150,9 +67454,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: content: application/json: @@ -66218,15 +67522,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *399 + schema: *405 examples: default: value: @@ -66317,9 +67621,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '204': description: Response @@ -66342,9 +67646,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response @@ -66354,7 +67658,7 @@ paths: type: array items: *5 examples: - default: &407 + default: &413 value: - id: 1 slug: octoapp @@ -66411,9 +67715,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -66447,7 +67751,7 @@ paths: type: array items: *5 examples: - default: *407 + default: *413 '422': *15 x-github: githubCloudOnly: false @@ -66468,9 +67772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -66504,7 +67808,7 @@ paths: type: array items: *5 examples: - default: *407 + default: *413 '422': *15 x-github: githubCloudOnly: false @@ -66525,9 +67829,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -66561,7 +67865,7 @@ paths: type: array items: *5 examples: - default: *407 + default: *413 '422': *15 x-github: githubCloudOnly: false @@ -66583,9 +67887,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response @@ -66593,9 +67897,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - default: *252 + default: *259 '404': *6 x-github: githubCloudOnly: false @@ -66615,9 +67919,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: false content: @@ -66653,9 +67957,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - default: *252 + default: *259 '422': *15 x-github: githubCloudOnly: false @@ -66676,9 +67980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: false content: @@ -66714,9 +68018,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - default: *252 + default: *259 '422': *15 x-github: githubCloudOnly: false @@ -66737,9 +68041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: content: application/json: @@ -66774,9 +68078,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - default: *252 + default: *259 '422': *15 x-github: githubCloudOnly: false @@ -66798,9 +68102,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response @@ -66834,9 +68138,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -66894,9 +68198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -66954,9 +68258,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -67016,9 +68320,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -67040,7 +68344,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *414 examples: default: value: @@ -67156,8 +68460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -67436,7 +68740,7 @@ paths: description: Response content: application/json: - schema: &409 + schema: &415 title: CheckRun description: A check performed on the code of a given code change type: object @@ -67572,7 +68876,7 @@ paths: check. type: array items: *85 - deployment: &725 + deployment: &729 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -67859,9 +69163,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *331 - - *332 - - &410 + - *338 + - *339 + - &416 name: check_run_id description: The unique identifier of the check run. in: path @@ -67873,9 +69177,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *415 examples: - default: &411 + default: &417 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -67975,9 +69279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *331 - - *332 - - *410 + - *338 + - *339 + - *416 requestBody: required: true content: @@ -68217,9 +69521,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *415 examples: - default: *411 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68239,9 +69543,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *331 - - *332 - - *410 + - *338 + - *339 + - *416 - *17 - *19 responses: @@ -68351,9 +69655,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *331 - - *332 - - *410 + - *338 + - *339 + - *416 responses: '201': description: Response @@ -68397,8 +69701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -68420,7 +69724,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &413 + schema: &419 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -68518,7 +69822,7 @@ paths: - string - 'null' format: date-time - head_commit: *412 + head_commit: *418 latest_check_runs_count: type: integer check_runs_url: @@ -68546,7 +69850,7 @@ paths: - check_runs_url - pull_requests examples: - default: &414 + default: &420 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -68837,9 +70141,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *413 + schema: *419 examples: - default: *414 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68858,8 +70162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -69168,9 +70472,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *331 - - *332 - - &415 + - *338 + - *339 + - &421 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -69182,9 +70486,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *419 examples: - default: *414 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69207,17 +70511,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *331 - - *332 - - *415 - - &468 + - *338 + - *339 + - *421 + - &474 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &469 + - &475 name: status description: Returns check runs with the specified `status`. in: query @@ -69256,9 +70560,9 @@ paths: type: integer check_runs: type: array - items: *409 + items: *415 examples: - default: &470 + default: &476 value: total_count: 1 check_runs: @@ -69360,9 +70664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *331 - - *332 - - *415 + - *338 + - *339 + - *421 responses: '201': description: Response @@ -69395,21 +70699,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *331 - - *332 - - *416 - - *417 + - *338 + - *339 + - *422 + - *423 - *19 - *17 - - &434 + - &440 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *418 - - &435 + schema: *424 + - &441 name: pr description: The number of the pull request for the results you want to list. in: query @@ -69434,13 +70738,13 @@ paths: be returned. in: query required: false - schema: *419 + schema: *425 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *420 + schema: *426 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -69459,24 +70763,24 @@ paths: items: type: object properties: - number: *171 - created_at: *172 - updated_at: *173 - url: *174 - html_url: *175 - instances_url: *421 - state: *180 - fixed_at: *176 + number: *178 + created_at: *179 + updated_at: *180 + url: *181 + html_url: *182 + instances_url: *427 + state: *187 + fixed_at: *183 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *177 - dismissed_reason: *422 - dismissed_comment: *423 - rule: *424 - tool: *425 - most_recent_instance: *426 + dismissed_at: *184 + dismissed_reason: *428 + dismissed_comment: *429 + rule: *430 + tool: *431 + most_recent_instance: *432 dismissal_approved_by: anyOf: - type: 'null' @@ -69599,7 +70903,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &427 + '403': &433 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -69626,9 +70930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *331 - - *332 - - &428 + - *338 + - *339 + - &434 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -69636,30 +70940,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *171 + schema: *178 responses: '200': description: Response content: application/json: - schema: &429 + schema: &435 type: object properties: - number: *171 - created_at: *172 - updated_at: *173 - url: *174 - html_url: *175 - instances_url: *421 - state: *180 - fixed_at: *176 + number: *178 + created_at: *179 + updated_at: *180 + url: *181 + html_url: *182 + instances_url: *427 + state: *187 + fixed_at: *183 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *177 - dismissed_reason: *422 - dismissed_comment: *423 + dismissed_at: *184 + dismissed_reason: *428 + dismissed_comment: *429 rule: type: object properties: @@ -69721,8 +71025,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *425 - most_recent_instance: *426 + tool: *431 + most_recent_instance: *432 dismissal_approved_by: anyOf: - type: 'null' @@ -69818,7 +71122,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *427 + '403': *433 '404': *6 '503': *114 x-github: @@ -69838,9 +71142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *331 - - *332 - - *428 + - *338 + - *339 + - *434 requestBody: required: true content: @@ -69855,8 +71159,8 @@ paths: enum: - open - dismissed - dismissed_reason: *422 - dismissed_comment: *423 + dismissed_reason: *428 + dismissed_comment: *429 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -69884,7 +71188,7 @@ paths: description: Response content: application/json: - schema: *429 + schema: *435 examples: default: value: @@ -69960,7 +71264,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &433 + '403': &439 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -69987,15 +71291,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *331 - - *332 - - *428 + - *338 + - *339 + - *434 responses: '200': description: Response content: application/json: - schema: &430 + schema: &436 type: object properties: status: @@ -70022,13 +71326,13 @@ paths: - description - started_at examples: - default: &431 + default: &437 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &432 + '400': &438 description: Bad Request content: application/json: @@ -70039,7 +71343,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *427 + '403': *433 '404': *6 '503': *114 x-github: @@ -70064,29 +71368,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *331 - - *332 - - *428 + - *338 + - *339 + - *434 responses: '200': description: OK content: application/json: - schema: *430 + schema: *436 examples: - default: *431 + default: *437 '202': description: Accepted content: application/json: - schema: *430 + schema: *436 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *432 + '400': *438 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -70118,9 +71422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *331 - - *332 - - *428 + - *338 + - *339 + - *434 requestBody: required: false content: @@ -70166,8 +71470,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *432 - '403': *433 + '400': *438 + '403': *439 '404': *6 '422': description: Unprocessable Entity @@ -70191,13 +71495,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *331 - - *332 - - *428 + - *338 + - *339 + - *434 - *19 - *17 - - *434 - - *435 + - *440 + - *441 responses: '200': description: Response @@ -70208,10 +71512,10 @@ paths: items: type: object properties: - ref: *418 - analysis_key: *436 - environment: *437 - category: *438 + ref: *424 + analysis_key: *442 + environment: *443 + category: *444 state: type: - string @@ -70228,7 +71532,7 @@ paths: properties: text: type: string - location: *439 + location: *445 html_url: type: string classifications: @@ -70236,7 +71540,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *440 + items: *446 examples: default: value: @@ -70273,7 +71577,7 @@ paths: end_column: 50 classifications: - source - '403': *427 + '403': *433 '404': *6 '503': *114 x-github: @@ -70307,25 +71611,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *331 - - *332 - - *416 - - *417 + - *338 + - *339 + - *422 + - *423 - *19 - *17 - - *435 + - *441 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *418 + schema: *424 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &441 + schema: &447 type: string description: An identifier for the upload. examples: @@ -70347,23 +71651,23 @@ paths: application/json: schema: type: array - items: &442 + items: &448 type: object properties: - ref: *418 - commit_sha: &450 + ref: *424 + commit_sha: &456 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *436 + analysis_key: *442 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *438 + category: *444 error: type: string examples: @@ -70388,8 +71692,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *441 - tool: *425 + sarif_id: *447 + tool: *431 deletable: type: boolean warning: @@ -70451,7 +71755,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *427 + '403': *433 '404': *6 '503': *114 x-github: @@ -70487,8 +71791,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -70501,7 +71805,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *448 examples: response: summary: application/json response @@ -70555,7 +71859,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *427 + '403': *433 '404': *6 '422': description: Response if analysis could not be processed @@ -70642,8 +71946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -70699,7 +72003,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *433 + '403': *439 '404': *6 '503': *114 x-github: @@ -70721,8 +72025,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -70730,7 +72034,7 @@ paths: application/json: schema: type: array - items: &443 + items: &449 title: CodeQL Database description: A CodeQL database. type: object @@ -70842,7 +72146,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *427 + '403': *433 '404': *6 '503': *114 x-github: @@ -70871,8 +72175,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - name: language in: path description: The language of the CodeQL database. @@ -70884,7 +72188,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *449 examples: default: value: @@ -70916,9 +72220,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &477 + '302': &483 description: Found - '403': *427 + '403': *433 '404': *6 '503': *114 x-github: @@ -70940,8 +72244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *331 - - *332 + - *338 + - *339 - name: language in: path description: The language of the CodeQL database. @@ -70951,7 +72255,7 @@ paths: responses: '204': description: Response - '403': *433 + '403': *439 '404': *6 '503': *114 x-github: @@ -70979,8 +72283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -70989,7 +72293,7 @@ paths: type: object additionalProperties: false properties: - language: &444 + language: &450 type: string description: The language targeted by the CodeQL query enum: @@ -71069,7 +72373,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &448 + schema: &454 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -71079,7 +72383,7 @@ paths: description: The ID of the variant analysis. controller_repo: *65 actor: *4 - query_language: *444 + query_language: *450 query_pack_url: type: string description: The download url for the query pack. @@ -71127,7 +72431,7 @@ paths: items: type: object properties: - repository: &445 + repository: &451 title: Repository Identifier description: Repository Identifier type: object @@ -71169,7 +72473,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &449 + analysis_status: &455 type: string description: The new status of the CodeQL variant analysis repository task. @@ -71201,7 +72505,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &446 + access_mismatch_repos: &452 type: object properties: repository_count: @@ -71216,7 +72520,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *445 + items: *451 required: - repository_count - repositories @@ -71239,8 +72543,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *446 - over_limit_repos: *446 + no_codeql_db_repos: *452 + over_limit_repos: *452 required: - access_mismatch_repos - not_found_repos @@ -71256,7 +72560,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &447 + value: &453 summary: Default response value: id: 1 @@ -71402,10 +72706,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *447 + value: *453 repository_lists: summary: Response for a successful variant analysis submission - value: *447 + value: *453 '404': *6 '422': description: Unable to process variant analysis submission @@ -71433,8 +72737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *331 - - *332 + - *338 + - *339 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -71446,9 +72750,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *454 examples: - default: *447 + default: *453 '404': *6 '503': *114 x-github: @@ -71471,7 +72775,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *331 + - *338 - name: repo in: path description: The name of the controller repository. @@ -71506,7 +72810,7 @@ paths: type: object properties: repository: *65 - analysis_status: *449 + analysis_status: *455 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -71631,8 +72935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -71723,7 +73027,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *427 + '403': *433 '404': *6 '503': *114 x-github: @@ -71744,8 +73048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -71839,7 +73143,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *433 + '403': *439 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -71910,8 +73214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -71919,7 +73223,7 @@ paths: schema: type: object properties: - commit_sha: *450 + commit_sha: *456 ref: type: string description: |- @@ -71979,7 +73283,7 @@ paths: schema: type: object properties: - id: *441 + id: *447 url: type: string description: The REST API URL for checking the status of the upload. @@ -71993,7 +73297,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *433 + '403': *439 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -72016,8 +73320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *331 - - *332 + - *338 + - *339 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -72065,7 +73369,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *427 + '403': *433 '404': description: Not Found if the sarif id does not match any upload '503': *114 @@ -72090,8 +73394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -72172,8 +73476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *331 - - *332 + - *338 + - *339 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -72301,8 +73605,8 @@ paths: parameters: - *17 - *19 - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -72318,7 +73622,7 @@ paths: type: integer codespaces: type: array - items: *241 + items: *248 examples: default: value: @@ -72616,8 +73920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -72681,17 +73985,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '400': *14 '401': *23 '403': *27 @@ -72720,8 +74024,8 @@ paths: parameters: - *17 - *19 - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -72785,8 +74089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -72823,9 +74127,9 @@ paths: type: integer machines: type: array - items: *452 + items: *458 examples: - default: &667 + default: &671 value: total_count: 2 machines: @@ -72865,8 +74169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *331 - - *332 + - *338 + - *339 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -72953,8 +74257,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *331 - - *332 + - *338 + - *339 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -73023,8 +74327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -73042,7 +74346,7 @@ paths: type: integer secrets: type: array - items: &456 + items: &462 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -73063,7 +74367,7 @@ paths: - created_at - updated_at examples: - default: *453 + default: *459 headers: Link: *66 x-github: @@ -73086,16 +74390,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *454 + schema: *460 examples: - default: *455 + default: *461 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -73115,17 +74419,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 responses: '200': description: Response content: application/json: - schema: *456 + schema: *462 examples: - default: *457 + default: *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73145,8 +74449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 requestBody: required: true @@ -73199,8 +74503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 responses: '204': @@ -73229,8 +74533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *331 - - *332 + - *338 + - *339 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -73268,7 +74572,7 @@ paths: application/json: schema: type: array - items: &458 + items: &464 title: Collaborator description: Collaborator type: object @@ -73461,8 +74765,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *331 - - *332 + - *338 + - *339 - *70 responses: '204': @@ -73509,8 +74813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *331 - - *332 + - *338 + - *339 - *70 requestBody: required: false @@ -73537,7 +74841,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &528 + schema: &532 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -73765,8 +75069,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *331 - - *332 + - *338 + - *339 - *70 responses: '204': @@ -73798,8 +75102,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *331 - - *332 + - *338 + - *339 - *70 responses: '200': @@ -73820,7 +75124,7 @@ paths: user: anyOf: - type: 'null' - - *458 + - *464 required: - permission - role_name @@ -73874,8 +75178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -73885,7 +75189,7 @@ paths: application/json: schema: type: array - items: &459 + items: &465 title: Commit Comment description: Commit Comment type: object @@ -73943,7 +75247,7 @@ paths: - created_at - updated_at examples: - default: &464 + default: &470 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74002,17 +75306,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '200': description: Response content: application/json: - schema: *459 + schema: *465 examples: - default: &465 + default: &471 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74069,8 +75373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 requestBody: required: true @@ -74093,7 +75397,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *465 examples: default: value: @@ -74144,8 +75448,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '204': @@ -74167,8 +75471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -74195,7 +75499,7 @@ paths: application/json: schema: type: array - items: &460 + items: &466 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -74239,7 +75543,7 @@ paths: - content - created_at examples: - default: &531 + default: &535 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -74284,8 +75588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 requestBody: required: true @@ -74318,9 +75622,9 @@ paths: description: Reaction exists content: application/json: - schema: *460 + schema: *466 examples: - default: &461 + default: &467 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -74349,9 +75653,9 @@ paths: description: Reaction created content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '422': *15 x-github: githubCloudOnly: false @@ -74373,10 +75677,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *331 - - *332 + - *338 + - *339 - *96 - - &532 + - &536 name: reaction_id description: The unique identifier of the reaction. in: path @@ -74431,8 +75735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *331 - - *332 + - *338 + - *339 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -74488,9 +75792,9 @@ paths: application/json: schema: type: array - items: *462 + items: *468 examples: - default: &579 + default: &583 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -74584,9 +75888,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *331 - - *332 - - &463 + - *338 + - *339 + - &469 name: commit_sha description: The SHA of the commit. in: path @@ -74658,9 +75962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *331 - - *332 - - *463 + - *338 + - *339 + - *469 - *17 - *19 responses: @@ -74670,9 +75974,9 @@ paths: application/json: schema: type: array - items: *459 + items: *465 examples: - default: *464 + default: *470 headers: Link: *66 x-github: @@ -74700,9 +76004,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *331 - - *332 - - *463 + - *338 + - *339 + - *469 requestBody: required: true content: @@ -74737,9 +76041,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *465 examples: - default: *465 + default: *471 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74767,9 +76071,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *331 - - *332 - - *463 + - *338 + - *339 + - *469 - *17 - *19 responses: @@ -74779,9 +76083,9 @@ paths: application/json: schema: type: array - items: *466 + items: *472 examples: - default: &571 + default: &575 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -75318,11 +76622,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *331 - - *332 + - *338 + - *339 - *19 - *17 - - &467 + - &473 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -75337,9 +76641,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *468 examples: - default: &559 + default: &563 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -75427,7 +76731,7 @@ paths: schema: type: string examples: - default: &474 + default: &480 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -75440,7 +76744,7 @@ paths: schema: type: string examples: - default: &475 + default: &481 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -75493,11 +76797,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *331 - - *332 - - *467 - - *468 - - *469 + - *338 + - *339 + - *473 + - *474 + - *475 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -75531,9 +76835,9 @@ paths: type: integer check_runs: type: array - items: *409 + items: *415 examples: - default: *470 + default: *476 headers: Link: *66 x-github: @@ -75558,9 +76862,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *331 - - *332 - - *467 + - *338 + - *339 + - *473 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -75568,7 +76872,7 @@ paths: schema: type: integer example: 1 - - *468 + - *474 - *17 - *19 responses: @@ -75586,7 +76890,7 @@ paths: type: integer check_suites: type: array - items: *413 + items: *419 examples: default: value: @@ -75786,9 +77090,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *331 - - *332 - - *467 + - *338 + - *339 + - *473 - *17 - *19 responses: @@ -75990,9 +77294,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *331 - - *332 - - *467 + - *338 + - *339 + - *473 - *17 - *19 responses: @@ -76002,7 +77306,7 @@ paths: application/json: schema: type: array - items: &648 + items: &652 title: Status description: The status of a commit. type: object @@ -76083,7 +77387,7 @@ paths: site_admin: false headers: Link: *66 - '301': *335 + '301': *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76111,8 +77415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -76145,11 +77449,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *471 + - *477 code_of_conduct_file: anyOf: - type: 'null' - - &472 + - &478 title: Community Health File type: object properties: @@ -76169,19 +77473,19 @@ paths: contributing: anyOf: - type: 'null' - - *472 + - *478 readme: anyOf: - type: 'null' - - *472 + - *478 issue_template: anyOf: - type: 'null' - - *472 + - *478 pull_request_template: anyOf: - type: 'null' - - *472 + - *478 required: - code_of_conduct - code_of_conduct_file @@ -76310,8 +77614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *331 - - *332 + - *338 + - *339 - *19 - *17 - name: basehead @@ -76359,8 +77663,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *462 - merge_base_commit: *462 + base_commit: *468 + merge_base_commit: *468 status: type: string enum: @@ -76384,10 +77688,10 @@ paths: - 6 commits: type: array - items: *462 + items: *468 files: type: array - items: *473 + items: *479 required: - url - html_url @@ -76633,12 +77937,12 @@ paths: schema: type: string examples: - default: *474 + default: *480 application/vnd.github.patch: schema: type: string examples: - default: *475 + default: *481 '404': *6 '500': *53 '503': *114 @@ -76683,8 +77987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *331 - - *332 + - *338 + - *339 - name: path description: path parameter in: path @@ -76854,7 +78158,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &476 + response-if-content-is-a-file-github-object: &482 summary: Response if content is a file value: type: file @@ -76991,7 +78295,7 @@ paths: - size - type - url - - &584 + - &588 title: Content File description: Content File type: object @@ -77209,7 +78513,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *476 + response-if-content-is-a-file: *482 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -77278,7 +78582,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *477 + '302': *483 '304': *35 x-github: githubCloudOnly: false @@ -77301,8 +78605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *331 - - *332 + - *338 + - *339 - name: path description: path parameter in: path @@ -77397,7 +78701,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &484 title: File Commit description: File Commit type: object @@ -77553,7 +78857,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *484 examples: example-for-creating-a-file: value: @@ -77607,7 +78911,7 @@ paths: schema: oneOf: - *3 - - &510 + - &514 description: Repository rule violation was detected type: object properties: @@ -77628,7 +78932,7 @@ paths: items: type: object properties: - placeholder_id: &640 + placeholder_id: &644 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -77660,8 +78964,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *331 - - *332 + - *338 + - *339 - name: path description: path parameter in: path @@ -77722,7 +79026,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *484 examples: default: value: @@ -77777,8 +79081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *331 - - *332 + - *338 + - *339 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -77902,24 +79206,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *331 - - *332 - - *193 - - *194 - - *195 - - *196 - - *197 + - *338 + - *339 + - *200 + - *201 + - *202 + - *203 + - *204 - 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 - - *198 - - *479 - - *199 - - *200 - - *201 + - *205 + - *485 + - *206 + - *207 + - *208 - *60 - *45 - *46 @@ -77931,11 +79235,11 @@ paths: application/json: schema: type: array - items: &483 + items: &489 type: object description: A Dependabot alert. properties: - number: *171 + number: *178 state: type: string description: The state of the Dependabot alert. @@ -77982,13 +79286,13 @@ paths: - transitive - inconclusive - - security_advisory: *480 + security_advisory: *486 security_vulnerability: *64 - url: *174 - html_url: *175 - created_at: *172 - updated_at: *173 - dismissed_at: *177 + url: *181 + html_url: *182 + created_at: *179 + updated_at: *180 + dismissed_at: *184 dismissed_by: anyOf: - type: 'null' @@ -78012,9 +79316,9 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *176 - auto_dismissed_at: *481 - dismissal_request: *482 + fixed_at: *183 + auto_dismissed_at: *487 + dismissal_request: *488 assignees: type: array description: The users assigned to this alert. @@ -78269,9 +79573,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *331 - - *332 - - &484 + - *338 + - *339 + - &490 name: alert_number in: path description: |- @@ -78280,13 +79584,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *171 + schema: *178 responses: '200': description: Response content: application/json: - schema: *483 + schema: *489 examples: default: value: @@ -78418,9 +79722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *331 - - *332 - - *484 + - *338 + - *339 + - *490 requestBody: required: true content: @@ -78476,7 +79780,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *489 examples: default: value: @@ -78606,8 +79910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -78625,7 +79929,7 @@ paths: type: integer secrets: type: array - items: &487 + items: &493 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -78679,16 +79983,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *485 + schema: *491 examples: - default: *486 + default: *492 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78708,15 +80012,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 responses: '200': description: Response content: application/json: - schema: *487 + schema: *493 examples: default: value: @@ -78742,8 +80046,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 requestBody: required: true @@ -78796,8 +80100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 responses: '204': @@ -78820,8 +80124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *331 - - *332 + - *338 + - *339 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -78995,8 +80299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -79255,8 +80559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - name: sbom_uuid in: path required: true @@ -79267,7 +80571,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *488 + Location: *494 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -79288,8 +80592,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '201': description: Response @@ -79327,8 +80631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -79411,7 +80715,7 @@ paths: - version - url additionalProperties: false - metadata: &489 + metadata: &495 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -79450,7 +80754,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *489 + metadata: *495 resolved: type: object description: A collection of resolved package dependencies. @@ -79464,7 +80768,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *489 + metadata: *495 relationship: type: string description: A notation of whether a dependency is requested @@ -79597,8 +80901,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *331 - - *332 + - *338 + - *339 - name: sha description: The SHA recorded at creation time. in: query @@ -79639,9 +80943,9 @@ paths: application/json: schema: type: array - items: *490 + items: *496 examples: - default: *491 + default: *497 headers: Link: *66 x-github: @@ -79707,8 +81011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -79790,7 +81094,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *496 examples: simple-example: summary: Simple example @@ -79863,9 +81167,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *331 - - *332 - - &492 + - *338 + - *339 + - &498 name: deployment_id description: deployment_id parameter in: path @@ -79877,7 +81181,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *496 examples: default: value: @@ -79942,9 +81246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *331 - - *332 - - *492 + - *338 + - *339 + - *498 responses: '204': description: Response @@ -79966,9 +81270,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *331 - - *332 - - *492 + - *338 + - *339 + - *498 - *17 - *19 responses: @@ -79978,7 +81282,7 @@ paths: application/json: schema: type: array - items: &493 + items: &499 title: Deployment Status description: The status of a deployment. type: object @@ -80142,9 +81446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *331 - - *332 - - *492 + - *338 + - *339 + - *498 requestBody: required: true content: @@ -80219,9 +81523,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *499 examples: - default: &494 + default: &500 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -80277,9 +81581,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *331 - - *332 - - *492 + - *338 + - *339 + - *498 - name: status_id in: path required: true @@ -80290,9 +81594,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *499 examples: - default: *494 + default: *500 '404': *6 x-github: githubCloudOnly: false @@ -80317,8 +81621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -80375,8 +81679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -80394,7 +81698,7 @@ paths: - 5 environments: type: array - items: &496 + items: &502 title: Environment description: Details of a deployment environment type: object @@ -80456,7 +81760,7 @@ paths: type: string examples: - wait_timer - wait_timer: &498 + wait_timer: &504 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -80498,11 +81802,11 @@ paths: items: type: object properties: - type: *495 + type: *501 reviewer: anyOf: - *4 - - *191 + - *198 required: - id - node_id @@ -80525,7 +81829,7 @@ paths: - id - node_id - type - deployment_branch_policy: &499 + deployment_branch_policy: &505 type: - object - 'null' @@ -80642,9 +81946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *331 - - *332 - - &497 + - *338 + - *339 + - &503 name: environment_name in: path required: true @@ -80657,9 +81961,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *502 examples: - default: &500 + default: &506 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -80743,9 +82047,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 requestBody: required: false content: @@ -80755,7 +82059,7 @@ paths: - object - 'null' properties: - wait_timer: *498 + wait_timer: *504 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -80774,14 +82078,14 @@ paths: items: type: object properties: - type: *495 + type: *501 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *499 + deployment_branch_policy: *505 additionalProperties: false examples: default: @@ -80801,9 +82105,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *502 examples: - default: *500 + default: *506 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -80827,9 +82131,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 responses: '204': description: Default response @@ -80854,9 +82158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 - *17 - *19 responses: @@ -80875,7 +82179,7 @@ paths: - 2 branch_policies: type: array - items: &501 + items: &507 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -80936,9 +82240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 requestBody: required: true content: @@ -80986,9 +82290,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *507 examples: - example-wildcard: &502 + example-wildcard: &508 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -81030,10 +82334,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *331 - - *332 - - *497 - - &503 + - *338 + - *339 + - *503 + - &509 name: branch_policy_id in: path required: true @@ -81045,9 +82349,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *507 examples: - default: *502 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81066,10 +82370,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *331 - - *332 - - *497 + - *338 + - *339 - *503 + - *509 requestBody: required: true content: @@ -81098,9 +82402,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *507 examples: - default: *502 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81119,10 +82423,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *331 - - *332 - - *497 + - *338 + - *339 - *503 + - *509 responses: '204': description: Response @@ -81147,9 +82451,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *497 - - *332 - - *331 + - *503 + - *339 + - *338 responses: '200': description: List of deployment protection rules @@ -81166,7 +82470,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &504 + items: &510 title: Deployment protection rule description: Deployment protection rule type: object @@ -81188,7 +82492,7 @@ paths: for the environment. examples: - true - app: &505 + app: &511 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -81291,9 +82595,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *497 - - *332 - - *331 + - *503 + - *339 + - *338 requestBody: content: application/json: @@ -81314,9 +82618,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *504 + schema: *510 examples: - default: &506 + default: &512 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -81351,9 +82655,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *497 - - *332 - - *331 + - *503 + - *339 + - *338 - *19 - *17 responses: @@ -81373,7 +82677,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *505 + items: *511 examples: default: value: @@ -81408,10 +82712,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *331 - - *332 - - *497 - - &507 + - *338 + - *339 + - *503 + - &513 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -81423,9 +82727,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *510 examples: - default: *506 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81446,10 +82750,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *497 - - *332 - - *331 - - *507 + - *503 + - *339 + - *338 + - *513 responses: '204': description: Response @@ -81475,9 +82779,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 - *17 - *19 responses: @@ -81495,9 +82799,9 @@ paths: type: integer secrets: type: array - items: *376 + items: *382 examples: - default: *377 + default: *383 headers: Link: *66 x-github: @@ -81522,17 +82826,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 responses: '200': description: Response content: application/json: - schema: *378 + schema: *167 examples: - default: *379 + default: *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81554,18 +82858,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 - *161 responses: '200': description: Response content: application/json: - schema: *376 + schema: *382 examples: - default: *508 + default: *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81587,9 +82891,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 - *161 requestBody: required: true @@ -81647,9 +82951,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 - *161 responses: '204': @@ -81675,10 +82979,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *331 - - *332 - - *497 - - *347 + - *338 + - *339 + - *503 + - *170 - *19 responses: '200': @@ -81695,9 +82999,9 @@ paths: type: integer variables: type: array - items: *380 + items: *384 examples: - default: *381 + default: *385 headers: Link: *66 x-github: @@ -81720,9 +83024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 requestBody: required: true content: @@ -81774,18 +83078,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 - *164 responses: '200': description: Response content: application/json: - schema: *380 + schema: *384 examples: - default: *509 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81806,10 +83110,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *331 - - *332 + - *338 + - *339 - *164 - - *497 + - *503 requestBody: required: true content: @@ -81851,10 +83155,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *331 - - *332 + - *338 + - *339 - *164 - - *497 + - *503 responses: '204': description: Response @@ -81876,8 +83180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -81945,8 +83249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *331 - - *332 + - *338 + - *339 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -82105,8 +83409,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: false content: @@ -82139,9 +83443,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: *336 + default: *343 '400': *14 '422': *15 '403': *27 @@ -82162,8 +83466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -82223,7 +83527,7 @@ paths: schema: oneOf: - *122 - - *510 + - *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82248,8 +83552,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *331 - - *332 + - *338 + - *339 - name: file_sha in: path required: true @@ -82349,8 +83653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -82459,7 +83763,7 @@ paths: description: Response content: application/json: - schema: &511 + schema: &515 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -82686,15 +83990,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *331 - - *332 - - *463 + - *338 + - *339 + - *469 responses: '200': description: Response content: application/json: - schema: *511 + schema: *515 examples: default: value: @@ -82750,9 +84054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *331 - - *332 - - &512 + - *338 + - *339 + - &516 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -82769,7 +84073,7 @@ paths: application/json: schema: type: array - items: &513 + items: &517 title: Git Reference description: Git references within a repository type: object @@ -82845,17 +84149,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *331 - - *332 - - *512 + - *338 + - *339 + - *516 responses: '200': description: Response content: application/json: - schema: *513 + schema: *517 examples: - default: &514 + default: &518 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -82884,8 +84188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -82914,9 +84218,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *517 examples: - default: *514 + default: *518 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -82942,9 +84246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *331 - - *332 - - *512 + - *338 + - *339 + - *516 requestBody: required: true content: @@ -82973,9 +84277,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *517 examples: - default: *514 + default: *518 '422': *15 '409': *52 x-github: @@ -82993,9 +84297,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *331 - - *332 - - *512 + - *338 + - *339 + - *516 responses: '204': description: Response @@ -83050,8 +84354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -83118,7 +84422,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &520 title: Git Tag description: Metadata for a Git tag type: object @@ -83174,7 +84478,7 @@ paths: - sha - type - url - verification: *515 + verification: *519 required: - sha - url @@ -83184,7 +84488,7 @@ paths: - tag - message examples: - default: &517 + default: &521 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -83257,8 +84561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *331 - - *332 + - *338 + - *339 - name: tag_sha in: path required: true @@ -83269,9 +84573,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *520 examples: - default: *517 + default: *521 '404': *6 '409': *52 x-github: @@ -83295,8 +84599,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -83370,7 +84674,7 @@ paths: description: Response content: application/json: - schema: &518 + schema: &522 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -83472,8 +84776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *331 - - *332 + - *338 + - *339 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -83496,7 +84800,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *522 examples: default-response: summary: Default response @@ -83555,8 +84859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -83566,7 +84870,7 @@ paths: application/json: schema: type: array - items: &519 + items: &523 title: Webhook description: Webhooks for repositories. type: object @@ -83629,7 +84933,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &756 + last_response: &760 title: Hook Response type: object properties: @@ -83706,8 +85010,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: false content: @@ -83760,9 +85064,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: &520 + default: &524 value: type: Repository id: 12345678 @@ -83810,17 +85114,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 responses: '200': description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: *520 + default: *524 '404': *6 x-github: githubCloudOnly: false @@ -83840,9 +85144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 requestBody: required: true content: @@ -83887,9 +85191,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: *520 + default: *524 '422': *15 '404': *6 x-github: @@ -83910,9 +85214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 responses: '204': description: Response @@ -83936,9 +85240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 responses: '200': description: Response @@ -83965,9 +85269,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 requestBody: required: false content: @@ -84011,12 +85315,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 - *17 - - *210 - - *211 + - *217 + - *218 responses: '200': description: Response @@ -84024,9 +85328,9 @@ paths: application/json: schema: type: array - items: *212 + items: *219 examples: - default: *213 + default: *220 '400': *14 '422': *15 x-github: @@ -84045,18 +85349,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 - *16 responses: '200': description: Response content: application/json: - schema: *214 + schema: *221 examples: - default: *215 + default: *222 '400': *14 '422': *15 x-github: @@ -84075,9 +85379,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 - *16 responses: '202': *37 @@ -84100,9 +85404,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 responses: '204': description: Response @@ -84127,9 +85431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 responses: '204': description: Response @@ -84152,8 +85456,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response if immutable releases are enabled @@ -84201,8 +85505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': *59 '409': *52 @@ -84222,8 +85526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': *59 '409': *52 @@ -84280,14 +85584,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: &521 + schema: &525 title: Import description: A repository import from an external source. type: object @@ -84394,7 +85698,7 @@ paths: - html_url - authors_url examples: - default: &524 + default: &528 value: vcs: subversion use_lfs: true @@ -84410,7 +85714,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &522 + '503': &526 description: Unavailable due to service under maintenance. content: application/json: @@ -84439,8 +85743,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -84488,7 +85792,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *525 examples: default: value: @@ -84513,7 +85817,7 @@ paths: type: string '422': *15 '404': *6 - '503': *522 + '503': *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84541,8 +85845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: false content: @@ -84594,7 +85898,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *525 examples: example-1: summary: Example 1 @@ -84642,7 +85946,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *522 + '503': *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84665,12 +85969,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response - '503': *522 + '503': *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84696,9 +86000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *331 - - *332 - - &689 + - *338 + - *339 + - &693 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -84712,7 +86016,7 @@ paths: application/json: schema: type: array - items: &523 + items: &527 title: Porter Author description: Porter Author type: object @@ -84766,7 +86070,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *522 + '503': *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84791,8 +86095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *331 - - *332 + - *338 + - *339 - name: author_id in: path required: true @@ -84822,7 +86126,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *527 examples: default: value: @@ -84835,7 +86139,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *522 + '503': *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84859,8 +86163,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -84901,7 +86205,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *522 + '503': *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84929,8 +86233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -84957,11 +86261,11 @@ paths: description: Response content: application/json: - schema: *521 + schema: *525 examples: - default: *524 + default: *528 '422': *15 - '503': *522 + '503': *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84984,8 +86288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -84993,8 +86297,8 @@ paths: application/json: schema: *20 examples: - default: *525 - '301': *335 + default: *529 + '301': *342 '404': *6 x-github: githubCloudOnly: false @@ -85014,8 +86318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -85023,12 +86327,12 @@ paths: application/json: schema: anyOf: - - *228 + - *235 - type: object properties: {} additionalProperties: false examples: - default: &527 + default: &531 value: limit: collaborators_only origin: repository @@ -85053,13 +86357,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: application/json: - schema: *526 + schema: *530 examples: default: summary: Example request body @@ -85071,9 +86375,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *235 examples: - default: *527 + default: *531 '409': description: Response x-github: @@ -85095,8 +86399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -85119,8 +86423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -85130,9 +86434,9 @@ paths: application/json: schema: type: array - items: *528 + items: *532 examples: - default: &681 + default: &685 value: - id: 1 repository: @@ -85263,9 +86567,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *331 - - *332 - - *232 + - *338 + - *339 + - *239 requestBody: required: false content: @@ -85294,7 +86598,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *532 examples: default: value: @@ -85425,9 +86729,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *331 - - *332 - - *232 + - *338 + - *339 + - *239 responses: '204': description: Response @@ -85458,8 +86762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *331 - - *332 + - *338 + - *339 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -85507,7 +86811,7 @@ paths: required: false schema: type: string - - *239 + - *246 - name: sort description: What to sort results by. in: query @@ -85532,7 +86836,7 @@ paths: type: array items: *82 examples: - default: &537 + default: &541 value: - id: 1 node_id: MDU6SXNzdWUx @@ -85681,7 +86985,7 @@ paths: state_reason: completed headers: Link: *66 - '301': *335 + '301': *342 '422': *15 '404': *6 x-github: @@ -85710,8 +87014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -85816,7 +87120,7 @@ paths: application/json: schema: *82 examples: - default: &534 + default: &538 value: id: 1 node_id: MDU6SXNzdWUx @@ -85954,7 +87258,7 @@ paths: '422': *15 '503': *114 '404': *6 - '410': *529 + '410': *533 x-github: triggersNotification: true githubCloudOnly: false @@ -85982,8 +87286,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *104 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -86006,7 +87310,7 @@ paths: type: array items: *83 examples: - default: &536 + default: &540 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -86064,8 +87368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '200': @@ -86074,7 +87378,7 @@ paths: application/json: schema: *83 examples: - default: &530 + default: &534 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -86129,8 +87433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 requestBody: required: true @@ -86155,7 +87459,7 @@ paths: application/json: schema: *83 examples: - default: *530 + default: *534 '422': *15 x-github: githubCloudOnly: false @@ -86173,8 +87477,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '204': @@ -86203,8 +87507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '200': @@ -86267,7 +87571,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *529 + '410': *533 '422': *15 x-github: githubCloudOnly: false @@ -86284,8 +87588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '204': @@ -86293,7 +87597,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *529 + '410': *533 '503': *114 x-github: githubCloudOnly: false @@ -86311,8 +87615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -86339,9 +87643,9 @@ paths: application/json: schema: type: array - items: *460 + items: *466 examples: - default: *531 + default: *535 headers: Link: *66 '404': *6 @@ -86362,8 +87666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 requestBody: required: true @@ -86396,16 +87700,16 @@ paths: description: Reaction exists content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '201': description: Reaction created content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '422': *15 x-github: githubCloudOnly: false @@ -86427,10 +87731,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *331 - - *332 + - *338 + - *339 - *96 - - *532 + - *536 responses: '204': description: Response @@ -86450,8 +87754,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -86461,7 +87765,7 @@ paths: application/json: schema: type: array - items: &533 + items: &537 title: Issue Event description: Issue Event type: object @@ -86541,7 +87845,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *191 + requested_team: *198 dismissed_review: title: Issue Event Dismissed Review type: object @@ -86801,8 +88105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *331 - - *332 + - *338 + - *339 - name: event_id in: path required: true @@ -86813,7 +88117,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *537 examples: default: value: @@ -87006,7 +88310,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *529 + '410': *533 '403': *27 x-github: githubCloudOnly: false @@ -87040,9 +88344,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *331 - - *332 - - &535 + - *338 + - *339 + - &539 name: issue_number description: The number that identifies the issue. in: path @@ -87058,7 +88362,7 @@ paths: examples: default: summary: Issue - value: *534 + value: *538 pinned_comment: summary: Issue with pinned comment value: @@ -87238,9 +88542,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 '304': *35 x-github: githubCloudOnly: false @@ -87265,9 +88569,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: false content: @@ -87402,13 +88706,13 @@ paths: application/json: schema: *82 examples: - default: *534 + default: *538 '422': *15 '503': *114 '403': *27 - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87426,9 +88730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: false content: @@ -87456,7 +88760,7 @@ paths: application/json: schema: *82 examples: - default: *534 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87472,9 +88776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: content: application/json: @@ -87501,7 +88805,7 @@ paths: application/json: schema: *82 examples: - default: *534 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87523,9 +88827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - name: assignee in: path required: true @@ -87565,9 +88869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *87 - *17 - *19 @@ -87580,11 +88884,11 @@ paths: type: array items: *83 examples: - default: *536 + default: *540 headers: Link: *66 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87613,9 +88917,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -87639,14 +88943,14 @@ paths: application/json: schema: *83 examples: - default: *530 + default: *534 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *529 + '410': *533 '422': *15 '404': *6 x-github: @@ -87674,9 +88978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *17 - *19 responses: @@ -87688,12 +88992,12 @@ paths: type: array items: *82 examples: - default: *537 + default: *541 headers: Link: *66 - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87721,9 +89025,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -87747,15 +89051,15 @@ paths: application/json: schema: *82 examples: - default: *534 + default: *538 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *335 + '301': *342 '403': *27 - '410': *529 + '410': *533 '422': *15 '404': *6 x-github: @@ -87786,9 +89090,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -87802,13 +89106,13 @@ paths: application/json: schema: *82 examples: - default: *534 - '301': *335 + default: *538 + '301': *342 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *529 + '410': *533 x-github: triggersNotification: true githubCloudOnly: false @@ -87834,9 +89138,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *17 - *19 responses: @@ -87848,12 +89152,12 @@ paths: type: array items: *82 examples: - default: *537 + default: *541 headers: Link: *66 - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87870,9 +89174,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *17 - *19 responses: @@ -87886,7 +89190,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &541 + - &545 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -87935,7 +89239,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &546 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -88063,7 +89367,7 @@ paths: - performed_via_github_app - assignee - assigner - - &543 + - &547 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -88109,7 +89413,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &548 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -88155,7 +89459,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &549 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -88204,7 +89508,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &550 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -88233,7 +89537,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *191 + requested_team: *198 requested_reviewer: *4 required: - review_requester @@ -88246,7 +89550,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &551 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -88275,7 +89579,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *191 + requested_team: *198 requested_reviewer: *4 required: - review_requester @@ -88288,7 +89592,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &548 + - &552 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -88344,7 +89648,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &553 title: Locked Issue Event description: Locked Issue Event type: object @@ -88389,7 +89693,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &550 + - &554 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -88450,7 +89754,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &551 + - &555 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -88511,7 +89815,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &552 + - &556 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -88572,7 +89876,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &553 + - &557 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -88665,7 +89969,7 @@ paths: color: red headers: Link: *66 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88682,9 +89986,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *17 - *19 responses: @@ -88694,9 +89998,9 @@ paths: application/json: schema: type: array - items: *538 + items: *542 examples: - default: &539 + default: &543 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -88720,9 +90024,9 @@ paths: value: '2025-12-25' headers: Link: *66 - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88751,9 +90055,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -88819,9 +90123,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *538 + items: *542 examples: - default: *539 + default: *543 '400': *14 '403': *27 '404': *6 @@ -88857,9 +90161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -88926,9 +90230,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *538 + items: *542 examples: - default: *539 + default: *543 '400': *14 '403': *27 '404': *6 @@ -88959,10 +90263,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *331 - - *332 - - *535 - - *235 + - *338 + - *339 + - *539 + - *242 responses: '204': description: Issue field value deleted successfully @@ -88987,9 +90291,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *17 - *19 responses: @@ -89001,7 +90305,7 @@ paths: type: array items: *81 examples: - default: &540 + default: &544 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -89019,9 +90323,9 @@ paths: default: false headers: Link: *66 - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89037,9 +90341,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: false content: @@ -89084,10 +90388,10 @@ paths: type: array items: *81 examples: - default: *540 - '301': *335 + default: *544 + '301': *342 '404': *6 - '410': *529 + '410': *533 '422': *15 x-github: githubCloudOnly: false @@ -89104,9 +90408,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: false content: @@ -89168,10 +90472,10 @@ paths: type: array items: *81 examples: - default: *540 - '301': *335 + default: *544 + '301': *342 '404': *6 - '410': *529 + '410': *533 '422': *15 x-github: githubCloudOnly: false @@ -89188,15 +90492,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 responses: '204': description: Response - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89215,9 +90519,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - name: name in: path required: true @@ -89241,9 +90545,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89263,9 +90567,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: false content: @@ -89294,7 +90598,7 @@ paths: '204': description: Response '403': *27 - '410': *529 + '410': *533 '404': *6 '422': *15 x-github: @@ -89312,9 +90616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 responses: '204': description: Response @@ -89344,9 +90648,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 responses: '200': description: Response @@ -89354,10 +90658,10 @@ paths: application/json: schema: *82 examples: - default: *534 - '301': *335 + default: *538 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89374,9 +90678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - 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. @@ -89402,13 +90706,13 @@ paths: application/json: schema: type: array - items: *460 + items: *466 examples: - default: *531 + default: *535 headers: Link: *66 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89426,9 +90730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -89460,16 +90764,16 @@ paths: description: Response content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '201': description: Response content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '422': *15 x-github: githubCloudOnly: false @@ -89491,10 +90795,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *331 - - *332 - - *535 - - *532 + - *338 + - *339 + - *539 + - *536 responses: '204': description: Response @@ -89523,9 +90827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -89549,7 +90853,7 @@ paths: application/json: schema: *82 examples: - default: *534 + default: *538 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -89582,9 +90886,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *17 - *19 responses: @@ -89596,11 +90900,11 @@ paths: type: array items: *82 examples: - default: *537 + default: *541 headers: Link: *66 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89628,9 +90932,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -89659,14 +90963,14 @@ paths: application/json: schema: *82 examples: - default: *534 + default: *538 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *529 + '410': *533 '422': *15 '404': *6 x-github: @@ -89686,9 +90990,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -89721,7 +91025,7 @@ paths: application/json: schema: *82 examples: - default: *534 + default: *538 '403': *27 '404': *6 '422': *7 @@ -89743,9 +91047,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *17 - *19 responses: @@ -89760,10 +91064,6 @@ paths: description: Timeline Event type: object anyOf: - - *541 - - *542 - - *543 - - *544 - *545 - *546 - *547 @@ -89773,6 +91073,10 @@ paths: - *551 - *552 - *553 + - *554 + - *555 + - *556 + - *557 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -89829,7 +91133,7 @@ paths: pin: anyOf: - type: 'null' - - *554 + - *558 required: - event - actor @@ -90105,7 +91409,7 @@ paths: type: string comments: type: array - items: &573 + items: &577 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -90346,7 +91650,7 @@ paths: type: string comments: type: array - items: *459 + items: *465 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -90621,7 +91925,7 @@ paths: headers: Link: *66 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90638,8 +91942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -90649,7 +91953,7 @@ paths: application/json: schema: type: array - items: &555 + items: &559 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -90717,8 +92021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -90754,9 +92058,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *559 examples: - default: &556 + default: &560 value: id: 1 key: ssh-rsa AAA... @@ -90790,9 +92094,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *331 - - *332 - - &557 + - *338 + - *339 + - &561 name: key_id description: The unique identifier of the key. in: path @@ -90804,9 +92108,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *559 examples: - default: *556 + default: *560 '404': *6 x-github: githubCloudOnly: false @@ -90824,9 +92128,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *331 - - *332 - - *557 + - *338 + - *339 + - *561 responses: '204': description: Response @@ -90846,8 +92150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -90859,7 +92163,7 @@ paths: type: array items: *81 examples: - default: *540 + default: *544 headers: Link: *66 '404': *6 @@ -90880,8 +92184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -90919,7 +92223,7 @@ paths: application/json: schema: *81 examples: - default: &558 + default: &562 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -90951,8 +92255,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *331 - - *332 + - *338 + - *339 - name: name in: path required: true @@ -90965,7 +92269,7 @@ paths: application/json: schema: *81 examples: - default: *558 + default: *562 '404': *6 x-github: githubCloudOnly: false @@ -90982,8 +92286,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *331 - - *332 + - *338 + - *339 - name: name in: path required: true @@ -91048,8 +92352,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *331 - - *332 + - *338 + - *339 - name: name in: path required: true @@ -91075,8 +92379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -91115,9 +92419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *331 - - *332 - - *434 + - *338 + - *339 + - *440 responses: '200': description: Response @@ -91264,8 +92568,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -91330,8 +92634,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -91365,9 +92669,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *462 + schema: *468 examples: - default: *559 + default: *563 '204': description: Response when already merged '404': @@ -91392,8 +92696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *331 - - *332 + - *338 + - *339 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -91434,7 +92738,7 @@ paths: application/json: schema: type: array - items: *272 + items: *279 examples: default: value: @@ -91490,8 +92794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -91531,9 +92835,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *279 examples: - default: &560 + default: &564 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -91592,9 +92896,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *331 - - *332 - - &561 + - *338 + - *339 + - &565 name: milestone_number description: The number that identifies the milestone. in: path @@ -91606,9 +92910,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *279 examples: - default: *560 + default: *564 '404': *6 x-github: githubCloudOnly: false @@ -91625,9 +92929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *331 - - *332 - - *561 + - *338 + - *339 + - *565 requestBody: required: false content: @@ -91665,9 +92969,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *279 examples: - default: *560 + default: *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91683,9 +92987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *331 - - *332 - - *561 + - *338 + - *339 + - *565 responses: '204': description: Response @@ -91706,9 +93010,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *331 - - *332 - - *561 + - *338 + - *339 + - *565 - *17 - *19 responses: @@ -91720,7 +93024,7 @@ paths: type: array items: *81 examples: - default: *540 + default: *544 headers: Link: *66 x-github: @@ -91739,12 +93043,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *331 - - *332 - - *562 - - *563 + - *338 + - *339 + - *566 + - *567 - *87 - - *564 + - *568 - *17 - *19 responses: @@ -91756,7 +93060,7 @@ paths: type: array items: *107 examples: - default: *565 + default: *569 headers: Link: *66 x-github: @@ -91780,8 +93084,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: false content: @@ -91839,14 +93143,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: &566 + schema: &570 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -91990,7 +93294,7 @@ paths: - custom_404 - public examples: - default: &567 + default: &571 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -92031,8 +93335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -92087,9 +93391,9 @@ paths: description: Response content: application/json: - schema: *566 + schema: *570 examples: - default: *567 + default: *571 '422': *15 '409': *52 x-github: @@ -92112,8 +93416,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -92213,8 +93517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -92240,8 +93544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -92251,7 +93555,7 @@ paths: application/json: schema: type: array - items: &568 + items: &572 title: Page Build description: Page Build type: object @@ -92343,8 +93647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *331 - - *332 + - *338 + - *339 responses: '201': description: Response @@ -92391,16 +93695,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *568 + schema: *572 examples: - default: &569 + default: &573 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -92448,8 +93752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *331 - - *332 + - *338 + - *339 - name: build_id in: path required: true @@ -92460,9 +93764,9 @@ paths: description: Response content: application/json: - schema: *568 + schema: *572 examples: - default: *569 + default: *573 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92482,8 +93786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -92591,9 +93895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *331 - - *332 - - &570 + - *338 + - *339 + - &574 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -92651,9 +93955,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *331 - - *332 - - *570 + - *338 + - *339 + - *574 responses: '204': *59 '404': *6 @@ -92680,8 +93984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -92976,8 +94280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Private vulnerability reporting status @@ -93014,8 +94318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': *59 '422': *14 @@ -93036,8 +94340,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': *59 '422': *14 @@ -93059,8 +94363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -93068,7 +94372,7 @@ paths: application/json: schema: type: array - items: *286 + items: *293 examples: default: value: @@ -93099,8 +94403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -93112,7 +94416,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *286 + items: *293 required: - properties examples: @@ -93162,8 +94466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *331 - - *332 + - *338 + - *339 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -93223,9 +94527,9 @@ paths: application/json: schema: type: array - items: *466 + items: *472 examples: - default: *571 + default: *575 headers: Link: *66 '304': *35 @@ -93257,8 +94561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -93325,7 +94629,7 @@ paths: description: Response content: application/json: - schema: &575 + schema: &579 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -93454,7 +94758,7 @@ paths: milestone: anyOf: - type: 'null' - - *272 + - *279 active_lock_reason: type: - string @@ -93493,7 +94797,7 @@ paths: items: *4 requested_teams: type: array - items: *251 + items: *258 head: type: object properties: @@ -93531,14 +94835,14 @@ paths: _links: type: object properties: - comments: *273 - commits: *273 - statuses: *273 - html: *273 - issue: *273 - review_comments: *273 - review_comment: *273 - self: *273 + comments: *280 + commits: *280 + statuses: *280 + html: *280 + issue: *280 + review_comments: *280 + review_comment: *280 + self: *280 required: - comments - commits @@ -93549,7 +94853,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: *572 + auto_merge: *576 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -93649,7 +94953,7 @@ paths: - merged_by - review_comments examples: - default: &576 + default: &580 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -94156,8 +95460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - name: sort in: query required: false @@ -94186,9 +95490,9 @@ paths: application/json: schema: type: array - items: *573 + items: *577 examples: - default: &578 + default: &582 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -94265,17 +95569,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '200': description: Response content: application/json: - schema: *573 + schema: *577 examples: - default: &574 + default: &578 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -94350,8 +95654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *331 - - *332 + - *338 + - *339 - *96 requestBody: required: true @@ -94374,9 +95678,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *577 examples: - default: *574 + default: *578 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94392,8 +95696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '204': @@ -94415,8 +95719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -94443,9 +95747,9 @@ paths: application/json: schema: type: array - items: *460 + items: *466 examples: - default: *531 + default: *535 headers: Link: *66 '404': *6 @@ -94466,8 +95770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 requestBody: required: true @@ -94500,16 +95804,16 @@ paths: description: Reaction exists content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '201': description: Reaction created content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '422': *15 x-github: githubCloudOnly: false @@ -94531,10 +95835,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *331 - - *332 + - *338 + - *339 - *96 - - *532 + - *536 responses: '204': description: Response @@ -94577,9 +95881,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *331 - - *332 - - &577 + - *338 + - *339 + - &581 name: pull_number description: The number that identifies the pull request. in: path @@ -94592,9 +95896,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *575 + schema: *579 examples: - default: *576 + default: *580 '304': *35 '404': *6 '406': @@ -94629,9 +95933,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: false content: @@ -94673,9 +95977,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *579 examples: - default: *576 + default: *580 '422': *15 '403': *27 x-github: @@ -94697,9 +96001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#archive-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 responses: '204': description: Response @@ -94724,9 +96028,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#unarchive-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 responses: '204': description: Response @@ -94752,9 +96056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: true content: @@ -94815,17 +96119,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '401': *23 '403': *27 '404': *6 @@ -94855,9 +96159,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 - *104 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -94878,9 +96182,9 @@ paths: application/json: schema: type: array - items: *573 + items: *577 examples: - default: *578 + default: *582 headers: Link: *66 x-github: @@ -94913,9 +96217,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: true content: @@ -95021,7 +96325,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *577 examples: example-for-a-multi-line-comment: value: @@ -95109,9 +96413,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 - *96 requestBody: required: true @@ -95134,7 +96438,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *577 examples: default: value: @@ -95220,9 +96524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 - *17 - *19 responses: @@ -95232,9 +96536,9 @@ paths: application/json: schema: type: array - items: *462 + items: *468 examples: - default: *579 + default: *583 headers: Link: *66 x-github: @@ -95264,9 +96568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 - *17 - *19 responses: @@ -95276,7 +96580,7 @@ paths: application/json: schema: type: array - items: *473 + items: *479 examples: default: value: @@ -95314,9 +96618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 responses: '204': description: Response if pull request has been merged @@ -95339,9 +96643,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: false content: @@ -95453,9 +96757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 responses: '200': description: Response @@ -95471,7 +96775,7 @@ paths: items: *4 teams: type: array - items: *191 + items: *198 required: - users - teams @@ -95530,9 +96834,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: false content: @@ -95569,7 +96873,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *472 examples: default: value: @@ -96105,9 +97409,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: true content: @@ -96141,7 +97445,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *472 examples: default: value: @@ -96626,9 +97930,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 - *17 - *19 responses: @@ -96638,7 +97942,7 @@ paths: application/json: schema: type: array - items: &580 + items: &584 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -96794,9 +98098,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: false content: @@ -96886,9 +98190,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *584 examples: - default: &582 + default: &586 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -96951,10 +98255,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *331 - - *332 - - *577 - - &581 + - *338 + - *339 + - *581 + - &585 name: review_id description: The unique identifier of the review. in: path @@ -96966,9 +98270,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *584 examples: - default: &583 + default: &587 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -97027,10 +98331,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 - *581 + - *585 requestBody: required: true content: @@ -97053,7 +98357,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *584 examples: default: value: @@ -97115,18 +98419,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 - *581 + - *585 responses: '200': description: Response content: application/json: - schema: *580 + schema: *584 examples: - default: *582 + default: *586 '422': *7 '404': *6 x-github: @@ -97153,10 +98457,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *331 - - *332 - - *577 + - *338 + - *339 - *581 + - *585 - *17 - *19 responses: @@ -97254,9 +98558,9 @@ paths: _links: type: object properties: - self: *273 - html: *273 - pull_request: *273 + self: *280 + html: *280 + pull_request: *280 required: - self - html @@ -97414,10 +98718,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 - *581 + - *585 requestBody: required: true content: @@ -97446,7 +98750,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *584 examples: default: value: @@ -97509,10 +98813,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 - *581 + - *585 requestBody: required: true content: @@ -97547,9 +98851,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *584 examples: - default: *583 + default: *587 '404': *6 '422': *7 '403': *27 @@ -97571,9 +98875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: false content: @@ -97637,8 +98941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *331 - - *332 + - *338 + - *339 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -97651,9 +98955,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *588 examples: - default: &585 + default: &589 value: type: file encoding: base64 @@ -97695,8 +98999,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *331 - - *332 + - *338 + - *339 - name: dir description: The alternate path to look for a README file in: path @@ -97716,9 +99020,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *588 examples: - default: *585 + default: *589 '404': *6 '422': *15 x-github: @@ -97740,8 +99044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -97751,7 +99055,7 @@ paths: application/json: schema: type: array - items: *586 + items: *590 examples: default: value: @@ -97845,8 +99149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -97922,9 +99226,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *590 examples: - default: &590 + default: &594 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -98029,9 +99333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *331 - - *332 - - &588 + - *338 + - *339 + - &592 name: asset_id description: The unique identifier of the asset. in: path @@ -98043,9 +99347,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *591 examples: - default: &589 + default: &593 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -98080,7 +99384,7 @@ paths: type: User site_admin: false '404': *6 - '302': *477 + '302': *483 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98096,9 +99400,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *331 - - *332 - - *588 + - *338 + - *339 + - *592 requestBody: required: false content: @@ -98127,9 +99431,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *591 examples: - default: *589 + default: *593 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98145,9 +99449,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *331 - - *332 - - *588 + - *338 + - *339 + - *592 responses: '204': description: Response @@ -98172,8 +99476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -98259,16 +99563,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *586 + schema: *590 examples: - default: *590 + default: *594 '404': *6 x-github: githubCloudOnly: false @@ -98286,8 +99590,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *331 - - *332 + - *338 + - *339 - name: tag description: tag parameter in: path @@ -98300,9 +99604,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *590 examples: - default: *590 + default: *594 '404': *6 x-github: githubCloudOnly: false @@ -98324,9 +99628,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *331 - - *332 - - &591 + - *338 + - *339 + - &595 name: release_id description: The unique identifier of the release. in: path @@ -98340,9 +99644,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *586 + schema: *590 examples: - default: *590 + default: *594 '401': description: Unauthorized x-github: @@ -98360,9 +99664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *331 - - *332 - - *591 + - *338 + - *339 + - *595 requestBody: required: false content: @@ -98426,9 +99730,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *590 examples: - default: *590 + default: *594 '404': description: Not Found if the discussion category name is invalid content: @@ -98449,9 +99753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *331 - - *332 - - *591 + - *338 + - *339 + - *595 responses: '204': description: Response @@ -98472,9 +99776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *331 - - *332 - - *591 + - *338 + - *339 + - *595 - *17 - *19 responses: @@ -98484,7 +99788,7 @@ paths: application/json: schema: type: array - items: *587 + items: *591 examples: default: value: @@ -98565,9 +99869,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *331 - - *332 - - *591 + - *338 + - *339 + - *595 - name: name in: query required: true @@ -98593,7 +99897,7 @@ paths: description: Response for successful upload content: application/json: - schema: *587 + schema: *591 examples: response-for-successful-upload: value: @@ -98648,9 +99952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *331 - - *332 - - *591 + - *338 + - *339 + - *595 - 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 release. @@ -98674,9 +99978,9 @@ paths: application/json: schema: type: array - items: *460 + items: *466 examples: - default: *531 + default: *535 headers: Link: *66 '404': *6 @@ -98697,9 +100001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *331 - - *332 - - *591 + - *338 + - *339 + - *595 requestBody: required: true content: @@ -98729,16 +100033,16 @@ paths: description: Reaction exists content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '201': description: Reaction created content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '422': *15 x-github: githubCloudOnly: false @@ -98760,10 +100064,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *331 - - *332 - - *591 - - *532 + - *338 + - *339 + - *595 + - *536 responses: '204': description: Response @@ -98787,9 +100091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 - *17 - *19 responses: @@ -98805,8 +100109,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *293 - - &592 + - *300 + - &596 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -98825,69 +100129,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *294 - - *592 - - allOf: - - *295 - - *592 - - allOf: - - *296 - - *592 - - allOf: - - *593 - - *592 - - allOf: - - *297 - - *592 - - allOf: - - *298 - - *592 - - allOf: - - *299 - - *592 - - allOf: - - *300 - - *592 - allOf: - *301 - - *592 + - *596 - allOf: - *302 - - *592 + - *596 - allOf: - *303 - - *592 + - *596 + - allOf: + - *597 + - *596 - allOf: - *304 - - *592 + - *596 - allOf: - *305 - - *592 + - *596 - allOf: - *306 - - *592 + - *596 - allOf: - *307 - - *592 + - *596 - allOf: - *308 - - *592 + - *596 - allOf: - *309 - - *592 + - *596 - allOf: - *310 - - *592 + - *596 - allOf: - *311 - - *592 + - *596 - allOf: - *312 - - *592 + - *596 - allOf: - *313 - - *592 + - *596 + - allOf: + - *314 + - *596 + - allOf: + - *315 + - *596 + - allOf: + - *316 + - *596 + - allOf: + - *317 + - *596 + - allOf: + - *318 + - *596 + - allOf: + - *319 + - *596 + - allOf: + - *320 + - *596 examples: default: value: @@ -98926,8 +100230,8 @@ paths: category: repos subcategory: rules parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 - name: includes_parents @@ -98938,7 +100242,7 @@ paths: schema: type: boolean default: true - - *594 + - *598 responses: '200': description: Response @@ -98946,7 +100250,7 @@ paths: application/json: schema: type: array - items: *314 + items: *321 examples: default: value: @@ -98993,8 +100297,8 @@ paths: category: repos subcategory: rules parameters: - - *331 - - *332 + - *338 + - *339 requestBody: description: Request body required: true @@ -99014,16 +100318,16 @@ paths: - tag - push default: branch - enforcement: *290 + enforcement: *297 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *291 - conditions: *288 + items: *298 + conditions: *295 rules: type: array description: An array of rules within the ruleset. - items: *595 + items: *599 required: - name - enforcement @@ -99054,9 +100358,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: - default: &605 + default: &609 value: id: 42 name: super cool ruleset @@ -99104,12 +100408,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *331 - - *332 - - *596 - - *597 - - *598 - - *599 + - *338 + - *339 + - *600 + - *601 + - *602 + - *603 - *17 - *19 responses: @@ -99117,9 +100421,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *604 examples: - default: *601 + default: *605 '404': *6 '500': *53 x-github: @@ -99140,17 +100444,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *331 - - *332 - - *602 + - *338 + - *339 + - *606 responses: '200': description: Response content: application/json: - schema: *603 + schema: *607 examples: - default: *604 + default: *608 '404': *6 '500': *53 x-github: @@ -99178,8 +100482,8 @@ paths: category: repos subcategory: rules parameters: - - *331 - - *332 + - *338 + - *339 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99199,9 +100503,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: - default: *605 + default: *609 '404': *6 '500': *53 put: @@ -99219,8 +100523,8 @@ paths: category: repos subcategory: rules parameters: - - *331 - - *332 + - *338 + - *339 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99245,16 +100549,16 @@ paths: - branch - tag - push - enforcement: *290 + enforcement: *297 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *291 - conditions: *288 + items: *298 + conditions: *295 rules: description: An array of rules within the ruleset. type: array - items: *595 + items: *599 examples: default: value: @@ -99282,9 +100586,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: - default: *605 + default: *609 '404': *6 '422': *15 '500': *53 @@ -99303,8 +100607,8 @@ paths: category: repos subcategory: rules parameters: - - *331 - - *332 + - *338 + - *339 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99327,8 +100631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 - name: ruleset_id @@ -99344,9 +100648,9 @@ paths: application/json: schema: type: array - items: *317 + items: *324 examples: - default: *606 + default: *610 '404': *6 '500': *53 x-github: @@ -99365,8 +100669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *331 - - *332 + - *338 + - *339 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99384,7 +100688,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *611 examples: default: value: @@ -99439,26 +100743,26 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *331 - - *332 - - *608 - - *609 - - *610 - - *611 + - *338 + - *339 - *612 - *613 - *614 - *615 - - *60 - - *19 - - *17 - *616 - *617 - *618 - *619 + - *60 + - *19 + - *17 - *620 - *621 - *622 + - *623 + - *624 + - *625 + - *626 responses: '200': description: Response @@ -99466,24 +100770,24 @@ paths: application/json: schema: type: array - items: &626 + items: &630 type: object properties: - number: *171 - created_at: *172 + number: *178 + created_at: *179 updated_at: anyOf: - type: 'null' - - *173 - url: *174 - html_url: *175 + - *180 + url: *181 + html_url: *182 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *623 - resolution: *624 + state: *627 + resolution: *628 resolved_at: type: - string @@ -99589,7 +100893,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *625 + - *629 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -99748,16 +101052,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *331 - - *332 - - *428 - - *621 + - *338 + - *339 + - *434 + - *625 responses: '200': description: Response content: application/json: - schema: *626 + schema: *630 examples: default: value: @@ -99811,9 +101115,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *331 - - *332 - - *428 + - *338 + - *339 + - *434 requestBody: required: true content: @@ -99821,8 +101125,8 @@ paths: schema: type: object properties: - state: *623 - resolution: *624 + state: *627 + resolution: *628 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -99870,7 +101174,7 @@ paths: description: Response content: application/json: - schema: *626 + schema: *630 examples: default: value: @@ -99969,9 +101273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *331 - - *332 - - *428 + - *338 + - *339 + - *434 - *19 - *17 responses: @@ -99982,7 +101286,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &776 + items: &780 type: object properties: type: @@ -100009,10 +101313,6 @@ paths: - commit details: oneOf: - - *627 - - *628 - - *629 - - *630 - *631 - *632 - *633 @@ -100022,6 +101322,10 @@ paths: - *637 - *638 - *639 + - *640 + - *641 + - *642 + - *643 examples: default: value: @@ -100107,8 +101411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -100116,14 +101420,14 @@ paths: schema: type: object properties: - reason: &641 + reason: &645 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *640 + placeholder_id: *644 required: - reason - placeholder_id @@ -100140,7 +101444,7 @@ paths: schema: type: object properties: - reason: *641 + reason: *645 expire_at: type: - string @@ -100187,8 +101491,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -100203,7 +101507,7 @@ paths: properties: incremental_scans: type: array - items: &642 + items: &646 description: Information on a single scan performed by secret scanning on the repository type: object @@ -100231,15 +101535,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *642 + items: *646 backfill_scans: type: array - items: *642 + items: *646 custom_pattern_backfill_scans: type: array items: allOf: - - *642 + - *646 - type: object properties: pattern_name: @@ -100252,7 +101556,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *642 + items: *646 examples: default: value: @@ -100317,8 +101621,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *331 - - *332 + - *338 + - *339 - *60 - name: sort description: The property to sort the results by. @@ -100362,9 +101666,9 @@ paths: application/json: schema: type: array - items: *643 + items: *647 examples: - default: *644 + default: *648 '400': *14 '404': *6 x-github: @@ -100387,8 +101691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -100468,7 +101772,7 @@ paths: login: type: string description: The username of the user credited. - type: *320 + type: *327 required: - login - type @@ -100558,9 +101862,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *647 examples: - default: &646 + default: &650 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -100790,8 +102094,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -100904,7 +102208,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *647 examples: default: value: @@ -101050,17 +102354,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *331 - - *332 - - *645 + - *338 + - *339 + - *649 responses: '200': description: Response content: application/json: - schema: *643 + schema: *647 examples: - default: *646 + default: *650 '403': *27 '404': *6 x-github: @@ -101084,9 +102388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *331 - - *332 - - *645 + - *338 + - *339 + - *649 requestBody: required: true content: @@ -101166,7 +102470,7 @@ paths: login: type: string description: The username of the user credited. - type: *320 + type: *327 required: - login - type @@ -101257,10 +102561,10 @@ paths: description: Response content: application/json: - schema: *643 + schema: *647 examples: - default: *646 - add_credit: *646 + default: *650 + add_credit: *650 '403': *27 '404': *6 '422': @@ -101298,9 +102602,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *331 - - *332 - - *645 + - *338 + - *339 + - *649 responses: '202': *37 '400': *14 @@ -101327,17 +102631,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *331 - - *332 - - *645 + - *338 + - *339 + - *649 responses: '202': description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: *336 + default: *343 '400': *14 '422': *15 '403': *27 @@ -101363,8 +102667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -101460,8 +102764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -101470,7 +102774,7 @@ paths: application/json: schema: type: array - items: &647 + items: &651 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -101503,8 +102807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -101582,8 +102886,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -101677,8 +102981,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -101832,8 +103136,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -101843,7 +103147,7 @@ paths: application/json: schema: type: array - items: *647 + items: *651 examples: default: value: @@ -101876,8 +103180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *331 - - *332 + - *338 + - *339 - name: sha in: path required: true @@ -101933,7 +103237,7 @@ paths: description: Response content: application/json: - schema: *648 + schema: *652 examples: default: value: @@ -101987,8 +103291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -102020,14 +103324,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &649 + schema: &653 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -102100,8 +103404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: false content: @@ -102127,7 +103431,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *653 examples: default: value: @@ -102154,8 +103458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -102175,8 +103479,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -102258,8 +103562,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *331 - - *332 + - *338 + - *339 - name: ref in: path required: true @@ -102295,8 +103599,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -102306,9 +103610,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - default: *252 + default: *259 headers: Link: *66 '404': *6 @@ -102328,8 +103632,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *331 - - *332 + - *338 + - *339 - *19 - *17 responses: @@ -102337,7 +103641,7 @@ paths: description: Response content: application/json: - schema: &650 + schema: &654 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -102349,7 +103653,7 @@ paths: required: - names examples: - default: &651 + default: &655 value: names: - octocat @@ -102372,8 +103676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -102404,9 +103708,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *654 examples: - default: *651 + default: *655 '404': *6 '422': *7 x-github: @@ -102427,9 +103731,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *331 - - *332 - - &652 + - *338 + - *339 + - &656 name: per description: The time frame to display results for. in: query @@ -102460,7 +103764,7 @@ paths: - 128 clones: type: array - items: &653 + items: &657 title: Traffic type: object properties: @@ -102547,8 +103851,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -102642,8 +103946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -102706,9 +104010,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *331 - - *332 - - *652 + - *338 + - *339 + - *656 responses: '200': description: Response @@ -102729,7 +104033,7 @@ paths: - 3782 views: type: array - items: *653 + items: *657 required: - uniques - count @@ -102806,8 +104110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -103080,8 +104384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -103104,8 +104408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -103127,8 +104431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -103154,8 +104458,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *331 - - *332 + - *338 + - *339 - name: ref in: path required: true @@ -103247,9 +104551,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: *336 + default: *343 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -103501,7 +104805,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &654 + text_matches: &658 title: Search Result Text Matches type: array items: @@ -103664,7 +104968,7 @@ paths: enum: - author-date - committer-date - - &655 + - &659 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -103733,7 +105037,7 @@ paths: committer: anyOf: - type: 'null' - - *396 + - *402 comment_count: type: integer message: @@ -103752,7 +105056,7 @@ paths: url: type: string format: uri - verification: *515 + verification: *519 required: - author - committer @@ -103767,7 +105071,7 @@ paths: committer: anyOf: - type: 'null' - - *396 + - *402 parents: type: array items: @@ -103784,7 +105088,7 @@ paths: type: number node_id: type: string - text_matches: *654 + text_matches: *658 required: - sha - node_id @@ -103976,7 +105280,7 @@ paths: - interactions - created - updated - - *655 + - *659 - *17 - *19 - name: advanced_search @@ -104090,11 +105394,11 @@ paths: type: - string - 'null' - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: type: string state_reason: @@ -104104,7 +105408,7 @@ paths: milestone: anyOf: - type: 'null' - - *272 + - *279 comments: type: integer created_at: @@ -104118,7 +105422,7 @@ paths: - string - 'null' format: date-time - text_matches: *654 + text_matches: *658 pull_request: type: object properties: @@ -104167,7 +105471,7 @@ paths: timeline_url: type: string format: uri - type: *236 + type: *243 performed_via_github_app: anyOf: - type: 'null' @@ -104382,7 +105686,7 @@ paths: enum: - created - updated - - *655 + - *659 - *17 - *19 responses: @@ -104427,7 +105731,7 @@ paths: - 'null' score: type: number - text_matches: *654 + text_matches: *658 required: - id - node_id @@ -104512,7 +105816,7 @@ paths: - forks - help-wanted-issues - updated - - *655 + - *659 - *17 - *19 responses: @@ -104758,7 +106062,7 @@ paths: - admin - pull - push - text_matches: *654 + text_matches: *658 temp_clone_token: type: string allow_merge_commit: @@ -105066,7 +106370,7 @@ paths: - string - 'null' format: uri - text_matches: *654 + text_matches: *658 related: type: - array @@ -105259,7 +106563,7 @@ paths: - followers - repositories - joined - - *655 + - *659 - *17 - *19 responses: @@ -105369,7 +106673,7 @@ paths: type: - boolean - 'null' - text_matches: *654 + text_matches: *658 blog: type: - string @@ -105451,7 +106755,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &658 + - &662 name: team_id description: The unique identifier of the team. in: path @@ -105463,9 +106767,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *334 examples: - default: *328 + default: *335 '404': *6 x-github: githubCloudOnly: false @@ -105492,7 +106796,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *658 + - *662 requestBody: required: true content: @@ -105556,16 +106860,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *327 + schema: *334 examples: - default: *328 + default: *335 '201': description: Response content: application/json: - schema: *327 + schema: *334 examples: - default: *328 + default: *335 '404': *6 '422': *15 '403': *27 @@ -105593,7 +106897,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *658 + - *662 responses: '204': description: Response @@ -105622,7 +106926,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *658 + - *662 - *17 - *19 responses: @@ -105632,9 +106936,9 @@ paths: application/json: schema: type: array - items: *230 + items: *237 examples: - default: *231 + default: *238 headers: Link: *66 x-github: @@ -105660,7 +106964,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *658 + - *662 - name: role description: Filters members returned by their role in the team. in: query @@ -105711,7 +107015,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *658 + - *662 - *70 responses: '204': @@ -105748,7 +107052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *658 + - *662 - *70 responses: '204': @@ -105788,7 +107092,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *658 + - *662 - *70 responses: '204': @@ -105825,16 +107129,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *658 + - *662 - *70 responses: '200': description: Response content: application/json: - schema: *330 + schema: *337 examples: - response-if-user-is-a-team-maintainer: *659 + response-if-user-is-a-team-maintainer: *663 '404': *6 x-github: githubCloudOnly: false @@ -105867,7 +107171,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *658 + - *662 - *70 requestBody: required: false @@ -105893,9 +107197,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *337 examples: - response-if-users-membership-with-team-is-now-pending: *660 + response-if-users-membership-with-team-is-now-pending: *664 '403': description: Forbidden if team synchronization is set up '422': @@ -105929,7 +107233,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *658 + - *662 - *70 responses: '204': @@ -105957,7 +107261,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *658 + - *662 - *17 - *19 responses: @@ -105969,7 +107273,7 @@ paths: type: array items: *153 examples: - default: *266 + default: *273 headers: Link: *66 '404': *6 @@ -105999,15 +107303,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *658 - - *331 - - *332 + - *662 + - *338 + - *339 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *661 + schema: *665 examples: alternative-response-with-extra-repository-information: value: @@ -106157,9 +107461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *658 - - *331 - - *332 + - *662 + - *338 + - *339 requestBody: required: false content: @@ -106209,9 +107513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *658 - - *331 - - *332 + - *662 + - *338 + - *339 responses: '204': description: Response @@ -106236,7 +107540,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *658 + - *662 - *17 - *19 responses: @@ -106246,9 +107550,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - response-if-child-teams-exist: *662 + response-if-child-teams-exist: *666 headers: Link: *66 '404': *6 @@ -106281,7 +107585,7 @@ paths: application/json: schema: oneOf: - - &663 + - &667 title: Private User description: Private User type: object @@ -106531,7 +107835,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &688 + - &692 title: Public User description: Public User type: object @@ -106865,7 +108169,7 @@ paths: description: Response content: application/json: - schema: *663 + schema: *667 examples: default: value: @@ -107068,9 +108372,9 @@ paths: type: integer codespaces: type: array - items: *241 + items: *248 examples: - default: *242 + default: *249 '304': *35 '500': *53 '401': *23 @@ -107209,17 +108513,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '401': *23 '403': *27 '404': *6 @@ -107263,7 +108567,7 @@ paths: type: integer secrets: type: array - items: &664 + items: &668 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -107305,7 +108609,7 @@ paths: - visibility - selected_repositories_url examples: - default: *453 + default: *459 headers: Link: *66 x-github: @@ -107383,7 +108687,7 @@ paths: description: Response content: application/json: - schema: *664 + schema: *668 examples: default: value: @@ -107529,7 +108833,7 @@ paths: type: array items: *153 examples: - default: *192 + default: *199 '401': *23 '403': *27 '404': *6 @@ -107673,15 +108977,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *243 + - *250 responses: '200': description: Response content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '304': *35 '500': *53 '401': *23 @@ -107707,7 +109011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *243 + - *250 requestBody: required: false content: @@ -107737,9 +109041,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '401': *23 '403': *27 '404': *6 @@ -107761,7 +109065,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *243 + - *250 responses: '202': *37 '304': *35 @@ -107790,13 +109094,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *243 + - *250 responses: '202': description: Response content: application/json: - schema: &665 + schema: &669 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -107849,7 +109153,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &666 + default: &670 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -107881,7 +109185,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *243 + - *250 - name: export_id in: path required: true @@ -107894,9 +109198,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *669 examples: - default: *666 + default: *670 '404': *6 x-github: githubCloudOnly: false @@ -107917,7 +109221,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *243 + - *250 responses: '200': description: Response @@ -107933,9 +109237,9 @@ paths: type: integer machines: type: array - items: *452 + items: *458 examples: - default: *667 + default: *671 '304': *35 '500': *53 '401': *23 @@ -107964,7 +109268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *243 + - *250 requestBody: required: true content: @@ -108020,11 +109324,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *334 + repository: *341 machine: anyOf: - type: 'null' - - *452 + - *458 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -108821,15 +110125,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *243 + - *250 responses: '200': description: Response content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '304': *35 '500': *53 '400': *14 @@ -108861,15 +110165,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *243 + - *250 responses: '200': description: Response content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '500': *53 '401': *23 '403': *27 @@ -108899,9 +110203,9 @@ paths: application/json: schema: type: array - items: *253 + items: *260 examples: - default: &678 + default: &682 value: - id: 197 name: hello_docker @@ -109002,7 +110306,7 @@ paths: application/json: schema: type: array - items: &668 + items: &672 title: Email description: Email type: object @@ -109072,9 +110376,9 @@ paths: application/json: schema: type: array - items: *668 + items: *672 examples: - default: &680 + default: &684 value: - email: octocat@github.com verified: true @@ -109151,7 +110455,7 @@ paths: application/json: schema: type: array - items: *668 + items: *672 examples: default: value: @@ -109409,7 +110713,7 @@ paths: application/json: schema: type: array - items: &669 + items: &673 title: GPG Key description: A unique encryption key type: object @@ -109554,7 +110858,7 @@ paths: - subkeys - revoked examples: - default: &698 + default: &702 value: - id: 3 name: Octocat's GPG Key @@ -109639,9 +110943,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *673 examples: - default: &670 + default: &674 value: id: 3 name: Octocat's GPG Key @@ -109698,7 +111002,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &671 + - &675 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -109710,9 +111014,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *673 examples: - default: *670 + default: *674 '404': *6 '304': *35 '403': *27 @@ -109735,7 +111039,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *671 + - *675 responses: '204': description: Response @@ -110014,12 +111318,12 @@ paths: application/json: schema: anyOf: - - *228 + - *235 - type: object properties: {} additionalProperties: false examples: - default: *229 + default: *236 '204': description: Response when there are no restrictions x-github: @@ -110043,7 +111347,7 @@ paths: required: true content: application/json: - schema: *526 + schema: *530 examples: default: value: @@ -110054,7 +111358,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *235 examples: default: value: @@ -110135,7 +111439,7 @@ paths: - closed - all default: open - - *239 + - *246 - name: sort description: What to sort results by. in: query @@ -110160,7 +111464,7 @@ paths: type: array items: *82 examples: - default: *240 + default: *247 headers: Link: *66 '404': *6 @@ -110193,7 +111497,7 @@ paths: application/json: schema: type: array - items: &672 + items: &676 title: Key description: Key type: object @@ -110296,9 +111600,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *676 examples: - default: &673 + default: &677 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -110331,15 +111635,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *557 + - *561 responses: '200': description: Response content: application/json: - schema: *672 + schema: *676 examples: - default: *673 + default: *677 '404': *6 '304': *35 '403': *27 @@ -110362,7 +111666,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *557 + - *561 responses: '204': description: Response @@ -110395,7 +111699,7 @@ paths: application/json: schema: type: array - items: &674 + items: &678 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -110474,7 +111778,7 @@ paths: - account - plan examples: - default: &675 + default: &679 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -110536,9 +111840,9 @@ paths: application/json: schema: type: array - items: *674 + items: *678 examples: - default: *675 + default: *679 headers: Link: *66 '304': *35 @@ -110578,7 +111882,7 @@ paths: application/json: schema: type: array - items: *245 + items: *252 examples: default: value: @@ -110692,7 +111996,7 @@ paths: description: Response content: application/json: - schema: *245 + schema: *252 examples: default: value: @@ -110779,7 +112083,7 @@ paths: description: Response content: application/json: - schema: *245 + schema: *252 examples: default: value: @@ -110851,7 +112155,7 @@ paths: application/json: schema: type: array - items: *247 + items: *254 examples: default: value: @@ -111113,7 +112417,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *254 examples: default: value: @@ -111293,7 +112597,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *248 + - *255 - name: exclude in: query required: false @@ -111306,7 +112610,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *254 examples: default: value: @@ -111500,7 +112804,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *248 + - *255 responses: '302': description: Response @@ -111526,7 +112830,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *248 + - *255 responses: '204': description: Response @@ -111555,8 +112859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *248 - - *676 + - *255 + - *680 responses: '204': description: Response @@ -111580,7 +112884,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *248 + - *255 - *17 - *19 responses: @@ -111669,7 +112973,7 @@ paths: - docker - nuget - container - - *677 + - *681 - *19 - *17 responses: @@ -111679,10 +112983,10 @@ paths: application/json: schema: type: array - items: *253 + items: *260 examples: - default: *678 - '400': *679 + default: *682 + '400': *683 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111702,16 +113006,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *255 - - *256 + - *262 + - *263 responses: '200': description: Response content: application/json: - schema: *253 + schema: *260 examples: - default: &699 + default: &703 value: id: 40201 name: octo-name @@ -111824,8 +113128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *255 - - *256 + - *262 + - *263 responses: '204': description: Response @@ -111855,8 +113159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *255 - - *256 + - *262 + - *263 - name: token description: package token schema: @@ -111888,8 +113192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *255 - - *256 + - *262 + - *263 - *19 - *17 - name: state @@ -111909,7 +113213,7 @@ paths: application/json: schema: type: array - items: *257 + items: *264 examples: default: value: @@ -111958,15 +113262,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *255 - - *256 - - *258 + - *262 + - *263 + - *265 responses: '200': description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -112002,9 +113306,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *255 - - *256 - - *258 + - *262 + - *263 + - *265 responses: '204': description: Response @@ -112034,9 +113338,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *255 - - *256 - - *258 + - *262 + - *263 + - *265 responses: '204': description: Response @@ -112073,9 +113377,9 @@ paths: application/json: schema: type: array - items: *668 + items: *672 examples: - default: *680 + default: *684 headers: Link: *66 '304': *35 @@ -112188,7 +113492,7 @@ paths: type: array items: *78 examples: - default: &687 + default: &691 summary: Default response value: - id: 1296269 @@ -112506,9 +113810,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: *336 + default: *343 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -112547,9 +113851,9 @@ paths: application/json: schema: type: array - items: *528 + items: *532 examples: - default: *681 + default: *685 headers: Link: *66 '304': *35 @@ -112572,7 +113876,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *232 + - *239 responses: '204': description: Response @@ -112596,7 +113900,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *232 + - *239 responses: '204': description: Response @@ -112629,7 +113933,7 @@ paths: application/json: schema: type: array - items: &682 + items: &686 title: Social account description: Social media account type: object @@ -112646,7 +113950,7 @@ paths: - provider - url examples: - default: &683 + default: &687 value: - provider: twitter url: https://twitter.com/github @@ -112709,9 +114013,9 @@ paths: application/json: schema: type: array - items: *682 + items: *686 examples: - default: *683 + default: *687 '422': *15 '304': *35 '404': *6 @@ -112799,7 +114103,7 @@ paths: application/json: schema: type: array - items: &684 + items: &688 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -112819,7 +114123,7 @@ paths: - title - created_at examples: - default: &717 + default: &721 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -112884,9 +114188,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *688 examples: - default: &685 + default: &689 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -112916,7 +114220,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &686 + - &690 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -112928,9 +114232,9 @@ paths: description: Response content: application/json: - schema: *684 + schema: *688 examples: - default: *685 + default: *689 '404': *6 '304': *35 '403': *27 @@ -112953,7 +114257,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *686 + - *690 responses: '204': description: Response @@ -112982,7 +114286,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &718 + - &722 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -113007,11 +114311,11 @@ paths: type: array items: *78 examples: - default-response: *687 + default-response: *691 application/vnd.github.v3.star+json: schema: type: array - items: &719 + items: &723 title: Starred Repository description: Starred Repository type: object @@ -113167,8 +114471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response if this repository is starred by you @@ -113196,8 +114500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -113221,8 +114525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -113257,7 +114561,7 @@ paths: type: array items: *153 examples: - default: *266 + default: *273 headers: Link: *66 '304': *35 @@ -113294,7 +114598,7 @@ paths: application/json: schema: type: array - items: *327 + items: *334 examples: default: value: @@ -113380,10 +114684,10 @@ paths: application/json: schema: oneOf: - - *663 - - *688 + - *667 + - *692 examples: - default-response: &692 + default-response: &696 summary: Default response value: login: octocat @@ -113418,7 +114722,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &693 + response-with-git-hub-plan-information: &697 summary: Response with GitHub plan information value: login: octocat @@ -113475,14 +114779,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &690 + - &694 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *271 + - *278 requestBody: required: true description: Details of the draft item to create in the project. @@ -113516,9 +114820,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *283 examples: - draft_issue: *277 + draft_issue: *284 '304': *35 '403': *27 '401': *23 @@ -113541,7 +114845,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *689 + - *693 - *17 responses: '200': @@ -113576,8 +114880,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *690 - - *271 + - *694 + - *278 requestBody: required: true content: @@ -113651,17 +114955,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *691 + schema: *695 examples: table_view: summary: Response for creating a table view - value: *281 + value: *288 board_view: summary: Response for creating a board view with filter - value: *281 + value: *288 roadmap_view: summary: Response for creating a roadmap view - value: *281 + value: *288 '304': *35 '403': *27 '401': *23 @@ -113703,11 +115007,11 @@ paths: application/json: schema: oneOf: - - *663 - - *688 + - *667 + - *692 examples: - default-response: *692 - response-with-git-hub-plan-information: *693 + default-response: *696 + response-with-git-hub-plan-information: *697 '404': *6 x-github: githubCloudOnly: false @@ -113757,8 +115061,8 @@ paths: required: - subject_digests examples: - default: *694 - withPredicateType: *695 + default: *698 + withPredicateType: *699 responses: '200': description: Response @@ -113798,7 +115102,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *696 + default: *700 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113987,7 +115291,7 @@ paths: initiator: type: string examples: - default: *392 + default: *398 '201': description: Response content: @@ -114054,7 +115358,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *187 + items: *194 examples: default: summary: Example response for listing user copilot spaces @@ -114269,9 +115573,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *194 examples: - default: &697 + default: &701 summary: Example response for a user copilot space value: id: 42 @@ -114370,9 +115674,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *194 examples: - default: *697 + default: *701 '403': *27 '404': *6 x-github: @@ -114496,9 +115800,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *194 examples: - default: *697 + default: *701 '403': *27 '404': *6 '422': *15 @@ -114575,7 +115879,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *189 + items: *196 examples: default: value: @@ -114718,7 +116022,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *196 examples: default: value: @@ -114829,7 +116133,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *196 examples: default: value: @@ -114959,7 +116263,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *190 + items: *197 examples: default: value: @@ -115051,7 +116355,7 @@ paths: description: Resource created content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -115067,7 +116371,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -115120,7 +116424,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -115187,7 +116491,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -115264,9 +116568,9 @@ paths: application/json: schema: type: array - items: *253 + items: *260 examples: - default: *678 + default: *682 '403': *27 '401': *23 x-github: @@ -115650,9 +116954,9 @@ paths: application/json: schema: type: array - items: *669 + items: *673 examples: - default: *698 + default: *702 headers: Link: *66 x-github: @@ -115756,7 +117060,7 @@ paths: application/json: schema: *20 examples: - default: *525 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115881,7 +117185,7 @@ paths: - docker - nuget - container - - *677 + - *681 - *70 - *19 - *17 @@ -115892,12 +117196,12 @@ paths: application/json: schema: type: array - items: *253 + items: *260 examples: - default: *678 + default: *682 '403': *27 '401': *23 - '400': *679 + '400': *683 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115917,17 +117221,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *255 - - *256 + - *262 + - *263 - *70 responses: '200': description: Response content: application/json: - schema: *253 + schema: *260 examples: - default: *699 + default: *703 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -115948,8 +117252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *255 - - *256 + - *262 + - *263 - *70 responses: '204': @@ -115982,8 +117286,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *255 - - *256 + - *262 + - *263 - *70 - name: token description: package token @@ -116016,8 +117320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *255 - - *256 + - *262 + - *263 - *70 responses: '200': @@ -116026,7 +117330,7 @@ paths: application/json: schema: type: array - items: *257 + items: *264 examples: default: value: @@ -116084,16 +117388,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *255 - - *256 - - *258 + - *262 + - *263 + - *265 - *70 responses: '200': description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -116128,10 +117432,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *255 - - *256 + - *262 + - *263 - *70 - - *258 + - *265 responses: '204': description: Response @@ -116163,10 +117467,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *255 - - *256 + - *262 + - *263 - *70 - - *258 + - *265 responses: '204': description: Response @@ -116207,9 +117511,9 @@ paths: application/json: schema: type: array - items: *269 + items: *276 examples: - default: *270 + default: *277 headers: Link: *66 '304': *35 @@ -116231,16 +117535,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *271 + - *278 - *70 responses: '200': description: Response content: application/json: - schema: *269 + schema: *276 examples: - default: *270 + default: *277 headers: Link: *66 '304': *35 @@ -116262,7 +117566,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *271 + - *278 - *70 - *17 - *45 @@ -116274,9 +117578,9 @@ paths: application/json: schema: type: array - items: *274 + items: *281 examples: - default: *700 + default: *704 headers: Link: *66 '304': *35 @@ -116298,7 +117602,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - *70 - - *271 + - *278 requestBody: required: true content: @@ -116336,7 +117640,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *701 + items: *705 required: - name - data_type @@ -116352,7 +117656,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *702 + iteration_configuration: *706 required: - name - data_type @@ -116374,20 +117678,20 @@ paths: value: name: Due date data_type: date - single_select_field: *703 - iteration_field: *704 + single_select_field: *707 + iteration_field: *708 responses: '201': description: Response content: application/json: - schema: *274 + schema: *281 examples: - text_field: *705 - number_field: *706 - date_field: *707 - single_select_field: *708 - iteration_field: *709 + text_field: *709 + number_field: *710 + date_field: *711 + single_select_field: *712 + iteration_field: *713 '304': *35 '403': *27 '401': *23 @@ -116408,17 +117712,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *271 - - *710 + - *278 + - *714 - *70 responses: '200': description: Response content: application/json: - schema: *274 + schema: *281 examples: - default: *711 + default: *715 headers: Link: *66 '304': *35 @@ -116441,7 +117745,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *271 + - *278 - *70 - *45 - *46 @@ -116474,9 +117778,9 @@ paths: application/json: schema: type: array - items: *278 + items: *285 examples: - default: *279 + default: *286 headers: Link: *66 '304': *35 @@ -116498,7 +117802,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *70 - - *271 + - *278 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -116568,22 +117872,22 @@ paths: description: Response content: application/json: - schema: *276 + schema: *283 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *277 + value: *284 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *277 + value: *284 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *277 + value: *284 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *277 + value: *284 '304': *35 '403': *27 '401': *23 @@ -116603,9 +117907,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *271 + - *278 - *70 - - *280 + - *287 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -116625,9 +117929,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *285 examples: - default: *279 + default: *286 headers: Link: *66 '304': *35 @@ -116648,9 +117952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *271 + - *278 - *70 - - *280 + - *287 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -116723,13 +118027,13 @@ paths: description: Response content: application/json: - schema: *278 + schema: *285 examples: - text_field: *279 - number_field: *279 - date_field: *279 - single_select_field: *279 - iteration_field: *279 + text_field: *286 + number_field: *286 + date_field: *286 + single_select_field: *286 + iteration_field: *286 '401': *23 '403': *27 '404': *6 @@ -116749,9 +118053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *271 + - *278 - *70 - - *280 + - *287 responses: '204': description: Response @@ -116773,9 +118077,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *271 + - *278 - *70 - - *712 + - *716 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -116801,9 +118105,9 @@ paths: application/json: schema: type: array - items: *278 + items: *285 examples: - default: *279 + default: *286 headers: Link: *66 '304': *35 @@ -117024,7 +118328,7 @@ paths: type: array items: *153 examples: - default: *266 + default: *273 headers: Link: *66 x-github: @@ -117050,7 +118354,7 @@ paths: - *116 - *118 - *117 - - *713 + - *717 - *119 responses: '200': @@ -117181,7 +118485,7 @@ paths: parameters: - *70 - *116 - - *714 + - *718 - *117 responses: '200': @@ -117280,9 +118584,9 @@ paths: - *116 - *118 - *117 - - *715 + - *719 - *119 - - *716 + - *720 responses: '200': description: Response when getting a billing usage summary @@ -117416,9 +118720,9 @@ paths: application/json: schema: type: array - items: *682 + items: *686 examples: - default: *683 + default: *687 headers: Link: *66 x-github: @@ -117448,9 +118752,9 @@ paths: application/json: schema: type: array - items: *684 + items: *688 examples: - default: *717 + default: *721 headers: Link: *66 x-github: @@ -117475,7 +118779,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *70 - - *718 + - *722 - *60 - *17 - *19 @@ -117487,11 +118791,11 @@ paths: schema: anyOf: - type: array - items: *719 + items: *723 - type: array items: *78 examples: - default-response: *687 + default-response: *691 headers: Link: *66 x-github: @@ -117522,7 +118826,7 @@ paths: type: array items: *153 examples: - default: *266 + default: *273 headers: Link: *66 x-github: @@ -117651,7 +118955,7 @@ webhooks: type: string enum: - disabled - enterprise: &720 + enterprise: &724 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -117720,7 +119024,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &721 + installation: &725 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -117741,7 +119045,7 @@ webhooks: required: - id - node_id - organization: &722 + organization: &726 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -117814,7 +119118,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &723 + repository: &727 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -118729,10 +120033,10 @@ webhooks: type: string enum: - enabled - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -118808,11 +120112,11 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - rule: &724 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + rule: &728 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -119035,11 +120339,11 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - rule: *724 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + rule: *728 sender: *4 required: - action @@ -119227,11 +120531,11 @@ webhooks: - everyone required: - from - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - rule: *724 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + rule: *728 sender: *4 required: - action @@ -119315,7 +120619,7 @@ webhooks: type: string enum: - completed - check_run: &726 + check_run: &730 title: CheckRun description: A check performed on the code of a given code change type: object @@ -119425,7 +120729,7 @@ webhooks: - examples: - neutral - deployment: *725 + deployment: *729 details_url: type: string examples: @@ -119523,10 +120827,10 @@ webhooks: - output - app - pull_requests - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + installation: *725 + enterprise: *724 + organization: *726 + repository: *727 sender: *4 required: - check_run @@ -119917,11 +121221,11 @@ webhooks: type: string enum: - created - check_run: *726 - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + check_run: *730 + installation: *725 + enterprise: *724 + organization: *726 + repository: *727 sender: *4 required: - check_run @@ -120315,11 +121619,11 @@ webhooks: type: string enum: - requested_action - check_run: *726 - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + check_run: *730 + installation: *725 + enterprise: *724 + organization: *726 + repository: *727 requested_action: description: The action requested by the user. type: object @@ -120722,11 +122026,11 @@ webhooks: type: string enum: - rerequested - check_run: *726 - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + check_run: *730 + installation: *725 + enterprise: *724 + organization: *726 + repository: *727 sender: *4 required: - check_run @@ -121711,10 +123015,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -122418,10 +123722,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -123119,10 +124423,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -123291,7 +124595,7 @@ webhooks: required: - login - id - dismissed_comment: *423 + dismissed_comment: *429 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -123443,20 +124747,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &727 + commit_oid: &731 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *720 - installation: *721 - organization: *722 - ref: &728 + enterprise: *724 + installation: *725 + organization: *726 + ref: &732 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *723 + repository: *727 sender: *4 required: - action @@ -123623,7 +124927,7 @@ webhooks: required: - login - id - dismissed_comment: *423 + dismissed_comment: *429 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -123864,12 +125168,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *731 + enterprise: *724 + installation: *725 + organization: *726 + ref: *732 + repository: *727 sender: *4 required: - action @@ -123967,7 +125271,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *423 + dismissed_comment: *429 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -124152,12 +125456,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *731 + enterprise: *724 + installation: *725 + organization: *726 + ref: *732 + repository: *727 sender: *4 required: - action @@ -124326,7 +125630,7 @@ webhooks: required: - login - id - dismissed_comment: *423 + dismissed_comment: *429 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -124503,12 +125807,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *731 + enterprise: *724 + installation: *725 + organization: *726 + ref: *732 + repository: *727 sender: *4 required: - action @@ -124609,7 +125913,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *423 + dismissed_comment: *429 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -124798,9 +126102,9 @@ webhooks: type: - string - 'null' - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -124808,7 +126112,7 @@ webhooks: type: - string - 'null' - repository: *723 + repository: *727 sender: *4 required: - action @@ -124907,7 +126211,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *423 + dismissed_comment: *429 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -125054,12 +126358,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *731 + enterprise: *724 + installation: *725 + organization: *726 + ref: *732 + repository: *727 sender: *4 required: - action @@ -125228,7 +126532,7 @@ webhooks: required: - login - id - dismissed_comment: *423 + dismissed_comment: *429 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -125380,10 +126684,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -125643,10 +126947,10 @@ webhooks: - updated_at - author_association - body - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -125727,18 +127031,18 @@ webhooks: type: - string - 'null' - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *722 - pusher_type: &729 + organization: *726 + pusher_type: &733 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &730 + ref: &734 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -125748,7 +127052,7 @@ webhooks: enum: - tag - branch - repository: *723 + repository: *727 sender: *4 required: - ref @@ -125830,10 +127134,10 @@ webhooks: type: string enum: - created - definition: *282 - enterprise: *720 - installation: *721 - organization: *722 + definition: *289 + enterprise: *724 + installation: *725 + organization: *726 sender: *4 required: - action @@ -125918,9 +127222,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 sender: *4 required: - action @@ -125997,10 +127301,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *282 - enterprise: *720 - installation: *721 - organization: *722 + definition: *289 + enterprise: *724 + installation: *725 + organization: *726 sender: *4 required: - action @@ -126077,10 +127381,10 @@ webhooks: type: string enum: - updated - definition: *282 - enterprise: *720 - installation: *721 - organization: *722 + definition: *289 + enterprise: *724 + installation: *725 + organization: *726 sender: *4 required: - action @@ -126157,19 +127461,19 @@ webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - repository: *723 - organization: *722 + enterprise: *724 + installation: *725 + repository: *727 + organization: *726 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *286 + items: *293 old_property_values: type: array description: The old custom property values for the repository. - items: *286 + items: *293 required: - action - repository @@ -126245,18 +127549,18 @@ webhooks: title: delete event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - pusher_type: *729 - ref: *730 + enterprise: *724 + installation: *725 + organization: *726 + pusher_type: *733 + ref: *734 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *723 + repository: *727 sender: *4 required: - ref @@ -126336,11 +127640,11 @@ webhooks: type: string enum: - assignees_changed - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -126420,11 +127724,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -126505,11 +127809,11 @@ webhooks: type: string enum: - auto_reopened - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -126590,11 +127894,11 @@ webhooks: type: string enum: - created - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -126673,11 +127977,11 @@ webhooks: type: string enum: - dismissed - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -126756,11 +128060,11 @@ webhooks: type: string enum: - fixed - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -126840,11 +128144,11 @@ webhooks: type: string enum: - reintroduced - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -126923,11 +128227,11 @@ webhooks: type: string enum: - reopened - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -127004,9 +128308,9 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - key: &731 + enterprise: *724 + installation: *725 + key: &735 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -127044,8 +128348,8 @@ webhooks: - verified - created_at - read_only - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -127122,11 +128426,11 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - key: *731 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + key: *735 + organization: *726 + repository: *727 sender: *4 required: - action @@ -127693,12 +128997,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - workflow: &735 + workflow: &739 title: Workflow type: - object @@ -128449,13 +129753,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *490 + - *496 pull_requests: type: array - items: *575 - repository: *723 - organization: *722 - installation: *721 + items: *579 + repository: *727 + organization: *726 + installation: *725 sender: *4 responses: '200': @@ -128526,7 +129830,7 @@ webhooks: type: string enum: - approved - approver: &732 + approver: &736 type: object properties: avatar_url: @@ -128569,11 +129873,11 @@ webhooks: type: string comment: type: string - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - reviewers: &733 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + reviewers: &737 type: array items: type: object @@ -128654,7 +129958,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &734 + workflow_job_run: &738 type: object properties: conclusion: @@ -129400,18 +130704,18 @@ webhooks: type: string enum: - rejected - approver: *732 + approver: *736 comment: type: string - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - reviewers: *733 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + reviewers: *737 sender: *4 since: type: string - workflow_job_run: *734 + workflow_job_run: *738 workflow_job_runs: type: array items: @@ -130128,13 +131432,13 @@ webhooks: type: string enum: - requested - enterprise: *720 + enterprise: *724 environment: type: string - installation: *721 - organization: *722 - repository: *723 - requestor: &740 + installation: *725 + organization: *726 + repository: *727 + requestor: &744 title: User type: - object @@ -132067,12 +133371,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - workflow: *735 + workflow: *739 workflow_run: title: Deployment Workflow Run type: @@ -132763,7 +134067,7 @@ webhooks: type: string enum: - answered - answer: &738 + answer: &742 type: object properties: author_association: @@ -132923,11 +134227,11 @@ webhooks: - created_at - updated_at - body - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -133054,11 +134358,11 @@ webhooks: - from required: - category - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -133141,11 +134445,11 @@ webhooks: type: string enum: - closed - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -133227,7 +134531,7 @@ webhooks: type: string enum: - created - comment: &737 + comment: &741 type: object properties: author_association: @@ -133387,11 +134691,11 @@ webhooks: - updated_at - body - reactions - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -133474,12 +134778,12 @@ webhooks: type: string enum: - deleted - comment: *737 - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + comment: *741 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -133574,12 +134878,12 @@ webhooks: - from required: - body - comment: *737 - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + comment: *741 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -133663,11 +134967,11 @@ webhooks: type: string enum: - created - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -133749,11 +135053,11 @@ webhooks: type: string enum: - deleted - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -133853,11 +135157,11 @@ webhooks: type: string required: - from - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -133939,10 +135243,10 @@ webhooks: type: string enum: - labeled - discussion: *736 - enterprise: *720 - installation: *721 - label: &739 + discussion: *740 + enterprise: *724 + installation: *725 + label: &743 title: Label type: object properties: @@ -133975,8 +135279,8 @@ webhooks: - color - default - description - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134059,11 +135363,11 @@ webhooks: type: string enum: - locked - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134145,11 +135449,11 @@ webhooks: type: string enum: - pinned - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134231,11 +135535,11 @@ webhooks: type: string enum: - reopened - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134320,16 +135624,16 @@ webhooks: changes: type: object properties: - new_discussion: *736 - new_repository: *723 + new_discussion: *740 + new_repository: *727 required: - new_discussion - new_repository - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134412,10 +135716,10 @@ webhooks: type: string enum: - unanswered - discussion: *736 - old_answer: *738 - organization: *722 - repository: *723 + discussion: *740 + old_answer: *742 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134497,12 +135801,12 @@ webhooks: type: string enum: - unlabeled - discussion: *736 - enterprise: *720 - installation: *721 - label: *739 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + label: *743 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134585,11 +135889,11 @@ webhooks: type: string enum: - unlocked - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134671,11 +135975,11 @@ webhooks: type: string enum: - unpinned - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134748,7 +136052,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *720 + enterprise: *724 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -135426,9 +136730,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - forkee @@ -135574,9 +136878,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pages: description: The pages that were updated. type: array @@ -135614,7 +136918,7 @@ webhooks: - action - sha - html_url - repository: *723 + repository: *727 sender: *4 required: - pages @@ -135690,10 +136994,10 @@ webhooks: type: string enum: - created - enterprise: *720 + enterprise: *724 installation: *20 - organization: *722 - repositories: &741 + organization: *726 + repositories: &745 description: An array of repository objects that the installation can access. type: array @@ -135719,8 +137023,8 @@ webhooks: - name - full_name - private - repository: *723 - requester: *740 + repository: *727 + requester: *744 sender: *4 required: - action @@ -135795,11 +137099,11 @@ webhooks: type: string enum: - deleted - enterprise: *720 + enterprise: *724 installation: *20 - organization: *722 - repositories: *741 - repository: *723 + organization: *726 + repositories: *745 + repository: *727 requester: type: - 'null' @@ -135876,11 +137180,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *720 + enterprise: *724 installation: *20 - organization: *722 - repositories: *741 - repository: *723 + organization: *726 + repositories: *745 + repository: *727 requester: type: - 'null' @@ -135957,10 +137261,10 @@ webhooks: type: string enum: - added - enterprise: *720 + enterprise: *724 installation: *20 - organization: *722 - repositories_added: &742 + organization: *726 + repositories_added: &746 description: An array of repository objects, which were added to the installation. type: array @@ -136006,15 +137310,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *723 - repository_selection: &743 + repository: *727 + repository_selection: &747 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *740 + requester: *744 sender: *4 required: - action @@ -136093,10 +137397,10 @@ webhooks: type: string enum: - removed - enterprise: *720 + enterprise: *724 installation: *20 - organization: *722 - repositories_added: *742 + organization: *726 + repositories_added: *746 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -136123,9 +137427,9 @@ webhooks: - name - full_name - private - repository: *723 - repository_selection: *743 - requester: *740 + repository: *727 + repository_selection: *747 + requester: *744 sender: *4 required: - action @@ -136204,11 +137508,11 @@ webhooks: type: string enum: - suspend - enterprise: *720 + enterprise: *724 installation: *20 - organization: *722 - repositories: *741 - repository: *723 + organization: *726 + repositories: *745 + repository: *727 requester: type: - 'null' @@ -136390,10 +137694,10 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 target_type: type: string @@ -136472,11 +137776,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *720 + enterprise: *724 installation: *20 - organization: *722 - repositories: *741 - repository: *723 + organization: *726 + repositories: *745 + repository: *727 requester: type: - 'null' @@ -136642,7 +137946,7 @@ webhooks: pin: anyOf: - type: 'null' - - *554 + - *558 user: title: User type: @@ -136728,8 +138032,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -137541,8 +138845,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137559,7 +138863,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -137903,8 +139207,8 @@ webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -137984,7 +139288,7 @@ webhooks: type: string enum: - deleted - comment: &744 + comment: &748 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -138141,7 +139445,7 @@ webhooks: pin: anyOf: - type: 'null' - - *554 + - *558 required: - url - html_url @@ -138155,8 +139459,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -138964,8 +140268,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138982,7 +140286,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -139328,8 +140632,8 @@ webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -139409,7 +140713,7 @@ webhooks: type: string enum: - edited - changes: &768 + changes: &772 description: The changes to the comment. type: object properties: @@ -139421,9 +140725,9 @@ webhooks: type: string required: - from - comment: *744 - enterprise: *720 - installation: *721 + comment: *748 + enterprise: *724 + installation: *725 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -140234,8 +141538,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140252,7 +141556,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -140596,8 +141900,8 @@ webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -140678,9 +141982,9 @@ webhooks: type: string enum: - pinned - comment: *744 - enterprise: *720 - installation: *721 + comment: *748 + enterprise: *724 + installation: *725 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -141493,8 +142797,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141511,7 +142815,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -141857,8 +143161,8 @@ webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -141938,9 +143242,9 @@ webhooks: type: string enum: - unpinned - comment: *744 - enterprise: *720 - installation: *721 + comment: *748 + enterprise: *724 + installation: *725 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -142753,8 +144057,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142771,7 +144075,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -143117,8 +144421,8 @@ webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -143207,9 +144511,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -143298,9 +144602,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -143388,9 +144692,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -143479,9 +144783,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -143561,10 +144865,10 @@ webhooks: type: string enum: - assigned - assignee: *740 - enterprise: *720 - installation: *721 - issue: &745 + assignee: *744 + enterprise: *724 + installation: *725 + issue: &749 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -144375,11 +145679,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144396,7 +145700,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -144499,8 +145803,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -144580,8 +145884,8 @@ webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -145397,11 +146701,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145418,7 +146722,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -145664,8 +146968,8 @@ webhooks: required: - state - closed_at - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -145744,8 +147048,8 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -146552,11 +147856,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146573,7 +147877,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -146675,8 +147979,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -146755,8 +148059,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147586,11 +148890,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147607,7 +148911,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -147688,7 +148992,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &746 + milestone: &750 title: Milestone description: A collection of related issues and pull requests. type: object @@ -147831,8 +149135,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -147931,8 +149235,8 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -148743,11 +150047,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148761,7 +150065,7 @@ webhooks: timeline_url: type: string format: uri - type: *236 + type: *243 title: description: Title of the issue type: string @@ -148867,9 +150171,9 @@ webhooks: - active_lock_reason - body - reactions - label: *739 - organization: *722 - repository: *723 + label: *743 + organization: *726 + repository: *727 sender: *4 required: - action @@ -148949,9 +150253,9 @@ webhooks: type: string enum: - field_added - enterprise: *720 - installation: *721 - issue: *745 + enterprise: *724 + installation: *725 + issue: *749 issue_field: type: object description: The issue field whose value was set or updated on the @@ -149070,8 +150374,8 @@ webhooks: - id required: - from - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -149151,9 +150455,9 @@ webhooks: type: string enum: - field_removed - enterprise: *720 - installation: *721 - issue: *745 + enterprise: *724 + installation: *725 + issue: *749 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -149216,8 +150520,8 @@ webhooks: - 'null' required: - id - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -149297,8 +150601,8 @@ webhooks: type: string enum: - labeled - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150108,11 +151412,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150126,7 +151430,7 @@ webhooks: timeline_url: type: string format: uri - type: *236 + type: *243 title: description: Title of the issue type: string @@ -150232,9 +151536,9 @@ webhooks: - active_lock_reason - body - reactions - label: *739 - organization: *722 - repository: *723 + label: *743 + organization: *726 + repository: *727 sender: *4 required: - action @@ -150314,8 +151618,8 @@ webhooks: type: string enum: - locked - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151150,11 +152454,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151168,7 +152472,7 @@ webhooks: timeline_url: type: string format: uri - type: *236 + type: *243 title: description: Title of the issue type: string @@ -151251,8 +152555,8 @@ webhooks: format: uri user_view_type: type: string - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -151331,8 +152635,8 @@ webhooks: type: string enum: - milestoned - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -152161,11 +153465,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152182,7 +153486,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -152262,9 +153566,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *746 - organization: *722 - repository: *723 + milestone: *750 + organization: *726 + repository: *727 sender: *4 required: - action @@ -153151,11 +154455,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153255,7 +154559,7 @@ webhooks: required: - login - id - type: *236 + type: *243 required: - id - number @@ -153747,8 +155051,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -154555,11 +155859,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154576,7 +155880,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -154682,8 +155986,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -154763,9 +156067,9 @@ webhooks: type: string enum: - pinned - enterprise: *720 - installation: *721 - issue: &747 + enterprise: *724 + installation: *725 + issue: &751 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -155570,11 +156874,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155591,7 +156895,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -155693,8 +156997,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -155773,8 +157077,8 @@ webhooks: type: string enum: - reopened - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -156607,11 +157911,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156708,9 +158012,9 @@ webhooks: format: uri user_view_type: type: string - type: *236 - organization: *722 - repository: *723 + type: *243 + organization: *726 + repository: *727 sender: *4 required: - action @@ -157598,11 +158902,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157619,7 +158923,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -158212,11 +159516,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *720 - installation: *721 - issue: *747 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + issue: *751 + organization: *726 + repository: *727 sender: *4 required: - action @@ -158296,12 +159600,12 @@ webhooks: type: string enum: - typed - enterprise: *720 - installation: *721 - issue: *745 - type: *236 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + issue: *749 + type: *243 + organization: *726 + repository: *727 sender: *4 required: - action @@ -158382,7 +159686,7 @@ webhooks: type: string enum: - unassigned - assignee: &771 + assignee: &775 title: User type: - object @@ -158454,11 +159758,11 @@ webhooks: required: - login - id - enterprise: *720 - installation: *721 - issue: *745 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + issue: *749 + organization: *726 + repository: *727 sender: *4 required: - action @@ -158537,12 +159841,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *720 - installation: *721 - issue: *745 - label: *739 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + issue: *749 + label: *743 + organization: *726 + repository: *727 sender: *4 required: - action @@ -158622,8 +159926,8 @@ webhooks: type: string enum: - unlocked - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -159456,11 +160760,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159477,7 +160781,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -159557,8 +160861,8 @@ webhooks: format: uri user_view_type: type: string - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -159638,11 +160942,11 @@ webhooks: type: string enum: - unpinned - enterprise: *720 - installation: *721 - issue: *747 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + issue: *751 + organization: *726 + repository: *727 sender: *4 required: - action @@ -159721,12 +161025,12 @@ webhooks: type: string enum: - untyped - enterprise: *720 - installation: *721 - issue: *745 - type: *236 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + issue: *749 + type: *243 + organization: *726 + repository: *727 sender: *4 required: - action @@ -159806,11 +161110,11 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - label: *739 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + label: *743 + organization: *726 + repository: *727 sender: *4 required: - action @@ -159888,11 +161192,11 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - label: *739 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + label: *743 + organization: *726 + repository: *727 sender: *4 required: - action @@ -160002,11 +161306,11 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - label: *739 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + label: *743 + organization: *726 + repository: *727 sender: *4 required: - action @@ -160088,9 +161392,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: &748 + enterprise: *724 + installation: *725 + marketplace_purchase: &752 title: Marketplace Purchase type: object required: @@ -160178,8 +161482,8 @@ webhooks: type: integer unit_count: type: integer - organization: *722 - previous_marketplace_purchase: &749 + organization: *726 + previous_marketplace_purchase: &753 title: Marketplace Purchase type: object properties: @@ -160263,7 +161567,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *723 + repository: *727 sender: *4 required: - action @@ -160343,10 +161647,10 @@ webhooks: - changed effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: *748 - organization: *722 + enterprise: *724 + installation: *725 + marketplace_purchase: *752 + organization: *726 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -160434,7 +161738,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *723 + repository: *727 sender: *4 required: - action @@ -160516,10 +161820,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: *748 - organization: *722 + enterprise: *724 + installation: *725 + marketplace_purchase: *752 + organization: *726 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -160605,7 +161909,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *723 + repository: *727 sender: *4 required: - action @@ -160686,8 +161990,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 marketplace_purchase: title: Marketplace Purchase type: object @@ -160773,9 +162077,9 @@ webhooks: type: integer unit_count: type: integer - organization: *722 - previous_marketplace_purchase: *749 - repository: *723 + organization: *726 + previous_marketplace_purchase: *753 + repository: *727 sender: *4 required: - action @@ -160855,12 +162159,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: *748 - organization: *722 - previous_marketplace_purchase: *749 - repository: *723 + enterprise: *724 + installation: *725 + marketplace_purchase: *752 + organization: *726 + previous_marketplace_purchase: *753 + repository: *727 sender: *4 required: - action @@ -160962,11 +162266,11 @@ webhooks: type: string required: - to - enterprise: *720 - installation: *721 - member: *740 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + member: *744 + organization: *726 + repository: *727 sender: *4 required: - action @@ -161068,11 +162372,11 @@ webhooks: type: - string - 'null' - enterprise: *720 - installation: *721 - member: *740 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + member: *744 + organization: *726 + repository: *727 sender: *4 required: - action @@ -161151,11 +162455,11 @@ webhooks: type: string enum: - removed - enterprise: *720 - installation: *721 - member: *740 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + member: *744 + organization: *726 + repository: *727 sender: *4 required: - action @@ -161233,11 +162537,11 @@ webhooks: type: string enum: - added - enterprise: *720 - installation: *721 - member: *740 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + member: *744 + organization: *726 + repository: *727 scope: description: The scope of the membership. Currently, can only be `team`. @@ -161315,7 +162619,7 @@ webhooks: required: - login - id - team: &750 + team: &754 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -161545,11 +162849,11 @@ webhooks: type: string enum: - removed - enterprise: *720 - installation: *721 - member: *740 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + member: *744 + organization: *726 + repository: *727 scope: description: The scope of the membership. Currently, can only be `team`. @@ -161628,7 +162932,7 @@ webhooks: required: - login - id - team: *750 + team: *754 required: - action - scope @@ -161710,8 +163014,8 @@ webhooks: type: string enum: - checks_requested - installation: *721 - merge_group: &751 + installation: *725 + merge_group: &755 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -161730,15 +163034,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *412 + head_commit: *418 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -161824,10 +163128,10 @@ webhooks: - merged - invalidated - dequeued - installation: *721 - merge_group: *751 - organization: *722 - repository: *723 + installation: *725 + merge_group: *755 + organization: *726 + repository: *727 sender: *4 required: - action @@ -161900,7 +163204,7 @@ webhooks: type: string enum: - deleted - enterprise: *720 + enterprise: *724 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -162009,12 +163313,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *721 - organization: *722 + installation: *725 + organization: *726 repository: anyOf: - type: 'null' - - *723 + - *727 sender: *4 required: - action @@ -162094,11 +163398,11 @@ webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 - milestone: *746 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + milestone: *750 + organization: *726 + repository: *727 sender: *4 required: - action @@ -162177,9 +163481,9 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - milestone: &752 + enterprise: *724 + installation: *725 + milestone: &756 title: Milestone description: A collection of related issues and pull requests. type: object @@ -162321,8 +163625,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -162401,11 +163705,11 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - milestone: *746 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + milestone: *750 + organization: *726 + repository: *727 sender: *4 required: - action @@ -162515,11 +163819,11 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - milestone: *746 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + milestone: *750 + organization: *726 + repository: *727 sender: *4 required: - action @@ -162599,11 +163903,11 @@ webhooks: type: string enum: - opened - enterprise: *720 - installation: *721 - milestone: *752 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + milestone: *756 + organization: *726 + repository: *727 sender: *4 required: - action @@ -162682,11 +163986,11 @@ webhooks: type: string enum: - blocked - blocked_user: *740 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + blocked_user: *744 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -162765,11 +164069,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *740 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + blocked_user: *744 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -162848,9 +164152,9 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - membership: &753 + enterprise: *724 + installation: *725 + membership: &757 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -162960,8 +164264,8 @@ webhooks: - role - organization_url - user - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -163039,11 +164343,11 @@ webhooks: type: string enum: - member_added - enterprise: *720 - installation: *721 - membership: *753 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + membership: *757 + organization: *726 + repository: *727 sender: *4 required: - action @@ -163122,8 +164426,8 @@ webhooks: type: string enum: - member_invited - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -163245,10 +164549,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 - user: *740 + user: *744 required: - action - invitation @@ -163326,11 +164630,11 @@ webhooks: type: string enum: - member_removed - enterprise: *720 - installation: *721 - membership: *753 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + membership: *757 + organization: *726 + repository: *727 sender: *4 required: - action @@ -163417,11 +164721,11 @@ webhooks: properties: from: type: string - enterprise: *720 - installation: *721 - membership: *753 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + membership: *757 + organization: *726 + repository: *727 sender: *4 required: - action @@ -163498,9 +164802,9 @@ webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 package: description: Information about the package. type: object @@ -164023,7 +165327,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &754 + items: &758 title: Ruby Gems metadata type: object properties: @@ -164120,7 +165424,7 @@ webhooks: - owner - package_version - registry - repository: *723 + repository: *727 sender: *4 required: - action @@ -164196,9 +165500,9 @@ webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 package: description: Information about the package. type: object @@ -164560,7 +165864,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *754 + items: *758 source_url: type: string format: uri @@ -164631,7 +165935,7 @@ webhooks: - owner - package_version - registry - repository: *723 + repository: *727 sender: *4 required: - action @@ -164811,12 +166115,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *720 + enterprise: *724 id: type: integer - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - id @@ -164893,7 +166197,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &755 + personal_access_token_request: &759 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -165043,10 +166347,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *720 - organization: *722 + enterprise: *724 + organization: *726 sender: *4 - installation: *721 + installation: *725 required: - action - personal_access_token_request @@ -165123,11 +166427,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *755 - enterprise: *720 - organization: *722 + personal_access_token_request: *759 + enterprise: *724 + organization: *726 sender: *4 - installation: *721 + installation: *725 required: - action - personal_access_token_request @@ -165203,11 +166507,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *755 - enterprise: *720 - organization: *722 + personal_access_token_request: *759 + enterprise: *724 + organization: *726 sender: *4 - installation: *721 + installation: *725 required: - action - personal_access_token_request @@ -165282,11 +166586,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *755 - organization: *722 - enterprise: *720 + personal_access_token_request: *759 + organization: *726 + enterprise: *724 sender: *4 - installation: *721 + installation: *725 required: - action - personal_access_token_request @@ -165391,7 +166695,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *756 + last_response: *760 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -165423,8 +166727,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 zen: description: Random string of GitHub zen. @@ -165669,10 +166973,10 @@ webhooks: - from required: - note - enterprise: *720 - installation: *721 - organization: *722 - project_card: &757 + enterprise: *724 + installation: *725 + organization: *726 + project_card: &761 title: Project Card type: object properties: @@ -165795,7 +167099,7 @@ webhooks: - creator - created_at - updated_at - repository: *723 + repository: *727 sender: *4 required: - action @@ -165876,11 +167180,11 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - project_card: *757 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + project_card: *761 + repository: *727 sender: *4 required: - action @@ -165960,9 +167264,9 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 project_card: title: Project Card type: object @@ -166092,7 +167396,7 @@ webhooks: repository: anyOf: - type: 'null' - - *723 + - *727 sender: *4 required: - action @@ -166186,11 +167490,11 @@ webhooks: - from required: - note - enterprise: *720 - installation: *721 - organization: *722 - project_card: *757 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + project_card: *761 + repository: *727 sender: *4 required: - action @@ -166284,9 +167588,9 @@ webhooks: - from required: - column_id - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 project_card: allOf: - title: Project Card @@ -166483,7 +167787,7 @@ webhooks: type: string required: - after_id - repository: *723 + repository: *727 sender: *4 required: - action @@ -166563,10 +167867,10 @@ webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 - organization: *722 - project: &759 + enterprise: *724 + installation: *725 + organization: *726 + project: &763 title: Project type: object properties: @@ -166693,7 +167997,7 @@ webhooks: - creator - created_at - updated_at - repository: *723 + repository: *727 sender: *4 required: - action @@ -166773,10 +168077,10 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - project_column: &758 + enterprise: *724 + installation: *725 + organization: *726 + project_column: &762 title: Project Column type: object properties: @@ -166816,7 +168120,7 @@ webhooks: - name - created_at - updated_at - repository: *723 + repository: *727 sender: *4 required: - action @@ -166895,14 +168199,14 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - project_column: *758 + enterprise: *724 + installation: *725 + organization: *726 + project_column: *762 repository: anyOf: - type: 'null' - - *723 + - *727 sender: *4 required: - action @@ -166991,11 +168295,11 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - project_column: *758 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + project_column: *762 + repository: *727 sender: *4 required: - action @@ -167075,11 +168379,11 @@ webhooks: type: string enum: - moved - enterprise: *720 - installation: *721 - organization: *722 - project_column: *758 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + project_column: *762 + repository: *727 sender: *4 required: - action @@ -167159,11 +168463,11 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - project: *759 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + project: *763 + repository: *727 sender: *4 required: - action @@ -167243,14 +168547,14 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - project: *759 + enterprise: *724 + installation: *725 + organization: *726 + project: *763 repository: anyOf: - type: 'null' - - *723 + - *727 sender: *4 required: - action @@ -167351,11 +168655,11 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - project: *759 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + project: *763 + repository: *727 sender: *4 required: - action @@ -167434,11 +168738,11 @@ webhooks: type: string enum: - reopened - enterprise: *720 - installation: *721 - organization: *722 - project: *759 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + project: *763 + repository: *727 sender: *4 required: - action @@ -167519,9 +168823,9 @@ webhooks: type: string enum: - closed - installation: *721 - organization: *722 - projects_v2: *269 + installation: *725 + organization: *726 + projects_v2: *276 sender: *4 required: - action @@ -167602,9 +168906,9 @@ webhooks: type: string enum: - created - installation: *721 - organization: *722 - projects_v2: *269 + installation: *725 + organization: *726 + projects_v2: *276 sender: *4 required: - action @@ -167685,9 +168989,9 @@ webhooks: type: string enum: - deleted - installation: *721 - organization: *722 - projects_v2: *269 + installation: *725 + organization: *726 + projects_v2: *276 sender: *4 required: - action @@ -167808,9 +169112,9 @@ webhooks: type: string to: type: string - installation: *721 - organization: *722 - projects_v2: *269 + installation: *725 + organization: *726 + projects_v2: *276 sender: *4 required: - action @@ -167893,7 +169197,7 @@ webhooks: type: string enum: - archived - changes: &763 + changes: &767 type: object properties: archived_at: @@ -167909,9 +169213,9 @@ webhooks: - string - 'null' format: date-time - installation: *721 - organization: *722 - projects_v2_item: &760 + installation: *725 + organization: *726 + projects_v2_item: &764 title: Projects v2 Item description: An item belonging to a project type: object @@ -167929,7 +169233,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *275 + content_type: *282 creator: *4 created_at: type: string @@ -168051,9 +169355,9 @@ webhooks: - 'null' to: type: string - installation: *721 - organization: *722 - projects_v2_item: *760 + installation: *725 + organization: *726 + projects_v2_item: *764 sender: *4 required: - action @@ -168135,9 +169439,9 @@ webhooks: type: string enum: - created - installation: *721 - organization: *722 - projects_v2_item: *760 + installation: *725 + organization: *726 + projects_v2_item: *764 sender: *4 required: - action @@ -168218,9 +169522,9 @@ webhooks: type: string enum: - deleted - installation: *721 - organization: *722 - projects_v2_item: *760 + installation: *725 + organization: *726 + projects_v2_item: *764 sender: *4 required: - action @@ -168325,7 +169629,7 @@ webhooks: oneOf: - type: string - type: integer - - &761 + - &765 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -168349,7 +169653,7 @@ webhooks: required: - id - name - - &762 + - &766 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -168389,8 +169693,8 @@ webhooks: oneOf: - type: string - type: integer - - *761 - - *762 + - *765 + - *766 type: - 'null' - string @@ -168413,9 +169717,9 @@ webhooks: - 'null' required: - body - installation: *721 - organization: *722 - projects_v2_item: *760 + installation: *725 + organization: *726 + projects_v2_item: *764 sender: *4 required: - action @@ -168512,9 +169816,9 @@ webhooks: type: - string - 'null' - installation: *721 - organization: *722 - projects_v2_item: *760 + installation: *725 + organization: *726 + projects_v2_item: *764 sender: *4 required: - action @@ -168597,10 +169901,10 @@ webhooks: type: string enum: - restored - changes: *763 - installation: *721 - organization: *722 - projects_v2_item: *760 + changes: *767 + installation: *725 + organization: *726 + projects_v2_item: *764 sender: *4 required: - action @@ -168682,9 +169986,9 @@ webhooks: type: string enum: - reopened - installation: *721 - organization: *722 - projects_v2: *269 + installation: *725 + organization: *726 + projects_v2: *276 sender: *4 required: - action @@ -168765,9 +170069,9 @@ webhooks: type: string enum: - created - installation: *721 - organization: *722 - projects_v2_status_update: *764 + installation: *725 + organization: *726 + projects_v2_status_update: *768 sender: *4 required: - action @@ -168848,9 +170152,9 @@ webhooks: type: string enum: - deleted - installation: *721 - organization: *722 - projects_v2_status_update: *764 + installation: *725 + organization: *726 + projects_v2_status_update: *768 sender: *4 required: - action @@ -168996,9 +170300,9 @@ webhooks: - string - 'null' format: date - installation: *721 - organization: *722 - projects_v2_status_update: *764 + installation: *725 + organization: *726 + projects_v2_status_update: *768 sender: *4 required: - action @@ -169069,10 +170373,10 @@ webhooks: title: public event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - repository @@ -169149,13 +170453,13 @@ webhooks: type: string enum: - assigned - assignee: *740 - enterprise: *720 - installation: *721 - number: &765 + assignee: *744 + enterprise: *724 + installation: *725 + number: &769 description: The pull request number. type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -171507,7 +172811,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -171589,11 +172893,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -173938,7 +175242,7 @@ webhooks: - draft reason: type: string - repository: *723 + repository: *727 sender: *4 required: - action @@ -174020,11 +175324,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -176369,7 +177673,7 @@ webhooks: - draft reason: type: string - repository: *723 + repository: *727 sender: *4 required: - action @@ -176451,13 +177755,13 @@ webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 - number: *765 - organization: *722 - pull_request: &766 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 + pull_request: &770 allOf: - - *575 + - *579 - type: object properties: allow_auto_merge: @@ -176519,7 +177823,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *723 + repository: *727 sender: *4 required: - action @@ -176600,12 +177904,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *720 - installation: *721 - number: *765 - organization: *722 - pull_request: *766 - repository: *723 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 + pull_request: *770 + repository: *727 sender: *4 required: - action @@ -176685,11 +177989,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *720 - milestone: *272 - number: *765 - organization: *722 - pull_request: &767 + enterprise: *724 + milestone: *279 + number: *769 + organization: *726 + pull_request: &771 title: Pull Request type: object properties: @@ -179033,7 +180337,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -179112,11 +180416,11 @@ webhooks: type: string enum: - dequeued - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -181479,7 +182783,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *723 + repository: *727 sender: *4 required: - action @@ -181603,12 +182907,12 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - number: *765 - organization: *722 - pull_request: *766 - repository: *723 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 + pull_request: *770 + repository: *727 sender: *4 required: - action @@ -181688,11 +182992,11 @@ webhooks: type: string enum: - enqueued - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -184040,7 +185344,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -184120,11 +185424,11 @@ webhooks: type: string enum: - labeled - enterprise: *720 - installation: *721 - label: *739 - number: *765 - organization: *722 + enterprise: *724 + installation: *725 + label: *743 + number: *769 + organization: *726 pull_request: title: Pull Request type: object @@ -186475,7 +187779,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -186556,10 +187860,10 @@ webhooks: type: string enum: - locked - enterprise: *720 - installation: *721 - number: *765 - organization: *722 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 pull_request: title: Pull Request type: object @@ -188908,7 +190212,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -188988,12 +190292,12 @@ webhooks: type: string enum: - milestoned - enterprise: *720 - milestone: *272 - number: *765 - organization: *722 - pull_request: *767 - repository: *723 + enterprise: *724 + milestone: *279 + number: *769 + organization: *726 + pull_request: *771 + repository: *727 sender: *4 required: - action @@ -189072,12 +190376,12 @@ webhooks: type: string enum: - opened - enterprise: *720 - installation: *721 - number: *765 - organization: *722 - pull_request: *766 - repository: *723 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 + pull_request: *770 + repository: *727 sender: *4 required: - action @@ -189158,12 +190462,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *720 - installation: *721 - number: *765 - organization: *722 - pull_request: *766 - repository: *723 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 + pull_request: *770 + repository: *727 sender: *4 required: - action @@ -189243,12 +190547,12 @@ webhooks: type: string enum: - reopened - enterprise: *720 - installation: *721 - number: *765 - organization: *722 - pull_request: *766 - repository: *723 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 + pull_request: *770 + repository: *727 sender: *4 required: - action @@ -189623,9 +190927,9 @@ webhooks: - start_side - side - reactions - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pull_request: type: object properties: @@ -191858,7 +193162,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *723 + repository: *727 sender: *4 required: - action @@ -191938,7 +193242,7 @@ webhooks: type: string enum: - deleted - comment: &769 + comment: &773 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -192231,9 +193535,9 @@ webhooks: - start_side - side - reactions - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pull_request: type: object properties: @@ -194454,7 +195758,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *723 + repository: *727 sender: *4 required: - action @@ -194534,11 +195838,11 @@ webhooks: type: string enum: - edited - changes: *768 - comment: *769 - enterprise: *720 - installation: *721 - organization: *722 + changes: *772 + comment: *773 + enterprise: *724 + installation: *725 + organization: *726 pull_request: type: object properties: @@ -196762,7 +198066,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *723 + repository: *727 sender: *4 required: - action @@ -196843,9 +198147,9 @@ webhooks: type: string enum: - dismissed - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pull_request: title: Simple Pull Request type: object @@ -199081,7 +200385,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 + repository: *727 review: description: The review that was affected. type: object @@ -199332,9 +200636,9 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pull_request: title: Simple Pull Request type: object @@ -201443,8 +202747,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 - review: &770 + repository: *727 + review: &774 description: The review that was affected. type: object properties: @@ -201682,12 +202986,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: description: The pull request number. type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -204037,7 +205341,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 requested_reviewer: title: User type: @@ -204123,12 +205427,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: description: The pull request number. type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -206485,7 +207789,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 requested_team: title: Team description: Groups of organization members that gives permissions @@ -206680,12 +207984,12 @@ webhooks: type: string enum: - review_requested - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: description: The pull request number. type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -209037,7 +210341,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 requested_reviewer: title: User type: @@ -209124,12 +210428,12 @@ webhooks: type: string enum: - review_requested - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: description: The pull request number. type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -211472,7 +212776,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 requested_team: title: Team description: Groups of organization members that gives permissions @@ -211656,9 +212960,9 @@ webhooks: type: string enum: - submitted - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pull_request: title: Simple Pull Request type: object @@ -213897,8 +215201,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 - review: *770 + repository: *727 + review: *774 sender: *4 required: - action @@ -213978,9 +215282,9 @@ webhooks: type: string enum: - resolved - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pull_request: title: Simple Pull Request type: object @@ -216128,7 +217432,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 + repository: *727 sender: *4 thread: type: object @@ -216525,9 +217829,9 @@ webhooks: type: string enum: - unresolved - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pull_request: title: Simple Pull Request type: object @@ -218658,7 +219962,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 + repository: *727 sender: *4 thread: type: object @@ -219057,10 +220361,10 @@ webhooks: type: string before: type: string - enterprise: *720 - installation: *721 - number: *765 - organization: *722 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 pull_request: title: Pull Request type: object @@ -221398,7 +222702,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -221480,11 +222784,11 @@ webhooks: type: string enum: - unassigned - assignee: *771 - enterprise: *720 - installation: *721 - number: *765 - organization: *722 + assignee: *775 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 pull_request: title: Pull Request type: object @@ -223837,7 +225141,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -223916,11 +225220,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *720 - installation: *721 - label: *739 - number: *765 - organization: *722 + enterprise: *724 + installation: *725 + label: *743 + number: *769 + organization: *726 pull_request: title: Pull Request type: object @@ -226262,7 +227566,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -226343,10 +227647,10 @@ webhooks: type: string enum: - unlocked - enterprise: *720 - installation: *721 - number: *765 - organization: *722 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 pull_request: title: Pull Request type: object @@ -228678,7 +229982,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -228881,7 +230185,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *720 + enterprise: *724 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -228976,8 +230280,8 @@ webhooks: - url - author - committer - installation: *721 - organization: *722 + installation: *725 + organization: *726 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -229576,9 +230880,9 @@ webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 registry_package: type: object properties: @@ -230055,7 +231359,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *754 + items: *758 summary: type: string tag_name: @@ -230111,7 +231415,7 @@ webhooks: - owner - package_version - registry - repository: *723 + repository: *727 sender: *4 required: - action @@ -230189,9 +231493,9 @@ webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 registry_package: type: object properties: @@ -230503,7 +231807,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *754 + items: *758 summary: type: string tag_name: @@ -230553,7 +231857,7 @@ webhooks: - owner - package_version - registry - repository: *723 + repository: *727 sender: *4 required: - action @@ -230630,10 +231934,10 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - release: &772 + enterprise: *724 + installation: *725 + organization: *726 + release: &776 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -230964,7 +232268,7 @@ webhooks: - updated_at - zipball_url - body - repository: *723 + repository: *727 sender: *4 required: - action @@ -231041,11 +232345,11 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - release: *772 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + release: *776 + repository: *727 sender: *4 required: - action @@ -231162,11 +232466,11 @@ webhooks: type: boolean required: - to - enterprise: *720 - installation: *721 - organization: *722 - release: *772 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + release: *776 + repository: *727 sender: *4 required: - action @@ -231244,9 +232548,9 @@ webhooks: type: string enum: - prereleased - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -231582,7 +232886,7 @@ webhooks: - string - 'null' format: uri - repository: *723 + repository: *727 sender: *4 required: - action @@ -231658,10 +232962,10 @@ webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 - release: &773 + enterprise: *724 + installation: *725 + organization: *726 + release: &777 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -231994,7 +233298,7 @@ webhooks: - string - 'null' format: uri - repository: *723 + repository: *727 sender: *4 required: - action @@ -232070,11 +233374,11 @@ webhooks: type: string enum: - released - enterprise: *720 - installation: *721 - organization: *722 - release: *772 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + release: *776 + repository: *727 sender: *4 required: - action @@ -232150,11 +233454,11 @@ webhooks: type: string enum: - unpublished - enterprise: *720 - installation: *721 - organization: *722 - release: *773 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + release: *777 + repository: *727 sender: *4 required: - action @@ -232230,11 +233534,11 @@ webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_advisory: *643 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + repository_advisory: *647 sender: *4 required: - action @@ -232310,11 +233614,11 @@ webhooks: type: string enum: - reported - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_advisory: *643 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + repository_advisory: *647 sender: *4 required: - action @@ -232390,10 +233694,10 @@ webhooks: type: string enum: - archived - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -232470,10 +233774,10 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -232551,10 +233855,10 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -232639,10 +233943,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -232757,10 +234061,10 @@ webhooks: - 'null' items: type: string - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -232832,10 +234136,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 status: type: string @@ -232916,10 +234220,10 @@ webhooks: type: string enum: - privatized - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -232996,10 +234300,10 @@ webhooks: type: string enum: - publicized - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -233093,10 +234397,10 @@ webhooks: - name required: - repository - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -233176,11 +234480,11 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_ruleset: *314 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + repository_ruleset: *321 sender: *4 required: - action @@ -233258,11 +234562,11 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_ruleset: *314 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + repository_ruleset: *321 sender: *4 required: - action @@ -233340,11 +234644,11 @@ webhooks: type: string enum: - edited - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_ruleset: *314 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + repository_ruleset: *321 changes: type: object properties: @@ -233363,16 +234667,16 @@ webhooks: properties: added: type: array - items: *288 + items: *295 deleted: type: array - items: *288 + items: *295 updated: type: array items: type: object properties: - condition: *288 + condition: *295 changes: type: object properties: @@ -233405,16 +234709,16 @@ webhooks: properties: added: type: array - items: *595 + items: *599 deleted: type: array - items: *595 + items: *599 updated: type: array items: type: object properties: - rule: *595 + rule: *599 changes: type: object properties: @@ -233651,10 +234955,10 @@ webhooks: - from required: - owner - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -233732,10 +235036,10 @@ webhooks: type: string enum: - unarchived - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -233813,7 +235117,7 @@ webhooks: type: string enum: - create - alert: &774 + alert: &778 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -233938,10 +235242,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -234151,10 +235455,10 @@ webhooks: type: string enum: - dismissed - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -234232,11 +235536,11 @@ webhooks: type: string enum: - reopen - alert: *774 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *778 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -234438,10 +235742,10 @@ webhooks: enum: - fixed - open - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -234519,17 +235823,17 @@ webhooks: type: string enum: - assigned - alert: &775 + alert: &779 type: object properties: - number: *171 - created_at: *172 + number: *178 + created_at: *179 updated_at: anyOf: - type: 'null' - - *173 - url: *174 - html_url: *175 + - *180 + url: *181 + html_url: *182 locations_url: type: string format: uri @@ -234659,10 +235963,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -234740,11 +236044,11 @@ webhooks: type: string enum: - created - alert: *775 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *779 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -234825,11 +236129,11 @@ webhooks: type: string enum: - created - alert: *775 - installation: *721 - location: *776 - organization: *722 - repository: *723 + alert: *779 + installation: *725 + location: *780 + organization: *726 + repository: *727 sender: *4 required: - location @@ -235067,11 +236371,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *775 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *779 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -235149,11 +236453,11 @@ webhooks: type: string enum: - reopened - alert: *775 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *779 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -235231,11 +236535,11 @@ webhooks: type: string enum: - resolved - alert: *775 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *779 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -235313,12 +236617,12 @@ webhooks: type: string enum: - unassigned - alert: *775 + alert: *779 assignee: *4 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -235396,11 +236700,11 @@ webhooks: type: string enum: - validated - alert: *775 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *779 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -235530,10 +236834,10 @@ webhooks: - organization - enterprise - - repository: *723 - enterprise: *720 - installation: *721 - organization: *722 + repository: *727 + enterprise: *724 + installation: *725 + organization: *726 sender: *4 required: - action @@ -235611,11 +236915,11 @@ webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - security_advisory: &777 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + security_advisory: &781 description: The details of the security advisory, including summary, description, and severity. type: object @@ -235788,11 +237092,11 @@ webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - security_advisory: *777 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + security_advisory: *781 sender: *4 required: - action @@ -235865,10 +237169,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -236041,11 +237345,11 @@ webhooks: from: type: object properties: - security_and_analysis: *287 - enterprise: *720 - installation: *721 - organization: *722 - repository: *334 + security_and_analysis: *294 + enterprise: *724 + installation: *725 + organization: *726 + repository: *341 sender: *4 required: - changes @@ -236123,12 +237427,12 @@ webhooks: type: string enum: - cancelled - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - sponsorship: &778 + sponsorship: &782 type: object properties: created_at: @@ -236433,12 +237737,12 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - sponsorship: *778 + sponsorship: *782 required: - action - sponsorship @@ -236526,12 +237830,12 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - sponsorship: *778 + sponsorship: *782 required: - action - changes @@ -236608,17 +237912,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &779 + effective_date: &783 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - sponsorship: *778 + sponsorship: *782 required: - action - sponsorship @@ -236692,7 +237996,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &780 + changes: &784 type: object properties: tier: @@ -236736,13 +238040,13 @@ webhooks: - from required: - tier - effective_date: *779 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + effective_date: *783 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - sponsorship: *778 + sponsorship: *782 required: - action - changes @@ -236819,13 +238123,13 @@ webhooks: type: string enum: - tier_changed - changes: *780 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + changes: *784 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - sponsorship: *778 + sponsorship: *782 required: - action - changes @@ -236899,10 +238203,10 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -236986,10 +238290,10 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -237423,15 +238727,15 @@ webhooks: type: - string - 'null' - enterprise: *720 + enterprise: *724 id: description: The unique identifier of the status. type: integer - installation: *721 + installation: *725 name: type: string - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 sha: description: The Commit SHA. @@ -237547,17 +238851,16 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action - - parent_issue_id - - parent_issue - - parent_issue_repo - sub_issue_id - sub_issue + - repository + - sender responses: '200': description: Return a 200 status to indicate that the data was received @@ -237639,17 +238942,16 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action - - parent_issue_id - - parent_issue - - parent_issue_repo - sub_issue_id - sub_issue + - repository + - sender responses: '200': description: Return a 200 status to indicate that the data was received @@ -237731,17 +239033,16 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action - - sub_issue_id - - sub_issue - - sub_issue_repo - parent_issue_id - parent_issue + - repository + - sender responses: '200': description: Return a 200 status to indicate that the data was received @@ -237823,17 +239124,16 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action - - sub_issue_id - - sub_issue - - sub_issue_repo - parent_issue_id - parent_issue + - repository + - sender responses: '200': description: Return a 200 status to indicate that the data was received @@ -237902,12 +239202,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - team: &781 + team: &785 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -238137,9 +239437,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 repository: title: Repository description: A git repository @@ -238609,7 +239909,7 @@ webhooks: - topics - visibility sender: *4 - team: *781 + team: *785 required: - action - team @@ -238685,9 +239985,9 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 repository: title: Repository description: A git repository @@ -239157,7 +240457,7 @@ webhooks: - topics - visibility sender: *4 - team: *781 + team: *785 required: - action - team @@ -239234,9 +240534,9 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 repository: title: Repository description: A git repository @@ -239706,7 +241006,7 @@ webhooks: - topics - visibility sender: *4 - team: *781 + team: *785 required: - action - team @@ -239850,9 +241150,9 @@ webhooks: - from required: - permissions - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 repository: title: Repository description: A git repository @@ -240322,7 +241622,7 @@ webhooks: - topics - visibility sender: *4 - team: *781 + team: *785 required: - action - changes @@ -240400,9 +241700,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 repository: title: Repository description: A git repository @@ -240872,7 +242172,7 @@ webhooks: - topics - visibility sender: *4 - team: *781 + team: *785 required: - action - team @@ -240948,10 +242248,10 @@ webhooks: type: string enum: - started - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -241024,17 +242324,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *720 + enterprise: *724 inputs: type: - object - 'null' additionalProperties: true - installation: *721 - organization: *722 + installation: *725 + organization: *726 ref: type: string - repository: *723 + repository: *727 sender: *4 workflow: type: string @@ -241116,10 +242416,10 @@ webhooks: type: string enum: - completed - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 workflow_job: allOf: @@ -241375,7 +242675,7 @@ webhooks: type: string required: - conclusion - deployment: *490 + deployment: *496 required: - action - repository @@ -241454,10 +242754,10 @@ webhooks: type: string enum: - in_progress - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 workflow_job: allOf: @@ -241739,7 +243039,7 @@ webhooks: required: - status - steps - deployment: *490 + deployment: *496 required: - action - repository @@ -241818,10 +243118,10 @@ webhooks: type: string enum: - queued - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 workflow_job: type: object @@ -241967,7 +243267,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *490 + deployment: *496 required: - action - repository @@ -242046,10 +243346,10 @@ webhooks: type: string enum: - waiting - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 workflow_job: type: object @@ -242196,7 +243496,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *490 + deployment: *496 required: - action - repository @@ -242276,12 +243576,12 @@ webhooks: type: string enum: - completed - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - workflow: *735 + workflow: *739 workflow_run: title: Workflow Run type: object @@ -243300,12 +244600,12 @@ webhooks: type: string enum: - in_progress - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - workflow: *735 + workflow: *739 workflow_run: title: Workflow Run type: object @@ -244309,12 +245609,12 @@ webhooks: type: string enum: - requested - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - workflow: *735 + workflow: *739 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index eea07c48c..b4dd169a8 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -207,6 +207,10 @@ { "name": "agent-tasks", "description": "Endpoints to manage and interact with agent tasks." + }, + { + "name": "agents", + "description": "Endpoints for Agents secrets and variables." } ], "servers": [ @@ -32050,6 +32054,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -32193,6 +32208,14 @@ "null" ], "description": "The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/rest/scim#list-provisioned-scim-groups-for-an-enterprise)." + }, + "notification_setting": { + "type": "string", + "description": "The notification setting the team is set to. The options are:\n\n* `notifications_enabled` - team members receive notifications when the team is @mentioned.\n* `notifications_disabled` - no one receives notifications.\n\nDefault: `notifications_enabled`\n", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -32287,6 +32310,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -34713,249 +34747,279 @@ "updated_at": { "type": "string", "format": "date-time" - } - }, - "required": [ - "id", - "url", - "members_url", - "name", - "html_url", - "slug", - "created_at", - "updated_at", - "group_id" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "name": "Justice League", - "description": "A great team.", - "slug": "justice-league", - "url": "https://api.github.com/enterprises/dc/teams/justice-league", - "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", - "html_url": "https://github.com/enterprises/dc/teams/justice-league", - "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", - "created_at": "2019-01-26T19:01:12Z", - "updated_at": "2019-01-26T19:14:43Z" - } - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "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" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "enterprise-teams", - "subcategory": "enterprise-teams" - } - }, - "patch": { - "summary": "Update an enterprise team", - "description": "To edit a team, the authenticated user must be an enterprise owner.", - "tags": [ - "enterprise-teams" - ], - "operationId": "enterprise-teams/update", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ], - "description": "A new name for the team." - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "A new description for the team." - }, - "sync_to_organizations": { - "type": "string", - "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be changed.\n", - "enum": [ - "all", - "disabled" - ], - "default": "disabled" - }, - "organization_selection_type": { - "type": "string", - "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", - "enum": [ - "disabled", - "selected", - "all" - ], - "default": "disabled" - }, - "group_id": { - "type": [ - "string", - "null" - ], - "description": "The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group." - } - } - }, - "examples": { - "default": { - "value": { - "name": "Justice League", - "description": "A great team.", - "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Enterprise Team", - "description": "Group of enterprise owners and/or members", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" }, - "sync_to_organizations": { - "type": "string", - "description": "Retired: this field will not be returned with GHEC enterprise teams.", - "examples": [ - "disabled | all" - ] - }, - "organization_selection_type": { + "notification_setting": { "type": "string", - "examples": [ - "disabled | selected | all" - ] - }, - "group_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "62ab9291-fae2-468e-974b-7e45096d5021" - ] - }, - "group_name": { - "type": [ - "string", - "null" + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" ], - "description": "Retired: this field will not be returned with GHEC enterprise teams.", - "examples": [ - "Justice League" - ] - }, - "html_url": { - "type": "string", - "format": "uri", "examples": [ - "https://github.com/enterprises/dc/teams/justice-league" + "notifications_enabled" + ] + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "patch": { + "summary": "Update an enterprise team", + "description": "To edit a team, the authenticated user must be an enterprise owner.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/update", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ], + "description": "A new name for the team." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "A new description for the team." + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be changed.\n", + "enum": [ + "all", + "disabled" + ], + "default": "disabled" + }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, + "group_id": { + "type": [ + "string", + "null" + ], + "description": "The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group." + }, + "notification_setting": { + "type": "string", + "description": "The notification setting the team is set to. The options are:\n\n* `notifications_enabled` - team members receive notifications when the team is @mentioned.\n* `notifications_disabled` - no one receives notifications.\n", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] + } + } + }, + "examples": { + "default": { + "value": { + "name": "Justice League", + "description": "A great team.", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" ] - }, - "members_url": { - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" } }, "required": [ @@ -112317,6 +112381,3630 @@ } } }, + "/orgs/{org}/agents/secrets": { + "get": { + "summary": "List organization secrets", + "description": "Lists all secrets available in an organization without revealing their\nencrypted values.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-org-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-organization-secrets" + }, + "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/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/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", + "secrets" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "secrets": { + "type": "array", + "items": { + "title": "Actions Secret for an Organization", + "description": "Secrets for GitHub Actions for an organization.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "visibility": { + "description": "Visibility of a secret", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/org/secrets/my_secret/repositories" + ] + } + }, + "required": [ + "name", + "created_at", + "updated_at", + "visibility" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 3, + "secrets": [ + { + "name": "GIST_ID", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "private" + }, + { + "name": "DEPLOY_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "all" + }, + { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/public-key": { + "get": { + "summary": "Get an organization public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-public-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#get-an-organization-public-key" + }, + "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": { + "title": "ActionsPublicKey", + "description": "The public key used for setting Actions Secrets.", + "type": "object", + "properties": { + "key_id": { + "description": "The identifier for the key.", + "type": "string", + "examples": [ + "1234567" + ] + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "examples": [ + "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=" + ] + }, + "id": { + "type": "integer", + "examples": [ + 2 + ] + }, + "url": { + "type": "string", + "examples": [ + "https://api.github.com/user/keys/2" + ] + }, + "title": { + "type": "string", + "examples": [ + "ssh-rsa AAAAB3NzaC1yc2EAAA" + ] + }, + "created_at": { + "type": "string", + "examples": [ + "2011-01-26T19:01:12Z" + ] + } + }, + "required": [ + "key_id", + "key" + ] + }, + "examples": { + "default": { + "value": { + "key_id": "012345678912345678", + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}": { + "get": { + "summary": "Get an organization secret", + "description": "Gets a single organization secret without revealing its encrypted value.\n\nThe authenticated user must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#get-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Actions Secret for an Organization", + "description": "Secrets for GitHub Actions for an organization.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "visibility": { + "description": "Visibility of a secret", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/org/secrets/my_secret/repositories" + ] + } + }, + "required": [ + "name", + "created_at", + "updated_at", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "put": { + "summary": "Create or update an organization secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-or-update-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "encrypted_value": { + "type": "string", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/agents/secrets#get-an-organization-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "type": "string", + "description": "ID of the key you used to encrypt the secret." + }, + "visibility": { + "type": "string", + "description": "Which type of organization repositories have access to the organization secret. `selected` means only the repositories specified by `selected_repository_ids` can access the secret.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "encrypted_value", + "key_id", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response when creating a secret", + "content": { + "application/json": { + "schema": { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "examples": { + "default": { + "value": null + } + } + } + } + }, + "204": { + "description": "Response when updating a secret" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "delete": { + "summary": "Delete an organization secret", + "description": "Deletes a secret in an organization using the secret name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#delete-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}/repositories": { + "get": { + "summary": "List selected repositories for an organization secret", + "description": "Lists all repositories that have been selected when the `visibility`\nfor repository access to a secret is set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-selected-repos-for-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "title": "Minimal Repository", + "description": "Minimal Repository", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": [ + "string", + "null" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": [ + "string", + "null" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "has_pull_requests": { + "type": "boolean" + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "examples": [ + "admin" + ] + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "contributor_covenant" + ] + }, + "name": { + "type": "string", + "examples": [ + "Contributor Covenant" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/codes_of_conduct/contributor_covenant" + ] + }, + "body": { + "type": "string", + "examples": [ + "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + ] + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": [ + "object", + "null" + ], + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": [ + "string", + "null" + ] + }, + "node_id": { + "type": "string" + } + } + }, + "forks": { + "type": "integer", + "examples": [ + 0 + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 0 + ] + }, + "watchers": { + "type": "integer", + "examples": [ + 0 + ] + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "examples": [ + false + ] + }, + "security_and_analysis": { + "type": [ + "object", + "null" + ], + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_alert_dismissal": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass_options": { + "type": "object", + "properties": { + "reviewers": { + "type": "array", + "description": "The bypass reviewers for secret scanning delegated bypass", + "items": { + "type": "object", + "required": [ + "reviewer_id", + "reviewer_type" + ], + "properties": { + "reviewer_id": { + "type": "integer", + "description": "The ID of the team or role selected as a bypass reviewer" + }, + "reviewer_type": { + "type": "string", + "description": "The type of the bypass reviewer", + "enum": [ + "TEAM", + "ROLE" + ] + }, + "mode": { + "type": "string", + "description": "The bypass mode for the reviewer", + "enum": [ + "ALWAYS", + "EXEMPT" + ], + "default": "ALWAYS" + } + } + } + } + } + } + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + } + }, + "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" + ], + "x-github-breaking-changes": [ + { + "changeset": "remove_has_downloads", + "patch": { + "properties": { + "has_downloads": null + } + }, + "version": "2026-03-10" + } + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "repositories": [ + { + "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}", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "put": { + "summary": "Set selected repositories for an organization secret", + "description": "Replaces all repositories for an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/set-selected-repos-for-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization secret](https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}": { + "put": { + "summary": "Add selected repository to an organization secret", + "description": "Adds a repository to an organization secret when the `visibility` for\nrepository access is set to `selected`. For more information about setting the visibility, see [Create or\nupdate an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/add-selected-repo-to-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "No Content when repository was added to the selected list" + }, + "409": { + "description": "Conflict when visibility type is not set to selected" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "delete": { + "summary": "Remove selected repository from an organization secret", + "description": "Removes a repository from an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/remove-selected-repo-from-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response when repository was removed from the selected list" + }, + "409": { + "description": "Conflict when visibility type not set to selected" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/variables": { + "get": { + "summary": "List organization variables", + "description": "Lists all agent variables available in an organization.\nReturned variables include their values.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-org-variables", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#list-organization-variables" + }, + "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 30). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 10 + } + }, + { + "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/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", + "variables" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "type": "array", + "items": { + "title": "Actions Variable for an Organization", + "description": "Organization variable for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "visibility": { + "description": "Visibility of a variable", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/org/variables/USERNAME/repositories" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at", + "visibility" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 3, + "variables": [ + { + "name": "USERNAME", + "value": "octocat", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "private" + }, + { + "name": "ACTIONS_RUNNER_DEBUG", + "value": true, + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "all" + }, + { + "name": "ADMIN_EMAIL", + "value": "octocat@github.com", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "post": { + "summary": "Create an organization variable", + "description": "Creates an organization agent variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#create-an-organization-variable" + }, + "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": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + }, + "visibility": { + "type": "string", + "description": "The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "name", + "value", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response when creating a variable", + "content": { + "application/json": { + "schema": { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "examples": { + "default": { + "value": null + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}": { + "get": { + "summary": "Get an organization variable", + "description": "Gets a specific agent variable in an organization.\n\nThe authenticated user must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#get-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Actions Variable for an Organization", + "description": "Organization variable for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "visibility": { + "description": "Visibility of a variable", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/org/variables/USERNAME/repositories" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "patch": { + "summary": "Update an organization variable", + "description": "Updates an organization agent variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/update-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#update-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + }, + "visibility": { + "type": "string", + "description": "The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Delete an organization variable", + "description": "Deletes an organization agent variable using the variable name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#delete-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}/repositories": { + "get": { + "summary": "List selected repositories for an organization variable", + "description": "Lists all repositories that can access an organization agent variable\nthat is available to selected repositories.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-selected-repos-for-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#list-selected-repositories-for-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + }, + { + "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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "title": "Minimal Repository", + "description": "Minimal Repository", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": [ + "string", + "null" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": [ + "string", + "null" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "has_pull_requests": { + "type": "boolean" + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "examples": [ + "admin" + ] + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "contributor_covenant" + ] + }, + "name": { + "type": "string", + "examples": [ + "Contributor Covenant" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/codes_of_conduct/contributor_covenant" + ] + }, + "body": { + "type": "string", + "examples": [ + "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + ] + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": [ + "object", + "null" + ], + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": [ + "string", + "null" + ] + }, + "node_id": { + "type": "string" + } + } + }, + "forks": { + "type": "integer", + "examples": [ + 0 + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 0 + ] + }, + "watchers": { + "type": "integer", + "examples": [ + 0 + ] + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "examples": [ + false + ] + }, + "security_and_analysis": { + "type": [ + "object", + "null" + ], + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_alert_dismissal": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass_options": { + "type": "object", + "properties": { + "reviewers": { + "type": "array", + "description": "The bypass reviewers for secret scanning delegated bypass", + "items": { + "type": "object", + "required": [ + "reviewer_id", + "reviewer_type" + ], + "properties": { + "reviewer_id": { + "type": "integer", + "description": "The ID of the team or role selected as a bypass reviewer" + }, + "reviewer_type": { + "type": "string", + "description": "The type of the bypass reviewer", + "enum": [ + "TEAM", + "ROLE" + ] + }, + "mode": { + "type": "string", + "description": "The bypass mode for the reviewer", + "enum": [ + "ALWAYS", + "EXEMPT" + ], + "default": "ALWAYS" + } + } + } + } + } + } + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + } + }, + "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" + ], + "x-github-breaking-changes": [ + { + "changeset": "remove_has_downloads", + "patch": { + "properties": { + "has_downloads": null + } + }, + "version": "2026-03-10" + } + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "repositories": [ + { + "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}", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" + } + ] + } + } + } + } + } + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "put": { + "summary": "Set selected repositories for an organization variable", + "description": "Replaces all repositories for an organization agent variable that is available\nto selected repositories. Organization variables that are available to selected\nrepositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/set-selected-repos-for-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#set-selected-repositories-for-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "The IDs of the repositories that can access the organization variable.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}/repositories/{repository_id}": { + "put": { + "summary": "Add selected repository to an organization variable", + "description": "Adds a repository to an organization agent variable that is available to selected repositories.\nOrganization variables that are available to selected repositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/add-selected-repo-to-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#add-selected-repository-to-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Remove selected repository from an organization variable", + "description": "Removes a repository from an organization agent variable that is\navailable to selected repositories. Organization variables that are available to\nselected repositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/remove-selected-repo-from-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#remove-selected-repository-from-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, "/orgs/{org}/artifacts/metadata/deployment-record": { "post": { "summary": "Create an artifact deployment record", @@ -137588,6 +141276,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -183138,6 +186837,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -312055,106 +315765,1784 @@ } }, { - "name": "workflow_id", + "name": "workflow_id", + "in": "path", + "description": "The ID of the workflow. You can also pass the workflow file name as a string.", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Workflow Usage", + "description": "Workflow Usage", + "type": "object", + "properties": { + "billable": { + "type": "object", + "properties": { + "UBUNTU": { + "type": "object", + "properties": { + "total_ms": { + "type": "integer" + } + } + }, + "MACOS": { + "type": "object", + "properties": { + "total_ms": { + "type": "integer" + } + } + }, + "WINDOWS": { + "type": "object", + "properties": { + "total_ms": { + "type": "integer" + } + } + } + } + } + }, + "required": [ + "billable" + ] + }, + "examples": { + "default": { + "value": { + "billable": { + "UBUNTU": { + "total_ms": 180000 + }, + "MACOS": { + "total_ms": 240000 + }, + "WINDOWS": { + "total_ms": 300000 + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/activity": { + "get": { + "summary": "List repository activities", + "description": "Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users.\n\nFor more information about viewing repository activity,\nsee \"[Viewing activity and data for your repository](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository).\"", + "tags": [ + "repos" + ], + "operationId": "repos/list-activities", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/repos/repos#list-repository-activities" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "ref", + "description": "The Git reference for the activities you want to list.\n\nThe `ref` for a branch can be formatted either as `refs/heads/BRANCH_NAME` or `BRANCH_NAME`, where `BRANCH_NAME` is the name of your branch.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "actor", + "description": "The GitHub username to use to filter by the actor who performed the activity.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "time_period", + "description": "The time period to filter by.\n\nFor example, `day` will filter for activity that occurred in the past 24 hours, and `week` will filter for activity that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "day", + "week", + "month", + "quarter", + "year" + ] + } + }, + { + "name": "activity_type", + "description": "The activity type to filter by.\n\nFor example, you can choose to filter by \"force_push\", to see all force pushes to the repository.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "push", + "force_push", + "branch_creation", + "branch_deletion", + "pr_merge", + "merge_queue_merge" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Activity", + "description": "Activity", + "type": "object", + "properties": { + "id": { + "type": "integer", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "before": { + "type": "string", + "description": "The SHA of the commit before the activity.", + "examples": [ + "6dcb09b5b57875f334f61aebed695e2e4193db5e" + ] + }, + "after": { + "type": "string", + "description": "The SHA of the commit after the activity.", + "examples": [ + "827efc6d56897b048c772eb4087f854f46256132" + ] + }, + "ref": { + "type": "string", + "description": "The full Git reference, formatted as `refs/heads/`.", + "examples": [ + "refs/heads/main" + ] + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The time when the activity occurred.", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "activity_type": { + "type": "string", + "enum": [ + "push", + "force_push", + "branch_deletion", + "branch_creation", + "pr_merge", + "merge_queue_merge" + ], + "description": "The type of the activity that was performed.", + "examples": [ + "force_push" + ] + }, + "actor": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "id", + "node_id", + "before", + "after", + "ref", + "timestamp", + "activity_type", + "actor" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "before": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "after": "827efc6d56897b048c772eb4087f854f46256132", + "ref": "refs/heads/main", + "pushed_at": "2011-01-26T19:06:43Z", + "push_type": "normal", + "pusher": { + "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 + } + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "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": "repos", + "subcategory": "repos" + } + } + }, + "/repos/{owner}/{repo}/agents/organization-secrets": { + "get": { + "summary": "List repository organization secrets", + "description": "Lists all organization secrets shared with a repository without revealing their encrypted\nvalues.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-organization-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "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/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/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", + "secrets" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "secrets": { + "type": "array", + "items": { + "title": "Actions Secret", + "description": "Set secrets for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "secrets": [ + { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + }, + { + "name": "GIST_ID", + "created_at": "2020-01-10T10:59:22Z", + "updated_at": "2020-01-11T11:59:22Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/agents/organization-variables": { + "get": { + "summary": "List repository organization variables", + "description": "Lists all organization variables shared with a repository.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-organization-variables", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#list-repository-organization-variables" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 30). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 10 + } + }, + { + "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/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", + "variables" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "type": "array", + "items": { + "title": "Actions Variable", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "variables": [ + { + "name": "USERNAME", + "value": "octocat", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + }, + { + "name": "EMAIL", + "value": "octocat@github.com", + "created_at": "2020-01-10T10:59:22Z", + "updated_at": "2020-01-11T11:59:22Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/repos/{owner}/{repo}/agents/secrets": { + "get": { + "summary": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted\nvalues.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#list-repository-secrets" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "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/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/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", + "secrets" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "secrets": { + "type": "array", + "items": { + "title": "Actions Secret", + "description": "Set secrets for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "secrets": [ + { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + }, + { + "name": "GIST_ID", + "created_at": "2020-01-10T10:59:22Z", + "updated_at": "2020-01-11T11:59:22Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/agents/secrets/public-key": { + "get": { + "summary": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.\n\nAnyone with read access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-repo-public-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#get-a-repository-public-key" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "ActionsPublicKey", + "description": "The public key used for setting Actions Secrets.", + "type": "object", + "properties": { + "key_id": { + "description": "The identifier for the key.", + "type": "string", + "examples": [ + "1234567" + ] + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "examples": [ + "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=" + ] + }, + "id": { + "type": "integer", + "examples": [ + 2 + ] + }, + "url": { + "type": "string", + "examples": [ + "https://api.github.com/user/keys/2" + ] + }, + "title": { + "type": "string", + "examples": [ + "ssh-rsa AAAAB3NzaC1yc2EAAA" + ] + }, + "created_at": { + "type": "string", + "examples": [ + "2011-01-26T19:01:12Z" + ] + } + }, + "required": [ + "key_id", + "key" + ] + }, + "examples": { + "default": { + "value": { + "key_id": "012345678912345678", + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/agents/secrets/{secret_name}": { + "get": { + "summary": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value.\n\nThe authenticated user must have collaborator access to the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-repo-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#get-a-repository-secret" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Actions Secret", + "description": "Set secrets for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "created_at", + "updated_at" + ] + }, + "examples": { + "default": { + "value": { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "put": { + "summary": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-or-update-repo-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "encrypted_value": { + "type": "string", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/rest/agents/secrets#get-a-repository-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "type": "string", + "description": "ID of the key you used to encrypt the secret." + } + }, + "required": [ + "encrypted_value", + "key_id" + ] + }, + "examples": { + "default": { + "value": { + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response when creating a secret", + "content": { + "application/json": { + "schema": { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "examples": { + "default": { + "value": null + } + } + } + } + }, + "204": { + "description": "Response when updating a secret" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "delete": { + "summary": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-repo-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/secrets#delete-a-repository-secret" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/agents/variables": { + "get": { + "summary": "List repository variables", + "description": "Lists all repository variables.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-variables", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#list-repository-variables" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 30). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 10 + } + }, + { + "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/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", + "variables" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "type": "array", + "items": { + "title": "Actions Variable", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "variables": [ + { + "name": "USERNAME", + "value": "octocat", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + }, + { + "name": "EMAIL", + "value": "octocat@github.com", + "created_at": "2020-01-10T10:59:22Z", + "updated_at": "2020-01-11T11:59:22Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "post": { + "summary": "Create a repository variable", + "description": "Creates a repository variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-repo-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#create-a-repository-variable" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + } + }, + "required": [ + "name", + "value" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "examples": { + "default": { + "value": null + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/repos/{owner}/{repo}/agents/variables/{name}": { + "get": { + "summary": "Get a repository variable", + "description": "Gets a specific variable in a repository.\n\nThe authenticated user must have collaborator access to the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-repo-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#get-a-repository-variable" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Actions Variable", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "created_at": "2021-08-10T14:59:22Z", + "updated_at": "2022-01-10T14:59:22Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "patch": { + "summary": "Update a repository variable", + "description": "Updates a repository variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/update-repo-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/agents/variables#update-a-repository-variable" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", "in": "path", - "description": "The ID of the workflow. You can also pass the workflow file name as a string.", "required": true, "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] + "type": "string" } } ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Workflow Usage", - "description": "Workflow Usage", - "type": "object", - "properties": { - "billable": { - "type": "object", - "properties": { - "UBUNTU": { - "type": "object", - "properties": { - "total_ms": { - "type": "integer" - } - } - }, - "MACOS": { - "type": "object", - "properties": { - "total_ms": { - "type": "integer" - } - } - }, - "WINDOWS": { - "type": "object", - "properties": { - "total_ms": { - "type": "integer" - } - } - } - } - } + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." }, - "required": [ - "billable" - ] - }, - "examples": { - "default": { - "value": { - "billable": { - "UBUNTU": { - "total_ms": 180000 - }, - "MACOS": { - "total_ms": 240000 - }, - "WINDOWS": { - "total_ms": 300000 - } - } - } + "value": { + "type": "string", + "description": "The value of the variable." + } + } + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat" } } } } } }, + "responses": { + "204": { + "description": "Response" + } + }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "actions", - "subcategory": "workflows" + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" } - } - }, - "/repos/{owner}/{repo}/activity": { - "get": { - "summary": "List repository activities", - "description": "Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users.\n\nFor more information about viewing repository activity,\nsee \"[Viewing activity and data for your repository](https://docs.github.com/repositories/viewing-activity-and-data-for-your-repository).\"", + }, + "delete": { + "summary": "Delete a repository variable", + "description": "Deletes a repository variable using the variable name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "repos" + "agents" ], - "operationId": "repos/list-activities", + "operationId": "agents/delete-repo-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/repos/repos#list-repository-activities" + "url": "https://docs.github.com/rest/agents/variables#delete-a-repository-variable" }, "parameters": [ { @@ -312176,436 +317564,25 @@ } }, { - "name": "direction", - "description": "The direction to sort the results by.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ], - "default": "desc" - } - }, - { - "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/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "ref", - "description": "The Git reference for the activities you want to list.\n\nThe `ref` for a branch can be formatted either as `refs/heads/BRANCH_NAME` or `BRANCH_NAME`, where `BRANCH_NAME` is the name of your branch.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "actor", - "description": "The GitHub username to use to filter by the actor who performed the activity.", - "in": "query", - "required": false, + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, "schema": { "type": "string" } - }, - { - "name": "time_period", - "description": "The time period to filter by.\n\nFor example, `day` will filter for activity that occurred in the past 24 hours, and `week` will filter for activity that occurred in the past 7 days (168 hours).", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "day", - "week", - "month", - "quarter", - "year" - ] - } - }, - { - "name": "activity_type", - "description": "The activity type to filter by.\n\nFor example, you can choose to filter by \"force_push\", to see all force pushes to the repository.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "push", - "force_push", - "branch_creation", - "branch_deletion", - "pr_merge", - "merge_queue_merge" - ] - } } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Activity", - "description": "Activity", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1296269 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "before": { - "type": "string", - "description": "The SHA of the commit before the activity.", - "examples": [ - "6dcb09b5b57875f334f61aebed695e2e4193db5e" - ] - }, - "after": { - "type": "string", - "description": "The SHA of the commit after the activity.", - "examples": [ - "827efc6d56897b048c772eb4087f854f46256132" - ] - }, - "ref": { - "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`.", - "examples": [ - "refs/heads/main" - ] - }, - "timestamp": { - "type": "string", - "format": "date-time", - "description": "The time when the activity occurred.", - "examples": [ - "2011-01-26T19:06:43Z" - ] - }, - "activity_type": { - "type": "string", - "enum": [ - "push", - "force_push", - "branch_deletion", - "branch_creation", - "pr_merge", - "merge_queue_merge" - ], - "description": "The type of the activity that was performed.", - "examples": [ - "force_push" - ] - }, - "actor": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } - }, - "required": [ - "id", - "node_id", - "before", - "after", - "ref", - "timestamp", - "activity_type", - "actor" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "before": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "after": "827efc6d56897b048c772eb4087f854f46256132", - "ref": "refs/heads/main", - "pushed_at": "2011-01-26T19:06:43Z", - "push_type": "normal", - "pusher": { - "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 - } - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "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" - } - } - } - } - } - } + "204": { + "description": "Response" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "repos" + "category": "agents", + "subcategory": "variables" } } }, @@ -1695741,11 +1700718,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] } } @@ -1706800,11 +1711776,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] } } @@ -1717859,11 +1722834,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] } } @@ -1728918,11 +1733892,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] } } diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 82166b26d..c6df21c21 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -110,6 +110,8 @@ tags: description: Endpoints to manage Projects using the REST API. - name: agent-tasks description: Endpoints to manage and interact with agent tasks. +- name: agents + description: Endpoints for Agents secrets and variables. servers: - url: https://api.github.com externalDocs: @@ -936,7 +938,7 @@ paths: - subscriptions_url - type - url - type: &320 + type: &327 type: string description: The type of credit the user is receiving. enum: @@ -1129,7 +1131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &645 + - &649 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4244,7 +4246,7 @@ paths: schema: type: integer default: 30 - - &210 + - &217 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -4253,7 +4255,7 @@ paths: required: false schema: type: string - - &211 + - &218 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4273,7 +4275,7 @@ paths: application/json: schema: type: array - items: &212 + items: &219 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4369,7 +4371,7 @@ paths: - installation_id - repository_id examples: - default: &213 + default: &220 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4504,7 +4506,7 @@ paths: description: Response content: application/json: - schema: &214 + schema: &221 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4639,7 +4641,7 @@ paths: - request - response examples: - default: &215 + default: &222 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -11015,7 +11017,7 @@ paths: description: Response content: application/json: - schema: &182 + schema: &189 type: array description: A list of default code security configurations items: @@ -11031,7 +11033,7 @@ paths: default configuration: *47 examples: - default: &183 + default: &190 value: - default_for_new_repos: public configuration: @@ -11493,7 +11495,7 @@ paths: default: value: default_for_new_repos: all - configuration: &181 + configuration: &188 value: id: 1325 target_type: organization @@ -11583,7 +11585,7 @@ paths: application/json: schema: type: array - items: &184 + items: &191 type: object description: Repositories associated with a code security configuration and attachment status @@ -11928,7 +11930,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &185 + repository: &192 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -12434,7 +12436,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *38 - - &193 + - &200 name: classification in: query description: |- @@ -12443,7 +12445,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &194 + - &201 name: state in: query description: |- @@ -12452,7 +12454,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &195 + - &202 name: severity in: query description: |- @@ -12461,7 +12463,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &196 + - &203 name: ecosystem in: query description: |- @@ -12470,14 +12472,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &197 + - &204 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 - - &198 + - &205 name: epss_percentage in: query description: |- @@ -12489,7 +12491,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &479 + - &485 name: has in: query description: |- @@ -12503,7 +12505,7 @@ paths: type: string enum: - patch - - &199 + - &206 name: assignee in: query description: |- @@ -12512,7 +12514,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &200 + - &207 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12522,7 +12524,7 @@ paths: enum: - development - runtime - - &201 + - &208 name: sort in: query description: |- @@ -12548,11 +12550,11 @@ paths: application/json: schema: type: array - items: &202 + items: &209 type: object description: A Dependabot alert. properties: - number: &171 + number: &178 type: integer description: The security alert number. readOnly: true @@ -12619,7 +12621,7 @@ paths: - transitive - inconclusive - - security_advisory: &480 + security_advisory: &486 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12852,29 +12854,29 @@ paths: - withdrawn_at version: '2026-03-10' security_vulnerability: *64 - url: &174 + url: &181 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &175 + html_url: &182 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &172 + created_at: &179 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: &173 + updated_at: &180 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: &177 + dismissed_at: &184 type: - string - 'null' @@ -12905,7 +12907,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &176 + fixed_at: &183 type: - string - 'null' @@ -12913,7 +12915,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &481 + auto_dismissed_at: &487 type: - string - 'null' @@ -12921,7 +12923,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &482 + dismissal_request: &488 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -12984,7 +12986,7 @@ paths: - repository additionalProperties: false examples: - default: &203 + default: &210 value: - number: 2 state: dismissed @@ -13369,7 +13371,7 @@ paths: description: Response content: application/json: - schema: &204 + schema: &211 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -13395,7 +13397,7 @@ paths: - *65 additionalProperties: false examples: - default: &205 + default: &212 value: default_level: public accessible_repositories: @@ -13668,6 +13670,15 @@ paths: updated_at: type: string format: date-time + notification_setting: + type: string + description: Whether team members will receive notifications + when the team is mentioned. + enum: + - notifications_enabled + - notifications_disabled + examples: + - notifications_enabled required: - id - url @@ -13754,6 +13765,18 @@ paths: - 'null' description: The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/rest/scim#list-provisioned-scim-groups-for-an-enterprise). + notification_setting: + type: string + description: | + The notification setting the team is set to. The options are: + + * `notifications_enabled` - team members receive notifications when the team is @mentioned. + * `notifications_disabled` - no one receives notifications. + + Default: `notifications_enabled` + enum: + - notifications_enabled + - notifications_disabled required: - name examples: @@ -14436,6 +14459,16 @@ paths: description: The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group. + notification_setting: + type: string + description: | + The notification setting the team is set to. The options are: + + * `notifications_enabled` - team members receive notifications when the team is @mentioned. + * `notifications_disabled` - no one receives notifications. + enum: + - notifications_enabled + - notifications_disabled examples: default: value: @@ -14609,7 +14642,7 @@ paths: properties: action: type: string - discussion: &736 + discussion: &740 title: Discussion description: A Discussion in a repository. type: object @@ -15110,7 +15143,7 @@ paths: milestone: anyOf: - type: 'null' - - &272 + - &279 title: Milestone description: A collection of related issues and pull requests. @@ -15282,7 +15315,7 @@ paths: timeline_url: type: string format: uri - type: &236 + type: &243 title: Issue Type description: The type of issue. type: @@ -15393,7 +15426,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &656 + sub_issues_summary: &660 title: Sub-issues Summary type: object properties: @@ -15477,7 +15510,7 @@ paths: pin: anyOf: - type: 'null' - - &554 + - &558 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -15504,7 +15537,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &657 + issue_dependencies_summary: &661 title: Issue Dependencies Summary type: object properties: @@ -15523,7 +15556,7 @@ paths: - total_blocking issue_field_values: type: array - items: &538 + items: &542 title: Issue Field Value description: A value assigned to an issue field type: object @@ -16347,7 +16380,7 @@ paths: type: string release: allOf: - - &586 + - &590 title: Release description: A release. type: object @@ -16429,7 +16462,7 @@ paths: author: *4 assets: type: array - items: &587 + items: &591 title: Release Asset description: Data related to a release. type: object @@ -17061,7 +17094,7 @@ paths: url: type: string format: uri - user: &663 + user: &667 title: Public User description: Public User type: object @@ -18965,7 +18998,7 @@ paths: - closed - all default: open - - &239 + - &246 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -19016,7 +19049,7 @@ paths: type: array items: *82 examples: - default: &240 + default: &247 value: - id: 1 node_id: MDU6SXNzdWUx @@ -20428,14 +20461,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &331 + - &338 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &332 + - &339 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -20497,7 +20530,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &335 + '301': &342 description: Moved permanently content: application/json: @@ -20519,7 +20552,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &562 + - &566 name: all description: If `true`, show notifications marked as read. in: query @@ -20527,7 +20560,7 @@ paths: schema: type: boolean default: false - - &563 + - &567 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -20537,7 +20570,7 @@ paths: type: boolean default: false - *87 - - &564 + - &568 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -20919,7 +20952,7 @@ paths: type: boolean examples: - false - security_and_analysis: &287 + security_and_analysis: &294 type: - object - 'null' @@ -21136,7 +21169,7 @@ paths: - url - subscription_url examples: - default: &565 + default: &569 value: - id: '1' repository: @@ -22440,7 +22473,7 @@ paths: required: false schema: type: string - - &713 + - &717 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -22586,7 +22619,7 @@ paths: parameters: - *74 - *116 - - &714 + - &718 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -22698,7 +22731,7 @@ paths: - *116 - *118 - *117 - - &715 + - &719 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -22706,7 +22739,7 @@ paths: schema: type: string - *119 - - &716 + - &720 name: sku description: The SKU to query for usage. in: query @@ -23713,7 +23746,7 @@ paths: type: integer repository_cache_usages: type: array - items: &342 + items: &349 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -25101,7 +25134,7 @@ paths: - all - local_only - selected - selected_actions_url: &348 + selected_actions_url: &354 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` @@ -25184,7 +25217,7 @@ paths: description: Response content: application/json: - schema: &352 + schema: &358 type: object properties: days: @@ -25226,7 +25259,7 @@ paths: required: true content: application/json: - schema: &353 + schema: &359 type: object properties: days: @@ -25283,7 +25316,7 @@ paths: required: - approval_policy examples: - default: &354 + default: &360 value: approval_policy: first_time_contributors '404': *6 @@ -25342,7 +25375,7 @@ paths: description: Response content: application/json: - schema: &355 + schema: &361 type: object required: - run_workflows_from_fork_pull_requests @@ -25396,7 +25429,7 @@ paths: required: true content: application/json: - schema: &356 + schema: &362 type: object required: - run_workflows_from_fork_pull_requests @@ -26031,7 +26064,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &363 type: object properties: default_workflow_permissions: &146 @@ -26082,7 +26115,7 @@ paths: required: false content: application/json: - schema: &358 + schema: &364 type: object properties: default_workflow_permissions: *146 @@ -26575,7 +26608,7 @@ paths: type: array items: *153 examples: - default: &192 + default: &199 value: total_count: 1 repositories: @@ -27222,7 +27255,7 @@ paths: application/json: schema: type: array - items: &359 + items: &365 title: Runner Application description: Runner Application type: object @@ -27247,7 +27280,7 @@ paths: - download_url - filename examples: - default: &360 + default: &366 value: - os: osx architecture: x64 @@ -27333,7 +27366,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &361 + '201': &367 description: Response content: application/json: @@ -27448,7 +27481,7 @@ paths: - token - expires_at examples: - default: &362 + default: &368 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -27487,7 +27520,7 @@ paths: application/json: schema: *157 examples: - default: &363 + default: &369 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -27521,7 +27554,7 @@ paths: application/json: schema: *155 examples: - default: &364 + default: &370 value: id: 23 name: MBP @@ -27747,7 +27780,7 @@ paths: - *74 - *154 responses: - '200': &365 + '200': &371 description: Response content: application/json: @@ -27804,7 +27837,7 @@ paths: parameters: - *74 - *154 - - &366 + - &372 name: name description: The name of a self-hosted runner's custom label. in: path @@ -27889,7 +27922,7 @@ paths: - updated_at - visibility examples: - default: + default: &166 value: total_count: 3 secrets: @@ -27936,7 +27969,7 @@ paths: description: Response content: application/json: - schema: &378 + schema: &167 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -27971,7 +28004,7 @@ paths: - key_id - key examples: - default: &379 + default: &168 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28011,7 +28044,7 @@ paths: application/json: schema: *160 examples: - default: + default: &169 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -28171,97 +28204,966 @@ paths: type: array items: *153 examples: - default: &165 - value: - total_count: 1 - repositories: - - 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} - hooks_url: http://api.github.com/repos/octocat/Hello-World/hooks + default: &165 + value: + total_count: 1 + repositories: + - 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} + hooks_url: http://api.github.com/repos/octocat/Hello-World/hooks + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: secrets + put: + summary: Set selected repositories for an organization secret + description: |- + Replaces all repositories for an organization secret when the `visibility` + for repository access is set to `selected`. The visibility is set when you [Create + or update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/set-selected-repos-for-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret + parameters: + - *74 + - *161 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + secret. You can only provide a list of repository ids when the + `visibility` is set to `selected`. You can add and remove individual + repositories using the [Add selected repository to an organization + secret](https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret) + and [Remove selected repository from an organization secret](https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) + endpoints. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: secrets + "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}": + put: + summary: Add selected repository to an organization secret + description: |- + Adds a repository to an organization secret when the `visibility` for + repository access is set to `selected`. For more information about setting the visibility, see [Create or + update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/add-selected-repo-to-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret + parameters: + - *74 + - *161 + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: No Content when repository was added to the selected list + '409': + description: Conflict when visibility type is not set to selected + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: secrets + delete: + summary: Remove selected repository from an organization secret + description: |- + Removes a repository from an organization secret when the `visibility` + for repository access is set to `selected`. The visibility is set when you [Create + or update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/remove-selected-repo-from-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret + parameters: + - *74 + - *161 + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response when repository was removed from the selected list + '409': + description: Conflict when visibility type not set to selected + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: secrets + "/orgs/{org}/actions/variables": + get: + summary: List organization variables + description: |- + Lists all organization variables. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/list-org-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#list-organization-variables + parameters: + - *74 + - &170 + name: per_page + description: The number of results per page (max 30). For more information, + see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." + in: query + schema: + type: integer + default: 10 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: &163 + title: Actions Variable for an Organization + description: Organization variable for GitHub Actions. + type: object + properties: + name: + description: The name of the variable. + type: string + examples: + - USERNAME + value: + description: The value of the variable. + type: string + examples: + - octocat + created_at: + description: The date and time at which the variable was + created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + examples: + - '2019-01-24T22:45:36.000Z' + updated_at: + description: The date and time at which the variable was + last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + examples: + - '2019-01-24T22:45:36.000Z' + visibility: + description: Visibility of a variable + enum: + - all + - private + - selected + type: string + selected_repositories_url: + type: string + format: uri + examples: + - https://api.github.com/organizations/org/variables/USERNAME/repositories + required: + - name + - value + - created_at + - updated_at + - visibility + examples: + default: &171 + value: + total_count: 3 + variables: + - name: USERNAME + value: octocat + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: private + - name: ACTIONS_RUNNER_DEBUG + value: true + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: all + - name: ADMIN_EMAIL + value: octocat@github.com + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: selected + selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories + headers: + Link: *66 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + post: + summary: Create an organization variable + description: |- + Creates an organization variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/create-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#create-an-organization-variable + parameters: + - *74 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + visibility: + type: string + description: The type of repositories in the organization that can + access the variable. `selected` means only the repositories specified + by `selected_repository_ids` can access the variable. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + variable. You can only provide a list of repository ids when the + `visibility` is set to `selected`. + items: + type: integer + required: + - name + - value + - visibility + examples: + default: + value: + name: USERNAME + value: octocat + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: Response when creating a variable + content: + application/json: + schema: *162 + examples: + default: + value: + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + "/orgs/{org}/actions/variables/{name}": + get: + summary: Get an organization variable + description: |- + Gets a specific variable in an organization. + + The authenticated user must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/get-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#get-an-organization-variable + parameters: + - *74 + - &164 + name: name + description: The name of the variable. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *163 + examples: + default: &172 + value: + name: USERNAME + value: octocat + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: selected + selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + patch: + summary: Update an organization variable + description: |- + Updates an organization variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/update-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#update-an-organization-variable + parameters: + - *74 + - *164 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + visibility: + type: string + description: The type of repositories in the organization that can + access the variable. `selected` means only the repositories specified + by `selected_repository_ids` can access the variable. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + variable. You can only provide a list of repository ids when the + `visibility` is set to `selected`. + items: + type: integer + examples: + default: + value: + name: USERNAME + value: octocat + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + delete: + summary: Delete an organization variable + description: |- + Deletes an organization variable using the variable name. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable + parameters: + - *74 + - *164 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + "/orgs/{org}/actions/variables/{name}/repositories": + get: + summary: List selected repositories for an organization variable + description: |- + Lists all repositories that can access an organization variable + that is available to selected repositories. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/list-selected-repos-for-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable + parameters: + - *74 + - *164 + - *19 + - *17 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: *153 + examples: + default: *165 + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + put: + summary: Set selected repositories for an organization variable + description: |- + Replaces all repositories for an organization variable that is available + to selected repositories. Organization variables that are available to selected + repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/set-selected-repos-for-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable + parameters: + - *74 + - *164 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: The IDs of the repositories that can access the organization + variable. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + "/orgs/{org}/actions/variables/{name}/repositories/{repository_id}": + put: + summary: Add selected repository to an organization variable + description: |- + Adds a repository to an organization variable that is available to selected repositories. + Organization variables that are available to selected repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/add-selected-repo-to-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable + parameters: + - *74 + - *164 + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + delete: + summary: Remove selected repository from an organization variable + description: |- + Removes a repository from an organization variable that is + available to selected repositories. Organization variables that are available to + selected repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/remove-selected-repo-from-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable + parameters: + - *74 + - *164 + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + "/orgs/{org}/agents/secrets": + get: + summary: List organization secrets + description: |- + Lists all secrets available in an organization without revealing their + encrypted values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/list-org-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-organization-secrets + parameters: + - *74 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: *160 + examples: + default: *166 + headers: + Link: *66 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/public-key": + get: + summary: Get an organization public key + description: |- + Gets your public key, which you need to encrypt secrets. You need to + encrypt a secret before you can create or update secrets. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/get-org-public-key + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-an-organization-public-key + parameters: + - *74 + responses: + '200': + description: Response + content: + application/json: + schema: *167 + examples: + default: *168 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/{secret_name}": + get: + summary: Get an organization secret + description: |- + Gets a single organization secret without revealing its encrypted value. + + The authenticated user must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-an-organization-secret + parameters: + - *74 + - *161 + responses: + '200': + description: Response + content: + application/json: + schema: *160 + examples: + default: *169 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + put: + summary: Create or update an organization secret + description: |- + Creates or updates an organization secret with an encrypted value. Encrypt your secret using + [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-or-update-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret + parameters: + - *74 + - *161 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + encrypted_value: + type: string + description: Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) + using the public key retrieved from the [Get an organization public + key](https://docs.github.com/rest/agents/secrets#get-an-organization-public-key) + endpoint. + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + type: string + description: ID of the key you used to encrypt the secret. + visibility: + type: string + description: Which type of organization repositories have access + to the organization secret. `selected` means only the repositories + specified by `selected_repository_ids` can access the secret. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + secret. You can only provide a list of repository ids when the + `visibility` is set to `selected`. You can manage the list of + selected repositories using the [List selected repositories for + an organization secret](https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret), + [Set selected repositories for an organization secret](https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret), + and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) + endpoints. + items: + type: integer + required: + - encrypted_value + - key_id + - visibility + examples: + default: + value: + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: Response when creating a secret + content: + application/json: + schema: *162 + examples: + default: + value: + '204': + description: Response when updating a secret + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + delete: + summary: Delete an organization secret + description: |- + Deletes a secret in an organization using the secret name. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#delete-an-organization-secret + parameters: + - *74 + - *161 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/{secret_name}/repositories": + get: + summary: List selected repositories for an organization secret + description: |- + Lists all repositories that have been selected when the `visibility` + for repository access to a secret is set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/list-selected-repos-for-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-selected-repositories-for-an-organization-secret + parameters: + - *74 + - *161 + - *19 + - *17 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: *153 + examples: + default: *165 x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: secrets put: summary: Set selected repositories for an organization secret description: |- Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create - or update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret). + or update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret). Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/set-selected-repos-for-org-secret + - agents + operationId: agents/set-selected-repos-for-org-secret externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret + url: https://docs.github.com/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - *74 - *161 @@ -28278,8 +29180,8 @@ paths: secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization - secret](https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret) - and [Remove selected repository from an organization secret](https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) + secret](https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret) + and [Remove selected repository from an organization secret](https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) endpoints. items: type: integer @@ -28296,25 +29198,25 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: secrets - "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}": + "/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}": put: summary: Add selected repository to an organization secret description: |- Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. For more information about setting the visibility, see [Create or - update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret). + update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret). Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/add-selected-repo-to-org-secret + - agents + operationId: agents/add-selected-repo-to-org-secret externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret + url: https://docs.github.com/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - *74 - *161 @@ -28331,24 +29233,24 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: secrets delete: summary: Remove selected repository from an organization secret description: |- Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create - or update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret). + or update an organization secret](https://docs.github.com/rest/agents/secrets#create-or-update-an-organization-secret). Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/remove-selected-repo-from-org-secret + - agents + operationId: agents/remove-selected-repo-from-org-secret externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret + url: https://docs.github.com/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - *74 - *161 @@ -28365,33 +29267,27 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: secrets - "/orgs/{org}/actions/variables": + "/orgs/{org}/agents/variables": get: summary: List organization variables description: |- - Lists all organization variables. + Lists all agent variables available in an organization. + Returned variables include their values. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/list-org-variables + - agents + operationId: agents/list-org-variables externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#list-organization-variables + url: https://docs.github.com/rest/agents/variables#list-organization-variables parameters: - *74 - - &347 - name: per_page - description: The number of results per page (max 30). For more information, - see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." - in: query - schema: - type: integer - default: 10 + - *170 - *19 responses: '200': @@ -28408,95 +29304,30 @@ paths: type: integer variables: type: array - items: &163 - title: Actions Variable for an Organization - description: Organization variable for GitHub Actions. - type: object - properties: - name: - description: The name of the variable. - type: string - examples: - - USERNAME - value: - description: The value of the variable. - type: string - examples: - - octocat - created_at: - description: The date and time at which the variable was - created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. - type: string - format: date-time - examples: - - '2019-01-24T22:45:36.000Z' - updated_at: - description: The date and time at which the variable was - last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. - type: string - format: date-time - examples: - - '2019-01-24T22:45:36.000Z' - visibility: - description: Visibility of a variable - enum: - - all - - private - - selected - type: string - selected_repositories_url: - type: string - format: uri - examples: - - https://api.github.com/organizations/org/variables/USERNAME/repositories - required: - - name - - value - - created_at - - updated_at - - visibility + items: *163 examples: - default: - value: - total_count: 3 - variables: - - name: USERNAME - value: octocat - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - visibility: private - - name: ACTIONS_RUNNER_DEBUG - value: true - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - visibility: all - - name: ADMIN_EMAIL - value: octocat@github.com - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - visibility: selected - selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories + default: *171 headers: Link: *66 x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables post: summary: Create an organization variable description: |- - Creates an organization variable that you can reference in a GitHub Actions workflow. + Creates an organization agent variable that you can reference in a GitHub Actions workflow. Authenticated users must have collaborator access to a repository to create, update, or read variables. - OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/create-org-variable + - agents + operationId: agents/create-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#create-an-organization-variable + url: https://docs.github.com/rest/agents/variables#create-an-organization-variable parameters: - *74 requestBody: @@ -28553,32 +29384,26 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables - "/orgs/{org}/actions/variables/{name}": + "/orgs/{org}/agents/variables/{name}": get: summary: Get an organization variable description: |- - Gets a specific variable in an organization. + Gets a specific agent variable in an organization. The authenticated user must have collaborator access to a repository to create, update, or read variables. - OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/get-org-variable + - agents + operationId: agents/get-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#get-an-organization-variable + url: https://docs.github.com/rest/agents/variables#get-an-organization-variable parameters: - *74 - - &164 - name: name - description: The name of the variable. - in: path - required: true - schema: - type: string + - *164 responses: '200': description: Response @@ -28586,33 +29411,26 @@ paths: application/json: schema: *163 examples: - default: - value: - name: USERNAME - value: octocat - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - visibility: selected - selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories + default: *172 x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables patch: summary: Update an organization variable description: |- - Updates an organization variable that you can reference in a GitHub Actions workflow. + Updates an organization agent variable that you can reference in a GitHub Actions workflow. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/update-org-variable + - agents + operationId: agents/update-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#update-an-organization-variable + url: https://docs.github.com/rest/agents/variables#update-an-organization-variable parameters: - *74 - *164 @@ -28660,22 +29478,22 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables delete: summary: Delete an organization variable description: |- - Deletes an organization variable using the variable name. + Deletes an organization agent variable using the variable name. Authenticated users must have collaborator access to a repository to create, update, or read variables. - OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/delete-org-variable + - agents + operationId: agents/delete-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable + url: https://docs.github.com/rest/agents/variables#delete-an-organization-variable parameters: - *74 - *164 @@ -28685,24 +29503,24 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables - "/orgs/{org}/actions/variables/{name}/repositories": + "/orgs/{org}/agents/variables/{name}/repositories": get: summary: List selected repositories for an organization variable description: |- - Lists all repositories that can access an organization variable + Lists all repositories that can access an organization agent variable that is available to selected repositories. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/list-selected-repos-for-org-variable + - agents + operationId: agents/list-selected-repos-for-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable + url: https://docs.github.com/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - *74 - *164 @@ -28732,12 +29550,12 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables put: summary: Set selected repositories for an organization variable description: |- - Replaces all repositories for an organization variable that is available + Replaces all repositories for an organization agent variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. @@ -28745,11 +29563,11 @@ paths: OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/set-selected-repos-for-org-variable + - agents + operationId: agents/set-selected-repos-for-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable + url: https://docs.github.com/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - *74 - *164 @@ -28782,24 +29600,24 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables - "/orgs/{org}/actions/variables/{name}/repositories/{repository_id}": + "/orgs/{org}/agents/variables/{name}/repositories/{repository_id}": put: summary: Add selected repository to an organization variable description: |- - Adds a repository to an organization variable that is available to selected repositories. + Adds a repository to an organization agent variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. - Authenticated users must have collaborator access to a repository to create, update, or read secrets. + Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/add-selected-repo-to-org-variable + - agents + operationId: agents/add-selected-repo-to-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable + url: https://docs.github.com/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - *74 - *164 @@ -28817,12 +29635,12 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables delete: summary: Remove selected repository from an organization variable description: |- - Removes a repository from an organization variable that is + Removes a repository from an organization agent variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. @@ -28830,11 +29648,11 @@ paths: OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/remove-selected-repo-from-org-variable + - agents + operationId: agents/remove-selected-repo-from-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable + url: https://docs.github.com/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - *74 - *164 @@ -28852,7 +29670,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables "/orgs/{org}/artifacts/metadata/deployment-record": post: @@ -29004,7 +29822,7 @@ paths: type: integer deployment_records: type: array - items: &166 + items: &173 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -29051,7 +29869,7 @@ paths: required: - total_count examples: - default: &167 + default: &174 value: total_count: 1 deployment_records: @@ -29231,11 +30049,11 @@ paths: type: integer deployment_records: type: array - items: *166 + items: *173 required: - total_count examples: - default: *167 + default: *174 '403': description: Forbidden content: @@ -29483,9 +30301,9 @@ paths: - 3 deployment_records: type: array - items: *166 + items: *173 examples: - default: *167 + default: *174 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29615,12 +30433,12 @@ paths: required: - subject_digests examples: - default: &694 + default: &698 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &695 + withPredicateType: &699 value: subject_digests: - sha256:abc123 @@ -29679,7 +30497,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &696 + default: &700 value: attestations_subject_digests: - sha256:abc: @@ -30045,7 +30863,7 @@ paths: initiator: type: string examples: - default: &392 + default: &398 value: attestations: - bundle: @@ -30278,7 +31096,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &168 + schema: &175 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -30304,7 +31122,7 @@ paths: application/json: schema: type: array - items: &169 + items: &176 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -30335,7 +31153,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &191 + items: &198 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -30412,7 +31230,7 @@ paths: parent: anyOf: - type: 'null' - - &251 + - &258 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -30548,7 +31366,7 @@ paths: - string - 'null' format: date-time - state: *168 + state: *175 contact_link: description: The contact link of the campaign. type: @@ -30771,9 +31589,9 @@ paths: description: Response content: application/json: - schema: *169 + schema: *176 examples: - default: &170 + default: &177 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -30856,9 +31674,9 @@ paths: description: Response content: application/json: - schema: *169 + schema: *176 examples: - default: *170 + default: *177 '404': *6 '422': description: Unprocessable Entity @@ -30936,7 +31754,7 @@ paths: - string - 'null' format: uri - state: *168 + state: *175 examples: default: value: @@ -30946,9 +31764,9 @@ paths: description: Response content: application/json: - schema: *169 + schema: *176 examples: - default: *170 + default: *177 '400': description: Bad Request content: @@ -31015,17 +31833,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *74 - - &416 + - &422 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`, but not both. in: query required: false - schema: &178 + schema: &185 type: string description: The name of the tool used to generate the code scanning analysis. - - &417 + - &423 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 @@ -31033,7 +31851,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &179 + schema: &186 type: - string - 'null' @@ -31049,7 +31867,7 @@ paths: be returned. in: query required: false - schema: &419 + schema: &425 type: string description: State of a code scanning alert. enum: @@ -31072,7 +31890,7 @@ paths: be returned. in: query required: false - schema: &420 + schema: &426 type: string description: Severity of a code scanning alert. enum: @@ -31101,18 +31919,18 @@ paths: items: type: object properties: - number: *171 - created_at: *172 - updated_at: *173 - url: *174 - html_url: *175 - instances_url: &421 + number: *178 + created_at: *179 + updated_at: *180 + url: *181 + html_url: *182 + instances_url: &427 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &180 + state: &187 type: - string - 'null' @@ -31122,13 +31940,13 @@ paths: - dismissed - fixed - - fixed_at: *176 + fixed_at: *183 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *177 - dismissed_reason: &422 + dismissed_at: *184 + dismissed_reason: &428 type: - string - 'null' @@ -31139,14 +31957,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &423 + dismissed_comment: &429 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &424 + rule: &430 type: object properties: id: @@ -31207,43 +32025,43 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &425 + tool: &431 type: object properties: - name: *178 + name: *185 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *179 - most_recent_instance: &426 + guid: *186 + most_recent_instance: &432 type: object properties: - ref: &418 + ref: &424 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &436 + analysis_key: &442 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &437 + environment: &443 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &438 + category: &444 type: string description: Identifies the configuration under which the 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: *180 + state: *187 commit_sha: type: string message: @@ -31257,7 +32075,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &439 + location: &445 type: object description: Describe a region within a file for the alert. properties: @@ -31278,7 +32096,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &440 + items: &446 type: - string - 'null' @@ -31916,7 +32734,7 @@ paths: application/json: schema: *47 examples: - default: *181 + default: *188 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31944,9 +32762,9 @@ paths: description: Response content: application/json: - schema: *182 + schema: *189 examples: - default: *183 + default: *190 '304': *35 '403': *27 '404': *6 @@ -32035,7 +32853,7 @@ paths: application/json: schema: *47 examples: - default: *181 + default: *188 '304': *35 '403': *27 '404': *6 @@ -32480,7 +33298,7 @@ paths: default: value: default_for_new_repos: all - configuration: *181 + configuration: *188 '403': *27 '404': *6 x-github: @@ -32533,13 +33351,13 @@ paths: application/json: schema: type: array - items: *184 + items: *191 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *185 + repository: *192 '403': *27 '404': *6 x-github: @@ -32579,7 +33397,7 @@ paths: type: integer codespaces: type: array - items: &241 + items: &248 type: object title: Codespace description: A codespace. @@ -32614,7 +33432,7 @@ paths: machine: anyOf: - type: 'null' - - &452 + - &458 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -32901,7 +33719,7 @@ paths: - pulls_url - recent_folders examples: - default: &242 + default: &249 value: total_count: 3 codespaces: @@ -33525,7 +34343,7 @@ paths: type: integer secrets: type: array - items: &186 + items: &193 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -33566,7 +34384,7 @@ paths: - updated_at - visibility examples: - default: &453 + default: &459 value: total_count: 2 secrets: @@ -33604,7 +34422,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &460 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -33639,7 +34457,7 @@ paths: - key_id - key examples: - default: &455 + default: &461 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33669,9 +34487,9 @@ paths: description: Response content: application/json: - schema: *186 + schema: *193 examples: - default: &457 + default: &463 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -34003,7 +34821,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &187 + items: &194 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -34398,9 +35216,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *194 examples: - default: &188 + default: &195 summary: Example response for an organization copilot space value: id: 84 @@ -34503,9 +35321,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *194 examples: - default: *188 + default: *195 '403': *27 '404': *6 x-github: @@ -34632,9 +35450,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *194 examples: - default: *188 + default: *195 '403': *27 '404': *6 '422': *15 @@ -34713,7 +35531,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &189 + items: &196 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -34936,7 +35754,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *196 examples: user: value: @@ -35064,7 +35882,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *196 examples: user: value: @@ -35211,7 +36029,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &190 + items: &197 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -35353,7 +36171,7 @@ paths: description: Resource created content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -35369,7 +36187,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -35422,7 +36240,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -35489,7 +36307,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -35729,7 +36547,7 @@ paths: currently being billed. seats: type: array - items: &244 + items: &251 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -35747,7 +36565,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *191 + - *198 - *67 type: - 'null' @@ -36365,7 +37183,7 @@ paths: - total_count - repositories examples: - default: *192 + default: *199 '500': *53 '401': *23 '403': *27 @@ -36700,7 +37518,7 @@ paths: application/json: schema: type: array - items: &324 + items: &331 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -37015,7 +37833,7 @@ paths: - date additionalProperties: true examples: - default: &325 + default: &332 value: - date: '2024-06-24' total_active_users: 24 @@ -37117,7 +37935,7 @@ paths: '500': *53 '403': *27 '404': *6 - '422': &326 + '422': &333 description: Copilot Usage Metrics API setting is disabled at the organization or enterprise level. content: @@ -37297,12 +38115,12 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *74 - - *193 - - *194 - - *195 - - *196 - - *197 - - *198 + - *200 + - *201 + - *202 + - *203 + - *204 + - *205 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -37332,7 +38150,7 @@ paths: enum: - patch - deployment - - *199 + - *206 - name: runtime_risk in: query description: |- @@ -37341,8 +38159,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *200 - - *201 + - *207 + - *208 - *60 - *45 - *46 @@ -37354,9 +38172,9 @@ paths: application/json: schema: type: array - items: *202 + items: *209 examples: - default: *203 + default: *210 '304': *35 '400': *14 '403': *27 @@ -37405,9 +38223,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *211 examples: - default: *205 + default: *212 '403': *27 '404': *6 x-github: @@ -37571,7 +38389,7 @@ paths: type: integer secrets: type: array - items: &206 + items: &213 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -37650,7 +38468,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &491 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -37669,7 +38487,7 @@ paths: - key_id - key examples: - default: &486 + default: &492 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37699,7 +38517,7 @@ paths: description: Response content: application/json: - schema: *206 + schema: *213 examples: default: value: @@ -38006,7 +38824,7 @@ paths: application/json: schema: type: array - items: &253 + items: &260 title: Package description: A software package type: object @@ -38077,7 +38895,7 @@ paths: - created_at - updated_at examples: - default: &254 + default: &261 value: - id: 197 name: hello_docker @@ -38247,7 +39065,7 @@ paths: application/json: schema: type: array - items: &230 + items: &237 title: Organization Invitation description: Organization Invitation type: object @@ -38301,7 +39119,7 @@ paths: - invitation_teams_url - node_id examples: - default: &231 + default: &238 value: - id: 1 login: monalisa @@ -38368,7 +39186,7 @@ paths: application/json: schema: type: array - items: &207 + items: &214 title: Org Hook description: Org Hook type: object @@ -38553,9 +39371,9 @@ paths: description: Response content: application/json: - schema: *207 + schema: *214 examples: - default: &208 + default: &215 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -38603,7 +39421,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *74 - - &209 + - &216 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -38616,9 +39434,9 @@ paths: description: Response content: application/json: - schema: *207 + schema: *214 examples: - default: *208 + default: *215 '404': *6 x-github: githubCloudOnly: false @@ -38646,7 +39464,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *74 - - *209 + - *216 requestBody: required: false content: @@ -38692,7 +39510,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *214 examples: default: value: @@ -38734,7 +39552,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *74 - - *209 + - *216 responses: '204': description: Response @@ -38762,7 +39580,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *74 - - *209 + - *216 responses: '200': description: Response @@ -38793,7 +39611,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *74 - - *209 + - *216 requestBody: required: false content: @@ -38844,10 +39662,10 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *74 - - *209 + - *216 - *17 - - *210 - - *211 + - *217 + - *218 responses: '200': description: Response @@ -38855,9 +39673,9 @@ paths: application/json: schema: type: array - items: *212 + items: *219 examples: - default: *213 + default: *220 '400': *14 '422': *15 x-github: @@ -38883,16 +39701,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *74 - - *209 + - *216 - *16 responses: '200': description: Response content: application/json: - schema: *214 + schema: *221 examples: - default: *215 + default: *222 '400': *14 '422': *15 x-github: @@ -38918,7 +39736,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *74 - - *209 + - *216 - *16 responses: '202': *37 @@ -38948,7 +39766,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *74 - - *209 + - *216 responses: '204': description: Response @@ -38971,7 +39789,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *74 - - &220 + - &227 name: actor_type in: path description: The type of the actor @@ -38984,14 +39802,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &221 + - &228 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &216 + - &223 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -38999,7 +39817,7 @@ paths: required: true schema: type: string - - &217 + - &224 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -39094,12 +39912,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *74 - - *216 - - *217 + - *223 + - *224 - *19 - *17 - *60 - - &226 + - &233 name: sort description: The property to sort the results by. in: query @@ -39178,14 +39996,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *74 - - *216 - - *217 + - *223 + - *224 responses: '200': description: Response content: application/json: - schema: &218 + schema: &225 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -39201,7 +40019,7 @@ paths: type: integer format: int64 examples: - default: &219 + default: &226 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -39222,23 +40040,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *74 - - &222 + - &229 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *216 - - *217 + - *223 + - *224 responses: '200': description: Response content: application/json: - schema: *218 + schema: *225 examples: - default: *219 + default: *226 x-github: enabledForGitHubApps: true category: orgs @@ -39257,18 +40075,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *74 - - *216 - - *217 - - *220 - - *221 + - *223 + - *224 + - *227 + - *228 responses: '200': description: Response content: application/json: - schema: *218 + schema: *225 examples: - default: *219 + default: *226 x-github: enabledForGitHubApps: true category: orgs @@ -39286,9 +40104,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *74 - - *216 - - *217 - - &223 + - *223 + - *224 + - &230 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -39301,7 +40119,7 @@ paths: description: Response content: application/json: - schema: &224 + schema: &231 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -39317,7 +40135,7 @@ paths: type: integer format: int64 examples: - default: &225 + default: &232 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -39354,18 +40172,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *74 - - *222 - - *216 - - *217 + - *229 - *223 + - *224 + - *230 responses: '200': description: Response content: application/json: - schema: *224 + schema: *231 examples: - default: *225 + default: *232 x-github: enabledForGitHubApps: true category: orgs @@ -39383,19 +40201,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *74 - - *220 - - *221 - - *216 - - *217 + - *227 + - *228 - *223 + - *224 + - *230 responses: '200': description: Response content: application/json: - schema: *224 + schema: *231 examples: - default: *225 + default: *232 x-github: enabledForGitHubApps: true category: orgs @@ -39413,13 +40231,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *74 - - *222 - - *216 - - *217 + - *229 + - *223 + - *224 - *19 - *17 - *60 - - *226 + - *233 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -39503,7 +40321,7 @@ paths: application/json: schema: *20 examples: - default: &525 + default: &529 value: id: 1 account: @@ -39669,12 +40487,12 @@ paths: application/json: schema: anyOf: - - &228 + - &235 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &227 + limit: &234 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -39702,7 +40520,7 @@ paths: properties: {} additionalProperties: false examples: - default: &229 + default: &236 value: limit: collaborators_only origin: organization @@ -39731,13 +40549,13 @@ paths: required: true content: application/json: - schema: &526 + schema: &530 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *227 + limit: *234 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -39762,9 +40580,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *235 examples: - default: *229 + default: *236 '422': *15 x-github: githubCloudOnly: false @@ -39840,9 +40658,9 @@ paths: application/json: schema: type: array - items: *230 + items: *237 examples: - default: *231 + default: *238 headers: Link: *66 '404': *6 @@ -39919,7 +40737,7 @@ paths: description: Response content: application/json: - schema: *230 + schema: *237 examples: default: value: @@ -39974,7 +40792,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *74 - - &232 + - &239 name: invitation_id description: The unique identifier of the invitation. in: path @@ -40005,7 +40823,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *74 - - *232 + - *239 - *17 - *19 responses: @@ -40015,9 +40833,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - default: &252 + default: &259 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -40060,7 +40878,7 @@ paths: application/json: schema: type: array - items: &233 + items: &240 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -40303,9 +41121,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *240 examples: - default: &234 + default: &241 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -40361,7 +41179,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *74 - - &235 + - &242 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -40471,9 +41289,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *240 examples: - default: *234 + default: *241 '404': *6 '422': *7 x-github: @@ -40498,7 +41316,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *74 - - *235 + - *242 responses: '204': *59 '404': *6 @@ -40528,7 +41346,7 @@ paths: application/json: schema: type: array - items: *236 + items: *243 examples: default: value: @@ -40616,9 +41434,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *243 examples: - default: &237 + default: &244 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -40651,7 +41469,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *74 - - &238 + - &245 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -40707,9 +41525,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *243 examples: - default: *237 + default: *244 '404': *6 '422': *7 x-github: @@ -40734,7 +41552,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *74 - - *238 + - *245 responses: '204': description: Response @@ -40797,7 +41615,7 @@ paths: - closed - all default: open - - *239 + - *246 - name: type description: Can be the name of an issue type. in: query @@ -40828,7 +41646,7 @@ paths: type: array items: *82 examples: - default: *240 + default: *247 headers: Link: *66 '404': *6 @@ -40993,9 +41811,9 @@ paths: type: integer codespaces: type: array - items: *241 + items: *248 examples: - default: *242 + default: *249 '304': *35 '500': *53 '401': *23 @@ -41022,7 +41840,7 @@ paths: parameters: - *74 - *70 - - &243 + - &250 name: codespace_name in: path required: true @@ -41057,15 +41875,15 @@ paths: parameters: - *74 - *70 - - *243 + - *250 responses: '200': description: Response content: application/json: - schema: *241 + schema: *248 examples: - default: &451 + default: &457 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -41245,7 +42063,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *244 + schema: *251 examples: default: value: @@ -41321,7 +42139,7 @@ paths: description: Response content: application/json: - schema: &245 + schema: &252 title: Org Membership description: Org Membership type: object @@ -41390,7 +42208,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &246 + response-if-user-has-an-active-admin-membership-with-organization: &253 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -41491,9 +42309,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *252 examples: - response-if-user-already-had-membership-with-organization: *246 + response-if-user-already-had-membership-with-organization: *253 '422': *15 '403': *27 x-github: @@ -41571,7 +42389,7 @@ paths: application/json: schema: type: array - items: &247 + items: &254 title: Migration description: A migration. type: object @@ -41920,7 +42738,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *254 examples: default: value: @@ -42099,7 +42917,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *74 - - &248 + - &255 name: migration_id description: The unique identifier of the migration. in: path @@ -42127,7 +42945,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *247 + schema: *254 examples: default: value: @@ -42297,7 +43115,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *74 - - *248 + - *255 responses: '302': description: Response @@ -42319,7 +43137,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *74 - - *248 + - *255 responses: '204': description: Response @@ -42343,8 +43161,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *74 - - *248 - - &677 + - *255 + - &681 name: repo_name description: repo_name parameter in: path @@ -42372,7 +43190,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *74 - - *248 + - *255 - *17 - *19 responses: @@ -42384,7 +43202,7 @@ paths: type: array items: *153 examples: - default: &259 + default: &266 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42557,7 +43375,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &250 + items: &257 title: Organization Role description: Organization roles type: object @@ -42734,7 +43552,7 @@ paths: parameters: - *74 - *76 - - &249 + - &256 name: role_id description: The unique identifier of the role. in: path @@ -42771,7 +43589,7 @@ paths: parameters: - *74 - *76 - - *249 + - *256 responses: '204': description: Response @@ -42824,7 +43642,7 @@ paths: parameters: - *74 - *70 - - *249 + - *256 responses: '204': description: Response @@ -42856,7 +43674,7 @@ paths: parameters: - *74 - *70 - - *249 + - *256 responses: '204': description: Response @@ -42885,13 +43703,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *74 - - *249 + - *256 responses: '200': description: Response content: application/json: - schema: *250 + schema: *257 examples: default: value: @@ -42942,7 +43760,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *74 - - *249 + - *256 - *17 - *19 responses: @@ -43021,7 +43839,7 @@ paths: parent: anyOf: - type: 'null' - - *251 + - *258 type: description: The ownership type of the team type: string @@ -43054,7 +43872,7 @@ paths: - type - parent examples: - default: *252 + default: *259 headers: Link: *66 '404': @@ -43084,7 +43902,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *74 - - *249 + - *256 - *17 - *19 responses: @@ -43113,7 +43931,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *251 + items: *258 name: type: - string @@ -43423,7 +44241,7 @@ paths: - nuget - container - *74 - - &678 + - &682 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -43459,12 +44277,12 @@ paths: application/json: schema: type: array - items: *253 + items: *260 examples: - default: *254 + default: *261 '403': *27 '401': *23 - '400': &680 + '400': &684 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -43486,7 +44304,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &255 + - &262 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -43504,7 +44322,7 @@ paths: - docker - nuget - container - - &256 + - &263 name: package_name description: The name of the package. in: path @@ -43517,7 +44335,7 @@ paths: description: Response content: application/json: - schema: *253 + schema: *260 examples: default: value: @@ -43569,8 +44387,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *255 - - *256 + - *262 + - *263 - *74 responses: '204': @@ -43603,8 +44421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *255 - - *256 + - *262 + - *263 - *74 - name: token description: package token @@ -43637,8 +44455,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *255 - - *256 + - *262 + - *263 - *74 - *19 - *17 @@ -43659,7 +44477,7 @@ paths: application/json: schema: type: array - items: &257 + items: &264 title: Package Version description: A version of a software package type: object @@ -43794,10 +44612,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *255 - - *256 + - *262 + - *263 - *74 - - &258 + - &265 name: package_version_id description: Unique identifier of the package version. in: path @@ -43809,7 +44627,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -43845,10 +44663,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *255 - - *256 + - *262 + - *263 - *74 - - *258 + - *265 responses: '204': description: Response @@ -43880,10 +44698,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *255 - - *256 + - *262 + - *263 - *74 - - *258 + - *265 responses: '204': description: Response @@ -43913,7 +44731,7 @@ paths: - *74 - *17 - *19 - - &260 + - &267 name: sort description: The property by which to sort the results. in: query @@ -43924,7 +44742,7 @@ paths: - created_at default: created_at - *60 - - &261 + - &268 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -43936,7 +44754,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &262 + - &269 name: repository description: The name of the repository to use to filter the results. in: query @@ -43945,7 +44763,7 @@ paths: type: string examples: - Hello-World - - &263 + - &270 name: permission description: The permission to use to filter the results. in: query @@ -43954,7 +44772,7 @@ paths: type: string examples: - issues_read - - &264 + - &271 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -43964,7 +44782,7 @@ paths: schema: type: string format: date-time - - &265 + - &272 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -43974,7 +44792,7 @@ paths: schema: type: string format: date-time - - &266 + - &273 name: token_id description: The ID of the token in: query @@ -44293,7 +45111,7 @@ paths: type: array items: *153 examples: - default: *259 + default: *266 headers: Link: *66 x-github: @@ -44319,14 +45137,14 @@ paths: - *74 - *17 - *19 - - *260 + - *267 - *60 - - *261 - - *262 - - *263 - - *264 - - *265 - - *266 + - *268 + - *269 + - *270 + - *271 + - *272 + - *273 responses: '500': *53 '422': *15 @@ -44610,7 +45428,7 @@ paths: type: array items: *153 examples: - default: *259 + default: *266 headers: Link: *66 x-github: @@ -44652,7 +45470,7 @@ paths: type: integer configurations: type: array - items: &267 + items: &274 title: Organization private registry description: Private registry configuration for an organization type: object @@ -45169,7 +45987,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &268 + org-private-registry-with-selected-visibility: &275 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -45267,9 +46085,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *267 + schema: *274 examples: - default: *268 + default: *275 '404': *6 x-github: githubCloudOnly: false @@ -45521,7 +46339,7 @@ paths: application/json: schema: type: array - items: &269 + items: &276 title: Projects v2 Project description: A projects v2 project type: object @@ -45595,7 +46413,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &764 + - &768 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -45680,7 +46498,7 @@ paths: - deleted_at - deleted_by examples: - default: &270 + default: &277 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -45783,7 +46601,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &271 + - &278 name: project_number description: The project's number. in: path @@ -45796,9 +46614,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *276 examples: - default: *270 + default: *277 headers: Link: *66 '304': *35 @@ -45821,7 +46639,7 @@ paths: url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *74 - - *271 + - *278 requestBody: required: true description: Details of the draft item to create in the project. @@ -45855,7 +46673,7 @@ paths: description: Response content: application/json: - schema: &276 + schema: &283 title: Projects v2 Item description: An item belonging to a project type: object @@ -45869,7 +46687,7 @@ paths: content: oneOf: - *82 - - &466 + - &472 title: Pull Request Simple description: Pull Request Simple type: object @@ -45989,7 +46807,7 @@ paths: milestone: anyOf: - type: 'null' - - *272 + - *279 active_lock_reason: type: - string @@ -46038,7 +46856,7 @@ paths: items: *4 requested_teams: type: array - items: *191 + items: *198 head: type: object properties: @@ -46082,7 +46900,7 @@ paths: _links: type: object properties: - comments: &273 + comments: &280 title: Link description: Hypermedia Link type: object @@ -46091,13 +46909,13 @@ paths: type: string required: - href - commits: *273 - statuses: *273 - html: *273 - issue: *273 - review_comments: *273 - review_comment: *273 - self: *273 + commits: *280 + statuses: *280 + html: *280 + issue: *280 + review_comments: *280 + review_comment: *280 + self: *280 required: - comments - commits @@ -46108,7 +46926,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: &572 + auto_merge: &576 title: Auto merge description: The status of auto merging a pull request. type: @@ -46282,7 +47100,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &275 + content_type: &282 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -46326,7 +47144,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &277 + draft_issue: &284 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -46400,7 +47218,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *271 + - *278 - *74 - *17 - *45 @@ -46412,7 +47230,7 @@ paths: application/json: schema: type: array - items: &274 + items: &281 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -46565,7 +47383,7 @@ paths: - updated_at - project_url examples: - default: &700 + default: &704 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46695,7 +47513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *271 + - *278 - *74 requestBody: required: true @@ -46742,7 +47560,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &701 + items: &705 type: object properties: name: @@ -46779,7 +47597,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &702 + iteration_configuration: &706 type: object description: The configuration for iteration fields. properties: @@ -46829,7 +47647,7 @@ paths: value: name: Due date data_type: date - single_select_field: &703 + single_select_field: &707 summary: Create a single select field value: name: Priority @@ -46856,7 +47674,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &704 + iteration_field: &708 summary: Create an iteration field value: name: Sprint @@ -46880,9 +47698,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *274 + schema: *281 examples: - text_field: &705 + text_field: &709 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -46891,7 +47709,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &706 + number_field: &710 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -46900,7 +47718,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &707 + date_field: &711 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -46909,7 +47727,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &708 + single_select_field: &712 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46943,7 +47761,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &709 + iteration_field: &713 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -46988,8 +47806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *271 - - &710 + - *278 + - &714 name: field_id description: The unique identifier of the field. in: path @@ -47002,9 +47820,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *281 examples: - default: &711 + default: &715 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47060,7 +47878,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *271 + - *278 - *74 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -47093,7 +47911,7 @@ paths: application/json: schema: type: array - items: &278 + items: &285 title: Projects v2 Item description: An item belonging to a project type: object @@ -47110,7 +47928,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *275 + content_type: *282 content: type: - object @@ -47160,7 +47978,7 @@ paths: - updated_at - archived_at examples: - default: &279 + default: &286 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -47858,7 +48676,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *74 - - *271 + - *278 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -47928,22 +48746,22 @@ paths: description: Response content: application/json: - schema: *276 + schema: *283 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *277 + value: *284 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *277 + value: *284 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *277 + value: *284 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *277 + value: *284 '304': *35 '403': *27 '401': *23 @@ -47963,9 +48781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *271 + - *278 - *74 - - &280 + - &287 name: item_id description: The unique identifier of the project item. in: path @@ -47991,9 +48809,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *285 examples: - default: *279 + default: *286 headers: Link: *66 '304': *35 @@ -48014,9 +48832,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *271 + - *278 - *74 - - *280 + - *287 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -48089,13 +48907,13 @@ paths: description: Response content: application/json: - schema: *278 + schema: *285 examples: - text_field: *279 - number_field: *279 - date_field: *279 - single_select_field: *279 - iteration_field: *279 + text_field: *286 + number_field: *286 + date_field: *286 + single_select_field: *286 + iteration_field: *286 '401': *23 '403': *27 '404': *6 @@ -48115,9 +48933,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *271 + - *278 - *74 - - *280 + - *287 responses: '204': description: Response @@ -48141,7 +48959,7 @@ paths: url: https://docs.github.com/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *74 - - *271 + - *278 requestBody: required: true content: @@ -48215,7 +49033,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &691 + schema: &695 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -48319,7 +49137,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &281 + value: &288 value: id: 1 number: 1 @@ -48365,10 +49183,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *281 + value: *288 roadmap_view: summary: Response for creating a roadmap view - value: *281 + value: *288 '304': *35 '403': *27 '401': *23 @@ -48396,9 +49214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *271 + - *278 - *74 - - &712 + - &716 name: view_number description: The number that identifies the project view. in: path @@ -48430,9 +49248,9 @@ paths: application/json: schema: type: array - items: *278 + items: *285 examples: - default: *279 + default: *286 headers: Link: *66 '304': *35 @@ -48465,7 +49283,7 @@ paths: application/json: schema: type: array - items: &282 + items: &289 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -48543,7 +49361,7 @@ paths: - property_name - value_type examples: - default: &283 + default: &290 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -48603,7 +49421,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *282 + items: *289 minItems: 1 maxItems: 100 required: @@ -48633,9 +49451,9 @@ paths: application/json: schema: type: array - items: *282 + items: *289 examples: - default: *283 + default: *290 '403': *27 '404': *6 x-github: @@ -48657,7 +49475,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *74 - - &284 + - &291 name: custom_property_name description: The custom property name in: path @@ -48669,9 +49487,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *289 examples: - default: &285 + default: &292 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -48706,7 +49524,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *74 - - *284 + - *291 requestBody: required: true content: @@ -48786,9 +49604,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *289 examples: - default: *285 + default: *292 '403': *27 '404': *6 x-github: @@ -48812,7 +49630,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *74 - - *284 + - *291 responses: '204': *59 '403': *27 @@ -48876,7 +49694,7 @@ paths: - octocat/Hello-World properties: type: array - items: &286 + items: &293 title: Custom Property Value description: Custom property name and associated value type: object @@ -48966,7 +49784,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *286 + items: *293 required: - repository_names - properties @@ -49158,7 +49976,7 @@ paths: type: array items: *153 examples: - default: *259 + default: *266 headers: Link: *66 x-github: @@ -49361,7 +50179,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &341 title: Full Repository description: Full Repository type: object @@ -49839,7 +50657,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &471 + code_of_conduct: &477 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -49869,7 +50687,7 @@ paths: - key - name - html_url - security_and_analysis: *287 + security_and_analysis: *294 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -49964,7 +50782,7 @@ paths: has_downloads: version: '2026-03-10' examples: - default: &336 + default: &343 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -50497,7 +51315,7 @@ paths: - *74 - *17 - *19 - - &594 + - &598 name: targets description: | A comma-separated list of rule targets to filter by. @@ -50516,7 +51334,7 @@ paths: application/json: schema: type: array - items: &314 + items: &321 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -50551,7 +51369,7 @@ paths: source: type: string description: The name of the source - enforcement: &290 + enforcement: &297 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -50564,7 +51382,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &291 + items: &298 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -50635,7 +51453,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &288 + - &295 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -50659,7 +51477,7 @@ paths: match. items: type: string - - &292 + - &299 title: Organization ruleset conditions type: object description: |- @@ -50673,7 +51491,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *288 + - *295 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -50707,7 +51525,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *288 + - *295 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -50729,7 +51547,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *288 + - *295 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -50742,7 +51560,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &289 + items: &296 title: Repository ruleset property targeting definition type: object @@ -50775,7 +51593,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *289 + items: *296 required: - repository_property type: @@ -50783,12 +51601,12 @@ paths: - object rules: type: array - items: &595 + items: &599 title: Repository Rule type: object description: A repository rule. oneOf: - - &293 + - &300 title: creation description: Only allow users with bypass permission to create matching refs. @@ -50800,7 +51618,7 @@ paths: type: string enum: - creation - - &294 + - &301 title: update description: Only allow users with bypass permission to update matching refs. @@ -50821,7 +51639,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &295 + - &302 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -50833,7 +51651,7 @@ paths: type: string enum: - deletion - - &296 + - &303 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -50845,7 +51663,7 @@ paths: type: string enum: - required_linear_history - - &593 + - &597 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -50923,7 +51741,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &297 + - &304 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -50947,7 +51765,7 @@ paths: type: string required: - required_deployment_environments - - &298 + - &305 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -50959,7 +51777,7 @@ paths: type: string enum: - required_signatures - - &299 + - &306 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -51065,7 +51883,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &300 + - &307 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -51113,7 +51931,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &301 + - &308 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -51125,7 +51943,7 @@ paths: type: string enum: - non_fast_forward - - &302 + - &309 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -51162,7 +51980,7 @@ paths: required: - operator - pattern - - &303 + - &310 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -51199,7 +52017,7 @@ paths: required: - operator - pattern - - &304 + - &311 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -51236,7 +52054,7 @@ paths: required: - operator - pattern - - &305 + - &312 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -51273,7 +52091,7 @@ paths: required: - operator - pattern - - &306 + - &313 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -51310,7 +52128,7 @@ paths: required: - operator - pattern - - &307 + - &314 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -51335,7 +52153,7 @@ paths: type: string required: - restricted_file_paths - - &308 + - &315 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -51359,7 +52177,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &309 + - &316 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -51382,7 +52200,7 @@ paths: type: string required: - restricted_file_extensions - - &310 + - &317 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -51407,7 +52225,7 @@ paths: maximum: 100 required: - max_file_size - - &311 + - &318 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -51457,7 +52275,7 @@ paths: - repository_id required: - workflows - - &312 + - &319 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -51518,7 +52336,7 @@ paths: - tool required: - code_scanning_tools - - &313 + - &320 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -51617,27 +52435,20 @@ paths: - push - repository default: branch - enforcement: *290 + enforcement: *297 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *291 - conditions: *292 + items: *298 + conditions: *299 rules: type: array description: An array of rules within the ruleset. - items: &316 + items: &323 title: Repository Rule type: object description: A repository rule. oneOf: - - *293 - - *294 - - *295 - - *296 - - *297 - - *298 - - *299 - *300 - *301 - *302 @@ -51652,6 +52463,13 @@ paths: - *311 - *312 - *313 + - *314 + - *315 + - *316 + - *317 + - *318 + - *319 + - *320 required: - name - enforcement @@ -51689,9 +52507,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: - default: &315 + default: &322 value: id: 21 name: super cool ruleset @@ -51747,7 +52565,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *74 - - &596 + - &600 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -51762,7 +52580,7 @@ paths: in: query schema: type: string - - &597 + - &601 name: time_period description: |- The time period to filter by. @@ -51778,14 +52596,14 @@ paths: - week - month default: day - - &598 + - &602 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &599 + - &603 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -51805,7 +52623,7 @@ paths: description: Response content: application/json: - schema: &600 + schema: &604 title: Rule Suites description: Response type: array @@ -51861,7 +52679,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &601 + default: &605 value: - id: 21 actor_id: 12 @@ -51905,7 +52723,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *74 - - &602 + - &606 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -51921,7 +52739,7 @@ paths: description: Response content: application/json: - schema: &603 + schema: &607 title: Rule Suite description: Response type: object @@ -52028,7 +52846,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &604 + default: &608 value: id: 21 actor_id: 12 @@ -52101,9 +52919,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: - default: *315 + default: *322 '404': *6 '500': *53 put: @@ -52147,16 +52965,16 @@ paths: - tag - push - repository - enforcement: *290 + enforcement: *297 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *291 - conditions: *292 + items: *298 + conditions: *299 rules: description: An array of rules within the ruleset. type: array - items: *316 + items: *323 examples: default: value: @@ -52191,9 +53009,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: - default: *315 + default: *322 '404': *6 '422': *15 '500': *53 @@ -52251,7 +53069,7 @@ paths: application/json: schema: type: array - items: &317 + items: &324 title: Ruleset version type: object description: The historical version of a ruleset @@ -52275,7 +53093,7 @@ paths: type: string format: date-time examples: - default: &606 + default: &610 value: - version_id: 3 actor: @@ -52328,9 +53146,9 @@ paths: description: Response content: application/json: - schema: &607 + schema: &611 allOf: - - *317 + - *324 - type: object required: - state @@ -52400,7 +53218,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *74 - - &608 + - &612 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -52411,7 +53229,7 @@ paths: enum: - open - resolved - - &609 + - &613 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -52421,7 +53239,7 @@ paths: required: false schema: type: string - - &610 + - &614 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -52432,7 +53250,7 @@ paths: required: false schema: type: string - - &611 + - &615 name: exclude_providers in: query description: |- @@ -52443,7 +53261,7 @@ paths: required: false schema: type: string - - &612 + - &616 name: providers in: query description: |- @@ -52454,7 +53272,7 @@ paths: required: false schema: type: string - - &613 + - &617 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -52463,7 +53281,7 @@ paths: required: false schema: type: string - - &614 + - &618 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -52482,7 +53300,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &615 + - &619 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -52497,7 +53315,7 @@ paths: - *60 - *19 - *17 - - &616 + - &620 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -52507,7 +53325,7 @@ paths: required: false schema: type: string - - &617 + - &621 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -52517,7 +53335,7 @@ paths: required: false schema: type: string - - &618 + - &622 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -52526,7 +53344,7 @@ paths: required: false schema: type: string - - &619 + - &623 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -52535,7 +53353,7 @@ paths: schema: type: boolean default: false - - &620 + - &624 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -52544,7 +53362,7 @@ paths: schema: type: boolean default: false - - &621 + - &625 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -52553,7 +53371,7 @@ paths: schema: type: boolean default: false - - &622 + - &626 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -52574,27 +53392,27 @@ paths: items: type: object properties: - number: *171 - created_at: *172 + number: *178 + created_at: *179 updated_at: anyOf: - type: 'null' - - *173 - url: *174 - html_url: *175 + - *180 + url: *181 + html_url: *182 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: &623 + state: &627 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &624 + resolution: &628 type: - string - 'null' @@ -52713,14 +53531,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &625 + - &629 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &627 + - &631 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -52784,7 +53602,7 @@ paths: - blob_url - commit_sha - commit_url - - &628 + - &632 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -52845,7 +53663,7 @@ paths: - page_url - commit_sha - commit_url - - &629 + - &633 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -52867,7 +53685,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &630 + - &634 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -52889,7 +53707,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &631 + - &635 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -52911,7 +53729,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &632 + - &636 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -52926,7 +53744,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &633 + - &637 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -52941,7 +53759,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &634 + - &638 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -52956,7 +53774,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &635 + - &639 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -52978,7 +53796,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &636 + - &640 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -53000,7 +53818,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &637 + - &641 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -53022,7 +53840,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &638 + - &642 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -53044,7 +53862,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &639 + - &643 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -53305,7 +54123,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &319 + pattern_config_version: &326 type: - string - 'null' @@ -53315,7 +54133,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &318 + items: &325 type: object properties: token_type: @@ -53384,7 +54202,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *318 + items: *325 examples: default: value: @@ -53441,7 +54259,7 @@ paths: schema: type: object properties: - pattern_config_version: *319 + pattern_config_version: *326 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -53467,7 +54285,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *319 + custom_pattern_version: *326 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -53565,7 +54383,7 @@ paths: application/json: schema: type: array - items: &643 + items: &647 description: A repository security advisory. type: object properties: @@ -53809,7 +54627,7 @@ paths: login: type: string description: The username of the user credited. - type: *320 + type: *327 credits_detailed: type: - array @@ -53820,7 +54638,7 @@ paths: type: object properties: user: *4 - type: *320 + type: *327 state: type: string description: The state of the user's acceptance of the @@ -53846,7 +54664,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *191 + items: *198 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -53916,7 +54734,7 @@ paths: - private_fork version: '2026-03-10' examples: - default: &644 + default: &648 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -54303,7 +55121,7 @@ paths: application/json: schema: type: array - items: *251 + items: *258 examples: default: value: @@ -54658,7 +55476,7 @@ paths: type: integer network_configurations: type: array - items: &321 + items: &328 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -54811,9 +55629,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *328 examples: - default: &322 + default: &329 value: id: 123456789ABCDEF name: My network configuration @@ -54842,7 +55660,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *74 - - &323 + - &330 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -54854,9 +55672,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *328 examples: - default: *322 + default: *329 headers: Link: *66 x-github: @@ -54878,7 +55696,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *74 - - *323 + - *330 requestBody: required: true content: @@ -54931,9 +55749,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *328 examples: - default: *322 + default: *329 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54953,7 +55771,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *74 - - *323 + - *330 responses: '204': description: Response @@ -55098,13 +55916,13 @@ paths: application/json: schema: type: array - items: *324 + items: *331 examples: - default: *325 + default: *332 '500': *53 '403': *27 '404': *6 - '422': *326 + '422': *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55144,9 +55962,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - default: *252 + default: *259 headers: Link: *66 '403': *27 @@ -55240,7 +56058,7 @@ paths: description: Response content: application/json: - schema: &327 + schema: &334 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -55314,7 +56132,7 @@ paths: parent: anyOf: - type: 'null' - - *251 + - *258 members_count: type: integer examples: @@ -55639,7 +56457,7 @@ paths: - repos_count - organization examples: - default: &328 + default: &335 value: id: 1 node_id: MDQ6VGVhbTE= @@ -55727,9 +56545,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *334 examples: - default: *328 + default: *335 '404': *6 x-github: githubCloudOnly: false @@ -55814,16 +56632,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *327 + schema: *334 examples: - default: *328 + default: *335 '201': description: Response content: application/json: - schema: *327 + schema: *334 examples: - default: *328 + default: *335 '404': *6 '422': *15 '403': *27 @@ -55853,7 +56671,7 @@ paths: responses: '204': description: Response - '422': &329 + '422': &336 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -55887,12 +56705,12 @@ paths: application/json: schema: type: array - items: *230 + items: *237 examples: - default: *231 + default: *238 headers: Link: *66 - '422': *329 + '422': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55974,7 +56792,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &337 title: Team Membership description: Team Membership type: object @@ -56002,7 +56820,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &659 + response-if-user-is-a-team-maintainer: &663 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -56065,9 +56883,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *337 examples: - response-if-users-membership-with-team-is-now-pending: &660 + response-if-users-membership-with-team-is-now-pending: &664 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -56143,7 +56961,7 @@ paths: type: array items: *153 examples: - default: *259 + default: *266 headers: Link: *66 x-github: @@ -56174,14 +56992,14 @@ paths: parameters: - *74 - *76 - - *331 - - *332 + - *338 + - *339 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &661 + schema: &665 title: Team Repository description: A team's access to a repository. type: object @@ -56909,8 +57727,8 @@ paths: parameters: - *74 - *76 - - *331 - - *332 + - *338 + - *339 requestBody: required: false content: @@ -56957,8 +57775,8 @@ paths: parameters: - *74 - *76 - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -56993,9 +57811,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - response-if-child-teams-exist: &662 + response-if-child-teams-exist: &666 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -57149,7 +57967,7 @@ paths: resources: type: object properties: - core: &333 + core: &340 title: Rate Limit type: object properties: @@ -57166,21 +57984,21 @@ paths: - remaining - reset - used - graphql: *333 - search: *333 - code_search: *333 - source_import: *333 - integration_manifest: *333 - code_scanning_upload: *333 - actions_runner_registration: *333 - scim: *333 - dependency_snapshots: *333 - dependency_sbom: *333 - code_scanning_autofix: *333 + graphql: *340 + search: *340 + code_search: *340 + source_import: *340 + integration_manifest: *340 + code_scanning_upload: *340 + actions_runner_registration: *340 + scim: *340 + dependency_snapshots: *340 + dependency_sbom: *340 + code_scanning_autofix: *340 required: - core - search - rate: *333 + rate: *340 required: - rate - resources @@ -57299,14 +58117,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *334 + schema: *341 examples: default-response: summary: Default response @@ -57817,7 +58635,7 @@ paths: version: '2026-03-10' '403': *27 '404': *6 - '301': *335 + '301': *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57835,8 +58653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: false content: @@ -58135,10 +58953,10 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: *336 - '307': &337 + default: *343 + '307': &344 description: Temporary Redirect content: application/json: @@ -58167,8 +58985,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -58190,7 +59008,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *337 + '307': *344 '404': *6 '409': *52 x-github: @@ -58214,11 +59032,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 - - &370 + - &376 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -58241,7 +59059,7 @@ paths: type: integer artifacts: type: array - items: &338 + items: &345 title: Artifact description: An artifact type: object @@ -58336,7 +59154,7 @@ paths: - expires_at - updated_at examples: - default: &371 + default: &377 value: total_count: 2 artifacts: @@ -58397,9 +59215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *331 - - *332 - - &339 + - *338 + - *339 + - &346 name: artifact_id description: The unique identifier of the artifact. in: path @@ -58411,7 +59229,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *345 examples: default: value: @@ -58449,9 +59267,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *331 - - *332 + - *338 - *339 + - *346 responses: '204': description: Response @@ -58475,9 +59293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *331 - - *332 + - *338 - *339 + - *346 - name: archive_format in: path required: true @@ -58487,11 +59305,11 @@ paths: '302': description: Response headers: - Location: &488 + Location: &494 example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &529 + '410': &533 description: Gone content: application/json: @@ -58516,14 +59334,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: &340 + schema: &347 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -58557,13 +59375,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: application/json: - schema: *340 + schema: *347 examples: selected_actions: *40 responses: @@ -58592,14 +59410,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: &341 + schema: &348 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -58633,13 +59451,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: application/json: - schema: *341 + schema: *348 examples: selected_actions: *42 responses: @@ -58670,14 +59488,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *342 + schema: *349 examples: default: value: @@ -58703,11 +59521,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 - - &343 + - &350 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -58741,7 +59559,7 @@ paths: description: Response content: application/json: - schema: &344 + schema: &351 title: Repository actions caches description: Repository actions caches type: object @@ -58791,7 +59609,7 @@ paths: - total_count - actions_caches examples: - default: &345 + default: &352 value: total_count: 1 actions_caches: @@ -58823,23 +59641,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *331 - - *332 + - *338 + - *339 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *343 + - *350 responses: '200': description: Response content: application/json: - schema: *344 + schema: *351 examples: - default: *345 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58859,8 +59677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *331 - - *332 + - *338 + - *339 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -58889,8 +59707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *46 responses: @@ -58973,8 +59791,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -59130,9 +59948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *331 - - *332 - - &346 + - *338 + - *339 + - &353 name: job_id description: The unique identifier of the job. in: path @@ -59144,7 +59962,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &380 title: Job description: Information of a job execution in a workflow run type: object @@ -59491,9 +60309,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *331 - - *332 - - *346 + - *338 + - *339 + - *353 responses: '302': description: Response @@ -59521,9 +60339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *331 - - *332 - - *346 + - *338 + - *339 + - *353 requestBody: required: false content: @@ -59574,8 +60392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Status response @@ -59634,8 +60452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -59703,8 +60521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -59722,7 +60540,7 @@ paths: type: integer secrets: type: array - items: &376 + items: &382 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -59743,7 +60561,7 @@ paths: - created_at - updated_at examples: - default: &377 + default: &383 value: total_count: 2 secrets: @@ -59776,9 +60594,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *331 - - *332 - - *347 + - *338 + - *339 + - *170 - *19 responses: '200': @@ -59795,7 +60613,7 @@ paths: type: integer variables: type: array - items: &380 + items: &384 title: Actions Variable type: object properties: @@ -59829,7 +60647,7 @@ paths: - created_at - updated_at examples: - default: &381 + default: &385 value: total_count: 2 variables: @@ -59862,8 +60680,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -59872,11 +60690,11 @@ paths: schema: type: object properties: - enabled: &349 + enabled: &355 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *138 - selected_actions_url: *348 + selected_actions_url: *354 sha_pinning_required: *139 required: - enabled @@ -59905,8 +60723,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -59917,7 +60735,7 @@ paths: schema: type: object properties: - enabled: *349 + enabled: *355 allowed_actions: *138 sha_pinning_required: *139 required: @@ -59949,14 +60767,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: &350 + schema: &356 type: object properties: access_level: @@ -59973,7 +60791,7 @@ paths: required: - access_level examples: - default: &351 + default: &357 value: access_level: organization x-github: @@ -59997,15 +60815,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: application/json: - schema: *350 + schema: *356 examples: - default: *351 + default: *357 responses: '204': description: Response @@ -60029,14 +60847,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *352 + schema: *358 examples: default: value: @@ -60060,8 +60878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Empty response for successful settings update @@ -60071,7 +60889,7 @@ paths: required: true content: application/json: - schema: *353 + schema: *359 examples: default: summary: Set retention days @@ -60095,8 +60913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -60104,7 +60922,7 @@ paths: application/json: schema: *140 examples: - default: *354 + default: *360 '404': *6 x-github: enabledForGitHubApps: true @@ -60123,8 +60941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -60158,14 +60976,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *355 + schema: *361 examples: default: *141 '403': *27 @@ -60187,13 +61005,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: application/json: - schema: *356 + schema: *362 examples: default: *141 responses: @@ -60219,8 +61037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -60247,8 +61065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -60280,14 +61098,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *357 + schema: *363 examples: default: *148 x-github: @@ -60310,8 +61128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Success response @@ -60322,7 +61140,7 @@ paths: required: true content: application/json: - schema: *358 + schema: *364 examples: default: *148 x-github: @@ -60351,8 +61169,8 @@ paths: in: query schema: type: string - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -60396,8 +61214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -60405,9 +61223,9 @@ paths: application/json: schema: type: array - items: *359 + items: *365 examples: - default: *360 + default: *366 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60429,8 +61247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -60473,7 +61291,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *361 + '201': *367 '404': *6 '422': *7 '409': *52 @@ -60504,8 +61322,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '201': description: Response @@ -60513,7 +61331,7 @@ paths: application/json: schema: *157 examples: - default: *362 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60541,8 +61359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '201': description: Response @@ -60550,7 +61368,7 @@ paths: application/json: schema: *157 examples: - default: *363 + default: *369 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60572,8 +61390,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *154 responses: '200': @@ -60582,7 +61400,7 @@ paths: application/json: schema: *155 examples: - default: *364 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60603,8 +61421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *154 responses: '204': @@ -60631,8 +61449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *154 responses: '200': *159 @@ -60657,8 +61475,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-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *154 requestBody: required: true @@ -60707,8 +61525,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-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *154 requestBody: required: true @@ -60758,11 +61576,11 @@ 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-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *154 responses: - '200': *365 + '200': *371 '404': *6 x-github: githubCloudOnly: false @@ -60789,10 +61607,10 @@ 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-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *154 - - *366 + - *372 responses: '200': *159 '404': *6 @@ -60820,9 +61638,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *331 - - *332 - - &384 + - *338 + - *339 + - &388 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -60830,7 +61648,7 @@ paths: required: false schema: type: string - - &385 + - &389 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -60838,7 +61656,7 @@ paths: required: false schema: type: string - - &386 + - &390 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -60847,7 +61665,7 @@ paths: required: false schema: type: string - - &387 + - &391 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -60874,7 +61692,7 @@ paths: - pending - *17 - *19 - - &388 + - &392 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -60883,7 +61701,7 @@ paths: schema: type: string format: date-time - - &367 + - &373 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -60892,13 +61710,13 @@ paths: schema: type: boolean default: false - - &389 + - &393 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &390 + - &394 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -60921,7 +61739,7 @@ paths: type: integer workflow_runs: type: array - items: &368 + items: &374 title: Workflow Run description: An invocation of a workflow type: object @@ -61099,7 +61917,7 @@ paths: head_commit: anyOf: - type: 'null' - - &412 + - &418 title: Simple Commit description: A commit. type: object @@ -61214,7 +62032,7 @@ paths: - workflow_url - pull_requests examples: - default: &391 + default: &395 value: total_count: 1 workflow_runs: @@ -61450,24 +62268,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *331 - - *332 - - &369 + - *338 + - *339 + - &375 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *367 + - *373 responses: '200': description: Response content: application/json: - schema: *368 + schema: *374 examples: - default: &372 + default: &378 value: id: 30433642 name: Build @@ -61708,9 +62526,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '204': description: Response @@ -61733,9 +62551,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '200': description: Response @@ -61863,9 +62681,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '201': description: Response @@ -61898,12 +62716,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 - *17 - *19 - - *370 + - *376 - *60 responses: '200': @@ -61920,9 +62738,9 @@ paths: type: integer artifacts: type: array - items: *338 + items: *345 examples: - default: *371 + default: *377 headers: Link: *66 x-github: @@ -61946,25 +62764,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *331 - - *332 - - *369 - - &373 + - *338 + - *339 + - *375 + - &379 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *367 + - *373 responses: '200': description: Response content: application/json: - schema: *368 + schema: *374 examples: - default: *372 + default: *378 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61987,10 +62805,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *331 - - *332 - - *369 - - *373 + - *338 + - *339 + - *375 + - *379 - *17 - *19 responses: @@ -62008,9 +62826,9 @@ paths: type: integer jobs: type: array - items: *374 + items: *380 examples: - default: &375 + default: &381 value: total_count: 1 jobs: @@ -62123,10 +62941,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *331 - - *332 - - *369 - - *373 + - *338 + - *339 + - *375 + - *379 responses: '302': description: Response @@ -62154,9 +62972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '202': description: Response @@ -62202,9 +63020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 - *17 - *45 - *46 @@ -62381,9 +63199,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 requestBody: required: true content: @@ -62450,9 +63268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '202': description: Response @@ -62485,9 +63303,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -62517,9 +63335,9 @@ paths: type: integer jobs: type: array - items: *374 + items: *380 examples: - default: *375 + default: *381 headers: Link: *66 x-github: @@ -62544,9 +63362,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '302': description: Response @@ -62573,9 +63391,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '204': description: Response @@ -62602,9 +63420,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '200': description: Response @@ -62673,7 +63491,7 @@ paths: items: type: object properties: - type: &495 + type: &501 type: string description: The type of reviewer. enum: @@ -62684,7 +63502,7 @@ paths: reviewer: anyOf: - *4 - - *191 + - *198 required: - environment - wait_timer @@ -62759,9 +63577,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 requestBody: required: true content: @@ -62811,7 +63629,7 @@ paths: application/json: schema: type: array - items: &490 + items: &496 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -62923,7 +63741,7 @@ paths: - created_at - updated_at examples: - default: &491 + default: &497 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -62979,9 +63797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 requestBody: required: false content: @@ -63026,9 +63844,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 requestBody: required: false content: @@ -63082,9 +63900,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *331 - - *332 - - *369 + - *338 + - *339 + - *375 responses: '200': description: Response @@ -63221,8 +64039,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -63240,9 +64058,9 @@ paths: type: integer secrets: type: array - items: *376 + items: *382 examples: - default: *377 + default: *383 headers: Link: *66 x-github: @@ -63267,16 +64085,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *378 + schema: *167 examples: - default: *379 + default: *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63298,17 +64116,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 responses: '200': description: Response content: application/json: - schema: *376 + schema: *382 examples: - default: &508 + default: &396 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -63334,8 +64152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 requestBody: required: true @@ -63393,8 +64211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 responses: '204': @@ -63420,9 +64238,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *331 - - *332 - - *347 + - *338 + - *339 + - *170 - *19 responses: '200': @@ -63439,9 +64257,9 @@ paths: type: integer variables: type: array - items: *380 + items: *384 examples: - default: *381 + default: *385 headers: Link: *66 x-github: @@ -63464,8 +64282,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -63517,17 +64335,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *331 - - *332 + - *338 + - *339 - *164 responses: '200': description: Response content: application/json: - schema: *380 + schema: *384 examples: - default: &509 + default: &397 value: name: USERNAME value: octocat @@ -63553,8 +64371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *331 - - *332 + - *338 + - *339 - *164 requestBody: required: true @@ -63597,8 +64415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *331 - - *332 + - *338 + - *339 - *164 responses: '204': @@ -63624,8 +64442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -63643,7 +64461,7 @@ paths: type: integer workflows: type: array - items: &382 + items: &386 title: Workflow description: A GitHub Actions workflow type: object @@ -63761,9 +64579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *331 - - *332 - - &383 + - *338 + - *339 + - &387 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -63778,7 +64596,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *386 examples: default: value: @@ -63811,9 +64629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *331 - - *332 - - *383 + - *338 + - *339 + - *387 responses: '204': description: Response @@ -63838,9 +64656,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *331 - - *332 - - *383 + - *338 + - *339 + - *387 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -63938,9 +64756,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *331 - - *332 - - *383 + - *338 + - *339 + - *387 responses: '204': description: Response @@ -63967,19 +64785,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *331 - - *332 - - *383 - - *384 - - *385 - - *386 + - *338 + - *339 - *387 - - *17 - - *19 - *388 - - *367 - *389 - *390 + - *391 + - *17 + - *19 + - *392 + - *373 + - *393 + - *394 responses: '200': description: Response @@ -63995,9 +64813,9 @@ paths: type: integer workflow_runs: type: array - items: *368 + items: *374 examples: - default: *391 + default: *395 headers: Link: *66 x-github: @@ -64029,9 +64847,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *331 - - *332 - - *383 + - *338 + - *339 + - *387 responses: '200': description: Response @@ -64092,8 +64910,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *331 - - *332 + - *338 + - *339 - *60 - *17 - *45 @@ -64249,6 +65067,492 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos + "/repos/{owner}/{repo}/agents/organization-secrets": + get: + summary: List repository organization secrets + description: |- + Lists all organization secrets shared with a repository without revealing their encrypted + values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-organization-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-repository-organization-secrets + parameters: + - *338 + - *339 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: *382 + examples: + default: *383 + headers: + Link: *66 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/organization-variables": + get: + summary: List repository organization variables + description: |- + Lists all organization variables shared with a repository. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-organization-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#list-repository-organization-variables + parameters: + - *338 + - *339 + - *170 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: *384 + examples: + default: *385 + headers: + Link: *66 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/repos/{owner}/{repo}/agents/secrets": + get: + summary: List repository secrets + description: |- + Lists all secrets available in a repository without revealing their encrypted + values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#list-repository-secrets + parameters: + - *338 + - *339 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: *382 + examples: + default: *383 + headers: + Link: *66 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/secrets/public-key": + get: + summary: Get a repository public key + description: |- + Gets your public key, which you need to encrypt secrets. You need to + encrypt a secret before you can create or update secrets. + + Anyone with read access to the repository can use this endpoint. + + If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-public-key + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-a-repository-public-key + parameters: + - *338 + - *339 + responses: + '200': + description: Response + content: + application/json: + schema: *167 + examples: + default: *168 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/secrets/{secret_name}": + get: + summary: Get a repository secret + description: |- + Gets a single repository secret without revealing its encrypted value. + + The authenticated user must have collaborator access to the repository to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#get-a-repository-secret + parameters: + - *338 + - *339 + - *161 + responses: + '200': + description: Response + content: + application/json: + schema: *382 + examples: + default: *396 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + put: + summary: Create or update a repository secret + description: |- + Creates or updates a repository secret with an encrypted value. Encrypt your secret using + [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)." + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-or-update-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#create-or-update-a-repository-secret + parameters: + - *338 + - *339 + - *161 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + encrypted_value: + type: string + description: Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) + using the public key retrieved from the [Get a repository public + key](https://docs.github.com/rest/agents/secrets#get-a-repository-public-key) + endpoint. + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + type: string + description: ID of the key you used to encrypt the secret. + required: + - encrypted_value + - key_id + examples: + default: + value: + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + responses: + '201': + description: Response when creating a secret + content: + application/json: + schema: *162 + examples: + default: + value: + '204': + description: Response when updating a secret + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + delete: + summary: Delete a repository secret + description: |- + Deletes a secret in a repository using the secret name. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/secrets#delete-a-repository-secret + parameters: + - *338 + - *339 + - *161 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/variables": + get: + summary: List repository variables + description: |- + Lists all repository variables. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#list-repository-variables + parameters: + - *338 + - *339 + - *170 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: *384 + examples: + default: *385 + headers: + Link: *66 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + post: + summary: Create a repository variable + description: |- + Creates a repository variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#create-a-repository-variable + parameters: + - *338 + - *339 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + required: + - name + - value + examples: + default: + value: + name: USERNAME + value: octocat + responses: + '201': + description: Response + content: + application/json: + schema: *162 + examples: + default: + value: + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/repos/{owner}/{repo}/agents/variables/{name}": + get: + summary: Get a repository variable + description: |- + Gets a specific variable in a repository. + + The authenticated user must have collaborator access to the repository to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#get-a-repository-variable + parameters: + - *338 + - *339 + - *164 + responses: + '200': + description: Response + content: + application/json: + schema: *384 + examples: + default: *397 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + patch: + summary: Update a repository variable + description: |- + Updates a repository variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/update-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#update-a-repository-variable + parameters: + - *338 + - *339 + - *164 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + examples: + default: + value: + name: USERNAME + value: octocat + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + delete: + summary: Delete a repository variable + description: |- + Deletes a repository variable using the variable name. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/agents/variables#delete-a-repository-variable + parameters: + - *338 + - *339 + - *164 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables "/repos/{owner}/{repo}/assignees": get: summary: List assignees @@ -64261,8 +65565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -64299,8 +65603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *331 - - *332 + - *338 + - *339 - name: assignee in: path required: true @@ -64336,8 +65640,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#create-an-attestation parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -64447,8 +65751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/attestations#list-attestations parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *45 - *46 @@ -64505,7 +65809,7 @@ paths: initiator: type: string examples: - default: *392 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64539,8 +65843,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -64548,7 +65852,7 @@ paths: application/json: schema: type: array - items: &393 + items: &399 title: Autolink reference description: An autolink reference. type: object @@ -64607,8 +65911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -64647,9 +65951,9 @@ paths: description: response content: application/json: - schema: *393 + schema: *399 examples: - default: &394 + default: &400 value: id: 1 key_prefix: TICKET- @@ -64680,9 +65984,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *331 - - *332 - - &395 + - *338 + - *339 + - &401 name: autolink_id description: The unique identifier of the autolink. in: path @@ -64694,9 +65998,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *399 examples: - default: *394 + default: *400 '404': *6 x-github: githubCloudOnly: false @@ -64716,9 +66020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *331 - - *332 - - *395 + - *338 + - *339 + - *401 responses: '204': description: Response @@ -64742,8 +66046,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response if Dependabot is enabled @@ -64793,8 +66097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -64815,8 +66119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -64836,8 +66140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *331 - - *332 + - *338 + - *339 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -64875,7 +66179,7 @@ paths: - url protected: type: boolean - protection: &397 + protection: &403 title: Branch Protection description: Branch Protection type: object @@ -64918,7 +66222,7 @@ paths: required: - contexts - checks - enforce_admins: &400 + enforce_admins: &406 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -64935,7 +66239,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &402 + required_pull_request_reviews: &408 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -64957,7 +66261,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *191 + items: *198 apps: description: The list of apps with review dismissal access. @@ -64989,7 +66293,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *191 + items: *198 apps: description: The list of apps allowed to bypass pull request requirements. @@ -65019,7 +66323,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &399 + restrictions: &405 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -65082,7 +66386,7 @@ paths: type: string teams: type: array - items: *191 + items: *198 apps: type: array items: @@ -65312,9 +66616,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *331 - - *332 - - &398 + - *338 + - *339 + - &404 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -65328,14 +66632,14 @@ paths: description: Response content: application/json: - schema: &408 + schema: &414 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &462 + commit: &468 title: Commit description: Commit type: object @@ -65374,7 +66678,7 @@ paths: author: anyOf: - type: 'null' - - &396 + - &402 title: Git User description: Metaproperties for Git author/committer information. @@ -65396,7 +66700,7 @@ paths: committer: anyOf: - type: 'null' - - *396 + - *402 message: type: string examples: @@ -65420,7 +66724,7 @@ paths: required: - sha - url - verification: &515 + verification: &519 title: Verification type: object properties: @@ -65500,7 +66804,7 @@ paths: type: integer files: type: array - items: &473 + items: &479 title: Diff Entry description: Diff Entry type: object @@ -65596,7 +66900,7 @@ paths: - self protected: type: boolean - protection: *397 + protection: *403 protection_url: type: string format: uri @@ -65705,7 +67009,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *335 + '301': *342 '404': *6 x-github: githubCloudOnly: false @@ -65727,15 +67031,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *397 + schema: *403 examples: default: value: @@ -65929,9 +67233,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -66191,7 +67495,7 @@ paths: url: type: string format: uri - required_status_checks: &405 + required_status_checks: &411 title: Status Check Policy description: Status Check Policy type: object @@ -66272,7 +67576,7 @@ paths: items: *4 teams: type: array - items: *191 + items: *198 apps: type: array items: *5 @@ -66290,7 +67594,7 @@ paths: items: *4 teams: type: array - items: *191 + items: *198 apps: type: array items: *5 @@ -66350,7 +67654,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *399 + restrictions: *405 required_conversation_resolution: type: object properties: @@ -66462,9 +67766,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '204': description: Response @@ -66489,17 +67793,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *400 + schema: *406 examples: - default: &401 + default: &407 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -66521,17 +67825,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *400 + schema: *406 examples: - default: *401 + default: *407 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66550,9 +67854,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '204': description: Response @@ -66577,17 +67881,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *402 + schema: *408 examples: - default: &403 + default: &409 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -66683,9 +67987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: false content: @@ -66783,9 +68087,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *408 examples: - default: *403 + default: *409 '422': *15 x-github: githubCloudOnly: false @@ -66806,9 +68110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '204': description: Response @@ -66835,17 +68139,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *400 + schema: *406 examples: - default: &404 + default: &410 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -66868,17 +68172,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *400 + schema: *406 examples: - default: *404 + default: *410 '404': *6 x-github: githubCloudOnly: false @@ -66898,9 +68202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '204': description: Response @@ -66925,17 +68229,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *405 + schema: *411 examples: - default: &406 + default: &412 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -66961,9 +68265,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: false content: @@ -67015,9 +68319,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *411 examples: - default: *406 + default: *412 '404': *6 '422': *15 x-github: @@ -67039,9 +68343,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '204': description: Response @@ -67065,9 +68369,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response @@ -67101,9 +68405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: false content: @@ -67170,9 +68474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: false content: @@ -67236,9 +68540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: content: application/json: @@ -67304,15 +68608,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response content: application/json: - schema: *399 + schema: *405 examples: default: value: @@ -67403,9 +68707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '204': description: Response @@ -67428,9 +68732,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response @@ -67440,7 +68744,7 @@ paths: type: array items: *5 examples: - default: &407 + default: &413 value: - id: 1 slug: octoapp @@ -67497,9 +68801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -67533,7 +68837,7 @@ paths: type: array items: *5 examples: - default: *407 + default: *413 '422': *15 x-github: githubCloudOnly: false @@ -67554,9 +68858,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -67590,7 +68894,7 @@ paths: type: array items: *5 examples: - default: *407 + default: *413 '422': *15 x-github: githubCloudOnly: false @@ -67611,9 +68915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -67647,7 +68951,7 @@ paths: type: array items: *5 examples: - default: *407 + default: *413 '422': *15 x-github: githubCloudOnly: false @@ -67669,9 +68973,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response @@ -67679,9 +68983,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - default: *252 + default: *259 '404': *6 x-github: githubCloudOnly: false @@ -67701,9 +69005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: false content: @@ -67739,9 +69043,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - default: *252 + default: *259 '422': *15 x-github: githubCloudOnly: false @@ -67762,9 +69066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: false content: @@ -67800,9 +69104,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - default: *252 + default: *259 '422': *15 x-github: githubCloudOnly: false @@ -67823,9 +69127,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: content: application/json: @@ -67860,9 +69164,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - default: *252 + default: *259 '422': *15 x-github: githubCloudOnly: false @@ -67884,9 +69188,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 responses: '200': description: Response @@ -67920,9 +69224,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -67980,9 +69284,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -68040,9 +69344,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -68102,9 +69406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 requestBody: required: true content: @@ -68126,7 +69430,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *414 examples: default: value: @@ -68242,8 +69546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -68522,7 +69826,7 @@ paths: description: Response content: application/json: - schema: &409 + schema: &415 title: CheckRun description: A check performed on the code of a given code change type: object @@ -68658,7 +69962,7 @@ paths: check. type: array items: *85 - deployment: &725 + deployment: &729 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -68945,9 +70249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *331 - - *332 - - &410 + - *338 + - *339 + - &416 name: check_run_id description: The unique identifier of the check run. in: path @@ -68959,9 +70263,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *415 examples: - default: &411 + default: &417 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -69061,9 +70365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *331 - - *332 - - *410 + - *338 + - *339 + - *416 requestBody: required: true content: @@ -69303,9 +70607,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *415 examples: - default: *411 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69325,9 +70629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *331 - - *332 - - *410 + - *338 + - *339 + - *416 - *17 - *19 responses: @@ -69437,9 +70741,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *331 - - *332 - - *410 + - *338 + - *339 + - *416 responses: '201': description: Response @@ -69483,8 +70787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -69506,7 +70810,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &413 + schema: &419 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -69604,7 +70908,7 @@ paths: - string - 'null' format: date-time - head_commit: *412 + head_commit: *418 latest_check_runs_count: type: integer check_runs_url: @@ -69632,7 +70936,7 @@ paths: - check_runs_url - pull_requests examples: - default: &414 + default: &420 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -69923,9 +71227,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *413 + schema: *419 examples: - default: *414 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69944,8 +71248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -70254,9 +71558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *331 - - *332 - - &415 + - *338 + - *339 + - &421 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -70268,9 +71572,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *419 examples: - default: *414 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70293,17 +71597,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *331 - - *332 - - *415 - - &468 + - *338 + - *339 + - *421 + - &474 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &469 + - &475 name: status description: Returns check runs with the specified `status`. in: query @@ -70342,9 +71646,9 @@ paths: type: integer check_runs: type: array - items: *409 + items: *415 examples: - default: &470 + default: &476 value: total_count: 1 check_runs: @@ -70446,9 +71750,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *331 - - *332 - - *415 + - *338 + - *339 + - *421 responses: '201': description: Response @@ -70481,21 +71785,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *331 - - *332 - - *416 - - *417 + - *338 + - *339 + - *422 + - *423 - *19 - *17 - - &434 + - &440 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *418 - - &435 + schema: *424 + - &441 name: pr description: The number of the pull request for the results you want to list. in: query @@ -70520,13 +71824,13 @@ paths: be returned. in: query required: false - schema: *419 + schema: *425 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *420 + schema: *426 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -70545,24 +71849,24 @@ paths: items: type: object properties: - number: *171 - created_at: *172 - updated_at: *173 - url: *174 - html_url: *175 - instances_url: *421 - state: *180 - fixed_at: *176 + number: *178 + created_at: *179 + updated_at: *180 + url: *181 + html_url: *182 + instances_url: *427 + state: *187 + fixed_at: *183 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *177 - dismissed_reason: *422 - dismissed_comment: *423 - rule: *424 - tool: *425 - most_recent_instance: *426 + dismissed_at: *184 + dismissed_reason: *428 + dismissed_comment: *429 + rule: *430 + tool: *431 + most_recent_instance: *432 dismissal_approved_by: anyOf: - type: 'null' @@ -70685,7 +71989,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &427 + '403': &433 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -70712,9 +72016,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *331 - - *332 - - &428 + - *338 + - *339 + - &434 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -70722,30 +72026,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *171 + schema: *178 responses: '200': description: Response content: application/json: - schema: &429 + schema: &435 type: object properties: - number: *171 - created_at: *172 - updated_at: *173 - url: *174 - html_url: *175 - instances_url: *421 - state: *180 - fixed_at: *176 + number: *178 + created_at: *179 + updated_at: *180 + url: *181 + html_url: *182 + instances_url: *427 + state: *187 + fixed_at: *183 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *177 - dismissed_reason: *422 - dismissed_comment: *423 + dismissed_at: *184 + dismissed_reason: *428 + dismissed_comment: *429 rule: type: object properties: @@ -70807,8 +72111,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *425 - most_recent_instance: *426 + tool: *431 + most_recent_instance: *432 dismissal_approved_by: anyOf: - type: 'null' @@ -70904,7 +72208,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *427 + '403': *433 '404': *6 '503': *114 x-github: @@ -70924,9 +72228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *331 - - *332 - - *428 + - *338 + - *339 + - *434 requestBody: required: true content: @@ -70941,8 +72245,8 @@ paths: enum: - open - dismissed - dismissed_reason: *422 - dismissed_comment: *423 + dismissed_reason: *428 + dismissed_comment: *429 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -70970,7 +72274,7 @@ paths: description: Response content: application/json: - schema: *429 + schema: *435 examples: default: value: @@ -71046,7 +72350,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &433 + '403': &439 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -71073,15 +72377,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *331 - - *332 - - *428 + - *338 + - *339 + - *434 responses: '200': description: Response content: application/json: - schema: &430 + schema: &436 type: object properties: status: @@ -71108,13 +72412,13 @@ paths: - description - started_at examples: - default: &431 + default: &437 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &432 + '400': &438 description: Bad Request content: application/json: @@ -71125,7 +72429,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *427 + '403': *433 '404': *6 '503': *114 x-github: @@ -71150,29 +72454,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *331 - - *332 - - *428 + - *338 + - *339 + - *434 responses: '200': description: OK content: application/json: - schema: *430 + schema: *436 examples: - default: *431 + default: *437 '202': description: Accepted content: application/json: - schema: *430 + schema: *436 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *432 + '400': *438 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -71204,9 +72508,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *331 - - *332 - - *428 + - *338 + - *339 + - *434 requestBody: required: false content: @@ -71252,8 +72556,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *432 - '403': *433 + '400': *438 + '403': *439 '404': *6 '422': description: Unprocessable Entity @@ -71277,13 +72581,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *331 - - *332 - - *428 + - *338 + - *339 + - *434 - *19 - *17 - - *434 - - *435 + - *440 + - *441 responses: '200': description: Response @@ -71294,10 +72598,10 @@ paths: items: type: object properties: - ref: *418 - analysis_key: *436 - environment: *437 - category: *438 + ref: *424 + analysis_key: *442 + environment: *443 + category: *444 state: type: - string @@ -71314,7 +72618,7 @@ paths: properties: text: type: string - location: *439 + location: *445 html_url: type: string classifications: @@ -71322,7 +72626,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *440 + items: *446 examples: default: value: @@ -71359,7 +72663,7 @@ paths: end_column: 50 classifications: - source - '403': *427 + '403': *433 '404': *6 '503': *114 x-github: @@ -71393,25 +72697,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *331 - - *332 - - *416 - - *417 + - *338 + - *339 + - *422 + - *423 - *19 - *17 - - *435 + - *441 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *418 + schema: *424 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &441 + schema: &447 type: string description: An identifier for the upload. examples: @@ -71433,23 +72737,23 @@ paths: application/json: schema: type: array - items: &442 + items: &448 type: object properties: - ref: *418 - commit_sha: &450 + ref: *424 + commit_sha: &456 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *436 + analysis_key: *442 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *438 + category: *444 error: type: string examples: @@ -71474,8 +72778,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *441 - tool: *425 + sarif_id: *447 + tool: *431 deletable: type: boolean warning: @@ -71537,7 +72841,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *427 + '403': *433 '404': *6 '503': *114 x-github: @@ -71573,8 +72877,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -71587,7 +72891,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *448 examples: response: summary: application/json response @@ -71641,7 +72945,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *427 + '403': *433 '404': *6 '422': description: Response if analysis could not be processed @@ -71728,8 +73032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -71785,7 +73089,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *433 + '403': *439 '404': *6 '503': *114 x-github: @@ -71807,8 +73111,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -71816,7 +73120,7 @@ paths: application/json: schema: type: array - items: &443 + items: &449 title: CodeQL Database description: A CodeQL database. type: object @@ -71928,7 +73232,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *427 + '403': *433 '404': *6 '503': *114 x-github: @@ -71957,8 +73261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - name: language in: path description: The language of the CodeQL database. @@ -71970,7 +73274,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *449 examples: default: value: @@ -72002,9 +73306,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &477 + '302': &483 description: Found - '403': *427 + '403': *433 '404': *6 '503': *114 x-github: @@ -72026,8 +73330,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *331 - - *332 + - *338 + - *339 - name: language in: path description: The language of the CodeQL database. @@ -72037,7 +73341,7 @@ paths: responses: '204': description: Response - '403': *433 + '403': *439 '404': *6 '503': *114 x-github: @@ -72065,8 +73369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -72075,7 +73379,7 @@ paths: type: object additionalProperties: false properties: - language: &444 + language: &450 type: string description: The language targeted by the CodeQL query enum: @@ -72155,7 +73459,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &448 + schema: &454 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -72165,7 +73469,7 @@ paths: description: The ID of the variant analysis. controller_repo: *65 actor: *4 - query_language: *444 + query_language: *450 query_pack_url: type: string description: The download url for the query pack. @@ -72213,7 +73517,7 @@ paths: items: type: object properties: - repository: &445 + repository: &451 title: Repository Identifier description: Repository Identifier type: object @@ -72255,7 +73559,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &449 + analysis_status: &455 type: string description: The new status of the CodeQL variant analysis repository task. @@ -72287,7 +73591,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &446 + access_mismatch_repos: &452 type: object properties: repository_count: @@ -72302,7 +73606,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *445 + items: *451 required: - repository_count - repositories @@ -72325,8 +73629,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *446 - over_limit_repos: *446 + no_codeql_db_repos: *452 + over_limit_repos: *452 required: - access_mismatch_repos - not_found_repos @@ -72342,7 +73646,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &447 + value: &453 summary: Default response value: id: 1 @@ -72488,10 +73792,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *447 + value: *453 repository_lists: summary: Response for a successful variant analysis submission - value: *447 + value: *453 '404': *6 '422': description: Unable to process variant analysis submission @@ -72519,8 +73823,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *331 - - *332 + - *338 + - *339 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -72532,9 +73836,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *454 examples: - default: *447 + default: *453 '404': *6 '503': *114 x-github: @@ -72557,7 +73861,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *331 + - *338 - name: repo in: path description: The name of the controller repository. @@ -72592,7 +73896,7 @@ paths: type: object properties: repository: *65 - analysis_status: *449 + analysis_status: *455 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -72717,8 +74021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -72828,7 +74132,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *427 + '403': *433 '404': *6 '503': *114 x-github: @@ -72849,8 +74153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -72944,7 +74248,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *433 + '403': *439 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -73015,8 +74319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -73024,7 +74328,7 @@ paths: schema: type: object properties: - commit_sha: *450 + commit_sha: *456 ref: type: string description: |- @@ -73084,7 +74388,7 @@ paths: schema: type: object properties: - id: *441 + id: *447 url: type: string description: The REST API URL for checking the status of the upload. @@ -73098,7 +74402,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *433 + '403': *439 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -73121,8 +74425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *331 - - *332 + - *338 + - *339 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -73170,7 +74474,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *427 + '403': *433 '404': description: Not Found if the sarif id does not match any upload '503': *114 @@ -73195,8 +74499,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -73277,8 +74581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *331 - - *332 + - *338 + - *339 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -73406,8 +74710,8 @@ paths: parameters: - *17 - *19 - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -73423,7 +74727,7 @@ paths: type: integer codespaces: type: array - items: *241 + items: *248 examples: default: value: @@ -73721,8 +75025,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -73786,17 +75090,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '400': *14 '401': *23 '403': *27 @@ -73825,8 +75129,8 @@ paths: parameters: - *17 - *19 - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -73890,8 +75194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -73928,9 +75232,9 @@ paths: type: integer machines: type: array - items: *452 + items: *458 examples: - default: &668 + default: &672 value: total_count: 2 machines: @@ -73970,8 +75274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *331 - - *332 + - *338 + - *339 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -74058,8 +75362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *331 - - *332 + - *338 + - *339 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -74128,8 +75432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -74147,7 +75451,7 @@ paths: type: integer secrets: type: array - items: &456 + items: &462 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -74168,7 +75472,7 @@ paths: - created_at - updated_at examples: - default: *453 + default: *459 headers: Link: *66 x-github: @@ -74191,16 +75495,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *454 + schema: *460 examples: - default: *455 + default: *461 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -74220,17 +75524,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 responses: '200': description: Response content: application/json: - schema: *456 + schema: *462 examples: - default: *457 + default: *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74250,8 +75554,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 requestBody: required: true @@ -74304,8 +75608,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 responses: '204': @@ -74334,8 +75638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *331 - - *332 + - *338 + - *339 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -74373,7 +75677,7 @@ paths: application/json: schema: type: array - items: &458 + items: &464 title: Collaborator description: Collaborator type: object @@ -74566,8 +75870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *331 - - *332 + - *338 + - *339 - *70 responses: '204': @@ -74614,8 +75918,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *331 - - *332 + - *338 + - *339 - *70 requestBody: required: false @@ -74642,7 +75946,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &528 + schema: &532 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -74870,8 +76174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *331 - - *332 + - *338 + - *339 - *70 responses: '204': @@ -74903,8 +76207,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *331 - - *332 + - *338 + - *339 - *70 responses: '200': @@ -74925,7 +76229,7 @@ paths: user: anyOf: - type: 'null' - - *458 + - *464 required: - permission - role_name @@ -74979,8 +76283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -74990,7 +76294,7 @@ paths: application/json: schema: type: array - items: &459 + items: &465 title: Commit Comment description: Commit Comment type: object @@ -75048,7 +76352,7 @@ paths: - created_at - updated_at examples: - default: &464 + default: &470 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -75107,17 +76411,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '200': description: Response content: application/json: - schema: *459 + schema: *465 examples: - default: &465 + default: &471 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -75174,8 +76478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 requestBody: required: true @@ -75198,7 +76502,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *465 examples: default: value: @@ -75249,8 +76553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '204': @@ -75272,8 +76576,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -75300,7 +76604,7 @@ paths: application/json: schema: type: array - items: &460 + items: &466 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -75344,7 +76648,7 @@ paths: - content - created_at examples: - default: &531 + default: &535 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -75389,8 +76693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 requestBody: required: true @@ -75423,9 +76727,9 @@ paths: description: Reaction exists content: application/json: - schema: *460 + schema: *466 examples: - default: &461 + default: &467 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -75454,9 +76758,9 @@ paths: description: Reaction created content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '422': *15 x-github: githubCloudOnly: false @@ -75478,10 +76782,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *331 - - *332 + - *338 + - *339 - *96 - - &532 + - &536 name: reaction_id description: The unique identifier of the reaction. in: path @@ -75536,8 +76840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *331 - - *332 + - *338 + - *339 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -75593,9 +76897,9 @@ paths: application/json: schema: type: array - items: *462 + items: *468 examples: - default: &579 + default: &583 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -75689,9 +76993,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *331 - - *332 - - &463 + - *338 + - *339 + - &469 name: commit_sha description: The SHA of the commit. in: path @@ -75763,9 +77067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *331 - - *332 - - *463 + - *338 + - *339 + - *469 - *17 - *19 responses: @@ -75775,9 +77079,9 @@ paths: application/json: schema: type: array - items: *459 + items: *465 examples: - default: *464 + default: *470 headers: Link: *66 x-github: @@ -75805,9 +77109,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *331 - - *332 - - *463 + - *338 + - *339 + - *469 requestBody: required: true content: @@ -75842,9 +77146,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *465 examples: - default: *465 + default: *471 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -75872,9 +77176,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *331 - - *332 - - *463 + - *338 + - *339 + - *469 - *17 - *19 responses: @@ -75884,9 +77188,9 @@ paths: application/json: schema: type: array - items: *466 + items: *472 examples: - default: &571 + default: &575 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -76423,11 +77727,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *331 - - *332 + - *338 + - *339 - *19 - *17 - - &467 + - &473 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -76442,9 +77746,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *468 examples: - default: &559 + default: &563 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -76532,7 +77836,7 @@ paths: schema: type: string examples: - default: &474 + default: &480 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -76545,7 +77849,7 @@ paths: schema: type: string examples: - default: &475 + default: &481 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -76598,11 +77902,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *331 - - *332 - - *467 - - *468 - - *469 + - *338 + - *339 + - *473 + - *474 + - *475 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -76636,9 +77940,9 @@ paths: type: integer check_runs: type: array - items: *409 + items: *415 examples: - default: *470 + default: *476 headers: Link: *66 x-github: @@ -76663,9 +77967,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *331 - - *332 - - *467 + - *338 + - *339 + - *473 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -76673,7 +77977,7 @@ paths: schema: type: integer example: 1 - - *468 + - *474 - *17 - *19 responses: @@ -76691,7 +77995,7 @@ paths: type: integer check_suites: type: array - items: *413 + items: *419 examples: default: value: @@ -76891,9 +78195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *331 - - *332 - - *467 + - *338 + - *339 + - *473 - *17 - *19 responses: @@ -77095,9 +78399,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *331 - - *332 - - *467 + - *338 + - *339 + - *473 - *17 - *19 responses: @@ -77107,7 +78411,7 @@ paths: application/json: schema: type: array - items: &648 + items: &652 title: Status description: The status of a commit. type: object @@ -77188,7 +78492,7 @@ paths: site_admin: false headers: Link: *66 - '301': *335 + '301': *342 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77216,8 +78520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -77250,11 +78554,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *471 + - *477 code_of_conduct_file: anyOf: - type: 'null' - - &472 + - &478 title: Community Health File type: object properties: @@ -77274,19 +78578,19 @@ paths: contributing: anyOf: - type: 'null' - - *472 + - *478 readme: anyOf: - type: 'null' - - *472 + - *478 issue_template: anyOf: - type: 'null' - - *472 + - *478 pull_request_template: anyOf: - type: 'null' - - *472 + - *478 required: - code_of_conduct - code_of_conduct_file @@ -77415,8 +78719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *331 - - *332 + - *338 + - *339 - *19 - *17 - name: basehead @@ -77464,8 +78768,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *462 - merge_base_commit: *462 + base_commit: *468 + merge_base_commit: *468 status: type: string enum: @@ -77489,10 +78793,10 @@ paths: - 6 commits: type: array - items: *462 + items: *468 files: type: array - items: *473 + items: *479 required: - url - html_url @@ -77738,12 +79042,12 @@ paths: schema: type: string examples: - default: *474 + default: *480 application/vnd.github.patch: schema: type: string examples: - default: *475 + default: *481 '404': *6 '500': *53 '503': *114 @@ -77788,8 +79092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *331 - - *332 + - *338 + - *339 - name: path description: path parameter in: path @@ -77959,7 +79263,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &476 + response-if-content-is-a-file-github-object: &482 summary: Response if content is a file value: type: file @@ -78096,7 +79400,7 @@ paths: - size - type - url - - &584 + - &588 title: Content File description: Content File type: object @@ -78314,7 +79618,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *476 + response-if-content-is-a-file: *482 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -78383,7 +79687,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *477 + '302': *483 '304': *35 x-github: githubCloudOnly: false @@ -78436,8 +79740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *331 - - *332 + - *338 + - *339 - name: path description: path parameter in: path @@ -78532,7 +79836,7 @@ paths: description: Response content: application/json: - schema: &478 + schema: &484 title: File Commit description: File Commit type: object @@ -78688,7 +79992,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *484 examples: example-for-creating-a-file: value: @@ -78742,7 +80046,7 @@ paths: schema: oneOf: - *3 - - &510 + - &514 description: Repository rule violation was detected type: object properties: @@ -78763,7 +80067,7 @@ paths: items: type: object properties: - placeholder_id: &640 + placeholder_id: &644 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -78795,8 +80099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *331 - - *332 + - *338 + - *339 - name: path description: path parameter in: path @@ -78857,7 +80161,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *484 examples: default: value: @@ -78912,8 +80216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *331 - - *332 + - *338 + - *339 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -79037,24 +80341,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *331 - - *332 - - *193 - - *194 - - *195 - - *196 - - *197 + - *338 + - *339 + - *200 + - *201 + - *202 + - *203 + - *204 - 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 - - *198 - - *479 - - *199 - - *200 - - *201 + - *205 + - *485 + - *206 + - *207 + - *208 - *60 - *45 - *46 @@ -79066,11 +80370,11 @@ paths: application/json: schema: type: array - items: &483 + items: &489 type: object description: A Dependabot alert. properties: - number: *171 + number: *178 state: type: string description: The state of the Dependabot alert. @@ -79117,13 +80421,13 @@ paths: - transitive - inconclusive - - security_advisory: *480 + security_advisory: *486 security_vulnerability: *64 - url: *174 - html_url: *175 - created_at: *172 - updated_at: *173 - dismissed_at: *177 + url: *181 + html_url: *182 + created_at: *179 + updated_at: *180 + dismissed_at: *184 dismissed_by: anyOf: - type: 'null' @@ -79147,9 +80451,9 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *176 - auto_dismissed_at: *481 - dismissal_request: *482 + fixed_at: *183 + auto_dismissed_at: *487 + dismissal_request: *488 assignees: type: array description: The users assigned to this alert. @@ -79404,9 +80708,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *331 - - *332 - - &484 + - *338 + - *339 + - &490 name: alert_number in: path description: |- @@ -79415,13 +80719,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *171 + schema: *178 responses: '200': description: Response content: application/json: - schema: *483 + schema: *489 examples: default: value: @@ -79553,9 +80857,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *331 - - *332 - - *484 + - *338 + - *339 + - *490 requestBody: required: true content: @@ -79611,7 +80915,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *489 examples: default: value: @@ -79741,8 +81045,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -79760,7 +81064,7 @@ paths: type: integer secrets: type: array - items: &487 + items: &493 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -79814,16 +81118,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *485 + schema: *491 examples: - default: *486 + default: *492 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79843,15 +81147,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 responses: '200': description: Response content: application/json: - schema: *487 + schema: *493 examples: default: value: @@ -79877,8 +81181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 requestBody: required: true @@ -79931,8 +81235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *331 - - *332 + - *338 + - *339 - *161 responses: '204': @@ -79955,8 +81259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *331 - - *332 + - *338 + - *339 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -80130,8 +81434,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -80390,8 +81694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - name: sbom_uuid in: path required: true @@ -80402,7 +81706,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *488 + Location: *494 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -80423,8 +81727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '201': description: Response @@ -80462,8 +81766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -80546,7 +81850,7 @@ paths: - version - url additionalProperties: false - metadata: &489 + metadata: &495 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -80585,7 +81889,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *489 + metadata: *495 resolved: type: object description: A collection of resolved package dependencies. @@ -80599,7 +81903,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *489 + metadata: *495 relationship: type: string description: A notation of whether a dependency is requested @@ -80732,8 +82036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *331 - - *332 + - *338 + - *339 - name: sha description: The SHA recorded at creation time. in: query @@ -80774,9 +82078,9 @@ paths: application/json: schema: type: array - items: *490 + items: *496 examples: - default: *491 + default: *497 headers: Link: *66 x-github: @@ -80842,8 +82146,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -80925,7 +82229,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *496 examples: simple-example: summary: Simple example @@ -80998,9 +82302,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *331 - - *332 - - &492 + - *338 + - *339 + - &498 name: deployment_id description: deployment_id parameter in: path @@ -81012,7 +82316,7 @@ paths: description: Response content: application/json: - schema: *490 + schema: *496 examples: default: value: @@ -81077,9 +82381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *331 - - *332 - - *492 + - *338 + - *339 + - *498 responses: '204': description: Response @@ -81101,9 +82405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *331 - - *332 - - *492 + - *338 + - *339 + - *498 - *17 - *19 responses: @@ -81113,7 +82417,7 @@ paths: application/json: schema: type: array - items: &493 + items: &499 title: Deployment Status description: The status of a deployment. type: object @@ -81277,9 +82581,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *331 - - *332 - - *492 + - *338 + - *339 + - *498 requestBody: required: true content: @@ -81354,9 +82658,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *499 examples: - default: &494 + default: &500 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -81412,9 +82716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *331 - - *332 - - *492 + - *338 + - *339 + - *498 - name: status_id in: path required: true @@ -81425,9 +82729,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *499 examples: - default: *494 + default: *500 '404': *6 x-github: githubCloudOnly: false @@ -81452,8 +82756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -81510,8 +82814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -81529,7 +82833,7 @@ paths: - 5 environments: type: array - items: &496 + items: &502 title: Environment description: Details of a deployment environment type: object @@ -81591,7 +82895,7 @@ paths: type: string examples: - wait_timer - wait_timer: &498 + wait_timer: &504 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -81633,11 +82937,11 @@ paths: items: type: object properties: - type: *495 + type: *501 reviewer: anyOf: - *4 - - *191 + - *198 required: - id - node_id @@ -81660,7 +82964,7 @@ paths: - id - node_id - type - deployment_branch_policy: &499 + deployment_branch_policy: &505 type: - object - 'null' @@ -81777,9 +83081,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *331 - - *332 - - &497 + - *338 + - *339 + - &503 name: environment_name in: path required: true @@ -81792,9 +83096,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *502 examples: - default: &500 + default: &506 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -81878,9 +83182,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 requestBody: required: false content: @@ -81890,7 +83194,7 @@ paths: - object - 'null' properties: - wait_timer: *498 + wait_timer: *504 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -81909,14 +83213,14 @@ paths: items: type: object properties: - type: *495 + type: *501 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *499 + deployment_branch_policy: *505 additionalProperties: false examples: default: @@ -81936,9 +83240,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *502 examples: - default: *500 + default: *506 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -81962,9 +83266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 responses: '204': description: Default response @@ -81989,9 +83293,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 - *17 - *19 responses: @@ -82010,7 +83314,7 @@ paths: - 2 branch_policies: type: array - items: &501 + items: &507 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -82071,9 +83375,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 requestBody: required: true content: @@ -82121,9 +83425,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *507 examples: - example-wildcard: &502 + example-wildcard: &508 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -82165,10 +83469,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *331 - - *332 - - *497 - - &503 + - *338 + - *339 + - *503 + - &509 name: branch_policy_id in: path required: true @@ -82180,9 +83484,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *507 examples: - default: *502 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82201,10 +83505,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *331 - - *332 - - *497 + - *338 + - *339 - *503 + - *509 requestBody: required: true content: @@ -82233,9 +83537,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *507 examples: - default: *502 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82254,10 +83558,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *331 - - *332 - - *497 + - *338 + - *339 - *503 + - *509 responses: '204': description: Response @@ -82282,9 +83586,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *497 - - *332 - - *331 + - *503 + - *339 + - *338 responses: '200': description: List of deployment protection rules @@ -82301,7 +83605,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &504 + items: &510 title: Deployment protection rule description: Deployment protection rule type: object @@ -82323,7 +83627,7 @@ paths: for the environment. examples: - true - app: &505 + app: &511 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -82426,9 +83730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *497 - - *332 - - *331 + - *503 + - *339 + - *338 requestBody: content: application/json: @@ -82449,9 +83753,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *504 + schema: *510 examples: - default: &506 + default: &512 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -82486,9 +83790,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *497 - - *332 - - *331 + - *503 + - *339 + - *338 - *19 - *17 responses: @@ -82508,7 +83812,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *505 + items: *511 examples: default: value: @@ -82543,10 +83847,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *331 - - *332 - - *497 - - &507 + - *338 + - *339 + - *503 + - &513 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -82558,9 +83862,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *510 examples: - default: *506 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82581,10 +83885,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *497 - - *332 - - *331 - - *507 + - *503 + - *339 + - *338 + - *513 responses: '204': description: Response @@ -82610,9 +83914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 - *17 - *19 responses: @@ -82630,9 +83934,9 @@ paths: type: integer secrets: type: array - items: *376 + items: *382 examples: - default: *377 + default: *383 headers: Link: *66 x-github: @@ -82657,17 +83961,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 responses: '200': description: Response content: application/json: - schema: *378 + schema: *167 examples: - default: *379 + default: *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82689,18 +83993,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 - *161 responses: '200': description: Response content: application/json: - schema: *376 + schema: *382 examples: - default: *508 + default: *396 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82722,9 +84026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 - *161 requestBody: required: true @@ -82782,9 +84086,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 - *161 responses: '204': @@ -82810,10 +84114,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *331 - - *332 - - *497 - - *347 + - *338 + - *339 + - *503 + - *170 - *19 responses: '200': @@ -82830,9 +84134,9 @@ paths: type: integer variables: type: array - items: *380 + items: *384 examples: - default: *381 + default: *385 headers: Link: *66 x-github: @@ -82855,9 +84159,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 requestBody: required: true content: @@ -82909,18 +84213,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *331 - - *332 - - *497 + - *338 + - *339 + - *503 - *164 responses: '200': description: Response content: application/json: - schema: *380 + schema: *384 examples: - default: *509 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82941,10 +84245,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *331 - - *332 + - *338 + - *339 - *164 - - *497 + - *503 requestBody: required: true content: @@ -82986,10 +84290,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *331 - - *332 + - *338 + - *339 - *164 - - *497 + - *503 responses: '204': description: Response @@ -83011,8 +84315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -83080,8 +84384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *331 - - *332 + - *338 + - *339 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -83240,8 +84544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: false content: @@ -83274,9 +84578,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: *336 + default: *343 '400': *14 '422': *15 '403': *27 @@ -83297,8 +84601,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -83358,7 +84662,7 @@ paths: schema: oneOf: - *122 - - *510 + - *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83383,8 +84687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *331 - - *332 + - *338 + - *339 - name: file_sha in: path required: true @@ -83484,8 +84788,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -83594,7 +84898,7 @@ paths: description: Response content: application/json: - schema: &511 + schema: &515 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -83821,15 +85125,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *331 - - *332 - - *463 + - *338 + - *339 + - *469 responses: '200': description: Response content: application/json: - schema: *511 + schema: *515 examples: default: value: @@ -83885,9 +85189,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *331 - - *332 - - &512 + - *338 + - *339 + - &516 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -83904,7 +85208,7 @@ paths: application/json: schema: type: array - items: &513 + items: &517 title: Git Reference description: Git references within a repository type: object @@ -83980,17 +85284,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *331 - - *332 - - *512 + - *338 + - *339 + - *516 responses: '200': description: Response content: application/json: - schema: *513 + schema: *517 examples: - default: &514 + default: &518 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -84019,8 +85323,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -84049,9 +85353,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *517 examples: - default: *514 + default: *518 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -84077,9 +85381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *331 - - *332 - - *512 + - *338 + - *339 + - *516 requestBody: required: true content: @@ -84108,9 +85412,9 @@ paths: description: Response content: application/json: - schema: *513 + schema: *517 examples: - default: *514 + default: *518 '422': *15 '409': *52 x-github: @@ -84128,9 +85432,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *331 - - *332 - - *512 + - *338 + - *339 + - *516 responses: '204': description: Response @@ -84185,8 +85489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -84253,7 +85557,7 @@ paths: description: Response content: application/json: - schema: &516 + schema: &520 title: Git Tag description: Metadata for a Git tag type: object @@ -84309,7 +85613,7 @@ paths: - sha - type - url - verification: *515 + verification: *519 required: - sha - url @@ -84319,7 +85623,7 @@ paths: - tag - message examples: - default: &517 + default: &521 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -84392,8 +85696,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *331 - - *332 + - *338 + - *339 - name: tag_sha in: path required: true @@ -84404,9 +85708,9 @@ paths: description: Response content: application/json: - schema: *516 + schema: *520 examples: - default: *517 + default: *521 '404': *6 '409': *52 x-github: @@ -84430,8 +85734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -84505,7 +85809,7 @@ paths: description: Response content: application/json: - schema: &518 + schema: &522 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -84607,8 +85911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *331 - - *332 + - *338 + - *339 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -84631,7 +85935,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *522 examples: default-response: summary: Default response @@ -84690,8 +85994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -84701,7 +86005,7 @@ paths: application/json: schema: type: array - items: &519 + items: &523 title: Webhook description: Webhooks for repositories. type: object @@ -84764,7 +86068,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &756 + last_response: &760 title: Hook Response type: object properties: @@ -84841,8 +86145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: false content: @@ -84895,9 +86199,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: &520 + default: &524 value: type: Repository id: 12345678 @@ -84945,17 +86249,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 responses: '200': description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: *520 + default: *524 '404': *6 x-github: githubCloudOnly: false @@ -84975,9 +86279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 requestBody: required: true content: @@ -85022,9 +86326,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *523 examples: - default: *520 + default: *524 '422': *15 '404': *6 x-github: @@ -85045,9 +86349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 responses: '204': description: Response @@ -85071,9 +86375,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 responses: '200': description: Response @@ -85100,9 +86404,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 requestBody: required: false content: @@ -85146,12 +86450,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 - *17 - - *210 - - *211 + - *217 + - *218 responses: '200': description: Response @@ -85159,9 +86463,9 @@ paths: application/json: schema: type: array - items: *212 + items: *219 examples: - default: *213 + default: *220 '400': *14 '422': *15 x-github: @@ -85180,18 +86484,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 - *16 responses: '200': description: Response content: application/json: - schema: *214 + schema: *221 examples: - default: *215 + default: *222 '400': *14 '422': *15 x-github: @@ -85210,9 +86514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 - *16 responses: '202': *37 @@ -85235,9 +86539,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 responses: '204': description: Response @@ -85262,9 +86566,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *331 - - *332 - - *209 + - *338 + - *339 + - *216 responses: '204': description: Response @@ -85287,8 +86591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response if immutable releases are enabled @@ -85336,8 +86640,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': *59 '409': *52 @@ -85357,8 +86661,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': *59 '409': *52 @@ -85415,14 +86719,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: &521 + schema: &525 title: Import description: A repository import from an external source. type: object @@ -85529,7 +86833,7 @@ paths: - html_url - authors_url examples: - default: &524 + default: &528 value: vcs: subversion use_lfs: true @@ -85545,7 +86849,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &522 + '503': &526 description: Unavailable due to service under maintenance. content: application/json: @@ -85574,8 +86878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -85623,7 +86927,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *525 examples: default: value: @@ -85648,7 +86952,7 @@ paths: type: string '422': *15 '404': *6 - '503': *522 + '503': *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85676,8 +86980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: false content: @@ -85729,7 +87033,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *525 examples: example-1: summary: Example 1 @@ -85777,7 +87081,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *522 + '503': *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85800,12 +87104,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response - '503': *522 + '503': *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85831,9 +87135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *331 - - *332 - - &689 + - *338 + - *339 + - &693 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -85847,7 +87151,7 @@ paths: application/json: schema: type: array - items: &523 + items: &527 title: Porter Author description: Porter Author type: object @@ -85901,7 +87205,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *522 + '503': *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85926,8 +87230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *331 - - *332 + - *338 + - *339 - name: author_id in: path required: true @@ -85957,7 +87261,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *527 examples: default: value: @@ -85970,7 +87274,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *522 + '503': *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85994,8 +87298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -86036,7 +87340,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *522 + '503': *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86064,8 +87368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -86092,11 +87396,11 @@ paths: description: Response content: application/json: - schema: *521 + schema: *525 examples: - default: *524 + default: *528 '422': *15 - '503': *522 + '503': *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86119,8 +87423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -86128,8 +87432,8 @@ paths: application/json: schema: *20 examples: - default: *525 - '301': *335 + default: *529 + '301': *342 '404': *6 x-github: githubCloudOnly: false @@ -86149,8 +87453,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -86158,12 +87462,12 @@ paths: application/json: schema: anyOf: - - *228 + - *235 - type: object properties: {} additionalProperties: false examples: - default: &527 + default: &531 value: limit: collaborators_only origin: repository @@ -86188,13 +87492,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: application/json: - schema: *526 + schema: *530 examples: default: summary: Example request body @@ -86206,9 +87510,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *235 examples: - default: *527 + default: *531 '409': description: Response x-github: @@ -86230,8 +87534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -86254,8 +87558,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -86265,9 +87569,9 @@ paths: application/json: schema: type: array - items: *528 + items: *532 examples: - default: &682 + default: &686 value: - id: 1 repository: @@ -86398,9 +87702,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *331 - - *332 - - *232 + - *338 + - *339 + - *239 requestBody: required: false content: @@ -86429,7 +87733,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *532 examples: default: value: @@ -86560,9 +87864,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *331 - - *332 - - *232 + - *338 + - *339 + - *239 responses: '204': description: Response @@ -86593,8 +87897,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *331 - - *332 + - *338 + - *339 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -86642,7 +87946,7 @@ paths: required: false schema: type: string - - *239 + - *246 - name: sort description: What to sort results by. in: query @@ -86667,7 +87971,7 @@ paths: type: array items: *82 examples: - default: &537 + default: &541 value: - id: 1 node_id: MDU6SXNzdWUx @@ -86816,7 +88120,7 @@ paths: state_reason: completed headers: Link: *66 - '301': *335 + '301': *342 '422': *15 '404': *6 x-github: @@ -86845,8 +88149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -86959,7 +88263,7 @@ paths: application/json: schema: *82 examples: - default: &534 + default: &538 value: id: 1 node_id: MDU6SXNzdWUx @@ -87122,7 +88426,7 @@ paths: '422': *15 '503': *114 '404': *6 - '410': *529 + '410': *533 x-github: triggersNotification: true githubCloudOnly: false @@ -87160,8 +88464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *104 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -87184,7 +88488,7 @@ paths: type: array items: *83 examples: - default: &536 + default: &540 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -87242,8 +88546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '200': @@ -87252,7 +88556,7 @@ paths: application/json: schema: *83 examples: - default: &530 + default: &534 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -87307,8 +88611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 requestBody: required: true @@ -87333,7 +88637,7 @@ paths: application/json: schema: *83 examples: - default: *530 + default: *534 '422': *15 x-github: githubCloudOnly: false @@ -87351,8 +88655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '204': @@ -87381,8 +88685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#pin-an-issue-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '200': @@ -87445,7 +88749,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *529 + '410': *533 '422': *15 x-github: githubCloudOnly: false @@ -87462,8 +88766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#unpin-an-issue-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '204': @@ -87471,7 +88775,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *529 + '410': *533 '503': *114 x-github: githubCloudOnly: false @@ -87489,8 +88793,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -87517,9 +88821,9 @@ paths: application/json: schema: type: array - items: *460 + items: *466 examples: - default: *531 + default: *535 headers: Link: *66 '404': *6 @@ -87540,8 +88844,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 requestBody: required: true @@ -87574,16 +88878,16 @@ paths: description: Reaction exists content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '201': description: Reaction created content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '422': *15 x-github: githubCloudOnly: false @@ -87605,10 +88909,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *331 - - *332 + - *338 + - *339 - *96 - - *532 + - *536 responses: '204': description: Response @@ -87628,8 +88932,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -87639,7 +88943,7 @@ paths: application/json: schema: type: array - items: &533 + items: &537 title: Issue Event description: Issue Event type: object @@ -87719,7 +89023,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *191 + requested_team: *198 dismissed_review: title: Issue Event Dismissed Review type: object @@ -87979,8 +89283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *331 - - *332 + - *338 + - *339 - name: event_id in: path required: true @@ -87991,7 +89295,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *537 examples: default: value: @@ -88184,7 +89488,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *529 + '410': *533 '403': *27 x-github: githubCloudOnly: false @@ -88218,9 +89522,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *331 - - *332 - - &535 + - *338 + - *339 + - &539 name: issue_number description: The number that identifies the issue. in: path @@ -88236,7 +89540,7 @@ paths: examples: default: summary: Issue - value: *534 + value: *538 pinned_comment: summary: Issue with pinned comment value: @@ -88441,9 +89745,9 @@ paths: - op: remove path: "/value/assignee" version: '2026-03-10' - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 '304': *35 x-github: githubCloudOnly: false @@ -88468,9 +89772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: false content: @@ -88611,13 +89915,13 @@ paths: application/json: schema: *82 examples: - default: *534 + default: *538 '422': *15 '503': *114 '403': *27 - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88645,9 +89949,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: false content: @@ -88675,7 +89979,7 @@ paths: application/json: schema: *82 examples: - default: *534 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88691,9 +89995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: content: application/json: @@ -88720,7 +90024,7 @@ paths: application/json: schema: *82 examples: - default: *534 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88742,9 +90046,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - name: assignee in: path required: true @@ -88784,9 +90088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *87 - *17 - *19 @@ -88799,11 +90103,11 @@ paths: type: array items: *83 examples: - default: *536 + default: *540 headers: Link: *66 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88832,9 +90136,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -88858,14 +90162,14 @@ paths: application/json: schema: *83 examples: - default: *530 + default: *534 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *529 + '410': *533 '422': *15 '404': *6 x-github: @@ -88893,9 +90197,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *17 - *19 responses: @@ -88907,12 +90211,12 @@ paths: type: array items: *82 examples: - default: *537 + default: *541 headers: Link: *66 - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88940,9 +90244,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -88966,15 +90270,15 @@ paths: application/json: schema: *82 examples: - default: *534 + default: *538 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *335 + '301': *342 '403': *27 - '410': *529 + '410': *533 '422': *15 '404': *6 x-github: @@ -89005,9 +90309,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -89021,13 +90325,13 @@ paths: application/json: schema: *82 examples: - default: *534 - '301': *335 + default: *538 + '301': *342 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *529 + '410': *533 x-github: triggersNotification: true githubCloudOnly: false @@ -89053,9 +90357,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *17 - *19 responses: @@ -89067,12 +90371,12 @@ paths: type: array items: *82 examples: - default: *537 + default: *541 headers: Link: *66 - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89089,9 +90393,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *17 - *19 responses: @@ -89105,7 +90409,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &541 + - &545 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -89154,7 +90458,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &546 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -89282,7 +90586,7 @@ paths: - performed_via_github_app - assignee - assigner - - &543 + - &547 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -89328,7 +90632,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &548 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -89374,7 +90678,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &549 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -89423,7 +90727,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &550 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -89452,7 +90756,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *191 + requested_team: *198 requested_reviewer: *4 required: - review_requester @@ -89465,7 +90769,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &551 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -89494,7 +90798,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *191 + requested_team: *198 requested_reviewer: *4 required: - review_requester @@ -89507,7 +90811,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &548 + - &552 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -89563,7 +90867,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &549 + - &553 title: Locked Issue Event description: Locked Issue Event type: object @@ -89608,7 +90912,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &550 + - &554 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -89669,7 +90973,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &551 + - &555 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -89730,7 +91034,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &552 + - &556 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -89791,7 +91095,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &553 + - &557 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -89884,7 +91188,7 @@ paths: color: red headers: Link: *66 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89901,9 +91205,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *17 - *19 responses: @@ -89913,9 +91217,9 @@ paths: application/json: schema: type: array - items: *538 + items: *542 examples: - default: &539 + default: &543 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -89939,9 +91243,9 @@ paths: value: '2025-12-25' headers: Link: *66 - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89970,9 +91274,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#add-issue-field-values-to-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -90038,9 +91342,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *538 + items: *542 examples: - default: *539 + default: *543 '400': *14 '403': *27 '404': *6 @@ -90076,9 +91380,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#set-issue-field-values-for-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -90145,9 +91449,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *538 + items: *542 examples: - default: *539 + default: *543 '400': *14 '403': *27 '404': *6 @@ -90178,10 +91482,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-field-values#delete-an-issue-field-value-from-an-issue parameters: - - *331 - - *332 - - *535 - - *235 + - *338 + - *339 + - *539 + - *242 responses: '204': description: Issue field value deleted successfully @@ -90206,9 +91510,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *17 - *19 responses: @@ -90220,7 +91524,7 @@ paths: type: array items: *81 examples: - default: &540 + default: &544 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -90238,9 +91542,9 @@ paths: default: false headers: Link: *66 - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90256,9 +91560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: false content: @@ -90303,10 +91607,10 @@ paths: type: array items: *81 examples: - default: *540 - '301': *335 + default: *544 + '301': *342 '404': *6 - '410': *529 + '410': *533 '422': *15 x-github: githubCloudOnly: false @@ -90323,9 +91627,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: false content: @@ -90387,10 +91691,10 @@ paths: type: array items: *81 examples: - default: *540 - '301': *335 + default: *544 + '301': *342 '404': *6 - '410': *529 + '410': *533 '422': *15 x-github: githubCloudOnly: false @@ -90407,15 +91711,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 responses: '204': description: Response - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90434,9 +91738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - name: name in: path required: true @@ -90460,9 +91764,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *335 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90482,9 +91786,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: false content: @@ -90513,7 +91817,7 @@ paths: '204': description: Response '403': *27 - '410': *529 + '410': *533 '404': *6 '422': *15 x-github: @@ -90531,9 +91835,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 responses: '204': description: Response @@ -90563,9 +91867,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 responses: '200': description: Response @@ -90573,10 +91877,10 @@ paths: application/json: schema: *82 examples: - default: *534 - '301': *335 + default: *538 + '301': *342 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90593,9 +91897,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - 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. @@ -90621,13 +91925,13 @@ paths: application/json: schema: type: array - items: *460 + items: *466 examples: - default: *531 + default: *535 headers: Link: *66 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90645,9 +91949,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -90679,16 +91983,16 @@ paths: description: Response content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '201': description: Response content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '422': *15 x-github: githubCloudOnly: false @@ -90710,10 +92014,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *331 - - *332 - - *535 - - *532 + - *338 + - *339 + - *539 + - *536 responses: '204': description: Response @@ -90742,9 +92046,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -90768,7 +92072,7 @@ paths: application/json: schema: *82 examples: - default: *534 + default: *538 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -90801,9 +92105,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *17 - *19 responses: @@ -90815,11 +92119,11 @@ paths: type: array items: *82 examples: - default: *537 + default: *541 headers: Link: *66 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90847,9 +92151,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -90878,14 +92182,14 @@ paths: application/json: schema: *82 examples: - default: *534 + default: *538 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *529 + '410': *533 '422': *15 '404': *6 x-github: @@ -90905,9 +92209,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 requestBody: required: true content: @@ -90940,7 +92244,7 @@ paths: application/json: schema: *82 examples: - default: *534 + default: *538 '403': *27 '404': *6 '422': *7 @@ -90962,9 +92266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *331 - - *332 - - *535 + - *338 + - *339 + - *539 - *17 - *19 responses: @@ -90979,10 +92283,6 @@ paths: description: Timeline Event type: object anyOf: - - *541 - - *542 - - *543 - - *544 - *545 - *546 - *547 @@ -90992,6 +92292,10 @@ paths: - *551 - *552 - *553 + - *554 + - *555 + - *556 + - *557 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -91048,7 +92352,7 @@ paths: pin: anyOf: - type: 'null' - - *554 + - *558 required: - event - actor @@ -91324,7 +92628,7 @@ paths: type: string comments: type: array - items: &573 + items: &577 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -91565,7 +92869,7 @@ paths: type: string comments: type: array - items: *459 + items: *465 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -91840,7 +93144,7 @@ paths: headers: Link: *66 '404': *6 - '410': *529 + '410': *533 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91857,8 +93161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -91868,7 +93172,7 @@ paths: application/json: schema: type: array - items: &555 + items: &559 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -91936,8 +93240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -91973,9 +93277,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *559 examples: - default: &556 + default: &560 value: id: 1 key: ssh-rsa AAA... @@ -92009,9 +93313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *331 - - *332 - - &557 + - *338 + - *339 + - &561 name: key_id description: The unique identifier of the key. in: path @@ -92023,9 +93327,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *559 examples: - default: *556 + default: *560 '404': *6 x-github: githubCloudOnly: false @@ -92043,9 +93347,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *331 - - *332 - - *557 + - *338 + - *339 + - *561 responses: '204': description: Response @@ -92065,8 +93369,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -92078,7 +93382,7 @@ paths: type: array items: *81 examples: - default: *540 + default: *544 headers: Link: *66 '404': *6 @@ -92099,8 +93403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -92138,7 +93442,7 @@ paths: application/json: schema: *81 examples: - default: &558 + default: &562 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92170,8 +93474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *331 - - *332 + - *338 + - *339 - name: name in: path required: true @@ -92184,7 +93488,7 @@ paths: application/json: schema: *81 examples: - default: *558 + default: *562 '404': *6 x-github: githubCloudOnly: false @@ -92201,8 +93505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *331 - - *332 + - *338 + - *339 - name: name in: path required: true @@ -92267,8 +93571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *331 - - *332 + - *338 + - *339 - name: name in: path required: true @@ -92294,8 +93598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -92334,9 +93638,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *331 - - *332 - - *434 + - *338 + - *339 + - *440 responses: '200': description: Response @@ -92483,8 +93787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -92549,8 +93853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -92584,9 +93888,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *462 + schema: *468 examples: - default: *559 + default: *563 '204': description: Response when already merged '404': @@ -92611,8 +93915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *331 - - *332 + - *338 + - *339 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -92653,7 +93957,7 @@ paths: application/json: schema: type: array - items: *272 + items: *279 examples: default: value: @@ -92709,8 +94013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -92750,9 +94054,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *279 examples: - default: &560 + default: &564 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -92811,9 +94115,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *331 - - *332 - - &561 + - *338 + - *339 + - &565 name: milestone_number description: The number that identifies the milestone. in: path @@ -92825,9 +94129,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *279 examples: - default: *560 + default: *564 '404': *6 x-github: githubCloudOnly: false @@ -92844,9 +94148,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *331 - - *332 - - *561 + - *338 + - *339 + - *565 requestBody: required: false content: @@ -92884,9 +94188,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *279 examples: - default: *560 + default: *564 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92902,9 +94206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *331 - - *332 - - *561 + - *338 + - *339 + - *565 responses: '204': description: Response @@ -92925,9 +94229,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *331 - - *332 - - *561 + - *338 + - *339 + - *565 - *17 - *19 responses: @@ -92939,7 +94243,7 @@ paths: type: array items: *81 examples: - default: *540 + default: *544 headers: Link: *66 x-github: @@ -92958,12 +94262,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *331 - - *332 - - *562 - - *563 + - *338 + - *339 + - *566 + - *567 - *87 - - *564 + - *568 - *17 - *19 responses: @@ -92975,7 +94279,7 @@ paths: type: array items: *107 examples: - default: *565 + default: *569 headers: Link: *66 x-github: @@ -92999,8 +94303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: false content: @@ -93058,14 +94362,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: &566 + schema: &570 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -93209,7 +94513,7 @@ paths: - custom_404 - public examples: - default: &567 + default: &571 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -93250,8 +94554,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -93306,9 +94610,9 @@ paths: description: Response content: application/json: - schema: *566 + schema: *570 examples: - default: *567 + default: *571 '422': *15 '409': *52 x-github: @@ -93331,8 +94635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -93432,8 +94736,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -93459,8 +94763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -93470,7 +94774,7 @@ paths: application/json: schema: type: array - items: &568 + items: &572 title: Page Build description: Page Build type: object @@ -93562,8 +94866,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *331 - - *332 + - *338 + - *339 responses: '201': description: Response @@ -93610,16 +94914,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *568 + schema: *572 examples: - default: &569 + default: &573 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -93667,8 +94971,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *331 - - *332 + - *338 + - *339 - name: build_id in: path required: true @@ -93679,9 +94983,9 @@ paths: description: Response content: application/json: - schema: *568 + schema: *572 examples: - default: *569 + default: *573 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93701,8 +95005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -93810,9 +95114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *331 - - *332 - - &570 + - *338 + - *339 + - &574 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -93870,9 +95174,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *331 - - *332 - - *570 + - *338 + - *339 + - *574 responses: '204': *59 '404': *6 @@ -93899,8 +95203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -94195,8 +95499,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Private vulnerability reporting status @@ -94233,8 +95537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': *59 '422': *14 @@ -94255,8 +95559,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': *59 '422': *14 @@ -94278,8 +95582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -94287,7 +95591,7 @@ paths: application/json: schema: type: array - items: *286 + items: *293 examples: default: value: @@ -94318,8 +95622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -94331,7 +95635,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *286 + items: *293 required: - properties examples: @@ -94381,8 +95685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *331 - - *332 + - *338 + - *339 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -94442,9 +95746,9 @@ paths: application/json: schema: type: array - items: *466 + items: *472 examples: - default: *571 + default: *575 headers: Link: *66 '304': *35 @@ -94476,8 +95780,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -94544,7 +95848,7 @@ paths: description: Response content: application/json: - schema: &575 + schema: &579 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -94673,7 +95977,7 @@ paths: milestone: anyOf: - type: 'null' - - *272 + - *279 active_lock_reason: type: - string @@ -94722,7 +96026,7 @@ paths: items: *4 requested_teams: type: array - items: *251 + items: *258 head: type: object properties: @@ -94760,14 +96064,14 @@ paths: _links: type: object properties: - comments: *273 - commits: *273 - statuses: *273 - html: *273 - issue: *273 - review_comments: *273 - review_comment: *273 - self: *273 + comments: *280 + commits: *280 + statuses: *280 + html: *280 + issue: *280 + review_comments: *280 + review_comment: *280 + self: *280 required: - comments - commits @@ -94778,7 +96082,7 @@ paths: - review_comment - self author_association: *79 - auto_merge: *572 + auto_merge: *576 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -94974,7 +96278,7 @@ paths: - review_comments version: '2026-03-10' examples: - default: &576 + default: &580 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -95512,8 +96816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *331 - - *332 + - *338 + - *339 - name: sort in: query required: false @@ -95542,9 +96846,9 @@ paths: application/json: schema: type: array - items: *573 + items: *577 examples: - default: &578 + default: &582 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -95621,17 +96925,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '200': description: Response content: application/json: - schema: *573 + schema: *577 examples: - default: &574 + default: &578 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -95706,8 +97010,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *331 - - *332 + - *338 + - *339 - *96 requestBody: required: true @@ -95730,9 +97034,9 @@ paths: description: Response content: application/json: - schema: *573 + schema: *577 examples: - default: *574 + default: *578 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95748,8 +97052,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *331 - - *332 + - *338 + - *339 - *96 responses: '204': @@ -95771,8 +97075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -95799,9 +97103,9 @@ paths: application/json: schema: type: array - items: *460 + items: *466 examples: - default: *531 + default: *535 headers: Link: *66 '404': *6 @@ -95822,8 +97126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *331 - - *332 + - *338 + - *339 - *96 requestBody: required: true @@ -95856,16 +97160,16 @@ paths: description: Reaction exists content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '201': description: Reaction created content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '422': *15 x-github: githubCloudOnly: false @@ -95887,10 +97191,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *331 - - *332 + - *338 + - *339 - *96 - - *532 + - *536 responses: '204': description: Response @@ -95933,9 +97237,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *331 - - *332 - - &577 + - *338 + - *339 + - &581 name: pull_number description: The number that identifies the pull request. in: path @@ -95948,9 +97252,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *575 + schema: *579 examples: - default: *576 + default: *580 '304': *35 '404': *6 '406': @@ -95985,9 +97289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: false content: @@ -96029,9 +97333,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *579 examples: - default: *576 + default: *580 '422': *15 '403': *27 x-github: @@ -96053,9 +97357,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#archive-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 responses: '204': description: Response @@ -96080,9 +97384,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#unarchive-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 responses: '204': description: Response @@ -96108,9 +97412,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: true content: @@ -96171,17 +97475,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '401': *23 '403': *27 '404': *6 @@ -96211,9 +97515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 - *104 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -96234,9 +97538,9 @@ paths: application/json: schema: type: array - items: *573 + items: *577 examples: - default: *578 + default: *582 headers: Link: *66 x-github: @@ -96269,9 +97573,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: true content: @@ -96377,7 +97681,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *577 examples: example-for-a-multi-line-comment: value: @@ -96465,9 +97769,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 - *96 requestBody: required: true @@ -96490,7 +97794,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *577 examples: default: value: @@ -96576,9 +97880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 - *17 - *19 responses: @@ -96588,9 +97892,9 @@ paths: application/json: schema: type: array - items: *462 + items: *468 examples: - default: *579 + default: *583 headers: Link: *66 x-github: @@ -96620,9 +97924,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 - *17 - *19 responses: @@ -96632,7 +97936,7 @@ paths: application/json: schema: type: array - items: *473 + items: *479 examples: default: value: @@ -96670,9 +97974,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 responses: '204': description: Response if pull request has been merged @@ -96695,9 +97999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: false content: @@ -96809,9 +98113,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 responses: '200': description: Response @@ -96827,7 +98131,7 @@ paths: items: *4 teams: type: array - items: *191 + items: *198 required: - users - teams @@ -96886,9 +98190,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: false content: @@ -96925,7 +98229,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *472 examples: default: value: @@ -97461,9 +98765,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: true content: @@ -97497,7 +98801,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *472 examples: default: value: @@ -98013,9 +99317,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 - *17 - *19 responses: @@ -98025,7 +99329,7 @@ paths: application/json: schema: type: array - items: &580 + items: &584 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -98181,9 +99485,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: false content: @@ -98273,9 +99577,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *584 examples: - default: &582 + default: &586 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -98338,10 +99642,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *331 - - *332 - - *577 - - &581 + - *338 + - *339 + - *581 + - &585 name: review_id description: The unique identifier of the review. in: path @@ -98353,9 +99657,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *584 examples: - default: &583 + default: &587 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -98414,10 +99718,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 - *581 + - *585 requestBody: required: true content: @@ -98440,7 +99744,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *584 examples: default: value: @@ -98502,18 +99806,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 - *581 + - *585 responses: '200': description: Response content: application/json: - schema: *580 + schema: *584 examples: - default: *582 + default: *586 '422': *7 '404': *6 x-github: @@ -98540,10 +99844,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *331 - - *332 - - *577 + - *338 + - *339 - *581 + - *585 - *17 - *19 responses: @@ -98641,9 +99945,9 @@ paths: _links: type: object properties: - self: *273 - html: *273 - pull_request: *273 + self: *280 + html: *280 + pull_request: *280 required: - self - html @@ -98801,10 +100105,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 - *581 + - *585 requestBody: required: true content: @@ -98833,7 +100137,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *584 examples: default: value: @@ -98896,10 +100200,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *331 - - *332 - - *577 + - *338 + - *339 - *581 + - *585 requestBody: required: true content: @@ -98934,9 +100238,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *584 examples: - default: *583 + default: *587 '404': *6 '422': *7 '403': *27 @@ -98958,9 +100262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *331 - - *332 - - *577 + - *338 + - *339 + - *581 requestBody: required: false content: @@ -99024,8 +100328,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *331 - - *332 + - *338 + - *339 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -99038,9 +100342,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *588 examples: - default: &585 + default: &589 value: type: file encoding: base64 @@ -99082,8 +100386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *331 - - *332 + - *338 + - *339 - name: dir description: The alternate path to look for a README file in: path @@ -99103,9 +100407,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *588 examples: - default: *585 + default: *589 '404': *6 '422': *15 x-github: @@ -99127,8 +100431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -99138,7 +100442,7 @@ paths: application/json: schema: type: array - items: *586 + items: *590 examples: default: value: @@ -99232,8 +100536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -99309,9 +100613,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *590 examples: - default: &590 + default: &594 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -99416,9 +100720,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *331 - - *332 - - &588 + - *338 + - *339 + - &592 name: asset_id description: The unique identifier of the asset. in: path @@ -99430,9 +100734,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *591 examples: - default: &589 + default: &593 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -99467,7 +100771,7 @@ paths: type: User site_admin: false '404': *6 - '302': *477 + '302': *483 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99483,9 +100787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *331 - - *332 - - *588 + - *338 + - *339 + - *592 requestBody: required: false content: @@ -99514,9 +100818,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *591 examples: - default: *589 + default: *593 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99532,9 +100836,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *331 - - *332 - - *588 + - *338 + - *339 + - *592 responses: '204': description: Response @@ -99559,8 +100863,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -99646,16 +100950,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response content: application/json: - schema: *586 + schema: *590 examples: - default: *590 + default: *594 '404': *6 x-github: githubCloudOnly: false @@ -99673,8 +100977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *331 - - *332 + - *338 + - *339 - name: tag description: tag parameter in: path @@ -99687,9 +100991,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *590 examples: - default: *590 + default: *594 '404': *6 x-github: githubCloudOnly: false @@ -99711,9 +101015,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *331 - - *332 - - &591 + - *338 + - *339 + - &595 name: release_id description: The unique identifier of the release. in: path @@ -99727,9 +101031,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *586 + schema: *590 examples: - default: *590 + default: *594 '401': description: Unauthorized x-github: @@ -99747,9 +101051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *331 - - *332 - - *591 + - *338 + - *339 + - *595 requestBody: required: false content: @@ -99813,9 +101117,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *590 examples: - default: *590 + default: *594 '404': description: Not Found if the discussion category name is invalid content: @@ -99836,9 +101140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *331 - - *332 - - *591 + - *338 + - *339 + - *595 responses: '204': description: Response @@ -99859,9 +101163,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *331 - - *332 - - *591 + - *338 + - *339 + - *595 - *17 - *19 responses: @@ -99871,7 +101175,7 @@ paths: application/json: schema: type: array - items: *587 + items: *591 examples: default: value: @@ -99952,9 +101256,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *331 - - *332 - - *591 + - *338 + - *339 + - *595 - name: name in: query required: true @@ -99980,7 +101284,7 @@ paths: description: Response for successful upload content: application/json: - schema: *587 + schema: *591 examples: response-for-successful-upload: value: @@ -100035,9 +101339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *331 - - *332 - - *591 + - *338 + - *339 + - *595 - 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 release. @@ -100061,9 +101365,9 @@ paths: application/json: schema: type: array - items: *460 + items: *466 examples: - default: *531 + default: *535 headers: Link: *66 '404': *6 @@ -100084,9 +101388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *331 - - *332 - - *591 + - *338 + - *339 + - *595 requestBody: required: true content: @@ -100116,16 +101420,16 @@ paths: description: Reaction exists content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '201': description: Reaction created content: application/json: - schema: *460 + schema: *466 examples: - default: *461 + default: *467 '422': *15 x-github: githubCloudOnly: false @@ -100147,10 +101451,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *331 - - *332 - - *591 - - *532 + - *338 + - *339 + - *595 + - *536 responses: '204': description: Response @@ -100174,9 +101478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *331 - - *332 - - *398 + - *338 + - *339 + - *404 - *17 - *19 responses: @@ -100192,8 +101496,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *293 - - &592 + - *300 + - &596 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -100212,69 +101516,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *294 - - *592 - - allOf: - - *295 - - *592 - - allOf: - - *296 - - *592 - - allOf: - - *593 - - *592 - - allOf: - - *297 - - *592 - - allOf: - - *298 - - *592 - - allOf: - - *299 - - *592 - - allOf: - - *300 - - *592 - allOf: - *301 - - *592 + - *596 - allOf: - *302 - - *592 + - *596 - allOf: - *303 - - *592 + - *596 + - allOf: + - *597 + - *596 - allOf: - *304 - - *592 + - *596 - allOf: - *305 - - *592 + - *596 - allOf: - *306 - - *592 + - *596 - allOf: - *307 - - *592 + - *596 - allOf: - *308 - - *592 + - *596 - allOf: - *309 - - *592 + - *596 - allOf: - *310 - - *592 + - *596 - allOf: - *311 - - *592 + - *596 - allOf: - *312 - - *592 + - *596 - allOf: - *313 - - *592 + - *596 + - allOf: + - *314 + - *596 + - allOf: + - *315 + - *596 + - allOf: + - *316 + - *596 + - allOf: + - *317 + - *596 + - allOf: + - *318 + - *596 + - allOf: + - *319 + - *596 + - allOf: + - *320 + - *596 examples: default: value: @@ -100313,8 +101617,8 @@ paths: category: repos subcategory: rules parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 - name: includes_parents @@ -100325,7 +101629,7 @@ paths: schema: type: boolean default: true - - *594 + - *598 responses: '200': description: Response @@ -100333,7 +101637,7 @@ paths: application/json: schema: type: array - items: *314 + items: *321 examples: default: value: @@ -100380,8 +101684,8 @@ paths: category: repos subcategory: rules parameters: - - *331 - - *332 + - *338 + - *339 requestBody: description: Request body required: true @@ -100401,16 +101705,16 @@ paths: - tag - push default: branch - enforcement: *290 + enforcement: *297 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *291 - conditions: *288 + items: *298 + conditions: *295 rules: type: array description: An array of rules within the ruleset. - items: *595 + items: *599 required: - name - enforcement @@ -100441,9 +101745,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: - default: &605 + default: &609 value: id: 42 name: super cool ruleset @@ -100491,12 +101795,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *331 - - *332 - - *596 - - *597 - - *598 - - *599 + - *338 + - *339 + - *600 + - *601 + - *602 + - *603 - *17 - *19 responses: @@ -100504,9 +101808,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *604 examples: - default: *601 + default: *605 '404': *6 '500': *53 x-github: @@ -100527,17 +101831,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *331 - - *332 - - *602 + - *338 + - *339 + - *606 responses: '200': description: Response content: application/json: - schema: *603 + schema: *607 examples: - default: *604 + default: *608 '404': *6 '500': *53 x-github: @@ -100565,8 +101869,8 @@ paths: category: repos subcategory: rules parameters: - - *331 - - *332 + - *338 + - *339 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100586,9 +101890,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: - default: *605 + default: *609 '404': *6 '500': *53 put: @@ -100606,8 +101910,8 @@ paths: category: repos subcategory: rules parameters: - - *331 - - *332 + - *338 + - *339 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100632,16 +101936,16 @@ paths: - branch - tag - push - enforcement: *290 + enforcement: *297 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *291 - conditions: *288 + items: *298 + conditions: *295 rules: description: An array of rules within the ruleset. type: array - items: *595 + items: *599 examples: default: value: @@ -100669,9 +101973,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *321 examples: - default: *605 + default: *609 '404': *6 '422': *15 '500': *53 @@ -100690,8 +101994,8 @@ paths: category: repos subcategory: rules parameters: - - *331 - - *332 + - *338 + - *339 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100714,8 +102018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 - name: ruleset_id @@ -100731,9 +102035,9 @@ paths: application/json: schema: type: array - items: *317 + items: *324 examples: - default: *606 + default: *610 '404': *6 '500': *53 x-github: @@ -100752,8 +102056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *331 - - *332 + - *338 + - *339 - name: ruleset_id description: The ID of the ruleset. in: path @@ -100771,7 +102075,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *611 examples: default: value: @@ -100826,26 +102130,26 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *331 - - *332 - - *608 - - *609 - - *610 - - *611 + - *338 + - *339 - *612 - *613 - *614 - *615 - - *60 - - *19 - - *17 - *616 - *617 - *618 - *619 + - *60 + - *19 + - *17 - *620 - *621 - *622 + - *623 + - *624 + - *625 + - *626 responses: '200': description: Response @@ -100853,24 +102157,24 @@ paths: application/json: schema: type: array - items: &626 + items: &630 type: object properties: - number: *171 - created_at: *172 + number: *178 + created_at: *179 updated_at: anyOf: - type: 'null' - - *173 - url: *174 - html_url: *175 + - *180 + url: *181 + html_url: *182 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *623 - resolution: *624 + state: *627 + resolution: *628 resolved_at: type: - string @@ -100976,7 +102280,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *625 + - *629 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -101135,16 +102439,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *331 - - *332 - - *428 - - *621 + - *338 + - *339 + - *434 + - *625 responses: '200': description: Response content: application/json: - schema: *626 + schema: *630 examples: default: value: @@ -101198,9 +102502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *331 - - *332 - - *428 + - *338 + - *339 + - *434 requestBody: required: true content: @@ -101208,8 +102512,8 @@ paths: schema: type: object properties: - state: *623 - resolution: *624 + state: *627 + resolution: *628 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -101257,7 +102561,7 @@ paths: description: Response content: application/json: - schema: *626 + schema: *630 examples: default: value: @@ -101356,9 +102660,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *331 - - *332 - - *428 + - *338 + - *339 + - *434 - *19 - *17 responses: @@ -101369,7 +102673,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &776 + items: &780 type: object properties: type: @@ -101396,10 +102700,6 @@ paths: - commit details: oneOf: - - *627 - - *628 - - *629 - - *630 - *631 - *632 - *633 @@ -101409,6 +102709,10 @@ paths: - *637 - *638 - *639 + - *640 + - *641 + - *642 + - *643 examples: default: value: @@ -101494,8 +102798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -101503,14 +102807,14 @@ paths: schema: type: object properties: - reason: &641 + reason: &645 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *640 + placeholder_id: *644 required: - reason - placeholder_id @@ -101527,7 +102831,7 @@ paths: schema: type: object properties: - reason: *641 + reason: *645 expire_at: type: - string @@ -101574,8 +102878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -101590,7 +102894,7 @@ paths: properties: incremental_scans: type: array - items: &642 + items: &646 description: Information on a single scan performed by secret scanning on the repository type: object @@ -101618,15 +102922,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *642 + items: *646 backfill_scans: type: array - items: *642 + items: *646 custom_pattern_backfill_scans: type: array items: allOf: - - *642 + - *646 - type: object properties: pattern_name: @@ -101639,7 +102943,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *642 + items: *646 examples: default: value: @@ -101704,8 +103008,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *331 - - *332 + - *338 + - *339 - *60 - name: sort description: The property to sort the results by. @@ -101749,9 +103053,9 @@ paths: application/json: schema: type: array - items: *643 + items: *647 examples: - default: *644 + default: *648 '400': *14 '404': *6 x-github: @@ -101774,8 +103078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -101855,7 +103159,7 @@ paths: login: type: string description: The username of the user credited. - type: *320 + type: *327 required: - login - type @@ -101945,9 +103249,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *647 examples: - default: &646 + default: &650 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -102186,8 +103490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -102300,7 +103604,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *647 examples: default: value: @@ -102453,17 +103757,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *331 - - *332 - - *645 + - *338 + - *339 + - *649 responses: '200': description: Response content: application/json: - schema: *643 + schema: *647 examples: - default: *646 + default: *650 '403': *27 '404': *6 x-github: @@ -102487,9 +103791,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *331 - - *332 - - *645 + - *338 + - *339 + - *649 requestBody: required: true content: @@ -102569,7 +103873,7 @@ paths: login: type: string description: The username of the user credited. - type: *320 + type: *327 required: - login - type @@ -102660,10 +103964,10 @@ paths: description: Response content: application/json: - schema: *643 + schema: *647 examples: - default: *646 - add_credit: *646 + default: *650 + add_credit: *650 '403': *27 '404': *6 '422': @@ -102701,9 +104005,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *331 - - *332 - - *645 + - *338 + - *339 + - *649 responses: '202': *37 '400': *14 @@ -102730,17 +104034,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *331 - - *332 - - *645 + - *338 + - *339 + - *649 responses: '202': description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: *336 + default: *343 '400': *14 '422': *15 '403': *27 @@ -102766,8 +104070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -102863,8 +104167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -102873,7 +104177,7 @@ paths: application/json: schema: type: array - items: &647 + items: &651 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -102906,8 +104210,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -102985,8 +104289,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -103080,8 +104384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -103235,8 +104539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -103246,7 +104550,7 @@ paths: application/json: schema: type: array - items: *647 + items: *651 examples: default: value: @@ -103279,8 +104583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *331 - - *332 + - *338 + - *339 - name: sha in: path required: true @@ -103336,7 +104640,7 @@ paths: description: Response content: application/json: - schema: *648 + schema: *652 examples: default: value: @@ -103390,8 +104694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -103423,14 +104727,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &649 + schema: &653 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -103503,8 +104807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: false content: @@ -103530,7 +104834,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *653 examples: default: value: @@ -103557,8 +104861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -103578,8 +104882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -103661,8 +104965,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *331 - - *332 + - *338 + - *339 - name: ref in: path required: true @@ -103698,8 +105002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *331 - - *332 + - *338 + - *339 - *17 - *19 responses: @@ -103709,9 +105013,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - default: *252 + default: *259 headers: Link: *66 '404': *6 @@ -103731,8 +105035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *331 - - *332 + - *338 + - *339 - *19 - *17 responses: @@ -103740,7 +105044,7 @@ paths: description: Response content: application/json: - schema: &650 + schema: &654 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -103752,7 +105056,7 @@ paths: required: - names examples: - default: &651 + default: &655 value: names: - octocat @@ -103775,8 +105079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -103807,9 +105111,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *654 examples: - default: *651 + default: *655 '404': *6 '422': *7 x-github: @@ -103830,9 +105134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *331 - - *332 - - &652 + - *338 + - *339 + - &656 name: per description: The time frame to display results for. in: query @@ -103863,7 +105167,7 @@ paths: - 128 clones: type: array - items: &653 + items: &657 title: Traffic type: object properties: @@ -103950,8 +105254,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -104045,8 +105349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *331 - - *332 + - *338 + - *339 responses: '200': description: Response @@ -104109,9 +105413,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *331 - - *332 - - *652 + - *338 + - *339 + - *656 responses: '200': description: Response @@ -104132,7 +105436,7 @@ paths: - 3782 views: type: array - items: *653 + items: *657 required: - uniques - count @@ -104209,8 +105513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *331 - - *332 + - *338 + - *339 requestBody: required: true content: @@ -104490,8 +105794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -104514,8 +105818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -104537,8 +105841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -104564,8 +105868,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *331 - - *332 + - *338 + - *339 - name: ref in: path required: true @@ -104657,9 +105961,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: *336 + default: *343 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -104911,7 +106215,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &654 + text_matches: &658 title: Search Result Text Matches type: array items: @@ -105074,7 +106378,7 @@ paths: enum: - author-date - committer-date - - &655 + - &659 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -105143,7 +106447,7 @@ paths: committer: anyOf: - type: 'null' - - *396 + - *402 comment_count: type: integer message: @@ -105162,7 +106466,7 @@ paths: url: type: string format: uri - verification: *515 + verification: *519 required: - author - committer @@ -105177,7 +106481,7 @@ paths: committer: anyOf: - type: 'null' - - *396 + - *402 parents: type: array items: @@ -105194,7 +106498,7 @@ paths: type: number node_id: type: string - text_matches: *654 + text_matches: *658 required: - sha - node_id @@ -105386,7 +106690,7 @@ paths: - interactions - created - updated - - *655 + - *659 - *17 - *19 - name: advanced_search @@ -105500,11 +106804,11 @@ paths: type: - string - 'null' - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: type: string state_reason: @@ -105518,7 +106822,7 @@ paths: milestone: anyOf: - type: 'null' - - *272 + - *279 comments: type: integer created_at: @@ -105532,7 +106836,7 @@ paths: - string - 'null' format: date-time - text_matches: *654 + text_matches: *658 pull_request: type: object properties: @@ -105581,7 +106885,7 @@ paths: timeline_url: type: string format: uri - type: *236 + type: *243 performed_via_github_app: anyOf: - type: 'null' @@ -105832,7 +107136,7 @@ paths: enum: - created - updated - - *655 + - *659 - *17 - *19 responses: @@ -105877,7 +107181,7 @@ paths: - 'null' score: type: number - text_matches: *654 + text_matches: *658 required: - id - node_id @@ -105962,7 +107266,7 @@ paths: - forks - help-wanted-issues - updated - - *655 + - *659 - *17 - *19 responses: @@ -106208,7 +107512,7 @@ paths: - admin - pull - push - text_matches: *654 + text_matches: *658 temp_clone_token: type: string allow_merge_commit: @@ -106516,7 +107820,7 @@ paths: - string - 'null' format: uri - text_matches: *654 + text_matches: *658 related: type: - array @@ -106709,7 +108013,7 @@ paths: - followers - repositories - joined - - *655 + - *659 - *17 - *19 responses: @@ -106819,7 +108123,7 @@ paths: type: - boolean - 'null' - text_matches: *654 + text_matches: *658 blog: type: - string @@ -106901,7 +108205,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &658 + - &662 name: team_id description: The unique identifier of the team. in: path @@ -106913,9 +108217,9 @@ paths: description: Response content: application/json: - schema: *327 + schema: *334 examples: - default: *328 + default: *335 '404': *6 x-github: githubCloudOnly: false @@ -106942,7 +108246,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *658 + - *662 requestBody: required: true content: @@ -107006,16 +108310,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *327 + schema: *334 examples: - default: *328 + default: *335 '201': description: Response content: application/json: - schema: *327 + schema: *334 examples: - default: *328 + default: *335 '404': *6 '422': *15 '403': *27 @@ -107043,7 +108347,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *658 + - *662 responses: '204': description: Response @@ -107072,7 +108376,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *658 + - *662 - *17 - *19 responses: @@ -107082,9 +108386,9 @@ paths: application/json: schema: type: array - items: *230 + items: *237 examples: - default: *231 + default: *238 headers: Link: *66 x-github: @@ -107110,7 +108414,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *658 + - *662 - name: role description: Filters members returned by their role in the team. in: query @@ -107161,7 +108465,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *658 + - *662 - *70 responses: '204': @@ -107198,7 +108502,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *658 + - *662 - *70 responses: '204': @@ -107238,7 +108542,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *658 + - *662 - *70 responses: '204': @@ -107275,16 +108579,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *658 + - *662 - *70 responses: '200': description: Response content: application/json: - schema: *330 + schema: *337 examples: - response-if-user-is-a-team-maintainer: *659 + response-if-user-is-a-team-maintainer: *663 '404': *6 x-github: githubCloudOnly: false @@ -107317,7 +108621,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *658 + - *662 - *70 requestBody: required: false @@ -107343,9 +108647,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *337 examples: - response-if-users-membership-with-team-is-now-pending: *660 + response-if-users-membership-with-team-is-now-pending: *664 '403': description: Forbidden if team synchronization is set up '422': @@ -107379,7 +108683,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *658 + - *662 - *70 responses: '204': @@ -107407,7 +108711,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *658 + - *662 - *17 - *19 responses: @@ -107419,7 +108723,7 @@ paths: type: array items: *153 examples: - default: *259 + default: *266 headers: Link: *66 '404': *6 @@ -107449,15 +108753,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *658 - - *331 - - *332 + - *662 + - *338 + - *339 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *661 + schema: *665 examples: alternative-response-with-extra-repository-information: value: @@ -107614,9 +108918,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *658 - - *331 - - *332 + - *662 + - *338 + - *339 requestBody: required: false content: @@ -107666,9 +108970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *658 - - *331 - - *332 + - *662 + - *338 + - *339 responses: '204': description: Response @@ -107693,7 +108997,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *658 + - *662 - *17 - *19 responses: @@ -107703,9 +109007,9 @@ paths: application/json: schema: type: array - items: *191 + items: *198 examples: - response-if-child-teams-exist: *662 + response-if-child-teams-exist: *666 headers: Link: *66 '404': *6 @@ -107738,7 +109042,7 @@ paths: application/json: schema: oneOf: - - &664 + - &668 title: Private User description: Private User type: object @@ -107988,7 +109292,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *663 + - *667 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -108148,7 +109452,7 @@ paths: description: Response content: application/json: - schema: *664 + schema: *668 examples: default: value: @@ -108351,9 +109655,9 @@ paths: type: integer codespaces: type: array - items: *241 + items: *248 examples: - default: *242 + default: *249 '304': *35 '500': *53 '401': *23 @@ -108492,17 +109796,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '401': *23 '403': *27 '404': *6 @@ -108546,7 +109850,7 @@ paths: type: integer secrets: type: array - items: &665 + items: &669 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -108588,7 +109892,7 @@ paths: - visibility - selected_repositories_url examples: - default: *453 + default: *459 headers: Link: *66 x-github: @@ -108666,7 +109970,7 @@ paths: description: Response content: application/json: - schema: *665 + schema: *669 examples: default: value: @@ -108812,7 +110116,7 @@ paths: type: array items: *153 examples: - default: *192 + default: *199 '401': *23 '403': *27 '404': *6 @@ -108956,15 +110260,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *243 + - *250 responses: '200': description: Response content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '304': *35 '500': *53 '401': *23 @@ -108990,7 +110294,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *243 + - *250 requestBody: required: false content: @@ -109020,9 +110324,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '401': *23 '403': *27 '404': *6 @@ -109044,7 +110348,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *243 + - *250 responses: '202': *37 '304': *35 @@ -109073,13 +110377,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *243 + - *250 responses: '202': description: Response content: application/json: - schema: &666 + schema: &670 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -109132,7 +110436,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &667 + default: &671 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -109164,7 +110468,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *243 + - *250 - name: export_id in: path required: true @@ -109177,9 +110481,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *670 examples: - default: *667 + default: *671 '404': *6 x-github: githubCloudOnly: false @@ -109200,7 +110504,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *243 + - *250 responses: '200': description: Response @@ -109216,9 +110520,9 @@ paths: type: integer machines: type: array - items: *452 + items: *458 examples: - default: *668 + default: *672 '304': *35 '500': *53 '401': *23 @@ -109247,7 +110551,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *243 + - *250 requestBody: required: true content: @@ -109303,11 +110607,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *334 + repository: *341 machine: anyOf: - type: 'null' - - *452 + - *458 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -110104,15 +111408,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *243 + - *250 responses: '200': description: Response content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '304': *35 '500': *53 '400': *14 @@ -110144,15 +111448,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *243 + - *250 responses: '200': description: Response content: application/json: - schema: *241 + schema: *248 examples: - default: *451 + default: *457 '500': *53 '401': *23 '403': *27 @@ -110182,9 +111486,9 @@ paths: application/json: schema: type: array - items: *253 + items: *260 examples: - default: &679 + default: &683 value: - id: 197 name: hello_docker @@ -110285,7 +111589,7 @@ paths: application/json: schema: type: array - items: &669 + items: &673 title: Email description: Email type: object @@ -110355,9 +111659,9 @@ paths: application/json: schema: type: array - items: *669 + items: *673 examples: - default: &681 + default: &685 value: - email: octocat@github.com verified: true @@ -110434,7 +111738,7 @@ paths: application/json: schema: type: array - items: *669 + items: *673 examples: default: value: @@ -110692,7 +111996,7 @@ paths: application/json: schema: type: array - items: &670 + items: &674 title: GPG Key description: A unique encryption key type: object @@ -110837,7 +112141,7 @@ paths: - subkeys - revoked examples: - default: &698 + default: &702 value: - id: 3 name: Octocat's GPG Key @@ -110922,9 +112226,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *674 examples: - default: &671 + default: &675 value: id: 3 name: Octocat's GPG Key @@ -110981,7 +112285,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &672 + - &676 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -110993,9 +112297,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *674 examples: - default: *671 + default: *675 '404': *6 '304': *35 '403': *27 @@ -111018,7 +112322,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *672 + - *676 responses: '204': description: Response @@ -111297,12 +112601,12 @@ paths: application/json: schema: anyOf: - - *228 + - *235 - type: object properties: {} additionalProperties: false examples: - default: *229 + default: *236 '204': description: Response when there are no restrictions x-github: @@ -111326,7 +112630,7 @@ paths: required: true content: application/json: - schema: *526 + schema: *530 examples: default: value: @@ -111337,7 +112641,7 @@ paths: description: Response content: application/json: - schema: *228 + schema: *235 examples: default: value: @@ -111418,7 +112722,7 @@ paths: - closed - all default: open - - *239 + - *246 - name: sort description: What to sort results by. in: query @@ -111443,7 +112747,7 @@ paths: type: array items: *82 examples: - default: *240 + default: *247 headers: Link: *66 '404': *6 @@ -111476,7 +112780,7 @@ paths: application/json: schema: type: array - items: &673 + items: &677 title: Key description: Key type: object @@ -111579,9 +112883,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *677 examples: - default: &674 + default: &678 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -111614,15 +112918,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *557 + - *561 responses: '200': description: Response content: application/json: - schema: *673 + schema: *677 examples: - default: *674 + default: *678 '404': *6 '304': *35 '403': *27 @@ -111645,7 +112949,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *557 + - *561 responses: '204': description: Response @@ -111678,7 +112982,7 @@ paths: application/json: schema: type: array - items: &675 + items: &679 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -111757,7 +113061,7 @@ paths: - account - plan examples: - default: &676 + default: &680 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -111819,9 +113123,9 @@ paths: application/json: schema: type: array - items: *675 + items: *679 examples: - default: *676 + default: *680 headers: Link: *66 '304': *35 @@ -111861,7 +113165,7 @@ paths: application/json: schema: type: array - items: *245 + items: *252 examples: default: value: @@ -111975,7 +113279,7 @@ paths: description: Response content: application/json: - schema: *245 + schema: *252 examples: default: value: @@ -112062,7 +113366,7 @@ paths: description: Response content: application/json: - schema: *245 + schema: *252 examples: default: value: @@ -112134,7 +113438,7 @@ paths: application/json: schema: type: array - items: *247 + items: *254 examples: default: value: @@ -112396,7 +113700,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *254 examples: default: value: @@ -112576,7 +113880,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *248 + - *255 - name: exclude in: query required: false @@ -112589,7 +113893,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *254 examples: default: value: @@ -112783,7 +114087,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *248 + - *255 responses: '302': description: Response @@ -112809,7 +114113,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *248 + - *255 responses: '204': description: Response @@ -112838,8 +114142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *248 - - *677 + - *255 + - *681 responses: '204': description: Response @@ -112863,7 +114167,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *248 + - *255 - *17 - *19 responses: @@ -112875,7 +114179,7 @@ paths: type: array items: *153 examples: - default: *259 + default: *266 headers: Link: *66 '404': *6 @@ -112972,7 +114276,7 @@ paths: - docker - nuget - container - - *678 + - *682 - *19 - *17 responses: @@ -112982,10 +114286,10 @@ paths: application/json: schema: type: array - items: *253 + items: *260 examples: - default: *679 - '400': *680 + default: *683 + '400': *684 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113005,16 +114309,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *255 - - *256 + - *262 + - *263 responses: '200': description: Response content: application/json: - schema: *253 + schema: *260 examples: - default: &699 + default: &703 value: id: 40201 name: octo-name @@ -113127,8 +114431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *255 - - *256 + - *262 + - *263 responses: '204': description: Response @@ -113158,8 +114462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *255 - - *256 + - *262 + - *263 - name: token description: package token schema: @@ -113191,8 +114495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *255 - - *256 + - *262 + - *263 - *19 - *17 - name: state @@ -113212,7 +114516,7 @@ paths: application/json: schema: type: array - items: *257 + items: *264 examples: default: value: @@ -113261,15 +114565,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *255 - - *256 - - *258 + - *262 + - *263 + - *265 responses: '200': description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -113305,9 +114609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *255 - - *256 - - *258 + - *262 + - *263 + - *265 responses: '204': description: Response @@ -113337,9 +114641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *255 - - *256 - - *258 + - *262 + - *263 + - *265 responses: '204': description: Response @@ -113376,9 +114680,9 @@ paths: application/json: schema: type: array - items: *669 + items: *673 examples: - default: *681 + default: *685 headers: Link: *66 '304': *35 @@ -113491,7 +114795,7 @@ paths: type: array items: *78 examples: - default: &688 + default: &692 summary: Default response value: - id: 1296269 @@ -113809,9 +115113,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *341 examples: - default: *336 + default: *343 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -113855,9 +115159,9 @@ paths: application/json: schema: type: array - items: *528 + items: *532 examples: - default: *682 + default: *686 headers: Link: *66 '304': *35 @@ -113880,7 +115184,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *232 + - *239 responses: '204': description: Response @@ -113909,7 +115213,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *232 + - *239 responses: '204': description: Response @@ -113942,7 +115246,7 @@ paths: application/json: schema: type: array - items: &683 + items: &687 title: Social account description: Social media account type: object @@ -113959,7 +115263,7 @@ paths: - provider - url examples: - default: &684 + default: &688 value: - provider: twitter url: https://twitter.com/github @@ -114022,9 +115326,9 @@ paths: application/json: schema: type: array - items: *683 + items: *687 examples: - default: *684 + default: *688 '422': *15 '304': *35 '404': *6 @@ -114112,7 +115416,7 @@ paths: application/json: schema: type: array - items: &685 + items: &689 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -114132,7 +115436,7 @@ paths: - title - created_at examples: - default: &717 + default: &721 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -114197,9 +115501,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *689 examples: - default: &686 + default: &690 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -114229,7 +115533,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &687 + - &691 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -114241,9 +115545,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *689 examples: - default: *686 + default: *690 '404': *6 '304': *35 '403': *27 @@ -114266,7 +115570,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *687 + - *691 responses: '204': description: Response @@ -114295,7 +115599,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &718 + - &722 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -114320,11 +115624,11 @@ paths: type: array items: *78 examples: - default-response: *688 + default-response: *692 application/vnd.github.v3.star+json: schema: type: array - items: &719 + items: &723 title: Starred Repository description: Starred Repository type: object @@ -114480,8 +115784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response if this repository is starred by you @@ -114509,8 +115813,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -114534,8 +115838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *331 - - *332 + - *338 + - *339 responses: '204': description: Response @@ -114570,7 +115874,7 @@ paths: type: array items: *153 examples: - default: *259 + default: *266 headers: Link: *66 '304': *35 @@ -114607,7 +115911,7 @@ paths: application/json: schema: type: array - items: *327 + items: *334 examples: default: value: @@ -114693,10 +115997,10 @@ paths: application/json: schema: oneOf: - - *664 - - *663 + - *668 + - *667 examples: - default-response: &692 + default-response: &696 summary: Default response value: login: octocat @@ -114731,7 +116035,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &693 + response-with-git-hub-plan-information: &697 summary: Response with GitHub plan information value: login: octocat @@ -114788,14 +116092,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &690 + - &694 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *271 + - *278 requestBody: required: true description: Details of the draft item to create in the project. @@ -114829,9 +116133,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *283 examples: - draft_issue: *277 + draft_issue: *284 '304': *35 '403': *27 '401': *23 @@ -114854,7 +116158,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *689 + - *693 - *17 responses: '200': @@ -114889,8 +116193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *690 - - *271 + - *694 + - *278 requestBody: required: true content: @@ -114964,17 +116268,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *691 + schema: *695 examples: table_view: summary: Response for creating a table view - value: *281 + value: *288 board_view: summary: Response for creating a board view with filter - value: *281 + value: *288 roadmap_view: summary: Response for creating a roadmap view - value: *281 + value: *288 '304': *35 '403': *27 '401': *23 @@ -115016,11 +116320,11 @@ paths: application/json: schema: oneOf: - - *664 - - *663 + - *668 + - *667 examples: - default-response: *692 - response-with-git-hub-plan-information: *693 + default-response: *696 + response-with-git-hub-plan-information: *697 '404': *6 x-github: githubCloudOnly: false @@ -115070,8 +116374,8 @@ paths: required: - subject_digests examples: - default: *694 - withPredicateType: *695 + default: *698 + withPredicateType: *699 responses: '200': description: Response @@ -115125,7 +116429,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *696 + default: *700 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115345,7 +116649,7 @@ paths: initiator: type: string examples: - default: *392 + default: *398 '201': description: Response content: @@ -115426,7 +116730,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *187 + items: *194 examples: default: summary: Example response for listing user copilot spaces @@ -115641,9 +116945,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *194 examples: - default: &697 + default: &701 summary: Example response for a user copilot space value: id: 42 @@ -115742,9 +117046,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *194 examples: - default: *697 + default: *701 '403': *27 '404': *6 x-github: @@ -115868,9 +117172,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *194 examples: - default: *697 + default: *701 '403': *27 '404': *6 '422': *15 @@ -115947,7 +117251,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *189 + items: *196 examples: default: value: @@ -116090,7 +117394,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *196 examples: default: value: @@ -116201,7 +117505,7 @@ paths: description: Response content: application/json: - schema: *189 + schema: *196 examples: default: value: @@ -116331,7 +117635,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *190 + items: *197 examples: default: value: @@ -116423,7 +117727,7 @@ paths: description: Resource created content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -116439,7 +117743,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -116492,7 +117796,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -116559,7 +117863,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *197 examples: default: value: @@ -116636,9 +117940,9 @@ paths: application/json: schema: type: array - items: *253 + items: *260 examples: - default: *679 + default: *683 '403': *27 '401': *23 x-github: @@ -117022,9 +118326,9 @@ paths: application/json: schema: type: array - items: *670 + items: *674 examples: - default: *698 + default: *702 headers: Link: *66 x-github: @@ -117128,7 +118432,7 @@ paths: application/json: schema: *20 examples: - default: *525 + default: *529 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117253,7 +118557,7 @@ paths: - docker - nuget - container - - *678 + - *682 - *70 - *19 - *17 @@ -117264,12 +118568,12 @@ paths: application/json: schema: type: array - items: *253 + items: *260 examples: - default: *679 + default: *683 '403': *27 '401': *23 - '400': *680 + '400': *684 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117289,17 +118593,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *255 - - *256 + - *262 + - *263 - *70 responses: '200': description: Response content: application/json: - schema: *253 + schema: *260 examples: - default: *699 + default: *703 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117320,8 +118624,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *255 - - *256 + - *262 + - *263 - *70 responses: '204': @@ -117354,8 +118658,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *255 - - *256 + - *262 + - *263 - *70 - name: token description: package token @@ -117388,8 +118692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *255 - - *256 + - *262 + - *263 - *70 responses: '200': @@ -117398,7 +118702,7 @@ paths: application/json: schema: type: array - items: *257 + items: *264 examples: default: value: @@ -117456,16 +118760,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *255 - - *256 - - *258 + - *262 + - *263 + - *265 - *70 responses: '200': description: Response content: application/json: - schema: *257 + schema: *264 examples: default: value: @@ -117500,10 +118804,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *255 - - *256 + - *262 + - *263 - *70 - - *258 + - *265 responses: '204': description: Response @@ -117535,10 +118839,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *255 - - *256 + - *262 + - *263 - *70 - - *258 + - *265 responses: '204': description: Response @@ -117579,9 +118883,9 @@ paths: application/json: schema: type: array - items: *269 + items: *276 examples: - default: *270 + default: *277 headers: Link: *66 '304': *35 @@ -117603,16 +118907,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *271 + - *278 - *70 responses: '200': description: Response content: application/json: - schema: *269 + schema: *276 examples: - default: *270 + default: *277 headers: Link: *66 '304': *35 @@ -117634,7 +118938,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *271 + - *278 - *70 - *17 - *45 @@ -117646,9 +118950,9 @@ paths: application/json: schema: type: array - items: *274 + items: *281 examples: - default: *700 + default: *704 headers: Link: *66 '304': *35 @@ -117670,7 +118974,7 @@ paths: url: https://docs.github.com/rest/projects/fields#add-field-to-user-owned-project parameters: - *70 - - *271 + - *278 requestBody: required: true content: @@ -117708,7 +119012,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *701 + items: *705 required: - name - data_type @@ -117724,7 +119028,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *702 + iteration_configuration: *706 required: - name - data_type @@ -117746,20 +119050,20 @@ paths: value: name: Due date data_type: date - single_select_field: *703 - iteration_field: *704 + single_select_field: *707 + iteration_field: *708 responses: '201': description: Response content: application/json: - schema: *274 + schema: *281 examples: - text_field: *705 - number_field: *706 - date_field: *707 - single_select_field: *708 - iteration_field: *709 + text_field: *709 + number_field: *710 + date_field: *711 + single_select_field: *712 + iteration_field: *713 '304': *35 '403': *27 '401': *23 @@ -117780,17 +119084,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *271 - - *710 + - *278 + - *714 - *70 responses: '200': description: Response content: application/json: - schema: *274 + schema: *281 examples: - default: *711 + default: *715 headers: Link: *66 '304': *35 @@ -117813,7 +119117,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *271 + - *278 - *70 - *45 - *46 @@ -117846,9 +119150,9 @@ paths: application/json: schema: type: array - items: *278 + items: *285 examples: - default: *279 + default: *286 headers: Link: *66 '304': *35 @@ -117870,7 +119174,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *70 - - *271 + - *278 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -117940,22 +119244,22 @@ paths: description: Response content: application/json: - schema: *276 + schema: *283 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *277 + value: *284 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *277 + value: *284 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *277 + value: *284 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *277 + value: *284 '304': *35 '403': *27 '401': *23 @@ -117975,9 +119279,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *271 + - *278 - *70 - - *280 + - *287 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -117997,9 +119301,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *285 examples: - default: *279 + default: *286 headers: Link: *66 '304': *35 @@ -118020,9 +119324,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *271 + - *278 - *70 - - *280 + - *287 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -118095,13 +119399,13 @@ paths: description: Response content: application/json: - schema: *278 + schema: *285 examples: - text_field: *279 - number_field: *279 - date_field: *279 - single_select_field: *279 - iteration_field: *279 + text_field: *286 + number_field: *286 + date_field: *286 + single_select_field: *286 + iteration_field: *286 '401': *23 '403': *27 '404': *6 @@ -118121,9 +119425,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *271 + - *278 - *70 - - *280 + - *287 responses: '204': description: Response @@ -118145,9 +119449,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-project-view parameters: - - *271 + - *278 - *70 - - *712 + - *716 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -118173,9 +119477,9 @@ paths: application/json: schema: type: array - items: *278 + items: *285 examples: - default: *279 + default: *286 headers: Link: *66 '304': *35 @@ -118396,7 +119700,7 @@ paths: type: array items: *153 examples: - default: *259 + default: *266 headers: Link: *66 x-github: @@ -118422,7 +119726,7 @@ paths: - *116 - *118 - *117 - - *713 + - *717 - *119 responses: '200': @@ -118553,7 +119857,7 @@ paths: parameters: - *70 - *116 - - *714 + - *718 - *117 responses: '200': @@ -118652,9 +119956,9 @@ paths: - *116 - *118 - *117 - - *715 + - *719 - *119 - - *716 + - *720 responses: '200': description: Response when getting a billing usage summary @@ -118788,9 +120092,9 @@ paths: application/json: schema: type: array - items: *683 + items: *687 examples: - default: *684 + default: *688 headers: Link: *66 x-github: @@ -118820,9 +120124,9 @@ paths: application/json: schema: type: array - items: *685 + items: *689 examples: - default: *717 + default: *721 headers: Link: *66 x-github: @@ -118847,7 +120151,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *70 - - *718 + - *722 - *60 - *17 - *19 @@ -118859,11 +120163,11 @@ paths: schema: anyOf: - type: array - items: *719 + items: *723 - type: array items: *78 examples: - default-response: *688 + default-response: *692 headers: Link: *66 x-github: @@ -118894,7 +120198,7 @@ paths: type: array items: *153 examples: - default: *259 + default: *266 headers: Link: *66 x-github: @@ -119023,7 +120327,7 @@ webhooks: type: string enum: - disabled - enterprise: &720 + enterprise: &724 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -119092,7 +120396,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &721 + installation: &725 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -119113,7 +120417,7 @@ webhooks: required: - id - node_id - organization: &722 + organization: &726 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -119186,7 +120490,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &723 + repository: &727 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -120126,10 +121430,10 @@ webhooks: type: string enum: - enabled - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -120205,11 +121509,11 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - rule: &724 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + rule: &728 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -120432,11 +121736,11 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - rule: *724 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + rule: *728 sender: *4 required: - action @@ -120624,11 +121928,11 @@ webhooks: - everyone required: - from - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - rule: *724 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + rule: *728 sender: *4 required: - action @@ -120712,7 +122016,7 @@ webhooks: type: string enum: - completed - check_run: &726 + check_run: &730 title: CheckRun description: A check performed on the code of a given code change type: object @@ -120822,7 +122126,7 @@ webhooks: - examples: - neutral - deployment: *725 + deployment: *729 details_url: type: string examples: @@ -120920,10 +122224,10 @@ webhooks: - output - app - pull_requests - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + installation: *725 + enterprise: *724 + organization: *726 + repository: *727 sender: *4 required: - check_run @@ -121314,11 +122618,11 @@ webhooks: type: string enum: - created - check_run: *726 - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + check_run: *730 + installation: *725 + enterprise: *724 + organization: *726 + repository: *727 sender: *4 required: - check_run @@ -121712,11 +123016,11 @@ webhooks: type: string enum: - requested_action - check_run: *726 - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + check_run: *730 + installation: *725 + enterprise: *724 + organization: *726 + repository: *727 requested_action: description: The action requested by the user. type: object @@ -122119,11 +123423,11 @@ webhooks: type: string enum: - rerequested - check_run: *726 - installation: *721 - enterprise: *720 - organization: *722 - repository: *723 + check_run: *730 + installation: *725 + enterprise: *724 + organization: *726 + repository: *727 sender: *4 required: - check_run @@ -123108,10 +124412,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -123815,10 +125119,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -124516,10 +125820,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -124688,7 +125992,7 @@ webhooks: required: - login - id - dismissed_comment: *423 + dismissed_comment: *429 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -124840,20 +126144,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &727 + commit_oid: &731 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *720 - installation: *721 - organization: *722 - ref: &728 + enterprise: *724 + installation: *725 + organization: *726 + ref: &732 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *723 + repository: *727 sender: *4 required: - action @@ -125020,7 +126324,7 @@ webhooks: required: - login - id - dismissed_comment: *423 + dismissed_comment: *429 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -125261,12 +126565,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *731 + enterprise: *724 + installation: *725 + organization: *726 + ref: *732 + repository: *727 sender: *4 required: - action @@ -125364,7 +126668,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *423 + dismissed_comment: *429 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -125549,12 +126853,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *731 + enterprise: *724 + installation: *725 + organization: *726 + ref: *732 + repository: *727 sender: *4 required: - action @@ -125723,7 +127027,7 @@ webhooks: required: - login - id - dismissed_comment: *423 + dismissed_comment: *429 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -125900,12 +127204,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *731 + enterprise: *724 + installation: *725 + organization: *726 + ref: *732 + repository: *727 sender: *4 required: - action @@ -126006,7 +127310,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *423 + dismissed_comment: *429 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -126195,9 +127499,9 @@ webhooks: type: - string - 'null' - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -126205,7 +127509,7 @@ webhooks: type: - string - 'null' - repository: *723 + repository: *727 sender: *4 required: - action @@ -126304,7 +127608,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *423 + dismissed_comment: *429 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -126451,12 +127755,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *727 - enterprise: *720 - installation: *721 - organization: *722 - ref: *728 - repository: *723 + commit_oid: *731 + enterprise: *724 + installation: *725 + organization: *726 + ref: *732 + repository: *727 sender: *4 required: - action @@ -126625,7 +127929,7 @@ webhooks: required: - login - id - dismissed_comment: *423 + dismissed_comment: *429 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -126777,10 +128081,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -127040,10 +128344,10 @@ webhooks: - updated_at - author_association - body - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -127124,18 +128428,18 @@ webhooks: type: - string - 'null' - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *722 - pusher_type: &729 + organization: *726 + pusher_type: &733 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &730 + ref: &734 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -127145,7 +128449,7 @@ webhooks: enum: - tag - branch - repository: *723 + repository: *727 sender: *4 required: - ref @@ -127227,10 +128531,10 @@ webhooks: type: string enum: - created - definition: *282 - enterprise: *720 - installation: *721 - organization: *722 + definition: *289 + enterprise: *724 + installation: *725 + organization: *726 sender: *4 required: - action @@ -127315,9 +128619,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 sender: *4 required: - action @@ -127394,10 +128698,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *282 - enterprise: *720 - installation: *721 - organization: *722 + definition: *289 + enterprise: *724 + installation: *725 + organization: *726 sender: *4 required: - action @@ -127474,10 +128778,10 @@ webhooks: type: string enum: - updated - definition: *282 - enterprise: *720 - installation: *721 - organization: *722 + definition: *289 + enterprise: *724 + installation: *725 + organization: *726 sender: *4 required: - action @@ -127554,19 +128858,19 @@ webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - repository: *723 - organization: *722 + enterprise: *724 + installation: *725 + repository: *727 + organization: *726 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *286 + items: *293 old_property_values: type: array description: The old custom property values for the repository. - items: *286 + items: *293 required: - action - repository @@ -127642,18 +128946,18 @@ webhooks: title: delete event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - pusher_type: *729 - ref: *730 + enterprise: *724 + installation: *725 + organization: *726 + pusher_type: *733 + ref: *734 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *723 + repository: *727 sender: *4 required: - ref @@ -127733,11 +129037,11 @@ webhooks: type: string enum: - assignees_changed - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -127817,11 +129121,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -127902,11 +129206,11 @@ webhooks: type: string enum: - auto_reopened - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -127987,11 +129291,11 @@ webhooks: type: string enum: - created - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -128070,11 +129374,11 @@ webhooks: type: string enum: - dismissed - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -128153,11 +129457,11 @@ webhooks: type: string enum: - fixed - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -128237,11 +129541,11 @@ webhooks: type: string enum: - reintroduced - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -128320,11 +129624,11 @@ webhooks: type: string enum: - reopened - alert: *483 - installation: *721 - organization: *722 - enterprise: *720 - repository: *723 + alert: *489 + installation: *725 + organization: *726 + enterprise: *724 + repository: *727 sender: *4 required: - action @@ -128401,9 +129705,9 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - key: &731 + enterprise: *724 + installation: *725 + key: &735 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -128441,8 +129745,8 @@ webhooks: - verified - created_at - read_only - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -128519,11 +129823,11 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - key: *731 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + key: *735 + organization: *726 + repository: *727 sender: *4 required: - action @@ -129090,12 +130394,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - workflow: &735 + workflow: &739 title: Workflow type: - object @@ -129846,13 +131150,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *490 + - *496 pull_requests: type: array - items: *575 - repository: *723 - organization: *722 - installation: *721 + items: *579 + repository: *727 + organization: *726 + installation: *725 sender: *4 responses: '200': @@ -129923,7 +131227,7 @@ webhooks: type: string enum: - approved - approver: &732 + approver: &736 type: object properties: avatar_url: @@ -129966,11 +131270,11 @@ webhooks: type: string comment: type: string - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - reviewers: &733 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + reviewers: &737 type: array items: type: object @@ -130051,7 +131355,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &734 + workflow_job_run: &738 type: object properties: conclusion: @@ -130797,18 +132101,18 @@ webhooks: type: string enum: - rejected - approver: *732 + approver: *736 comment: type: string - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - reviewers: *733 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + reviewers: *737 sender: *4 since: type: string - workflow_job_run: *734 + workflow_job_run: *738 workflow_job_runs: type: array items: @@ -131525,13 +132829,13 @@ webhooks: type: string enum: - requested - enterprise: *720 + enterprise: *724 environment: type: string - installation: *721 - organization: *722 - repository: *723 - requestor: &740 + installation: *725 + organization: *726 + repository: *727 + requestor: &744 title: User type: - object @@ -133464,12 +134768,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - workflow: *735 + workflow: *739 workflow_run: title: Deployment Workflow Run type: @@ -134160,7 +135464,7 @@ webhooks: type: string enum: - answered - answer: &738 + answer: &742 type: object properties: author_association: @@ -134320,11 +135624,11 @@ webhooks: - created_at - updated_at - body - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134451,11 +135755,11 @@ webhooks: - from required: - category - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134538,11 +135842,11 @@ webhooks: type: string enum: - closed - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134624,7 +135928,7 @@ webhooks: type: string enum: - created - comment: &737 + comment: &741 type: object properties: author_association: @@ -134784,11 +136088,11 @@ webhooks: - updated_at - body - reactions - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134871,12 +136175,12 @@ webhooks: type: string enum: - deleted - comment: *737 - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + comment: *741 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -134971,12 +136275,12 @@ webhooks: - from required: - body - comment: *737 - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + comment: *741 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -135060,11 +136364,11 @@ webhooks: type: string enum: - created - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -135146,11 +136450,11 @@ webhooks: type: string enum: - deleted - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -135250,11 +136554,11 @@ webhooks: type: string required: - from - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -135336,10 +136640,10 @@ webhooks: type: string enum: - labeled - discussion: *736 - enterprise: *720 - installation: *721 - label: &739 + discussion: *740 + enterprise: *724 + installation: *725 + label: &743 title: Label type: object properties: @@ -135372,8 +136676,8 @@ webhooks: - color - default - description - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -135456,11 +136760,11 @@ webhooks: type: string enum: - locked - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -135542,11 +136846,11 @@ webhooks: type: string enum: - pinned - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -135628,11 +136932,11 @@ webhooks: type: string enum: - reopened - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -135717,16 +137021,16 @@ webhooks: changes: type: object properties: - new_discussion: *736 - new_repository: *723 + new_discussion: *740 + new_repository: *727 required: - new_discussion - new_repository - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -135809,10 +137113,10 @@ webhooks: type: string enum: - unanswered - discussion: *736 - old_answer: *738 - organization: *722 - repository: *723 + discussion: *740 + old_answer: *742 + organization: *726 + repository: *727 sender: *4 required: - action @@ -135894,12 +137198,12 @@ webhooks: type: string enum: - unlabeled - discussion: *736 - enterprise: *720 - installation: *721 - label: *739 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + label: *743 + organization: *726 + repository: *727 sender: *4 required: - action @@ -135982,11 +137286,11 @@ webhooks: type: string enum: - unlocked - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -136068,11 +137372,11 @@ webhooks: type: string enum: - unpinned - discussion: *736 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + discussion: *740 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -136145,7 +137449,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *720 + enterprise: *724 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -136823,9 +138127,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - forkee @@ -136971,9 +138275,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pages: description: The pages that were updated. type: array @@ -137011,7 +138315,7 @@ webhooks: - action - sha - html_url - repository: *723 + repository: *727 sender: *4 required: - pages @@ -137087,10 +138391,10 @@ webhooks: type: string enum: - created - enterprise: *720 + enterprise: *724 installation: *20 - organization: *722 - repositories: &741 + organization: *726 + repositories: &745 description: An array of repository objects that the installation can access. type: array @@ -137116,8 +138420,8 @@ webhooks: - name - full_name - private - repository: *723 - requester: *740 + repository: *727 + requester: *744 sender: *4 required: - action @@ -137192,11 +138496,11 @@ webhooks: type: string enum: - deleted - enterprise: *720 + enterprise: *724 installation: *20 - organization: *722 - repositories: *741 - repository: *723 + organization: *726 + repositories: *745 + repository: *727 requester: type: - 'null' @@ -137273,11 +138577,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *720 + enterprise: *724 installation: *20 - organization: *722 - repositories: *741 - repository: *723 + organization: *726 + repositories: *745 + repository: *727 requester: type: - 'null' @@ -137354,10 +138658,10 @@ webhooks: type: string enum: - added - enterprise: *720 + enterprise: *724 installation: *20 - organization: *722 - repositories_added: &742 + organization: *726 + repositories_added: &746 description: An array of repository objects, which were added to the installation. type: array @@ -137403,15 +138707,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *723 - repository_selection: &743 + repository: *727 + repository_selection: &747 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *740 + requester: *744 sender: *4 required: - action @@ -137490,10 +138794,10 @@ webhooks: type: string enum: - removed - enterprise: *720 + enterprise: *724 installation: *20 - organization: *722 - repositories_added: *742 + organization: *726 + repositories_added: *746 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -137520,9 +138824,9 @@ webhooks: - name - full_name - private - repository: *723 - repository_selection: *743 - requester: *740 + repository: *727 + repository_selection: *747 + requester: *744 sender: *4 required: - action @@ -137601,11 +138905,11 @@ webhooks: type: string enum: - suspend - enterprise: *720 + enterprise: *724 installation: *20 - organization: *722 - repositories: *741 - repository: *723 + organization: *726 + repositories: *745 + repository: *727 requester: type: - 'null' @@ -137787,10 +139091,10 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 target_type: type: string @@ -137869,11 +139173,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *720 + enterprise: *724 installation: *20 - organization: *722 - repositories: *741 - repository: *723 + organization: *726 + repositories: *745 + repository: *727 requester: type: - 'null' @@ -138039,7 +139343,7 @@ webhooks: pin: anyOf: - type: 'null' - - *554 + - *558 user: title: User type: @@ -138125,8 +139429,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -138938,8 +140242,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138956,7 +140260,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -139300,8 +140604,8 @@ webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -139381,7 +140685,7 @@ webhooks: type: string enum: - deleted - comment: &744 + comment: &748 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -139538,7 +140842,7 @@ webhooks: pin: anyOf: - type: 'null' - - *554 + - *558 required: - url - html_url @@ -139552,8 +140856,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -140361,8 +141665,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140379,7 +141683,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -140725,8 +142029,8 @@ webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -140806,7 +142110,7 @@ webhooks: type: string enum: - edited - changes: &768 + changes: &772 description: The changes to the comment. type: object properties: @@ -140818,9 +142122,9 @@ webhooks: type: string required: - from - comment: *744 - enterprise: *720 - installation: *721 + comment: *748 + enterprise: *724 + installation: *725 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -141631,8 +142935,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141649,7 +142953,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -141993,8 +143297,8 @@ webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -142075,9 +143379,9 @@ webhooks: type: string enum: - pinned - comment: *744 - enterprise: *720 - installation: *721 + comment: *748 + enterprise: *724 + installation: *725 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -142890,8 +144194,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142908,7 +144212,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -143254,8 +144558,8 @@ webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -143335,9 +144639,9 @@ webhooks: type: string enum: - unpinned - comment: *744 - enterprise: *720 - installation: *721 + comment: *748 + enterprise: *724 + installation: *725 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -144150,8 +145454,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144168,7 +145472,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -144514,8 +145818,8 @@ webhooks: - state - locked - assignee - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -144604,9 +145908,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -144695,9 +145999,9 @@ webhooks: type: number blocking_issue: *82 blocking_issue_repo: *78 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -144785,9 +146089,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -144876,9 +146180,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -144958,10 +146262,10 @@ webhooks: type: string enum: - assigned - assignee: *740 - enterprise: *720 - installation: *721 - issue: &745 + assignee: *744 + enterprise: *724 + installation: *725 + issue: &749 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -145772,11 +147076,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145793,7 +147097,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -145896,8 +147200,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -145977,8 +147281,8 @@ webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -146794,11 +148098,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146815,7 +148119,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -147061,8 +148365,8 @@ webhooks: required: - state - closed_at - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -147141,8 +148445,8 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147949,11 +149253,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147970,7 +149274,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -148072,8 +149376,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -148152,8 +149456,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -148983,11 +150287,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149004,7 +150308,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -149085,7 +150389,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &746 + milestone: &750 title: Milestone description: A collection of related issues and pull requests. type: object @@ -149228,8 +150532,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -149328,8 +150632,8 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -150140,11 +151444,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150158,7 +151462,7 @@ webhooks: timeline_url: type: string format: uri - type: *236 + type: *243 title: description: Title of the issue type: string @@ -150264,9 +151568,9 @@ webhooks: - active_lock_reason - body - reactions - label: *739 - organization: *722 - repository: *723 + label: *743 + organization: *726 + repository: *727 sender: *4 required: - action @@ -150346,9 +151650,9 @@ webhooks: type: string enum: - field_added - enterprise: *720 - installation: *721 - issue: *745 + enterprise: *724 + installation: *725 + issue: *749 issue_field: type: object description: The issue field whose value was set or updated on the @@ -150467,8 +151771,8 @@ webhooks: - id required: - from - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -150548,9 +151852,9 @@ webhooks: type: string enum: - field_removed - enterprise: *720 - installation: *721 - issue: *745 + enterprise: *724 + installation: *725 + issue: *749 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -150613,8 +151917,8 @@ webhooks: - 'null' required: - id - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -150694,8 +151998,8 @@ webhooks: type: string enum: - labeled - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -151505,11 +152809,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151523,7 +152827,7 @@ webhooks: timeline_url: type: string format: uri - type: *236 + type: *243 title: description: Title of the issue type: string @@ -151629,9 +152933,9 @@ webhooks: - active_lock_reason - body - reactions - label: *739 - organization: *722 - repository: *723 + label: *743 + organization: *726 + repository: *727 sender: *4 required: - action @@ -151711,8 +153015,8 @@ webhooks: type: string enum: - locked - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -152547,11 +153851,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152565,7 +153869,7 @@ webhooks: timeline_url: type: string format: uri - type: *236 + type: *243 title: description: Title of the issue type: string @@ -152648,8 +153952,8 @@ webhooks: format: uri user_view_type: type: string - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -152728,8 +154032,8 @@ webhooks: type: string enum: - milestoned - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -153558,11 +154862,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153579,7 +154883,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -153659,9 +154963,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *746 - organization: *722 - repository: *723 + milestone: *750 + organization: *726 + repository: *727 sender: *4 required: - action @@ -154548,11 +155852,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154652,7 +155956,7 @@ webhooks: required: - login - id - type: *236 + type: *243 required: - id - number @@ -155144,8 +156448,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -155952,11 +157256,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155973,7 +157277,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -156079,8 +157383,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -156160,9 +157464,9 @@ webhooks: type: string enum: - pinned - enterprise: *720 - installation: *721 - issue: &747 + enterprise: *724 + installation: *725 + issue: &751 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -156967,11 +158271,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156988,7 +158292,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -157090,8 +158394,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -157170,8 +158474,8 @@ webhooks: type: string enum: - reopened - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -158004,11 +159308,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158105,9 +159409,9 @@ webhooks: format: uri user_view_type: type: string - type: *236 - organization: *722 - repository: *723 + type: *243 + organization: *726 + repository: *727 sender: *4 required: - action @@ -158995,11 +160299,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159016,7 +160320,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -159609,11 +160913,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *720 - installation: *721 - issue: *747 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + issue: *751 + organization: *726 + repository: *727 sender: *4 required: - action @@ -159693,12 +160997,12 @@ webhooks: type: string enum: - typed - enterprise: *720 - installation: *721 - issue: *745 - type: *236 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + issue: *749 + type: *243 + organization: *726 + repository: *727 sender: *4 required: - action @@ -159779,7 +161083,7 @@ webhooks: type: string enum: - unassigned - assignee: &771 + assignee: &775 title: User type: - object @@ -159851,11 +161155,11 @@ webhooks: required: - login - id - enterprise: *720 - installation: *721 - issue: *745 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + issue: *749 + organization: *726 + repository: *727 sender: *4 required: - action @@ -159934,12 +161238,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *720 - installation: *721 - issue: *745 - label: *739 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + issue: *749 + label: *743 + organization: *726 + repository: *727 sender: *4 required: - action @@ -160019,8 +161323,8 @@ webhooks: type: string enum: - unlocked - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -160853,11 +162157,11 @@ webhooks: anyOf: - type: 'null' - *83 - sub_issues_summary: *656 - issue_dependencies_summary: *657 + sub_issues_summary: *660 + issue_dependencies_summary: *661 issue_field_values: type: array - items: *538 + items: *542 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160874,7 +162178,7 @@ webhooks: title: description: Title of the issue type: string - type: *236 + type: *243 updated_at: type: string format: date-time @@ -160954,8 +162258,8 @@ webhooks: format: uri user_view_type: type: string - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -161035,11 +162339,11 @@ webhooks: type: string enum: - unpinned - enterprise: *720 - installation: *721 - issue: *747 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + issue: *751 + organization: *726 + repository: *727 sender: *4 required: - action @@ -161118,12 +162422,12 @@ webhooks: type: string enum: - untyped - enterprise: *720 - installation: *721 - issue: *745 - type: *236 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + issue: *749 + type: *243 + organization: *726 + repository: *727 sender: *4 required: - action @@ -161203,11 +162507,11 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - label: *739 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + label: *743 + organization: *726 + repository: *727 sender: *4 required: - action @@ -161285,11 +162589,11 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - label: *739 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + label: *743 + organization: *726 + repository: *727 sender: *4 required: - action @@ -161399,11 +162703,11 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - label: *739 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + label: *743 + organization: *726 + repository: *727 sender: *4 required: - action @@ -161485,9 +162789,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: &748 + enterprise: *724 + installation: *725 + marketplace_purchase: &752 title: Marketplace Purchase type: object required: @@ -161575,8 +162879,8 @@ webhooks: type: integer unit_count: type: integer - organization: *722 - previous_marketplace_purchase: &749 + organization: *726 + previous_marketplace_purchase: &753 title: Marketplace Purchase type: object properties: @@ -161660,7 +162964,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *723 + repository: *727 sender: *4 required: - action @@ -161740,10 +163044,10 @@ webhooks: - changed effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: *748 - organization: *722 + enterprise: *724 + installation: *725 + marketplace_purchase: *752 + organization: *726 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -161831,7 +163135,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *723 + repository: *727 sender: *4 required: - action @@ -161913,10 +163217,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: *748 - organization: *722 + enterprise: *724 + installation: *725 + marketplace_purchase: *752 + organization: *726 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -162002,7 +163306,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *723 + repository: *727 sender: *4 required: - action @@ -162083,8 +163387,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 marketplace_purchase: title: Marketplace Purchase type: object @@ -162170,9 +163474,9 @@ webhooks: type: integer unit_count: type: integer - organization: *722 - previous_marketplace_purchase: *749 - repository: *723 + organization: *726 + previous_marketplace_purchase: *753 + repository: *727 sender: *4 required: - action @@ -162252,12 +163556,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *720 - installation: *721 - marketplace_purchase: *748 - organization: *722 - previous_marketplace_purchase: *749 - repository: *723 + enterprise: *724 + installation: *725 + marketplace_purchase: *752 + organization: *726 + previous_marketplace_purchase: *753 + repository: *727 sender: *4 required: - action @@ -162359,11 +163663,11 @@ webhooks: type: string required: - to - enterprise: *720 - installation: *721 - member: *740 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + member: *744 + organization: *726 + repository: *727 sender: *4 required: - action @@ -162465,11 +163769,11 @@ webhooks: type: - string - 'null' - enterprise: *720 - installation: *721 - member: *740 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + member: *744 + organization: *726 + repository: *727 sender: *4 required: - action @@ -162548,11 +163852,11 @@ webhooks: type: string enum: - removed - enterprise: *720 - installation: *721 - member: *740 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + member: *744 + organization: *726 + repository: *727 sender: *4 required: - action @@ -162630,11 +163934,11 @@ webhooks: type: string enum: - added - enterprise: *720 - installation: *721 - member: *740 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + member: *744 + organization: *726 + repository: *727 scope: description: The scope of the membership. Currently, can only be `team`. @@ -162712,7 +164016,7 @@ webhooks: required: - login - id - team: &750 + team: &754 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -162942,11 +164246,11 @@ webhooks: type: string enum: - removed - enterprise: *720 - installation: *721 - member: *740 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + member: *744 + organization: *726 + repository: *727 scope: description: The scope of the membership. Currently, can only be `team`. @@ -163025,7 +164329,7 @@ webhooks: required: - login - id - team: *750 + team: *754 required: - action - scope @@ -163107,8 +164411,8 @@ webhooks: type: string enum: - checks_requested - installation: *721 - merge_group: &751 + installation: *725 + merge_group: &755 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -163127,15 +164431,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *412 + head_commit: *418 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -163221,10 +164525,10 @@ webhooks: - merged - invalidated - dequeued - installation: *721 - merge_group: *751 - organization: *722 - repository: *723 + installation: *725 + merge_group: *755 + organization: *726 + repository: *727 sender: *4 required: - action @@ -163297,7 +164601,7 @@ webhooks: type: string enum: - deleted - enterprise: *720 + enterprise: *724 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -163406,12 +164710,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *721 - organization: *722 + installation: *725 + organization: *726 repository: anyOf: - type: 'null' - - *723 + - *727 sender: *4 required: - action @@ -163491,11 +164795,11 @@ webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 - milestone: *746 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + milestone: *750 + organization: *726 + repository: *727 sender: *4 required: - action @@ -163574,9 +164878,9 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - milestone: &752 + enterprise: *724 + installation: *725 + milestone: &756 title: Milestone description: A collection of related issues and pull requests. type: object @@ -163718,8 +165022,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -163798,11 +165102,11 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - milestone: *746 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + milestone: *750 + organization: *726 + repository: *727 sender: *4 required: - action @@ -163912,11 +165216,11 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - milestone: *746 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + milestone: *750 + organization: *726 + repository: *727 sender: *4 required: - action @@ -163996,11 +165300,11 @@ webhooks: type: string enum: - opened - enterprise: *720 - installation: *721 - milestone: *752 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + milestone: *756 + organization: *726 + repository: *727 sender: *4 required: - action @@ -164079,11 +165383,11 @@ webhooks: type: string enum: - blocked - blocked_user: *740 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + blocked_user: *744 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -164162,11 +165466,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *740 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + blocked_user: *744 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -164245,9 +165549,9 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - membership: &753 + enterprise: *724 + installation: *725 + membership: &757 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -164357,8 +165661,8 @@ webhooks: - role - organization_url - user - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 required: - action @@ -164436,11 +165740,11 @@ webhooks: type: string enum: - member_added - enterprise: *720 - installation: *721 - membership: *753 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + membership: *757 + organization: *726 + repository: *727 sender: *4 required: - action @@ -164519,8 +165823,8 @@ webhooks: type: string enum: - member_invited - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -164642,10 +165946,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 - user: *740 + user: *744 required: - action - invitation @@ -164723,11 +166027,11 @@ webhooks: type: string enum: - member_removed - enterprise: *720 - installation: *721 - membership: *753 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + membership: *757 + organization: *726 + repository: *727 sender: *4 required: - action @@ -164814,11 +166118,11 @@ webhooks: properties: from: type: string - enterprise: *720 - installation: *721 - membership: *753 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + membership: *757 + organization: *726 + repository: *727 sender: *4 required: - action @@ -164895,9 +166199,9 @@ webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 package: description: Information about the package. type: object @@ -165420,7 +166724,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &754 + items: &758 title: Ruby Gems metadata type: object properties: @@ -165517,7 +166821,7 @@ webhooks: - owner - package_version - registry - repository: *723 + repository: *727 sender: *4 required: - action @@ -165593,9 +166897,9 @@ webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 package: description: Information about the package. type: object @@ -165957,7 +167261,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *754 + items: *758 source_url: type: string format: uri @@ -166028,7 +167332,7 @@ webhooks: - owner - package_version - registry - repository: *723 + repository: *727 sender: *4 required: - action @@ -166208,12 +167512,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *720 + enterprise: *724 id: type: integer - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - id @@ -166290,7 +167594,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &755 + personal_access_token_request: &759 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -166440,10 +167744,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *720 - organization: *722 + enterprise: *724 + organization: *726 sender: *4 - installation: *721 + installation: *725 required: - action - personal_access_token_request @@ -166520,11 +167824,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *755 - enterprise: *720 - organization: *722 + personal_access_token_request: *759 + enterprise: *724 + organization: *726 sender: *4 - installation: *721 + installation: *725 required: - action - personal_access_token_request @@ -166600,11 +167904,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *755 - enterprise: *720 - organization: *722 + personal_access_token_request: *759 + enterprise: *724 + organization: *726 sender: *4 - installation: *721 + installation: *725 required: - action - personal_access_token_request @@ -166679,11 +167983,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *755 - organization: *722 - enterprise: *720 + personal_access_token_request: *759 + organization: *726 + enterprise: *724 sender: *4 - installation: *721 + installation: *725 required: - action - personal_access_token_request @@ -166788,7 +168092,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *756 + last_response: *760 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -166820,8 +168124,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 zen: description: Random string of GitHub zen. @@ -167066,10 +168370,10 @@ webhooks: - from required: - note - enterprise: *720 - installation: *721 - organization: *722 - project_card: &757 + enterprise: *724 + installation: *725 + organization: *726 + project_card: &761 title: Project Card type: object properties: @@ -167192,7 +168496,7 @@ webhooks: - creator - created_at - updated_at - repository: *723 + repository: *727 sender: *4 required: - action @@ -167273,11 +168577,11 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - project_card: *757 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + project_card: *761 + repository: *727 sender: *4 required: - action @@ -167357,9 +168661,9 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 project_card: title: Project Card type: object @@ -167489,7 +168793,7 @@ webhooks: repository: anyOf: - type: 'null' - - *723 + - *727 sender: *4 required: - action @@ -167583,11 +168887,11 @@ webhooks: - from required: - note - enterprise: *720 - installation: *721 - organization: *722 - project_card: *757 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + project_card: *761 + repository: *727 sender: *4 required: - action @@ -167681,9 +168985,9 @@ webhooks: - from required: - column_id - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 project_card: allOf: - title: Project Card @@ -167880,7 +169184,7 @@ webhooks: type: string required: - after_id - repository: *723 + repository: *727 sender: *4 required: - action @@ -167960,10 +169264,10 @@ webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 - organization: *722 - project: &759 + enterprise: *724 + installation: *725 + organization: *726 + project: &763 title: Project type: object properties: @@ -168090,7 +169394,7 @@ webhooks: - creator - created_at - updated_at - repository: *723 + repository: *727 sender: *4 required: - action @@ -168170,10 +169474,10 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - project_column: &758 + enterprise: *724 + installation: *725 + organization: *726 + project_column: &762 title: Project Column type: object properties: @@ -168213,7 +169517,7 @@ webhooks: - name - created_at - updated_at - repository: *723 + repository: *727 sender: *4 required: - action @@ -168292,14 +169596,14 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - project_column: *758 + enterprise: *724 + installation: *725 + organization: *726 + project_column: *762 repository: anyOf: - type: 'null' - - *723 + - *727 sender: *4 required: - action @@ -168388,11 +169692,11 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - project_column: *758 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + project_column: *762 + repository: *727 sender: *4 required: - action @@ -168472,11 +169776,11 @@ webhooks: type: string enum: - moved - enterprise: *720 - installation: *721 - organization: *722 - project_column: *758 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + project_column: *762 + repository: *727 sender: *4 required: - action @@ -168556,11 +169860,11 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - project: *759 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + project: *763 + repository: *727 sender: *4 required: - action @@ -168640,14 +169944,14 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - project: *759 + enterprise: *724 + installation: *725 + organization: *726 + project: *763 repository: anyOf: - type: 'null' - - *723 + - *727 sender: *4 required: - action @@ -168748,11 +170052,11 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - project: *759 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + project: *763 + repository: *727 sender: *4 required: - action @@ -168831,11 +170135,11 @@ webhooks: type: string enum: - reopened - enterprise: *720 - installation: *721 - organization: *722 - project: *759 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + project: *763 + repository: *727 sender: *4 required: - action @@ -168916,9 +170220,9 @@ webhooks: type: string enum: - closed - installation: *721 - organization: *722 - projects_v2: *269 + installation: *725 + organization: *726 + projects_v2: *276 sender: *4 required: - action @@ -168999,9 +170303,9 @@ webhooks: type: string enum: - created - installation: *721 - organization: *722 - projects_v2: *269 + installation: *725 + organization: *726 + projects_v2: *276 sender: *4 required: - action @@ -169082,9 +170386,9 @@ webhooks: type: string enum: - deleted - installation: *721 - organization: *722 - projects_v2: *269 + installation: *725 + organization: *726 + projects_v2: *276 sender: *4 required: - action @@ -169205,9 +170509,9 @@ webhooks: type: string to: type: string - installation: *721 - organization: *722 - projects_v2: *269 + installation: *725 + organization: *726 + projects_v2: *276 sender: *4 required: - action @@ -169290,7 +170594,7 @@ webhooks: type: string enum: - archived - changes: &763 + changes: &767 type: object properties: archived_at: @@ -169306,9 +170610,9 @@ webhooks: - string - 'null' format: date-time - installation: *721 - organization: *722 - projects_v2_item: &760 + installation: *725 + organization: *726 + projects_v2_item: &764 title: Projects v2 Item description: An item belonging to a project type: object @@ -169326,7 +170630,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *275 + content_type: *282 creator: *4 created_at: type: string @@ -169448,9 +170752,9 @@ webhooks: - 'null' to: type: string - installation: *721 - organization: *722 - projects_v2_item: *760 + installation: *725 + organization: *726 + projects_v2_item: *764 sender: *4 required: - action @@ -169532,9 +170836,9 @@ webhooks: type: string enum: - created - installation: *721 - organization: *722 - projects_v2_item: *760 + installation: *725 + organization: *726 + projects_v2_item: *764 sender: *4 required: - action @@ -169615,9 +170919,9 @@ webhooks: type: string enum: - deleted - installation: *721 - organization: *722 - projects_v2_item: *760 + installation: *725 + organization: *726 + projects_v2_item: *764 sender: *4 required: - action @@ -169722,7 +171026,7 @@ webhooks: oneOf: - type: string - type: integer - - &761 + - &765 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -169746,7 +171050,7 @@ webhooks: required: - id - name - - &762 + - &766 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -169786,8 +171090,8 @@ webhooks: oneOf: - type: string - type: integer - - *761 - - *762 + - *765 + - *766 type: - 'null' - string @@ -169810,9 +171114,9 @@ webhooks: - 'null' required: - body - installation: *721 - organization: *722 - projects_v2_item: *760 + installation: *725 + organization: *726 + projects_v2_item: *764 sender: *4 required: - action @@ -169909,9 +171213,9 @@ webhooks: type: - string - 'null' - installation: *721 - organization: *722 - projects_v2_item: *760 + installation: *725 + organization: *726 + projects_v2_item: *764 sender: *4 required: - action @@ -169994,10 +171298,10 @@ webhooks: type: string enum: - restored - changes: *763 - installation: *721 - organization: *722 - projects_v2_item: *760 + changes: *767 + installation: *725 + organization: *726 + projects_v2_item: *764 sender: *4 required: - action @@ -170079,9 +171383,9 @@ webhooks: type: string enum: - reopened - installation: *721 - organization: *722 - projects_v2: *269 + installation: *725 + organization: *726 + projects_v2: *276 sender: *4 required: - action @@ -170162,9 +171466,9 @@ webhooks: type: string enum: - created - installation: *721 - organization: *722 - projects_v2_status_update: *764 + installation: *725 + organization: *726 + projects_v2_status_update: *768 sender: *4 required: - action @@ -170245,9 +171549,9 @@ webhooks: type: string enum: - deleted - installation: *721 - organization: *722 - projects_v2_status_update: *764 + installation: *725 + organization: *726 + projects_v2_status_update: *768 sender: *4 required: - action @@ -170393,9 +171697,9 @@ webhooks: - string - 'null' format: date - installation: *721 - organization: *722 - projects_v2_status_update: *764 + installation: *725 + organization: *726 + projects_v2_status_update: *768 sender: *4 required: - action @@ -170466,10 +171770,10 @@ webhooks: title: public event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - repository @@ -170546,13 +171850,13 @@ webhooks: type: string enum: - assigned - assignee: *740 - enterprise: *720 - installation: *721 - number: &765 + assignee: *744 + enterprise: *724 + installation: *725 + number: &769 description: The pull request number. type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -172923,7 +174227,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -173020,11 +174324,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -175388,7 +176692,7 @@ webhooks: - draft reason: type: string - repository: *723 + repository: *727 sender: *4 required: - action @@ -175485,11 +176789,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -177853,7 +179157,7 @@ webhooks: - draft reason: type: string - repository: *723 + repository: *727 sender: *4 required: - action @@ -177950,13 +179254,13 @@ webhooks: type: string enum: - closed - enterprise: *720 - installation: *721 - number: *765 - organization: *722 - pull_request: &766 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 + pull_request: &770 allOf: - - *575 + - *579 - type: object properties: allow_auto_merge: @@ -178018,7 +179322,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *723 + repository: *727 sender: *4 required: - action @@ -178099,12 +179403,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *720 - installation: *721 - number: *765 - organization: *722 - pull_request: *766 - repository: *723 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 + pull_request: *770 + repository: *727 sender: *4 required: - action @@ -178184,11 +179488,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *720 - milestone: *272 - number: *765 - organization: *722 - pull_request: &767 + enterprise: *724 + milestone: *279 + number: *769 + organization: *726 + pull_request: &771 title: Pull Request type: object properties: @@ -180579,7 +181883,7 @@ webhooks: - active_lock_reason - draft version: '2026-03-10' - repository: *723 + repository: *727 sender: *4 required: - action @@ -180658,11 +181962,11 @@ webhooks: type: string enum: - dequeued - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -183030,7 +184334,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *723 + repository: *727 sender: *4 required: - action @@ -183162,12 +184466,12 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - number: *765 - organization: *722 - pull_request: *766 - repository: *723 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 + pull_request: *770 + repository: *727 sender: *4 required: - action @@ -183247,11 +184551,11 @@ webhooks: type: string enum: - enqueued - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -185604,7 +186908,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -185692,11 +186996,11 @@ webhooks: type: string enum: - labeled - enterprise: *720 - installation: *721 - label: *739 - number: *765 - organization: *722 + enterprise: *724 + installation: *725 + label: *743 + number: *769 + organization: *726 pull_request: title: Pull Request type: object @@ -188066,7 +189370,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -188162,10 +189466,10 @@ webhooks: type: string enum: - locked - enterprise: *720 - installation: *721 - number: *765 - organization: *722 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 pull_request: title: Pull Request type: object @@ -190533,7 +191837,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -190628,12 +191932,12 @@ webhooks: type: string enum: - milestoned - enterprise: *720 - milestone: *272 - number: *765 - organization: *722 - pull_request: *767 - repository: *723 + enterprise: *724 + milestone: *279 + number: *769 + organization: *726 + pull_request: *771 + repository: *727 sender: *4 required: - action @@ -190712,12 +192016,12 @@ webhooks: type: string enum: - opened - enterprise: *720 - installation: *721 - number: *765 - organization: *722 - pull_request: *766 - repository: *723 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 + pull_request: *770 + repository: *727 sender: *4 required: - action @@ -190798,12 +192102,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *720 - installation: *721 - number: *765 - organization: *722 - pull_request: *766 - repository: *723 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 + pull_request: *770 + repository: *727 sender: *4 required: - action @@ -190883,12 +192187,12 @@ webhooks: type: string enum: - reopened - enterprise: *720 - installation: *721 - number: *765 - organization: *722 - pull_request: *766 - repository: *723 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 + pull_request: *770 + repository: *727 sender: *4 required: - action @@ -191263,9 +192567,9 @@ webhooks: - start_side - side - reactions - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pull_request: type: object properties: @@ -193517,7 +194821,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *723 + repository: *727 sender: *4 required: - action @@ -193612,7 +194916,7 @@ webhooks: type: string enum: - deleted - comment: &769 + comment: &773 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -193905,9 +195209,9 @@ webhooks: - start_side - side - reactions - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pull_request: type: object properties: @@ -196147,7 +197451,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *723 + repository: *727 sender: *4 required: - action @@ -196242,11 +197546,11 @@ webhooks: type: string enum: - edited - changes: *768 - comment: *769 - enterprise: *720 - installation: *721 - organization: *722 + changes: *772 + comment: *773 + enterprise: *724 + installation: *725 + organization: *726 pull_request: type: object properties: @@ -198489,7 +199793,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *723 + repository: *727 sender: *4 required: - action @@ -198585,9 +199889,9 @@ webhooks: type: string enum: - dismissed - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pull_request: title: Simple Pull Request type: object @@ -200842,7 +202146,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 + repository: *727 review: description: The review that was affected. type: object @@ -201108,9 +202412,9 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pull_request: title: Simple Pull Request type: object @@ -203224,8 +204528,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 - review: &770 + repository: *727 + review: &774 description: The review that was affected. type: object properties: @@ -203471,12 +204775,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: description: The pull request number. type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -205845,7 +207149,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 requested_reviewer: title: User type: @@ -205931,12 +207235,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: description: The pull request number. type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -208312,7 +209616,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 requested_team: title: Team description: Groups of organization members that gives permissions @@ -208530,12 +209834,12 @@ webhooks: type: string enum: - review_requested - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: description: The pull request number. type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -210906,7 +212210,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 requested_reviewer: title: User type: @@ -210993,12 +212297,12 @@ webhooks: type: string enum: - review_requested - enterprise: *720 - installation: *721 + enterprise: *724 + installation: *725 number: description: The pull request number. type: integer - organization: *722 + organization: *726 pull_request: title: Pull Request type: object @@ -213360,7 +214664,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 requested_team: title: Team description: Groups of organization members that gives permissions @@ -213567,9 +214871,9 @@ webhooks: type: string enum: - submitted - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pull_request: title: Simple Pull Request type: object @@ -215827,8 +217131,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 - review: *770 + repository: *727 + review: *774 sender: *4 required: - action @@ -215923,9 +217227,9 @@ webhooks: type: string enum: - resolved - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pull_request: title: Simple Pull Request type: object @@ -218078,7 +219382,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 + repository: *727 sender: *4 thread: type: object @@ -218483,9 +219787,9 @@ webhooks: type: string enum: - unresolved - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 pull_request: title: Simple Pull Request type: object @@ -220621,7 +221925,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *723 + repository: *727 sender: *4 thread: type: object @@ -221028,10 +222332,10 @@ webhooks: type: string before: type: string - enterprise: *720 - installation: *721 - number: *765 - organization: *722 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 pull_request: title: Pull Request type: object @@ -223388,7 +224692,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -223485,11 +224789,11 @@ webhooks: type: string enum: - unassigned - assignee: *771 - enterprise: *720 - installation: *721 - number: *765 - organization: *722 + assignee: *775 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 pull_request: title: Pull Request type: object @@ -225861,7 +227165,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -225955,11 +227259,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *720 - installation: *721 - label: *739 - number: *765 - organization: *722 + enterprise: *724 + installation: *725 + label: *743 + number: *769 + organization: *726 pull_request: title: Pull Request type: object @@ -228320,7 +229624,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -228416,10 +229720,10 @@ webhooks: type: string enum: - unlocked - enterprise: *720 - installation: *721 - number: *765 - organization: *722 + enterprise: *724 + installation: *725 + number: *769 + organization: *726 pull_request: title: Pull Request type: object @@ -230770,7 +232074,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *723 + repository: *727 sender: *4 required: - action @@ -230988,7 +232292,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *720 + enterprise: *724 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -231083,8 +232387,8 @@ webhooks: - url - author - committer - installation: *721 - organization: *722 + installation: *725 + organization: *726 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -231683,9 +232987,9 @@ webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 registry_package: type: object properties: @@ -232162,7 +233466,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *754 + items: *758 summary: type: string tag_name: @@ -232218,7 +233522,7 @@ webhooks: - owner - package_version - registry - repository: *723 + repository: *727 sender: *4 required: - action @@ -232296,9 +233600,9 @@ webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 registry_package: type: object properties: @@ -232610,7 +233914,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *754 + items: *758 summary: type: string tag_name: @@ -232660,7 +233964,7 @@ webhooks: - owner - package_version - registry - repository: *723 + repository: *727 sender: *4 required: - action @@ -232737,10 +234041,10 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - release: &772 + enterprise: *724 + installation: *725 + organization: *726 + release: &776 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -233071,7 +234375,7 @@ webhooks: - updated_at - zipball_url - body - repository: *723 + repository: *727 sender: *4 required: - action @@ -233148,11 +234452,11 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - release: *772 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + release: *776 + repository: *727 sender: *4 required: - action @@ -233269,11 +234573,11 @@ webhooks: type: boolean required: - to - enterprise: *720 - installation: *721 - organization: *722 - release: *772 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + release: *776 + repository: *727 sender: *4 required: - action @@ -233351,9 +234655,9 @@ webhooks: type: string enum: - prereleased - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -233689,7 +234993,7 @@ webhooks: - string - 'null' format: uri - repository: *723 + repository: *727 sender: *4 required: - action @@ -233765,10 +235069,10 @@ webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 - release: &773 + enterprise: *724 + installation: *725 + organization: *726 + release: &777 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -234101,7 +235405,7 @@ webhooks: - string - 'null' format: uri - repository: *723 + repository: *727 sender: *4 required: - action @@ -234177,11 +235481,11 @@ webhooks: type: string enum: - released - enterprise: *720 - installation: *721 - organization: *722 - release: *772 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + release: *776 + repository: *727 sender: *4 required: - action @@ -234257,11 +235561,11 @@ webhooks: type: string enum: - unpublished - enterprise: *720 - installation: *721 - organization: *722 - release: *773 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + release: *777 + repository: *727 sender: *4 required: - action @@ -234337,11 +235641,11 @@ webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_advisory: *643 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + repository_advisory: *647 sender: *4 required: - action @@ -234417,11 +235721,11 @@ webhooks: type: string enum: - reported - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_advisory: *643 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + repository_advisory: *647 sender: *4 required: - action @@ -234497,10 +235801,10 @@ webhooks: type: string enum: - archived - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -234577,10 +235881,10 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -234658,10 +235962,10 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -234746,10 +236050,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -234864,10 +236168,10 @@ webhooks: - 'null' items: type: string - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -234939,10 +236243,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 status: type: string @@ -235023,10 +236327,10 @@ webhooks: type: string enum: - privatized - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -235103,10 +236407,10 @@ webhooks: type: string enum: - publicized - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -235200,10 +236504,10 @@ webhooks: - name required: - repository - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -235283,11 +236587,11 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_ruleset: *314 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + repository_ruleset: *321 sender: *4 required: - action @@ -235365,11 +236669,11 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_ruleset: *314 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + repository_ruleset: *321 sender: *4 required: - action @@ -235447,11 +236751,11 @@ webhooks: type: string enum: - edited - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - repository_ruleset: *314 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + repository_ruleset: *321 changes: type: object properties: @@ -235470,16 +236774,16 @@ webhooks: properties: added: type: array - items: *288 + items: *295 deleted: type: array - items: *288 + items: *295 updated: type: array items: type: object properties: - condition: *288 + condition: *295 changes: type: object properties: @@ -235512,16 +236816,16 @@ webhooks: properties: added: type: array - items: *595 + items: *599 deleted: type: array - items: *595 + items: *599 updated: type: array items: type: object properties: - rule: *595 + rule: *599 changes: type: object properties: @@ -235758,10 +237062,10 @@ webhooks: - from required: - owner - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -235839,10 +237143,10 @@ webhooks: type: string enum: - unarchived - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -235920,7 +237224,7 @@ webhooks: type: string enum: - create - alert: &774 + alert: &778 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -236045,10 +237349,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -236258,10 +237562,10 @@ webhooks: type: string enum: - dismissed - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -236339,11 +237643,11 @@ webhooks: type: string enum: - reopen - alert: *774 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *778 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -236545,10 +237849,10 @@ webhooks: enum: - fixed - open - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -236626,17 +237930,17 @@ webhooks: type: string enum: - assigned - alert: &775 + alert: &779 type: object properties: - number: *171 - created_at: *172 + number: *178 + created_at: *179 updated_at: anyOf: - type: 'null' - - *173 - url: *174 - html_url: *175 + - *180 + url: *181 + html_url: *182 locations_url: type: string format: uri @@ -236766,10 +238070,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -236847,11 +238151,11 @@ webhooks: type: string enum: - created - alert: *775 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *779 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -236932,11 +238236,11 @@ webhooks: type: string enum: - created - alert: *775 - installation: *721 - location: *776 - organization: *722 - repository: *723 + alert: *779 + installation: *725 + location: *780 + organization: *726 + repository: *727 sender: *4 required: - location @@ -237174,11 +238478,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *775 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *779 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -237256,11 +238560,11 @@ webhooks: type: string enum: - reopened - alert: *775 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *779 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -237338,11 +238642,11 @@ webhooks: type: string enum: - resolved - alert: *775 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *779 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -237420,12 +238724,12 @@ webhooks: type: string enum: - unassigned - alert: *775 + alert: *779 assignee: *4 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -237503,11 +238807,11 @@ webhooks: type: string enum: - validated - alert: *775 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + alert: *779 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -237637,10 +238941,10 @@ webhooks: - organization - enterprise - - repository: *723 - enterprise: *720 - installation: *721 - organization: *722 + repository: *727 + enterprise: *724 + installation: *725 + organization: *726 sender: *4 required: - action @@ -237718,11 +239022,11 @@ webhooks: type: string enum: - published - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - security_advisory: &777 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + security_advisory: &781 description: The details of the security advisory, including summary, description, and severity. type: object @@ -237926,11 +239230,11 @@ webhooks: type: string enum: - updated - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 - security_advisory: *777 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 + security_advisory: *781 sender: *4 required: - action @@ -238003,10 +239307,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -238200,11 +239504,11 @@ webhooks: from: type: object properties: - security_and_analysis: *287 - enterprise: *720 - installation: *721 - organization: *722 - repository: *334 + security_and_analysis: *294 + enterprise: *724 + installation: *725 + organization: *726 + repository: *341 sender: *4 required: - changes @@ -238282,12 +239586,12 @@ webhooks: type: string enum: - cancelled - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - sponsorship: &778 + sponsorship: &782 type: object properties: created_at: @@ -238592,12 +239896,12 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - sponsorship: *778 + sponsorship: *782 required: - action - sponsorship @@ -238685,12 +239989,12 @@ webhooks: type: string required: - from - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - sponsorship: *778 + sponsorship: *782 required: - action - changes @@ -238767,17 +240071,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &779 + effective_date: &783 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - sponsorship: *778 + sponsorship: *782 required: - action - sponsorship @@ -238851,7 +240155,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &780 + changes: &784 type: object properties: tier: @@ -238895,13 +240199,13 @@ webhooks: - from required: - tier - effective_date: *779 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + effective_date: *783 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - sponsorship: *778 + sponsorship: *782 required: - action - changes @@ -238978,13 +240282,13 @@ webhooks: type: string enum: - tier_changed - changes: *780 - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + changes: *784 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - sponsorship: *778 + sponsorship: *782 required: - action - changes @@ -239058,10 +240362,10 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -239145,10 +240449,10 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -239582,15 +240886,15 @@ webhooks: type: - string - 'null' - enterprise: *720 + enterprise: *724 id: description: The unique identifier of the status. type: integer - installation: *721 + installation: *725 name: type: string - organization: *722 - repository: *723 + organization: *726 + repository: *727 sender: *4 sha: description: The Commit SHA. @@ -239706,17 +241010,16 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action - - parent_issue_id - - parent_issue - - parent_issue_repo - sub_issue_id - sub_issue + - repository + - sender responses: '200': description: Return a 200 status to indicate that the data was received @@ -239798,17 +241101,16 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action - - parent_issue_id - - parent_issue - - parent_issue_repo - sub_issue_id - sub_issue + - repository + - sender responses: '200': description: Return a 200 status to indicate that the data was received @@ -239890,17 +241192,16 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action - - sub_issue_id - - sub_issue - - sub_issue_repo - parent_issue_id - parent_issue + - repository + - sender responses: '200': description: Return a 200 status to indicate that the data was received @@ -239982,17 +241283,16 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *721 - organization: *722 - repository: *723 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action - - sub_issue_id - - sub_issue - - sub_issue_repo - parent_issue_id - parent_issue + - repository + - sender responses: '200': description: Return a 200 status to indicate that the data was received @@ -240061,12 +241361,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - team: &781 + team: &785 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -240296,9 +241596,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 repository: title: Repository description: A git repository @@ -240768,7 +242068,7 @@ webhooks: - topics - visibility sender: *4 - team: *781 + team: *785 required: - action - team @@ -240844,9 +242144,9 @@ webhooks: type: string enum: - created - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 repository: title: Repository description: A git repository @@ -241316,7 +242616,7 @@ webhooks: - topics - visibility sender: *4 - team: *781 + team: *785 required: - action - team @@ -241393,9 +242693,9 @@ webhooks: type: string enum: - deleted - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 repository: title: Repository description: A git repository @@ -241865,7 +243165,7 @@ webhooks: - topics - visibility sender: *4 - team: *781 + team: *785 required: - action - team @@ -242009,9 +243309,9 @@ webhooks: - from required: - permissions - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 repository: title: Repository description: A git repository @@ -242481,7 +243781,7 @@ webhooks: - topics - visibility sender: *4 - team: *781 + team: *785 required: - action - changes @@ -242559,9 +243859,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *720 - installation: *721 - organization: *722 + enterprise: *724 + installation: *725 + organization: *726 repository: title: Repository description: A git repository @@ -243031,7 +244331,7 @@ webhooks: - topics - visibility sender: *4 - team: *781 + team: *785 required: - action - team @@ -243107,10 +244407,10 @@ webhooks: type: string enum: - started - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 required: - action @@ -243183,17 +244483,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *720 + enterprise: *724 inputs: type: - object - 'null' additionalProperties: true - installation: *721 - organization: *722 + installation: *725 + organization: *726 ref: type: string - repository: *723 + repository: *727 sender: *4 workflow: type: string @@ -243275,10 +244575,10 @@ webhooks: type: string enum: - completed - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 workflow_job: allOf: @@ -243534,7 +244834,7 @@ webhooks: type: string required: - conclusion - deployment: *490 + deployment: *496 required: - action - repository @@ -243613,10 +244913,10 @@ webhooks: type: string enum: - in_progress - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 workflow_job: allOf: @@ -243898,7 +245198,7 @@ webhooks: required: - status - steps - deployment: *490 + deployment: *496 required: - action - repository @@ -243977,10 +245277,10 @@ webhooks: type: string enum: - queued - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 workflow_job: type: object @@ -244126,7 +245426,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *490 + deployment: *496 required: - action - repository @@ -244205,10 +245505,10 @@ webhooks: type: string enum: - waiting - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 workflow_job: type: object @@ -244355,7 +245655,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *490 + deployment: *496 required: - action - repository @@ -244435,12 +245735,12 @@ webhooks: type: string enum: - completed - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - workflow: *735 + workflow: *739 workflow_run: title: Workflow Run type: object @@ -245459,12 +246759,12 @@ webhooks: type: string enum: - in_progress - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - workflow: *735 + workflow: *739 workflow_run: title: Workflow Run type: object @@ -246468,12 +247768,12 @@ webhooks: type: string enum: - requested - enterprise: *720 - installation: *721 - organization: *722 - repository: *723 + enterprise: *724 + installation: *725 + organization: *726 + repository: *727 sender: *4 - workflow: *735 + workflow: *739 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 0228f98a4..c76658e14 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -223,6 +223,10 @@ { "name": "agent-tasks", "description": "Endpoints to manage and interact with agent tasks." + }, + { + "name": "agents", + "description": "Endpoints for Agents secrets and variables." } ], "servers": [ @@ -49112,6 +49116,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -50877,7 +50892,7 @@ "/enterprises/{enterprise}/copilot/custom-agents/source": { "get": { "summary": "Get the source organization for custom agents in an enterprise", - "description": "Gets the organization and repository configured as the source for custom agent definitions in an enterprise.\n\nCustom agents are enterprise-defined AI agents stored as markdown files in a special repository.\nAn enterprise admin configures one organization as the \"source\" and that org must have a repo named\n`.github-private` containing agent definitions in `/agents/*.md`.\n\nEnterprise owners with read access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.\n", + "description": "Gets the organization and repository configured as the source for custom agent definitions and Copilot CLI client settings in an enterprise.\n\nCustom agents are enterprise-defined AI agents stored as markdown files in a special repository.\nAn enterprise admin configures one organization as the \"source\" for custom agents and\nCopilot CLI client settings, and that org must have a repo named `.github-private` containing agent\ndefinitions in `/agents/*.md`, or enterprise-managed AI standards in `.github/copilot/settings.json`. [Learn more about configuring enterprise-managed AI standards for Copilot clients](https://docs.github.com/enterprise-cloud@latest/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/configure-enterprise-plugin-standards).\n\nEnterprise owners with read access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.\n", "tags": [ "copilot" ], @@ -51036,7 +51051,7 @@ }, "put": { "summary": "Set the source organization for custom agents in an enterprise", - "description": "Sets an organization as the source for custom agent definitions in the enterprise.\nThe organization must have a `.github-private` repository containing agent definitions.\n\nBy default, this endpoint also creates an enterprise-level ruleset to protect\nagent definition files (agents/*.md and .github/agents/*.md). You can opt out\nof ruleset creation by setting `create_ruleset` to `false`.\n\nEnterprise owners with write access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "description": "Sets an organization as the source for custom agent definitions and Copilot CLI client settings in the enterprise.\nThe organization must have a `.github-private` repository containing agent definitions.\n\nBy default, this endpoint also creates an enterprise-level ruleset to protect\nagent definition files (agents/*.md and .github/agents/*.md). You can opt out\nof ruleset creation by setting `create_ruleset` to `false`.\n\nEnterprise owners with write access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ "copilot" ], @@ -51347,7 +51362,7 @@ }, "delete": { "summary": "Delete the custom agents source for an enterprise", - "description": "Removes the custom agents source configuration for the enterprise.\nThis effectively disables custom agents for the enterprise by removing\nthe reference to the source organization's `.github-private` repository.\n\nNote: This does not delete the `.github-private` repository or any agent\ndefinition files. It only removes the association between the enterprise\nand the source repository.\n\nEnterprise owners with write access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "description": "Removes the custom agents source configuration for the enterprise.\nThis effectively disables custom agents and Copilot CLI client settings\nfor the enterprise by removing the reference to the source organization's `.github-private` repository.\n\nNote: This does not delete the `.github-private` repository or any agent\ndefinition files. It only removes the association between the enterprise\nand the source repository.\n\nEnterprise owners with write access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ "copilot" ], @@ -58523,6 +58538,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -58939,6 +58965,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -61005,6 +61042,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -83886,6 +83934,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -84029,6 +84088,14 @@ "null" ], "description": "The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/enterprise-cloud@latest/rest/scim#list-provisioned-scim-groups-for-an-enterprise)." + }, + "notification_setting": { + "type": "string", + "description": "The notification setting the team is set to. The options are:\n\n* `notifications_enabled` - team members receive notifications when the team is @mentioned.\n* `notifications_disabled` - no one receives notifications.\n\nDefault: `notifications_enabled`\n", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -84123,6 +84190,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -86549,249 +86627,279 @@ "updated_at": { "type": "string", "format": "date-time" - } - }, - "required": [ - "id", - "url", - "members_url", - "name", - "html_url", - "slug", - "created_at", - "updated_at", - "group_id" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "name": "Justice League", - "description": "A great team.", - "slug": "justice-league", - "url": "https://api.github.com/enterprises/dc/teams/justice-league", - "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", - "html_url": "https://github.com/enterprises/dc/teams/justice-league", - "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", - "created_at": "2019-01-26T19:01:12Z", - "updated_at": "2019-01-26T19:14:43Z" - } - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "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" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "enterprise-teams", - "subcategory": "enterprise-teams" - } - }, - "patch": { - "summary": "Update an enterprise team", - "description": "To edit a team, the authenticated user must be an enterprise owner.", - "tags": [ - "enterprise-teams" - ], - "operationId": "enterprise-teams/update", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ], - "description": "A new name for the team." - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "A new description for the team." - }, - "sync_to_organizations": { - "type": "string", - "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be changed.\n", - "enum": [ - "all", - "disabled" - ], - "default": "disabled" - }, - "organization_selection_type": { - "type": "string", - "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", - "enum": [ - "disabled", - "selected", - "all" - ], - "default": "disabled" - }, - "group_id": { - "type": [ - "string", - "null" - ], - "description": "The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group." - } - } - }, - "examples": { - "default": { - "value": { - "name": "Justice League", - "description": "A great team.", - "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Enterprise Team", - "description": "Group of enterprise owners and/or members", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" }, - "slug": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "sync_to_organizations": { - "type": "string", - "description": "Retired: this field will not be returned with GHEC enterprise teams.", - "examples": [ - "disabled | all" - ] - }, - "organization_selection_type": { + "notification_setting": { "type": "string", - "examples": [ - "disabled | selected | all" - ] - }, - "group_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "62ab9291-fae2-468e-974b-7e45096d5021" - ] - }, - "group_name": { - "type": [ - "string", - "null" + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" ], - "description": "Retired: this field will not be returned with GHEC enterprise teams.", - "examples": [ - "Justice League" - ] - }, - "html_url": { - "type": "string", - "format": "uri", "examples": [ - "https://github.com/enterprises/dc/teams/justice-league" + "notifications_enabled" + ] + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "patch": { + "summary": "Update an enterprise team", + "description": "To edit a team, the authenticated user must be an enterprise owner.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/update", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ], + "description": "A new name for the team." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "A new description for the team." + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be changed.\n", + "enum": [ + "all", + "disabled" + ], + "default": "disabled" + }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, + "group_id": { + "type": [ + "string", + "null" + ], + "description": "The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group." + }, + "notification_setting": { + "type": "string", + "description": "The notification setting the team is set to. The options are:\n\n* `notifications_enabled` - team members receive notifications when the team is @mentioned.\n* `notifications_disabled` - no one receives notifications.\n", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] + } + } + }, + "examples": { + "default": { + "value": { + "name": "Justice League", + "description": "A great team.", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" ] - }, - "members_url": { - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" } }, "required": [ @@ -160768,6 +160876,3632 @@ } } }, + "/orgs/{org}/agents/secrets": { + "get": { + "summary": "List organization secrets", + "description": "Lists all secrets available in an organization without revealing their\nencrypted values.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-org-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-organization-secrets" + }, + "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", + "secrets" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "secrets": { + "type": "array", + "items": { + "title": "Actions Secret for an Organization", + "description": "Secrets for GitHub Actions for an organization.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "visibility": { + "description": "Visibility of a secret", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/org/secrets/my_secret/repositories" + ] + } + }, + "required": [ + "name", + "created_at", + "updated_at", + "visibility" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 3, + "secrets": [ + { + "name": "GIST_ID", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "private" + }, + { + "name": "DEPLOY_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "all" + }, + { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/public-key": { + "get": { + "summary": "Get an organization public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-public-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-public-key" + }, + "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": { + "title": "ActionsPublicKey", + "description": "The public key used for setting Actions Secrets.", + "type": "object", + "properties": { + "key_id": { + "description": "The identifier for the key.", + "type": "string", + "examples": [ + "1234567" + ] + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "examples": [ + "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=" + ] + }, + "id": { + "type": "integer", + "examples": [ + 2 + ] + }, + "url": { + "type": "string", + "examples": [ + "https://api.github.com/user/keys/2" + ] + }, + "title": { + "type": "string", + "examples": [ + "ssh-rsa AAAAB3NzaC1yc2EAAA" + ] + }, + "created_at": { + "type": "string", + "examples": [ + "2011-01-26T19:01:12Z" + ] + } + }, + "required": [ + "key_id", + "key" + ] + }, + "examples": { + "default": { + "value": { + "key_id": "012345678912345678", + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}": { + "get": { + "summary": "Get an organization secret", + "description": "Gets a single organization secret without revealing its encrypted value.\n\nThe authenticated user must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Actions Secret for an Organization", + "description": "Secrets for GitHub Actions for an organization.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "visibility": { + "description": "Visibility of a secret", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/org/secrets/my_secret/repositories" + ] + } + }, + "required": [ + "name", + "created_at", + "updated_at", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "put": { + "summary": "Create or update an organization secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-or-update-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "encrypted_value": { + "type": "string", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "type": "string", + "description": "ID of the key you used to encrypt the secret." + }, + "visibility": { + "type": "string", + "description": "Which type of organization repositories have access to the organization secret. `selected` means only the repositories specified by `selected_repository_ids` can access the secret.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "encrypted_value", + "key_id", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response when creating a secret", + "content": { + "application/json": { + "schema": { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "examples": { + "default": { + "value": null + } + } + } + } + }, + "204": { + "description": "Response when updating a secret" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "delete": { + "summary": "Delete an organization secret", + "description": "Deletes a secret in an organization using the secret name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}/repositories": { + "get": { + "summary": "List selected repositories for an organization secret", + "description": "Lists all repositories that have been selected when the `visibility`\nfor repository access to a secret is set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-selected-repos-for-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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 + } + }, + { + "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 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "title": "Minimal Repository", + "description": "Minimal Repository", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": [ + "string", + "null" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": [ + "string", + "null" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "has_pull_requests": { + "type": "boolean" + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "examples": [ + "admin" + ] + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "contributor_covenant" + ] + }, + "name": { + "type": "string", + "examples": [ + "Contributor Covenant" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/codes_of_conduct/contributor_covenant" + ] + }, + "body": { + "type": "string", + "examples": [ + "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + ] + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": [ + "object", + "null" + ], + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": [ + "string", + "null" + ] + }, + "node_id": { + "type": "string" + } + } + }, + "forks": { + "type": "integer", + "examples": [ + 0 + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 0 + ] + }, + "watchers": { + "type": "integer", + "examples": [ + 0 + ] + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "examples": [ + false + ] + }, + "security_and_analysis": { + "type": [ + "object", + "null" + ], + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_validity_checks": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_alert_dismissal": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass_options": { + "type": "object", + "properties": { + "reviewers": { + "type": "array", + "description": "The bypass reviewers for secret scanning delegated bypass", + "items": { + "type": "object", + "required": [ + "reviewer_id", + "reviewer_type" + ], + "properties": { + "reviewer_id": { + "type": "integer", + "description": "The ID of the team or role selected as a bypass reviewer" + }, + "reviewer_type": { + "type": "string", + "description": "The type of the bypass reviewer", + "enum": [ + "TEAM", + "ROLE" + ] + }, + "mode": { + "type": "string", + "description": "The bypass mode for the reviewer", + "enum": [ + "ALWAYS", + "EXEMPT" + ], + "default": "ALWAYS" + } + } + } + } + } + } + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + } + }, + "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" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "repositories": [ + { + "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}", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "put": { + "summary": "Set selected repositories for an organization secret", + "description": "Replaces all repositories for an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/set-selected-repos-for-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}": { + "put": { + "summary": "Add selected repository to an organization secret", + "description": "Adds a repository to an organization secret when the `visibility` for\nrepository access is set to `selected`. For more information about setting the visibility, see [Create or\nupdate an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/add-selected-repo-to-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "No Content when repository was added to the selected list" + }, + "409": { + "description": "Conflict when visibility type is not set to selected" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "delete": { + "summary": "Remove selected repository from an organization secret", + "description": "Removes a repository from an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/remove-selected-repo-from-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response when repository was removed from the selected list" + }, + "409": { + "description": "Conflict when visibility type not set to selected" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/variables": { + "get": { + "summary": "List organization variables", + "description": "Lists all agent variables available in an organization.\nReturned variables include their values.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-org-variables", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables" + }, + "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 30). 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": 10 + } + }, + { + "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", + "variables" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "type": "array", + "items": { + "title": "Actions Variable for an Organization", + "description": "Organization variable for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "visibility": { + "description": "Visibility of a variable", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/org/variables/USERNAME/repositories" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at", + "visibility" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 3, + "variables": [ + { + "name": "USERNAME", + "value": "octocat", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "private" + }, + { + "name": "ACTIONS_RUNNER_DEBUG", + "value": true, + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "all" + }, + { + "name": "ADMIN_EMAIL", + "value": "octocat@github.com", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "post": { + "summary": "Create an organization variable", + "description": "Creates an organization agent variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-an-organization-variable" + }, + "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": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + }, + "visibility": { + "type": "string", + "description": "The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "name", + "value", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response when creating a variable", + "content": { + "application/json": { + "schema": { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "examples": { + "default": { + "value": null + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}": { + "get": { + "summary": "Get an organization variable", + "description": "Gets a specific agent variable in an organization.\n\nThe authenticated user must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Actions Variable for an Organization", + "description": "Organization variable for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "visibility": { + "description": "Visibility of a variable", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/org/variables/USERNAME/repositories" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "patch": { + "summary": "Update an organization variable", + "description": "Updates an organization agent variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/update-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + }, + "visibility": { + "type": "string", + "description": "The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Delete an organization variable", + "description": "Deletes an organization agent variable using the variable name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}/repositories": { + "get": { + "summary": "List selected repositories for an organization variable", + "description": "Lists all repositories that can access an organization agent variable\nthat is available to selected repositories.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-selected-repos-for-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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 + } + }, + { + "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 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "title": "Minimal Repository", + "description": "Minimal Repository", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": [ + "string", + "null" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": [ + "string", + "null" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_downloads": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "has_pull_requests": { + "type": "boolean" + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "examples": [ + "admin" + ] + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "contributor_covenant" + ] + }, + "name": { + "type": "string", + "examples": [ + "Contributor Covenant" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/codes_of_conduct/contributor_covenant" + ] + }, + "body": { + "type": "string", + "examples": [ + "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + ] + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": [ + "object", + "null" + ], + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": [ + "string", + "null" + ] + }, + "node_id": { + "type": "string" + } + } + }, + "forks": { + "type": "integer", + "examples": [ + 0 + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 0 + ] + }, + "watchers": { + "type": "integer", + "examples": [ + 0 + ] + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "examples": [ + false + ] + }, + "security_and_analysis": { + "type": [ + "object", + "null" + ], + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_validity_checks": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_alert_dismissal": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass_options": { + "type": "object", + "properties": { + "reviewers": { + "type": "array", + "description": "The bypass reviewers for secret scanning delegated bypass", + "items": { + "type": "object", + "required": [ + "reviewer_id", + "reviewer_type" + ], + "properties": { + "reviewer_id": { + "type": "integer", + "description": "The ID of the team or role selected as a bypass reviewer" + }, + "reviewer_type": { + "type": "string", + "description": "The type of the bypass reviewer", + "enum": [ + "TEAM", + "ROLE" + ] + }, + "mode": { + "type": "string", + "description": "The bypass mode for the reviewer", + "enum": [ + "ALWAYS", + "EXEMPT" + ], + "default": "ALWAYS" + } + } + } + } + } + } + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + } + }, + "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" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "repositories": [ + { + "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}", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" + } + ] + } + } + } + } + } + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "put": { + "summary": "Set selected repositories for an organization variable", + "description": "Replaces all repositories for an organization agent variable that is available\nto selected repositories. Organization variables that are available to selected\nrepositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/set-selected-repos-for-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "The IDs of the repositories that can access the organization variable.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}/repositories/{repository_id}": { + "put": { + "summary": "Add selected repository to an organization variable", + "description": "Adds a repository to an organization agent variable that is available to selected repositories.\nOrganization variables that are available to selected repositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/add-selected-repo-to-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Remove selected repository from an organization variable", + "description": "Removes a repository from an organization agent variable that is\navailable to selected repositories. Organization variables that are available to\nselected repositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/remove-selected-repo-from-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, "/orgs/{org}/announcement": { "get": { "summary": "Get announcement banner for organization", @@ -187510,6 +191244,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -237674,6 +241419,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -363976,106 +367732,1784 @@ } }, { - "name": "workflow_id", + "name": "workflow_id", + "in": "path", + "description": "The ID of the workflow. You can also pass the workflow file name as a string.", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Workflow Usage", + "description": "Workflow Usage", + "type": "object", + "properties": { + "billable": { + "type": "object", + "properties": { + "UBUNTU": { + "type": "object", + "properties": { + "total_ms": { + "type": "integer" + } + } + }, + "MACOS": { + "type": "object", + "properties": { + "total_ms": { + "type": "integer" + } + } + }, + "WINDOWS": { + "type": "object", + "properties": { + "total_ms": { + "type": "integer" + } + } + } + } + } + }, + "required": [ + "billable" + ] + }, + "examples": { + "default": { + "value": { + "billable": { + "UBUNTU": { + "total_ms": 180000 + }, + "MACOS": { + "total_ms": 240000 + }, + "WINDOWS": { + "total_ms": 300000 + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/activity": { + "get": { + "summary": "List repository activities", + "description": "Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users.\n\nFor more information about viewing repository activity,\nsee \"[Viewing activity and data for your repository](https://docs.github.com/enterprise-cloud@latest/repositories/viewing-activity-and-data-for-your-repository).\"", + "tags": [ + "repos" + ], + "operationId": "repos/list-activities", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "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": "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 results before this cursor. 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", + "required": false, + "schema": { + "type": "string" + } + }, + { + "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 results after this cursor. 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", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "ref", + "description": "The Git reference for the activities you want to list.\n\nThe `ref` for a branch can be formatted either as `refs/heads/BRANCH_NAME` or `BRANCH_NAME`, where `BRANCH_NAME` is the name of your branch.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "actor", + "description": "The GitHub username to use to filter by the actor who performed the activity.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "time_period", + "description": "The time period to filter by.\n\nFor example, `day` will filter for activity that occurred in the past 24 hours, and `week` will filter for activity that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "day", + "week", + "month", + "quarter", + "year" + ] + } + }, + { + "name": "activity_type", + "description": "The activity type to filter by.\n\nFor example, you can choose to filter by \"force_push\", to see all force pushes to the repository.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "push", + "force_push", + "branch_creation", + "branch_deletion", + "pr_merge", + "merge_queue_merge" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Activity", + "description": "Activity", + "type": "object", + "properties": { + "id": { + "type": "integer", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "before": { + "type": "string", + "description": "The SHA of the commit before the activity.", + "examples": [ + "6dcb09b5b57875f334f61aebed695e2e4193db5e" + ] + }, + "after": { + "type": "string", + "description": "The SHA of the commit after the activity.", + "examples": [ + "827efc6d56897b048c772eb4087f854f46256132" + ] + }, + "ref": { + "type": "string", + "description": "The full Git reference, formatted as `refs/heads/`.", + "examples": [ + "refs/heads/main" + ] + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The time when the activity occurred.", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "activity_type": { + "type": "string", + "enum": [ + "push", + "force_push", + "branch_deletion", + "branch_creation", + "pr_merge", + "merge_queue_merge" + ], + "description": "The type of the activity that was performed.", + "examples": [ + "force_push" + ] + }, + "actor": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "id", + "node_id", + "before", + "after", + "ref", + "timestamp", + "activity_type", + "actor" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "before": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "after": "827efc6d56897b048c772eb4087f854f46256132", + "ref": "refs/heads/main", + "pushed_at": "2011-01-26T19:06:43Z", + "push_type": "normal", + "pusher": { + "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 + } + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "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": "repos", + "subcategory": "repos" + } + } + }, + "/repos/{owner}/{repo}/agents/organization-secrets": { + "get": { + "summary": "List repository organization secrets", + "description": "Lists all organization secrets shared with a repository without revealing their encrypted\nvalues.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-organization-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-organization-secrets" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "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", + "secrets" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "secrets": { + "type": "array", + "items": { + "title": "Actions Secret", + "description": "Set secrets for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "secrets": [ + { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + }, + { + "name": "GIST_ID", + "created_at": "2020-01-10T10:59:22Z", + "updated_at": "2020-01-11T11:59:22Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/agents/organization-variables": { + "get": { + "summary": "List repository organization variables", + "description": "Lists all organization variables shared with a repository.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-organization-variables", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-organization-variables" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 30). 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": 10 + } + }, + { + "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", + "variables" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "type": "array", + "items": { + "title": "Actions Variable", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "variables": [ + { + "name": "USERNAME", + "value": "octocat", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + }, + { + "name": "EMAIL", + "value": "octocat@github.com", + "created_at": "2020-01-10T10:59:22Z", + "updated_at": "2020-01-11T11:59:22Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/repos/{owner}/{repo}/agents/secrets": { + "get": { + "summary": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted\nvalues.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-secrets" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "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", + "secrets" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "secrets": { + "type": "array", + "items": { + "title": "Actions Secret", + "description": "Set secrets for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "secrets": [ + { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + }, + { + "name": "GIST_ID", + "created_at": "2020-01-10T10:59:22Z", + "updated_at": "2020-01-11T11:59:22Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/agents/secrets/public-key": { + "get": { + "summary": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.\n\nAnyone with read access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-repo-public-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "ActionsPublicKey", + "description": "The public key used for setting Actions Secrets.", + "type": "object", + "properties": { + "key_id": { + "description": "The identifier for the key.", + "type": "string", + "examples": [ + "1234567" + ] + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "examples": [ + "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=" + ] + }, + "id": { + "type": "integer", + "examples": [ + 2 + ] + }, + "url": { + "type": "string", + "examples": [ + "https://api.github.com/user/keys/2" + ] + }, + "title": { + "type": "string", + "examples": [ + "ssh-rsa AAAAB3NzaC1yc2EAAA" + ] + }, + "created_at": { + "type": "string", + "examples": [ + "2011-01-26T19:01:12Z" + ] + } + }, + "required": [ + "key_id", + "key" + ] + }, + "examples": { + "default": { + "value": { + "key_id": "012345678912345678", + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/agents/secrets/{secret_name}": { + "get": { + "summary": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value.\n\nThe authenticated user must have collaborator access to the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-repo-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-secret" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Actions Secret", + "description": "Set secrets for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "created_at", + "updated_at" + ] + }, + "examples": { + "default": { + "value": { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "put": { + "summary": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-or-update-repo-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-a-repository-secret" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "encrypted_value": { + "type": "string", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "type": "string", + "description": "ID of the key you used to encrypt the secret." + } + }, + "required": [ + "encrypted_value", + "key_id" + ] + }, + "examples": { + "default": { + "value": { + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response when creating a secret", + "content": { + "application/json": { + "schema": { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "examples": { + "default": { + "value": null + } + } + } + } + }, + "204": { + "description": "Response when updating a secret" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "delete": { + "summary": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-repo-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-a-repository-secret" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/agents/variables": { + "get": { + "summary": "List repository variables", + "description": "Lists all repository variables.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-variables", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-variables" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 30). 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": 10 + } + }, + { + "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", + "variables" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "type": "array", + "items": { + "title": "Actions Variable", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "variables": [ + { + "name": "USERNAME", + "value": "octocat", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + }, + { + "name": "EMAIL", + "value": "octocat@github.com", + "created_at": "2020-01-10T10:59:22Z", + "updated_at": "2020-01-11T11:59:22Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "post": { + "summary": "Create a repository variable", + "description": "Creates a repository variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-repo-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-a-repository-variable" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + } + }, + "required": [ + "name", + "value" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "examples": { + "default": { + "value": null + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/repos/{owner}/{repo}/agents/variables/{name}": { + "get": { + "summary": "Get a repository variable", + "description": "Gets a specific variable in a repository.\n\nThe authenticated user must have collaborator access to the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-repo-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-a-repository-variable" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Actions Variable", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "created_at": "2021-08-10T14:59:22Z", + "updated_at": "2022-01-10T14:59:22Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "patch": { + "summary": "Update a repository variable", + "description": "Updates a repository variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/update-repo-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-a-repository-variable" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", "in": "path", - "description": "The ID of the workflow. You can also pass the workflow file name as a string.", "required": true, "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] + "type": "string" } } ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Workflow Usage", - "description": "Workflow Usage", - "type": "object", - "properties": { - "billable": { - "type": "object", - "properties": { - "UBUNTU": { - "type": "object", - "properties": { - "total_ms": { - "type": "integer" - } - } - }, - "MACOS": { - "type": "object", - "properties": { - "total_ms": { - "type": "integer" - } - } - }, - "WINDOWS": { - "type": "object", - "properties": { - "total_ms": { - "type": "integer" - } - } - } - } - } + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." }, - "required": [ - "billable" - ] - }, - "examples": { - "default": { - "value": { - "billable": { - "UBUNTU": { - "total_ms": 180000 - }, - "MACOS": { - "total_ms": 240000 - }, - "WINDOWS": { - "total_ms": 300000 - } - } - } + "value": { + "type": "string", + "description": "The value of the variable." + } + } + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat" } } } } } }, + "responses": { + "204": { + "description": "Response" + } + }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "actions", - "subcategory": "workflows" + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" } - } - }, - "/repos/{owner}/{repo}/activity": { - "get": { - "summary": "List repository activities", - "description": "Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users.\n\nFor more information about viewing repository activity,\nsee \"[Viewing activity and data for your repository](https://docs.github.com/enterprise-cloud@latest/repositories/viewing-activity-and-data-for-your-repository).\"", + }, + "delete": { + "summary": "Delete a repository variable", + "description": "Deletes a repository variable using the variable name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "repos" + "agents" ], - "operationId": "repos/list-activities", + "operationId": "agents/delete-repo-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-a-repository-variable" }, "parameters": [ { @@ -364097,436 +369531,25 @@ } }, { - "name": "direction", - "description": "The direction to sort the results by.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ], - "default": "desc" - } - }, - { - "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": "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 results before this cursor. 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", - "required": false, - "schema": { - "type": "string" - } - }, - { - "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 results after this cursor. 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", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "ref", - "description": "The Git reference for the activities you want to list.\n\nThe `ref` for a branch can be formatted either as `refs/heads/BRANCH_NAME` or `BRANCH_NAME`, where `BRANCH_NAME` is the name of your branch.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "actor", - "description": "The GitHub username to use to filter by the actor who performed the activity.", - "in": "query", - "required": false, + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, "schema": { "type": "string" } - }, - { - "name": "time_period", - "description": "The time period to filter by.\n\nFor example, `day` will filter for activity that occurred in the past 24 hours, and `week` will filter for activity that occurred in the past 7 days (168 hours).", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "day", - "week", - "month", - "quarter", - "year" - ] - } - }, - { - "name": "activity_type", - "description": "The activity type to filter by.\n\nFor example, you can choose to filter by \"force_push\", to see all force pushes to the repository.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "push", - "force_push", - "branch_creation", - "branch_deletion", - "pr_merge", - "merge_queue_merge" - ] - } } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Activity", - "description": "Activity", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1296269 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "before": { - "type": "string", - "description": "The SHA of the commit before the activity.", - "examples": [ - "6dcb09b5b57875f334f61aebed695e2e4193db5e" - ] - }, - "after": { - "type": "string", - "description": "The SHA of the commit after the activity.", - "examples": [ - "827efc6d56897b048c772eb4087f854f46256132" - ] - }, - "ref": { - "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`.", - "examples": [ - "refs/heads/main" - ] - }, - "timestamp": { - "type": "string", - "format": "date-time", - "description": "The time when the activity occurred.", - "examples": [ - "2011-01-26T19:06:43Z" - ] - }, - "activity_type": { - "type": "string", - "enum": [ - "push", - "force_push", - "branch_deletion", - "branch_creation", - "pr_merge", - "merge_queue_merge" - ], - "description": "The type of the activity that was performed.", - "examples": [ - "force_push" - ] - }, - "actor": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } - }, - "required": [ - "id", - "node_id", - "before", - "after", - "ref", - "timestamp", - "activity_type", - "actor" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "before": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "after": "827efc6d56897b048c772eb4087f854f46256132", - "ref": "refs/heads/main", - "pushed_at": "2011-01-26T19:06:43Z", - "push_type": "normal", - "pusher": { - "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 - } - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "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" - } - } - } - } - } - } + "204": { + "description": "Response" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "repos" + "category": "agents", + "subcategory": "variables" } } }, @@ -1790885,11 +1795908,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] } } @@ -1801490,11 +1806512,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] } } @@ -1812095,11 +1817116,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] } } @@ -1822700,11 +1827720,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] } } diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 5dfa39688..459d17082 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -118,6 +118,8 @@ tags: description: Endpoints to manage Projects using the REST API. - name: agent-tasks description: Endpoints to manage and interact with agent tasks. +- name: agents + description: Endpoints for Agents secrets and variables. servers: - url: https://api.github.com externalDocs: @@ -920,7 +922,7 @@ paths: - subscriptions_url - type - url - type: &450 + type: &457 type: string description: The type of credit the user is receiving. enum: @@ -1086,7 +1088,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &756 + - &760 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4195,7 +4197,7 @@ paths: schema: type: integer default: 30 - - &353 + - &360 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -4204,7 +4206,7 @@ paths: required: false schema: type: string - - &354 + - &361 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4224,7 +4226,7 @@ paths: application/json: schema: type: array - items: &355 + items: &362 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4320,7 +4322,7 @@ paths: - installation_id - repository_id examples: - default: &356 + default: &363 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4352,7 +4354,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &765 + schema: &769 title: Scim Error description: Scim Error type: object @@ -4455,7 +4457,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &364 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4590,7 +4592,7 @@ paths: - request - response examples: - default: &358 + default: &365 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -11992,7 +11994,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &766 + '401': &770 description: Authorization failure '404': *6 x-github: @@ -14179,7 +14181,7 @@ paths: required: true content: application/json: - schema: &293 + schema: &300 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -14830,7 +14832,7 @@ paths: required: false schema: type: string - - &296 + - &303 name: include description: |- The event types to include: @@ -14848,7 +14850,7 @@ paths: - web - git - all - - &297 + - &304 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. @@ -14856,7 +14858,7 @@ paths: required: false schema: type: string - - &298 + - &305 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. @@ -14864,7 +14866,7 @@ paths: required: false schema: type: string - - &299 + - &306 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -14886,7 +14888,7 @@ paths: application/json: schema: type: array - items: &300 + items: &307 type: object properties: "@timestamp": @@ -15008,7 +15010,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &301 + default: &308 value: - "@timestamp": 1606929874512 action: team.add_member @@ -15676,7 +15678,7 @@ paths: application/json: schema: type: array - items: &302 + items: &309 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -15848,7 +15850,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &303 + default: &310 value: - id: 21 number: 42 @@ -15953,7 +15955,7 @@ paths: application/json: schema: type: array - items: &305 + items: &312 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -16084,7 +16086,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &306 + default: &313 value: - id: 21 number: 42 @@ -16169,7 +16171,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &311 + - &318 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`, @@ -16179,7 +16181,7 @@ paths: schema: &111 type: string description: The name of the tool used to generate the code scanning analysis. - - &312 + - &319 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 @@ -16203,7 +16205,7 @@ paths: be returned. in: query required: false - schema: &313 + schema: &320 type: string description: State of a code scanning alert. enum: @@ -16236,7 +16238,7 @@ paths: application/json: schema: type: array - items: &314 + items: &321 type: object properties: number: &127 @@ -16265,7 +16267,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &539 + instances_url: &545 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -16301,7 +16303,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &540 + dismissed_reason: &546 type: - string - 'null' @@ -16312,14 +16314,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &541 + dismissed_comment: &547 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &542 + rule: &548 type: object properties: id: @@ -16380,7 +16382,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &543 + tool: &549 type: object properties: name: *111 @@ -16391,26 +16393,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *112 - most_recent_instance: &544 + most_recent_instance: &550 type: object properties: - ref: &537 + ref: &543 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &554 + analysis_key: &560 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &555 + environment: &561 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &556 + category: &562 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -16430,7 +16432,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &557 + location: &563 type: object description: Describe a region within a file for the alert. properties: @@ -16451,7 +16453,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &558 + items: &564 type: - string - 'null' @@ -16807,7 +16809,7 @@ paths: - most_recent_instance - repository examples: - default: &315 + default: &322 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -17702,7 +17704,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &324 type: array description: A list of default code security configurations items: @@ -17718,7 +17720,7 @@ paths: default configuration: *114 examples: - default: &318 + default: &325 value: - default_for_new_repos: public configuration: @@ -18176,7 +18178,7 @@ paths: default: value: default_for_new_repos: all - configuration: &316 + configuration: &323 value: id: 1325 target_type: organization @@ -18266,7 +18268,7 @@ paths: application/json: schema: type: array - items: &319 + items: &326 type: object description: Repositories associated with a code security configuration and attachment status @@ -18290,7 +18292,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &320 + repository: &327 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -18791,7 +18793,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &307 + - &314 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -18868,7 +18870,7 @@ paths: parent: anyOf: - type: 'null' - - &393 + - &400 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -19040,6 +19042,15 @@ paths: updated_at: type: string format: date-time + notification_setting: + type: string + description: Whether team members will receive notifications + when the team is mentioned. + enum: + - notifications_enabled + - notifications_disabled + examples: + - notifications_enabled required: - id - url @@ -19646,7 +19657,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': &327 + '413': &334 description: Payload Too Large content: application/json: @@ -19746,11 +19757,12 @@ paths: get: summary: Get the source organization for custom agents in an enterprise description: | - Gets the organization and repository configured as the source for custom agent definitions in an enterprise. + Gets the organization and repository configured as the source for custom agent definitions and Copilot CLI client settings in an enterprise. Custom agents are enterprise-defined AI agents stored as markdown files in a special repository. - An enterprise admin configures one organization as the "source" and that org must have a repo named - `.github-private` containing agent definitions in `/agents/*.md`. + An enterprise admin configures one organization as the "source" for custom agents and + Copilot CLI client settings, and that org must have a repo named `.github-private` containing agent + definitions in `/agents/*.md`, or enterprise-managed AI standards in `.github/copilot/settings.json`. [Learn more about configuring enterprise-managed AI standards for Copilot clients](https://docs.github.com/enterprise-cloud@latest/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/configure-enterprise-plugin-standards). Enterprise owners with read access to AI Controls can use this endpoint. @@ -19826,7 +19838,7 @@ paths: put: summary: Set the source organization for custom agents in an enterprise description: |- - Sets an organization as the source for custom agent definitions in the enterprise. + Sets an organization as the source for custom agent definitions and Copilot CLI client settings in the enterprise. The organization must have a `.github-private` repository containing agent definitions. By default, this endpoint also creates an enterprise-level ruleset to protect @@ -19981,8 +19993,8 @@ paths: summary: Delete the custom agents source for an enterprise description: |- Removes the custom agents source configuration for the enterprise. - This effectively disables custom agents for the enterprise by removing - the reference to the source organization's `.github-private` repository. + This effectively disables custom agents and Copilot CLI client settings + for the enterprise by removing the reference to the source organization's `.github-private` repository. Note: This does not delete the `.github-private` repository or any agent definition files. It only removes the association between the enterprise @@ -21025,7 +21037,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &332 + - &339 name: classification in: query description: |- @@ -21034,7 +21046,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &333 + - &340 name: state in: query description: |- @@ -21043,7 +21055,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &334 + - &341 name: severity in: query description: |- @@ -21052,7 +21064,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &335 + - &342 name: ecosystem in: query description: |- @@ -21061,14 +21073,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &336 + - &343 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 - - &337 + - &344 name: epss_percentage in: query description: |- @@ -21080,7 +21092,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &597 + - &603 name: has in: query description: |- @@ -21094,7 +21106,7 @@ paths: type: string enum: - patch - - &338 + - &345 name: assignee in: query description: |- @@ -21103,7 +21115,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &339 + - &346 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -21113,7 +21125,7 @@ paths: enum: - development - runtime - - &340 + - &347 name: sort in: query description: |- @@ -21139,7 +21151,7 @@ paths: application/json: schema: type: array - items: &341 + items: &348 type: object description: A Dependabot alert. properties: @@ -21207,7 +21219,7 @@ paths: - transitive - inconclusive - - security_advisory: &598 + security_advisory: &604 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -21450,7 +21462,7 @@ paths: dismissal. maxLength: 280 fixed_at: *137 - auto_dismissed_at: &599 + auto_dismissed_at: &605 type: - string - 'null' @@ -21458,7 +21470,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &600 + dismissal_request: &606 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -21521,7 +21533,7 @@ paths: - repository additionalProperties: false examples: - default: &342 + default: &349 value: - number: 2 state: dismissed @@ -21906,7 +21918,7 @@ paths: description: Response content: application/json: - schema: &343 + schema: &350 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -21932,7 +21944,7 @@ paths: - *120 additionalProperties: false examples: - default: &344 + default: &351 value: default_level: public accessible_repositories: @@ -22155,7 +22167,7 @@ paths: - *103 - *104 - *105 - - &346 + - &353 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -22181,7 +22193,7 @@ paths: application/json: schema: type: array - items: &348 + items: &355 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -22308,7 +22320,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &349 + default: &356 value: - id: 21 number: 42 @@ -23003,7 +23015,7 @@ paths: application/json: schema: *20 examples: - default: &370 + default: &377 value: id: 1 account: @@ -23264,7 +23276,7 @@ paths: - name - created_on examples: - default: &454 + default: &461 value: total_count: 2 network_configurations: @@ -23515,7 +23527,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *39 - - &455 + - &462 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -23527,7 +23539,7 @@ paths: description: Response content: application/json: - schema: &456 + schema: &463 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -23566,7 +23578,7 @@ paths: - subnet_id - region examples: - default: &457 + default: &464 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -24419,7 +24431,7 @@ paths: required: true content: application/json: - schema: &424 + schema: &431 title: Custom Property Set Payload description: Custom property set payload type: object @@ -25622,7 +25634,7 @@ paths: conditions: anyOf: - *158 - - &428 + - &435 title: Organization ruleset conditions type: object description: |- @@ -25672,7 +25684,7 @@ paths: - object rules: type: array - items: &722 + items: &726 title: Repository Rule type: object description: A repository rule. @@ -25681,7 +25693,7 @@ paths: - *167 - *168 - *169 - - &720 + - &724 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -26009,7 +26021,7 @@ paths: type: string format: date-time examples: - default: &431 + default: &438 value: - version_id: 3 actor: @@ -26062,7 +26074,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &439 allOf: - *191 - type: object @@ -26117,7 +26129,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &433 + - &440 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -26128,7 +26140,7 @@ paths: enum: - open - resolved - - &434 + - &441 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -26138,7 +26150,7 @@ paths: required: false schema: type: string - - &435 + - &442 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -26149,7 +26161,7 @@ paths: required: false schema: type: string - - &436 + - &443 name: exclude_providers in: query description: |- @@ -26160,7 +26172,7 @@ paths: required: false schema: type: string - - &437 + - &444 name: providers in: query description: |- @@ -26171,7 +26183,7 @@ paths: required: false schema: type: string - - &438 + - &445 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -26180,7 +26192,7 @@ paths: required: false schema: type: string - - &439 + - &446 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -26199,7 +26211,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &440 + - &447 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -26215,7 +26227,7 @@ paths: - *17 - *108 - *109 - - &441 + - &448 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -26224,7 +26236,7 @@ paths: required: false schema: type: string - - &442 + - &449 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -26233,7 +26245,7 @@ paths: schema: type: boolean default: false - - &443 + - &450 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -26242,7 +26254,7 @@ paths: schema: type: boolean default: false - - &444 + - &451 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -26251,7 +26263,7 @@ paths: schema: type: boolean default: false - - &445 + - &452 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -26269,7 +26281,7 @@ paths: application/json: schema: type: array - items: &446 + items: &453 type: object properties: number: *127 @@ -26285,14 +26297,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &734 + state: &738 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &735 + resolution: &739 type: - string - 'null' @@ -26411,14 +26423,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &736 + - &740 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &738 + - &742 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -26482,7 +26494,7 @@ paths: - blob_url - commit_sha - commit_url - - &739 + - &743 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -26543,7 +26555,7 @@ paths: - page_url - commit_sha - commit_url - - &740 + - &744 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -26565,7 +26577,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &741 + - &745 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -26587,7 +26599,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &742 + - &746 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -26609,7 +26621,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &743 + - &747 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -26624,7 +26636,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &744 + - &748 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -26639,7 +26651,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &745 + - &749 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -26654,7 +26666,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &746 + - &750 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -26676,7 +26688,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &747 + - &751 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -26698,7 +26710,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &748 + - &752 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -26720,7 +26732,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &749 + - &753 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -26742,7 +26754,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &750 + - &754 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -26788,7 +26800,7 @@ paths: - type: 'null' - *4 examples: - default: &447 + default: &454 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -26997,7 +27009,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &455 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -27084,7 +27096,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *193 examples: - default: &449 + default: &456 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -27220,7 +27232,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &451 + - &458 name: advanced_security_product in: query description: | @@ -27240,7 +27252,7 @@ paths: description: Success content: application/json: - schema: &452 + schema: &459 type: object properties: total_advanced_security_committers: @@ -27303,7 +27315,7 @@ paths: required: - repositories examples: - default: &453 + default: &460 value: total_advanced_security_committers: 2 total_count: 2 @@ -29629,6 +29641,18 @@ paths: - 'null' description: The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/enterprise-cloud@latest/rest/scim#list-provisioned-scim-groups-for-an-enterprise). + notification_setting: + type: string + description: | + The notification setting the team is set to. The options are: + + * `notifications_enabled` - team members receive notifications when the team is @mentioned. + * `notifications_disabled` - no one receives notifications. + + Default: `notifications_enabled` + enum: + - notifications_enabled + - notifications_disabled required: - name examples: @@ -30229,6 +30253,16 @@ paths: description: The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group. + notification_setting: + type: string + description: | + The notification setting the team is set to. The options are: + + * `notifications_enabled` - team members receive notifications when the team is @mentioned. + * `notifications_disabled` - no one receives notifications. + enum: + - notifications_enabled + - notifications_disabled examples: default: value: @@ -30463,7 +30497,7 @@ paths: properties: action: type: string - discussion: &871 + discussion: &875 title: Discussion description: A Discussion in a repository. type: object @@ -30964,7 +30998,7 @@ paths: milestone: anyOf: - type: 'null' - - &414 + - &421 title: Milestone description: A collection of related issues and pull requests. @@ -31136,7 +31170,7 @@ paths: timeline_url: type: string format: uri - type: &380 + type: &387 title: Issue Type description: The type of issue. type: @@ -31247,7 +31281,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &793 + sub_issues_summary: &797 title: Sub-issues Summary type: object properties: @@ -31331,7 +31365,7 @@ paths: pin: anyOf: - type: 'null' - - &679 + - &683 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -31358,7 +31392,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &794 + issue_dependencies_summary: &798 title: Issue Dependencies Summary type: object properties: @@ -31377,7 +31411,7 @@ paths: - total_blocking issue_field_values: type: array - items: &663 + items: &667 title: Issue Field Value description: A value assigned to an issue field type: object @@ -32158,7 +32192,7 @@ paths: type: string release: allOf: - - &713 + - &717 title: Release description: A release. type: object @@ -32240,7 +32274,7 @@ paths: author: *4 assets: type: array - items: &714 + items: &718 title: Release Asset description: Data related to a release. type: object @@ -32831,7 +32865,7 @@ paths: url: type: string format: uri - user: &800 + user: &804 title: Public User description: Public User type: object @@ -34721,7 +34755,7 @@ paths: - closed - all default: open - - &383 + - &390 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -34772,7 +34806,7 @@ paths: type: array items: *219 examples: - default: &384 + default: &391 value: - id: 1 node_id: MDU6SXNzdWUx @@ -36184,14 +36218,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &466 + - &473 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &467 + - &474 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -36253,7 +36287,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &472 + '301': &479 description: Moved permanently content: application/json: @@ -36275,7 +36309,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &687 + - &691 name: all description: If `true`, show notifications marked as read. in: query @@ -36283,7 +36317,7 @@ paths: schema: type: boolean default: false - - &688 + - &692 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -36293,7 +36327,7 @@ paths: type: boolean default: false - *224 - - &689 + - &693 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -36675,7 +36709,7 @@ paths: type: boolean examples: - false - security_and_analysis: &425 + security_and_analysis: &432 type: - object - 'null' @@ -36894,7 +36928,7 @@ paths: - url - subscription_url examples: - default: &690 + default: &694 value: - id: '1' repository: @@ -37499,7 +37533,7 @@ paths: - 3 custom_roles: type: array - items: &328 + items: &335 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -37548,7 +37582,7 @@ paths: - created_at - updated_at examples: - default: &329 + default: &336 value: id: 8030 name: Security Engineer @@ -37757,7 +37791,7 @@ paths: type: array items: *152 examples: - default: &696 + default: &700 value: - property_name: environment value: production @@ -37807,7 +37841,7 @@ paths: required: - properties examples: - default: &697 + default: &701 value: properties: - property_name: environment @@ -38698,7 +38732,7 @@ paths: type: integer repository_cache_usages: type: array - items: &479 + items: &486 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -40971,7 +41005,7 @@ paths: type: array items: *278 examples: - default: &326 + default: &333 value: total_count: 1 repositories: @@ -41968,7 +42002,7 @@ paths: - updated_at - visibility examples: - default: + default: &293 value: total_count: 3 secrets: @@ -42015,7 +42049,7 @@ paths: description: Response content: application/json: - schema: &499 + schema: &294 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -42050,7 +42084,7 @@ paths: - key_id - key examples: - default: &500 + default: &295 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42090,7 +42124,7 @@ paths: application/json: schema: *287 examples: - default: + default: &296 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -42250,97 +42284,966 @@ paths: type: array items: *278 examples: - default: &292 - value: - total_count: 1 - repositories: - - 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} - hooks_url: http://api.github.com/repos/octocat/Hello-World/hooks + default: &292 + value: + total_count: 1 + repositories: + - 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} + hooks_url: http://api.github.com/repos/octocat/Hello-World/hooks + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: secrets + put: + summary: Set selected repositories for an organization secret + description: |- + Replaces all repositories for an organization secret when the `visibility` + for repository access is set to `selected`. The visibility is set when you [Create + or update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/set-selected-repos-for-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret + parameters: + - *87 + - *288 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + secret. You can only provide a list of repository ids when the + `visibility` is set to `selected`. You can add and remove individual + repositories using the [Add selected repository to an organization + secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret) + and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) + endpoints. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: secrets + "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}": + put: + summary: Add selected repository to an organization secret + description: |- + Adds a repository to an organization secret when the `visibility` for + repository access is set to `selected`. For more information about setting the visibility, see [Create or + update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/add-selected-repo-to-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret + parameters: + - *87 + - *288 + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: No Content when repository was added to the selected list + '409': + description: Conflict when visibility type is not set to selected + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: secrets + delete: + summary: Remove selected repository from an organization secret + description: |- + Removes a repository from an organization secret when the `visibility` + for repository access is set to `selected`. The visibility is set when you [Create + or update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/remove-selected-repo-from-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret + parameters: + - *87 + - *288 + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response when repository was removed from the selected list + '409': + description: Conflict when visibility type not set to selected + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: secrets + "/orgs/{org}/actions/variables": + get: + summary: List organization variables + description: |- + Lists all organization variables. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/list-org-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables + parameters: + - *87 + - &297 + name: per_page + description: The number of results per page (max 30). 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: 10 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: &290 + title: Actions Variable for an Organization + description: Organization variable for GitHub Actions. + type: object + properties: + name: + description: The name of the variable. + type: string + examples: + - USERNAME + value: + description: The value of the variable. + type: string + examples: + - octocat + created_at: + description: The date and time at which the variable was + created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + examples: + - '2019-01-24T22:45:36.000Z' + updated_at: + description: The date and time at which the variable was + last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + examples: + - '2019-01-24T22:45:36.000Z' + visibility: + description: Visibility of a variable + enum: + - all + - private + - selected + type: string + selected_repositories_url: + type: string + format: uri + examples: + - https://api.github.com/organizations/org/variables/USERNAME/repositories + required: + - name + - value + - created_at + - updated_at + - visibility + examples: + default: &298 + value: + total_count: 3 + variables: + - name: USERNAME + value: octocat + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: private + - name: ACTIONS_RUNNER_DEBUG + value: true + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: all + - name: ADMIN_EMAIL + value: octocat@github.com + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: selected + selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories + headers: + Link: *45 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + post: + summary: Create an organization variable + description: |- + Creates an organization variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/create-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-organization-variable + parameters: + - *87 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + visibility: + type: string + description: The type of repositories in the organization that can + access the variable. `selected` means only the repositories specified + by `selected_repository_ids` can access the variable. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + variable. You can only provide a list of repository ids when the + `visibility` is set to `selected`. + items: + type: integer + required: + - name + - value + - visibility + examples: + default: + value: + name: USERNAME + value: octocat + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: Response when creating a variable + content: + application/json: + schema: *289 + examples: + default: + value: + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + "/orgs/{org}/actions/variables/{name}": + get: + summary: Get an organization variable + description: |- + Gets a specific variable in an organization. + + The authenticated user must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/get-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable + parameters: + - *87 + - &291 + name: name + description: The name of the variable. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *290 + examples: + default: &299 + value: + name: USERNAME + value: octocat + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: selected + selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + patch: + summary: Update an organization variable + description: |- + Updates an organization variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/update-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable + parameters: + - *87 + - *291 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + visibility: + type: string + description: The type of repositories in the organization that can + access the variable. `selected` means only the repositories specified + by `selected_repository_ids` can access the variable. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + variable. You can only provide a list of repository ids when the + `visibility` is set to `selected`. + items: + type: integer + examples: + default: + value: + name: USERNAME + value: octocat + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + delete: + summary: Delete an organization variable + description: |- + Deletes an organization variable using the variable name. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable + parameters: + - *87 + - *291 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + "/orgs/{org}/actions/variables/{name}/repositories": + get: + summary: List selected repositories for an organization variable + description: |- + Lists all repositories that can access an organization variable + that is available to selected repositories. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/list-selected-repos-for-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable + parameters: + - *87 + - *291 + - *19 + - *17 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: *278 + examples: + default: *292 + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + put: + summary: Set selected repositories for an organization variable + description: |- + Replaces all repositories for an organization variable that is available + to selected repositories. Organization variables that are available to selected + repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/set-selected-repos-for-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable + parameters: + - *87 + - *291 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: The IDs of the repositories that can access the organization + variable. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + "/orgs/{org}/actions/variables/{name}/repositories/{repository_id}": + put: + summary: Add selected repository to an organization variable + description: |- + Adds a repository to an organization variable that is available to selected repositories. + Organization variables that are available to selected repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/add-selected-repo-to-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable + parameters: + - *87 + - *291 + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + delete: + summary: Remove selected repository from an organization variable + description: |- + Removes a repository from an organization variable that is + available to selected repositories. Organization variables that are available to + selected repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/remove-selected-repo-from-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable + parameters: + - *87 + - *291 + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + "/orgs/{org}/agents/secrets": + get: + summary: List organization secrets + description: |- + Lists all secrets available in an organization without revealing their + encrypted values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/list-org-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-organization-secrets + parameters: + - *87 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: *287 + examples: + default: *293 + headers: + Link: *45 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/public-key": + get: + summary: Get an organization public key + description: |- + Gets your public key, which you need to encrypt secrets. You need to + encrypt a secret before you can create or update secrets. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/get-org-public-key + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-public-key + parameters: + - *87 + responses: + '200': + description: Response + content: + application/json: + schema: *294 + examples: + default: *295 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/{secret_name}": + get: + summary: Get an organization secret + description: |- + Gets a single organization secret without revealing its encrypted value. + + The authenticated user must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret + parameters: + - *87 + - *288 + responses: + '200': + description: Response + content: + application/json: + schema: *287 + examples: + default: *296 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + put: + summary: Create or update an organization secret + description: |- + Creates or updates an organization secret with an encrypted value. Encrypt your secret using + [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/encrypting-secrets-for-the-rest-api)." + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-or-update-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret + parameters: + - *87 + - *288 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + encrypted_value: + type: string + description: Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) + using the public key retrieved from the [Get an organization public + key](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-public-key) + endpoint. + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + type: string + description: ID of the key you used to encrypt the secret. + visibility: + type: string + description: Which type of organization repositories have access + to the organization secret. `selected` means only the repositories + specified by `selected_repository_ids` can access the secret. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + secret. You can only provide a list of repository ids when the + `visibility` is set to `selected`. You can manage the list of + selected repositories using the [List selected repositories for + an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret), + [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret), + and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) + endpoints. + items: + type: integer + required: + - encrypted_value + - key_id + - visibility + examples: + default: + value: + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: Response when creating a secret + content: + application/json: + schema: *289 + examples: + default: + value: + '204': + description: Response when updating a secret + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + delete: + summary: Delete an organization secret + description: |- + Deletes a secret in an organization using the secret name. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret + parameters: + - *87 + - *288 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/{secret_name}/repositories": + get: + summary: List selected repositories for an organization secret + description: |- + Lists all repositories that have been selected when the `visibility` + for repository access to a secret is set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/list-selected-repos-for-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret + parameters: + - *87 + - *288 + - *19 + - *17 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: *278 + examples: + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: secrets put: summary: Set selected repositories for an organization secret description: |- Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create - or update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret). + or update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret). Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/set-selected-repos-for-org-secret + - agents + operationId: agents/set-selected-repos-for-org-secret externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - *288 @@ -42357,8 +43260,8 @@ paths: secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization - secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret) - and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) + secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret) + and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) endpoints. items: type: integer @@ -42375,25 +43278,25 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: secrets - "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}": + "/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}": put: summary: Add selected repository to an organization secret description: |- Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. For more information about setting the visibility, see [Create or - update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret). + update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret). Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/add-selected-repo-to-org-secret + - agents + operationId: agents/add-selected-repo-to-org-secret externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - *288 @@ -42410,24 +43313,24 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: secrets delete: summary: Remove selected repository from an organization secret description: |- Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create - or update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret). + or update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret). Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/remove-selected-repo-from-org-secret + - agents + operationId: agents/remove-selected-repo-from-org-secret externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - *288 @@ -42444,33 +43347,27 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: secrets - "/orgs/{org}/actions/variables": + "/orgs/{org}/agents/variables": get: summary: List organization variables description: |- - Lists all organization variables. + Lists all agent variables available in an organization. + Returned variables include their values. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/list-org-variables + - agents + operationId: agents/list-org-variables externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables parameters: - *87 - - &484 - name: per_page - description: The number of results per page (max 30). 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: 10 + - *297 - *19 responses: '200': @@ -42487,95 +43384,30 @@ paths: type: integer variables: type: array - items: &290 - title: Actions Variable for an Organization - description: Organization variable for GitHub Actions. - type: object - properties: - name: - description: The name of the variable. - type: string - examples: - - USERNAME - value: - description: The value of the variable. - type: string - examples: - - octocat - created_at: - description: The date and time at which the variable was - created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. - type: string - format: date-time - examples: - - '2019-01-24T22:45:36.000Z' - updated_at: - description: The date and time at which the variable was - last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. - type: string - format: date-time - examples: - - '2019-01-24T22:45:36.000Z' - visibility: - description: Visibility of a variable - enum: - - all - - private - - selected - type: string - selected_repositories_url: - type: string - format: uri - examples: - - https://api.github.com/organizations/org/variables/USERNAME/repositories - required: - - name - - value - - created_at - - updated_at - - visibility + items: *290 examples: - default: - value: - total_count: 3 - variables: - - name: USERNAME - value: octocat - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - visibility: private - - name: ACTIONS_RUNNER_DEBUG - value: true - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - visibility: all - - name: ADMIN_EMAIL - value: octocat@github.com - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - visibility: selected - selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories + default: *298 headers: Link: *45 x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables post: summary: Create an organization variable description: |- - Creates an organization variable that you can reference in a GitHub Actions workflow. + Creates an organization agent variable that you can reference in a GitHub Actions workflow. Authenticated users must have collaborator access to a repository to create, update, or read variables. - OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/create-org-variable + - agents + operationId: agents/create-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-organization-variable + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-an-organization-variable parameters: - *87 requestBody: @@ -42632,32 +43464,26 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables - "/orgs/{org}/actions/variables/{name}": + "/orgs/{org}/agents/variables/{name}": get: summary: Get an organization variable description: |- - Gets a specific variable in an organization. + Gets a specific agent variable in an organization. The authenticated user must have collaborator access to a repository to create, update, or read variables. - OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/get-org-variable + - agents + operationId: agents/get-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable parameters: - *87 - - &291 - name: name - description: The name of the variable. - in: path - required: true - schema: - type: string + - *291 responses: '200': description: Response @@ -42665,33 +43491,26 @@ paths: application/json: schema: *290 examples: - default: - value: - name: USERNAME - value: octocat - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - visibility: selected - selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables patch: summary: Update an organization variable description: |- - Updates an organization variable that you can reference in a GitHub Actions workflow. + Updates an organization agent variable that you can reference in a GitHub Actions workflow. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/update-org-variable + - agents + operationId: agents/update-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable parameters: - *87 - *291 @@ -42739,22 +43558,22 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables delete: summary: Delete an organization variable description: |- - Deletes an organization variable using the variable name. + Deletes an organization agent variable using the variable name. Authenticated users must have collaborator access to a repository to create, update, or read variables. - OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/delete-org-variable + - agents + operationId: agents/delete-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable parameters: - *87 - *291 @@ -42764,24 +43583,24 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables - "/orgs/{org}/actions/variables/{name}/repositories": + "/orgs/{org}/agents/variables/{name}/repositories": get: summary: List selected repositories for an organization variable description: |- - Lists all repositories that can access an organization variable + Lists all repositories that can access an organization agent variable that is available to selected repositories. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/list-selected-repos-for-org-variable + - agents + operationId: agents/list-selected-repos-for-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - *87 - *291 @@ -42811,12 +43630,12 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables put: summary: Set selected repositories for an organization variable description: |- - Replaces all repositories for an organization variable that is available + Replaces all repositories for an organization agent variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. @@ -42824,11 +43643,11 @@ paths: OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/set-selected-repos-for-org-variable + - agents + operationId: agents/set-selected-repos-for-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - *87 - *291 @@ -42861,24 +43680,24 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables - "/orgs/{org}/actions/variables/{name}/repositories/{repository_id}": + "/orgs/{org}/agents/variables/{name}/repositories/{repository_id}": put: summary: Add selected repository to an organization variable description: |- - Adds a repository to an organization variable that is available to selected repositories. + Adds a repository to an organization agent variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. - Authenticated users must have collaborator access to a repository to create, update, or read secrets. + Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/add-selected-repo-to-org-variable + - agents + operationId: agents/add-selected-repo-to-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - *87 - *291 @@ -42896,12 +43715,12 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables delete: summary: Remove selected repository from an organization variable description: |- - Removes a repository from an organization variable that is + Removes a repository from an organization agent variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. @@ -42909,11 +43728,11 @@ paths: OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/remove-selected-repo-from-org-variable + - agents + operationId: agents/remove-selected-repo-from-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - *87 - *291 @@ -42931,7 +43750,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables "/orgs/{org}/announcement": get: @@ -42974,7 +43793,7 @@ paths: required: true content: application/json: - schema: *293 + schema: *300 examples: default: *85 parameters: @@ -43161,7 +43980,7 @@ paths: type: integer deployment_records: type: array - items: &294 + items: &301 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -43208,7 +44027,7 @@ paths: required: - total_count examples: - default: &295 + default: &302 value: total_count: 1 deployment_records: @@ -43388,11 +44207,11 @@ paths: type: integer deployment_records: type: array - items: *294 + items: *301 required: - total_count examples: - default: *295 + default: *302 '403': description: Forbidden content: @@ -43640,9 +44459,9 @@ paths: - 3 deployment_records: type: array - items: *294 + items: *301 examples: - default: *295 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43772,12 +44591,12 @@ paths: required: - subject_digests examples: - default: &831 + default: &835 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &832 + withPredicateType: &836 value: subject_digests: - sha256:abc123 @@ -43836,7 +44655,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &833 + default: &837 value: attestations_subject_digests: - sha256:abc: @@ -44187,7 +45006,7 @@ paths: initiator: type: string examples: - default: &513 + default: &519 value: attestations: - bundle: @@ -44313,10 +45132,10 @@ paths: required: false schema: type: string - - *296 - - *297 - - *298 - - *299 + - *303 + - *304 + - *305 + - *306 - *17 responses: '200': @@ -44325,9 +45144,9 @@ paths: application/json: schema: type: array - items: *300 + items: *307 examples: - default: *301 + default: *308 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -44450,7 +45269,7 @@ paths: subcategory: bypass-requests parameters: - *87 - - &304 + - &311 name: repository_name description: The name of the repository to filter on. in: query @@ -44469,9 +45288,9 @@ paths: application/json: schema: type: array - items: *302 + items: *309 examples: - default: *303 + default: *310 '404': *6 '500': *38 "/orgs/{org}/bypass-requests/secret-scanning": @@ -44495,7 +45314,7 @@ paths: subcategory: delegated-bypass parameters: - *87 - - *304 + - *311 - *103 - *104 - *105 @@ -44509,9 +45328,9 @@ paths: application/json: schema: type: array - items: *305 + items: *312 examples: - default: *306 + default: *313 '404': *6 '500': *38 "/orgs/{org}/campaigns": @@ -44538,7 +45357,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &308 + schema: &315 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -44564,7 +45383,7 @@ paths: application/json: schema: type: array - items: &309 + items: &316 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -44595,7 +45414,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *307 + items: *314 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -44614,7 +45433,7 @@ paths: - string - 'null' format: date-time - state: *308 + state: *315 contact_link: description: The contact link of the campaign. type: @@ -44837,9 +45656,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *316 examples: - default: &310 + default: &317 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -44922,9 +45741,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *316 examples: - default: *310 + default: *317 '404': *6 '422': description: Unprocessable Entity @@ -45002,7 +45821,7 @@ paths: - string - 'null' format: uri - state: *308 + state: *315 examples: default: value: @@ -45012,9 +45831,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *316 examples: - default: *310 + default: *317 '400': description: Bad Request content: @@ -45081,8 +45900,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *87 - - *311 - - *312 + - *318 + - *319 - *108 - *109 - *19 @@ -45093,7 +45912,7 @@ paths: be returned. in: query required: false - schema: *313 + schema: *320 - name: sort description: The property by which to sort the results. in: query @@ -45109,7 +45928,7 @@ paths: be returned. in: query required: false - schema: &538 + schema: &544 type: string description: Severity of a code scanning alert. enum: @@ -45135,9 +45954,9 @@ paths: application/json: schema: type: array - items: *314 + items: *321 examples: - default: *315 + default: *322 headers: Link: *45 '404': *6 @@ -45513,7 +46332,7 @@ paths: application/json: schema: *114 examples: - default: *316 + default: *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45541,9 +46360,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *324 examples: - default: *318 + default: *325 '304': *35 '403': *27 '404': *6 @@ -45632,7 +46451,7 @@ paths: application/json: schema: *114 examples: - default: *316 + default: *323 '304': *35 '403': *27 '404': *6 @@ -46077,7 +46896,7 @@ paths: default: value: default_for_new_repos: all - configuration: *316 + configuration: *323 '403': *27 '404': *6 x-github: @@ -46130,13 +46949,13 @@ paths: application/json: schema: type: array - items: *319 + items: *326 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *320 + repository: *327 '403': *27 '404': *6 x-github: @@ -46176,7 +46995,7 @@ paths: type: integer codespaces: type: array - items: &385 + items: &392 type: object title: Codespace description: A codespace. @@ -46211,7 +47030,7 @@ paths: machine: anyOf: - type: 'null' - - &570 + - &576 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -46498,7 +47317,7 @@ paths: - pulls_url - recent_folders examples: - default: &386 + default: &393 value: total_count: 3 codespaces: @@ -47122,7 +47941,7 @@ paths: type: integer secrets: type: array - items: &321 + items: &328 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -47163,7 +47982,7 @@ paths: - updated_at - visibility examples: - default: &571 + default: &577 value: total_count: 2 secrets: @@ -47201,7 +48020,7 @@ paths: description: Response content: application/json: - schema: &572 + schema: &578 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -47236,7 +48055,7 @@ paths: - key_id - key examples: - default: &573 + default: &579 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -47266,9 +48085,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *328 examples: - default: &575 + default: &581 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -47600,7 +48419,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &322 + items: &329 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -47995,9 +48814,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *329 examples: - default: &323 + default: &330 summary: Example response for an organization copilot space value: id: 84 @@ -48100,9 +48919,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *329 examples: - default: *323 + default: *330 '403': *27 '404': *6 x-github: @@ -48229,9 +49048,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *329 examples: - default: *323 + default: *330 '403': *27 '404': *6 '422': *15 @@ -48310,7 +49129,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &324 + items: &331 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -48533,7 +49352,7 @@ paths: description: Response content: application/json: - schema: *324 + schema: *331 examples: user: value: @@ -48661,7 +49480,7 @@ paths: description: Response content: application/json: - schema: *324 + schema: *331 examples: user: value: @@ -48808,7 +49627,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &325 + items: &332 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -48950,7 +49769,7 @@ paths: description: Resource created content: application/json: - schema: *325 + schema: *332 examples: default: value: @@ -48966,7 +49785,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *325 + schema: *332 examples: default: value: @@ -49019,7 +49838,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *332 examples: default: value: @@ -49086,7 +49905,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *332 examples: default: value: @@ -49817,7 +50636,7 @@ paths: - total_count - repositories examples: - default: *326 + default: *333 '500': *38 '401': *23 '403': *27 @@ -50085,7 +50904,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': *327 + '413': *334 '422': *7 x-github: githubCloudOnly: @@ -50534,7 +51353,7 @@ paths: - 3 custom_roles: type: array - items: *328 + items: *335 examples: default: value: @@ -50626,7 +51445,7 @@ paths: required: true content: application/json: - schema: &330 + schema: &337 type: object properties: name: @@ -50668,9 +51487,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *335 examples: - default: *329 + default: *336 '422': *15 '404': *6 x-github: @@ -50701,9 +51520,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *335 examples: - default: *329 + default: *336 '404': *6 x-github: githubCloudOnly: true @@ -50731,7 +51550,7 @@ paths: required: true content: application/json: - schema: &331 + schema: &338 type: object properties: name: @@ -50770,9 +51589,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *335 examples: - default: *329 + default: *336 '422': *15 '404': *6 x-github: @@ -50830,7 +51649,7 @@ paths: required: true content: application/json: - schema: *330 + schema: *337 examples: default: value: @@ -50844,9 +51663,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *335 examples: - default: *329 + default: *336 '422': *15 '404': *6 x-github: @@ -50883,9 +51702,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *335 examples: - default: *329 + default: *336 '404': *6 x-github: githubCloudOnly: true @@ -50919,7 +51738,7 @@ paths: required: true content: application/json: - schema: *331 + schema: *338 examples: default: value: @@ -50934,9 +51753,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *335 examples: - default: *329 + default: *336 '422': *15 '404': *6 x-github: @@ -50996,12 +51815,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *87 - - *332 - - *333 - - *334 - - *335 - - *336 - - *337 + - *339 + - *340 + - *341 + - *342 + - *343 + - *344 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -51031,7 +51850,7 @@ paths: enum: - patch - deployment - - *338 + - *345 - name: runtime_risk in: query description: |- @@ -51040,8 +51859,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *339 - - *340 + - *346 + - *347 - *110 - *108 - *109 @@ -51053,9 +51872,9 @@ paths: application/json: schema: type: array - items: *341 + items: *348 examples: - default: *342 + default: *349 '304': *35 '400': *14 '403': *27 @@ -51104,9 +51923,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *350 examples: - default: *344 + default: *351 '403': *27 '404': *6 x-github: @@ -51270,7 +52089,7 @@ paths: type: integer secrets: type: array - items: &345 + items: &352 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -51349,7 +52168,7 @@ paths: description: Response content: application/json: - schema: &603 + schema: &609 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -51368,7 +52187,7 @@ paths: - key_id - key examples: - default: &604 + default: &610 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -51398,7 +52217,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *352 examples: default: value: @@ -51696,7 +52515,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - &613 + - &619 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -51704,7 +52523,7 @@ paths: required: false schema: type: string - - &614 + - &620 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -51712,7 +52531,7 @@ paths: required: false schema: type: string - - &615 + - &621 name: time_period description: |- The time period to filter by. @@ -51728,7 +52547,7 @@ paths: - week - month default: month - - &616 + - &622 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -51743,7 +52562,7 @@ paths: - denied - all default: all - - *304 + - *311 - *17 - *19 responses: @@ -51753,7 +52572,7 @@ paths: application/json: schema: type: array - items: &617 + items: &623 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -51863,7 +52682,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: &347 + items: &354 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -51916,7 +52735,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &618 + default: &624 value: - id: 21 number: 42 @@ -52004,11 +52823,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - *304 + - *311 - *103 - *104 - *105 - - *346 + - *353 - *17 - *19 responses: @@ -52018,7 +52837,7 @@ paths: application/json: schema: type: array - items: &619 + items: &625 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -52128,7 +52947,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *347 + items: *354 url: type: string format: uri @@ -52141,7 +52960,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &620 + default: &626 value: - id: 21 number: 42 @@ -52229,11 +53048,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - *304 + - *311 - *103 - *104 - *105 - - *346 + - *353 - *17 - *19 responses: @@ -52243,9 +53062,9 @@ paths: application/json: schema: type: array - items: *348 + items: *355 examples: - default: *349 + default: *356 '404': *6 '403': *27 '500': *38 @@ -52271,7 +53090,7 @@ paths: application/json: schema: type: array - items: &395 + items: &402 title: Package description: A software package type: object @@ -52342,7 +53161,7 @@ paths: - created_at - updated_at examples: - default: &396 + default: &403 value: - id: 197 name: hello_docker @@ -52529,7 +53348,7 @@ paths: description: Response content: application/json: - schema: &463 + schema: &470 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -52619,7 +53438,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &464 + default: &471 value: group_id: '123' group_name: Octocat admins @@ -52674,7 +53493,7 @@ paths: description: Response content: application/json: - schema: &460 + schema: &467 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -52714,7 +53533,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &461 + default: &468 value: groups: - group_id: '123' @@ -52759,7 +53578,7 @@ paths: application/json: schema: type: array - items: &374 + items: &381 title: Organization Invitation description: Organization Invitation type: object @@ -52813,7 +53632,7 @@ paths: - invitation_teams_url - node_id examples: - default: &375 + default: &382 value: - id: 1 login: monalisa @@ -52880,7 +53699,7 @@ paths: application/json: schema: type: array - items: &426 + items: &433 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -52894,7 +53713,7 @@ paths: - name - description examples: - default: &427 + default: &434 value: - name: add_assignee description: Assign or remove a user @@ -52935,7 +53754,7 @@ paths: application/json: schema: type: array - items: &350 + items: &357 title: Org Hook description: Org Hook type: object @@ -53118,9 +53937,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *357 examples: - default: &351 + default: &358 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -53165,7 +53984,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-an-organization-webhook parameters: - *87 - - &352 + - &359 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -53178,9 +53997,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *357 examples: - default: *351 + default: *358 '404': *6 x-github: githubCloudOnly: false @@ -53202,7 +54021,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-an-organization-webhook parameters: - *87 - - *352 + - *359 requestBody: required: false content: @@ -53248,7 +54067,7 @@ paths: description: Response content: application/json: - schema: *350 + schema: *357 examples: default: value: @@ -53288,7 +54107,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *87 - - *352 + - *359 responses: '204': description: Response @@ -53314,7 +54133,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *87 - - *352 + - *359 responses: '200': description: Response @@ -53343,7 +54162,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *87 - - *352 + - *359 requestBody: required: false content: @@ -53392,10 +54211,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *87 - - *352 + - *359 - *17 - - *353 - - *354 + - *360 + - *361 responses: '200': description: Response @@ -53403,9 +54222,9 @@ paths: application/json: schema: type: array - items: *355 + items: *362 examples: - default: *356 + default: *363 '400': *14 '422': *15 x-github: @@ -53429,16 +54248,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *87 - - *352 + - *359 - *16 responses: '200': description: Response content: application/json: - schema: *357 + schema: *364 examples: - default: *358 + default: *365 '400': *14 '422': *15 x-github: @@ -53462,7 +54281,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *87 - - *352 + - *359 - *16 responses: '202': *37 @@ -53489,7 +54308,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *87 - - *352 + - *359 responses: '204': description: Response @@ -53512,7 +54331,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *87 - - &363 + - &370 name: actor_type in: path description: The type of the actor @@ -53525,14 +54344,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &364 + - &371 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &359 + - &366 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -53540,7 +54359,7 @@ paths: required: true schema: type: string - - &360 + - &367 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -53635,12 +54454,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-subject-stats parameters: - *87 - - *359 - - *360 + - *366 + - *367 - *19 - *17 - *110 - - &369 + - &376 name: sort description: The property to sort the results by. in: query @@ -53719,14 +54538,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats parameters: - *87 - - *359 - - *360 + - *366 + - *367 responses: '200': description: Response content: application/json: - schema: &361 + schema: &368 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -53742,7 +54561,7 @@ paths: type: integer format: int64 examples: - default: &362 + default: &369 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -53763,23 +54582,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *87 - - &365 + - &372 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *359 - - *360 + - *366 + - *367 responses: '200': description: Response content: application/json: - schema: *361 + schema: *368 examples: - default: *362 + default: *369 x-github: enabledForGitHubApps: true category: orgs @@ -53798,18 +54617,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *87 - - *359 - - *360 - - *363 - - *364 + - *366 + - *367 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *361 + schema: *368 examples: - default: *362 + default: *369 x-github: enabledForGitHubApps: true category: orgs @@ -53827,9 +54646,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats parameters: - *87 - - *359 - - *360 - - &366 + - *366 + - *367 + - &373 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -53842,7 +54661,7 @@ paths: description: Response content: application/json: - schema: &367 + schema: &374 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -53858,7 +54677,7 @@ paths: type: integer format: int64 examples: - default: &368 + default: &375 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -53895,18 +54714,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-user parameters: - *87 - - *365 - - *359 - - *360 + - *372 - *366 + - *367 + - *373 responses: '200': description: Response content: application/json: - schema: *367 + schema: *374 examples: - default: *368 + default: *375 x-github: enabledForGitHubApps: true category: orgs @@ -53924,19 +54743,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *87 - - *363 - - *364 - - *359 - - *360 + - *370 + - *371 - *366 + - *367 + - *373 responses: '200': description: Response content: application/json: - schema: *367 + schema: *374 examples: - default: *368 + default: *375 x-github: enabledForGitHubApps: true category: orgs @@ -53954,13 +54773,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-user-stats parameters: - *87 - - *365 - - *359 - - *360 + - *372 + - *366 + - *367 - *19 - *17 - *110 - - *369 + - *376 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -54044,7 +54863,7 @@ paths: application/json: schema: *20 examples: - default: *370 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54164,12 +54983,12 @@ paths: application/json: schema: anyOf: - - &372 + - &379 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &371 + limit: &378 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -54197,7 +55016,7 @@ paths: properties: {} additionalProperties: false examples: - default: &373 + default: &380 value: limit: collaborators_only origin: organization @@ -54226,13 +55045,13 @@ paths: required: true content: application/json: - schema: &651 + schema: &655 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *371 + limit: *378 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -54257,9 +55076,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *379 examples: - default: *373 + default: *380 '422': *15 x-github: githubCloudOnly: false @@ -54337,9 +55156,9 @@ paths: application/json: schema: type: array - items: *374 + items: *381 examples: - default: *375 + default: *382 headers: Link: *45 '404': *6 @@ -54417,7 +55236,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *381 examples: default: value: @@ -54474,7 +55293,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#cancel-an-organization-invitation parameters: - *87 - - &376 + - &383 name: invitation_id description: The unique identifier of the invitation. in: path @@ -54508,7 +55327,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-invitation-teams parameters: - *87 - - *376 + - *383 - *17 - *19 responses: @@ -54518,9 +55337,9 @@ paths: application/json: schema: type: array - items: *307 + items: *314 examples: - default: &394 + default: &401 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -54563,7 +55382,7 @@ paths: application/json: schema: type: array - items: &377 + items: &384 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -54806,9 +55625,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *384 examples: - default: &378 + default: &385 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -54864,7 +55683,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *87 - - &379 + - &386 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -54974,9 +55793,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *384 examples: - default: *378 + default: *385 '404': *6 '422': *7 x-github: @@ -55001,7 +55820,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *87 - - *379 + - *386 responses: '204': *126 '404': *6 @@ -55031,7 +55850,7 @@ paths: application/json: schema: type: array - items: *380 + items: *387 examples: default: value: @@ -55119,9 +55938,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *387 examples: - default: &381 + default: &388 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -55154,7 +55973,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *87 - - &382 + - &389 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -55210,9 +56029,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *387 examples: - default: *381 + default: *388 '404': *6 '422': *7 x-github: @@ -55237,7 +56056,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *87 - - *382 + - *389 responses: '204': description: Response @@ -55300,7 +56119,7 @@ paths: - closed - all default: open - - *383 + - *390 - name: type description: Can be the name of an issue type. in: query @@ -55331,7 +56150,7 @@ paths: type: array items: *219 examples: - default: *384 + default: *391 headers: Link: *45 '404': *6 @@ -55490,9 +56309,9 @@ paths: type: integer codespaces: type: array - items: *385 + items: *392 examples: - default: *386 + default: *393 '304': *35 '500': *38 '401': *23 @@ -55519,7 +56338,7 @@ paths: parameters: - *87 - *140 - - &387 + - &394 name: codespace_name in: path required: true @@ -55554,15 +56373,15 @@ paths: parameters: - *87 - *140 - - *387 + - *394 responses: '200': description: Response content: application/json: - schema: *385 + schema: *392 examples: - default: &569 + default: &575 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -55818,7 +56637,7 @@ paths: description: Response content: application/json: - schema: &388 + schema: &395 title: Org Membership description: Org Membership type: object @@ -55887,7 +56706,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &389 + response-if-user-has-an-active-admin-membership-with-organization: &396 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -55988,9 +56807,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *395 examples: - response-if-user-already-had-membership-with-organization: *389 + response-if-user-already-had-membership-with-organization: *396 '422': *15 '403': *27 x-github: @@ -56062,7 +56881,7 @@ paths: application/json: schema: type: array - items: &390 + items: &397 title: Migration description: A migration. type: object @@ -56400,7 +57219,7 @@ paths: description: Response content: application/json: - schema: *390 + schema: *397 examples: default: value: @@ -56579,7 +57398,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#get-an-organization-migration-status parameters: - *87 - - &391 + - &398 name: migration_id description: The unique identifier of the migration. in: path @@ -56607,7 +57426,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *390 + schema: *397 examples: default: value: @@ -56777,7 +57596,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *87 - - *391 + - *398 responses: '302': description: Response @@ -56799,7 +57618,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *87 - - *391 + - *398 responses: '204': description: Response @@ -56823,8 +57642,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#unlock-an-organization-repository parameters: - *87 - - *391 - - &814 + - *398 + - &818 name: repo_name description: repo_name parameter in: path @@ -56852,7 +57671,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *87 - - *391 + - *398 - *17 - *19 responses: @@ -56864,7 +57683,7 @@ paths: type: array items: *278 examples: - default: &401 + default: &408 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -57075,7 +57894,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &392 + items: &399 title: Organization Role description: Organization roles type: object @@ -57284,7 +58103,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *399 examples: default: value: @@ -57514,7 +58333,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *399 examples: default: value: @@ -57611,7 +58430,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *399 examples: default: value: @@ -57770,7 +58589,7 @@ paths: parent: anyOf: - type: 'null' - - *393 + - *400 type: description: The ownership type of the team type: string @@ -57803,7 +58622,7 @@ paths: - type - parent examples: - default: *394 + default: *401 headers: Link: *45 '404': @@ -57862,7 +58681,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *393 + items: *400 name: type: - string @@ -58172,7 +58991,7 @@ paths: - nuget - container - *87 - - &815 + - &819 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -58208,12 +59027,12 @@ paths: application/json: schema: type: array - items: *395 + items: *402 examples: - default: *396 + default: *403 '403': *27 '401': *23 - '400': &817 + '400': &821 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -58235,7 +59054,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-an-organization parameters: - - &397 + - &404 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -58253,7 +59072,7 @@ paths: - docker - nuget - container - - &398 + - &405 name: package_name description: The name of the package. in: path @@ -58266,7 +59085,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *402 examples: default: value: @@ -58318,8 +59137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *397 - - *398 + - *404 + - *405 - *87 responses: '204': @@ -58352,8 +59171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *397 - - *398 + - *404 + - *405 - *87 - name: token description: package token @@ -58386,8 +59205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *397 - - *398 + - *404 + - *405 - *87 - *19 - *17 @@ -58408,7 +59227,7 @@ paths: application/json: schema: type: array - items: &399 + items: &406 title: Package Version description: A version of a software package type: object @@ -58543,10 +59362,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *397 - - *398 + - *404 + - *405 - *87 - - &400 + - &407 name: package_version_id description: Unique identifier of the package version. in: path @@ -58558,7 +59377,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *406 examples: default: value: @@ -58594,10 +59413,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *397 - - *398 + - *404 + - *405 - *87 - - *400 + - *407 responses: '204': description: Response @@ -58629,10 +59448,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *397 - - *398 + - *404 + - *405 - *87 - - *400 + - *407 responses: '204': description: Response @@ -58662,7 +59481,7 @@ paths: - *87 - *17 - *19 - - &402 + - &409 name: sort description: The property by which to sort the results. in: query @@ -58673,7 +59492,7 @@ paths: - created_at default: created_at - *110 - - &403 + - &410 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -58685,7 +59504,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &404 + - &411 name: repository description: The name of the repository to use to filter the results. in: query @@ -58694,7 +59513,7 @@ paths: type: string examples: - Hello-World - - &405 + - &412 name: permission description: The permission to use to filter the results. in: query @@ -58703,7 +59522,7 @@ paths: type: string examples: - issues_read - - &406 + - &413 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -58713,7 +59532,7 @@ paths: schema: type: string format: date-time - - &407 + - &414 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -58723,7 +59542,7 @@ paths: schema: type: string format: date-time - - &408 + - &415 name: token_id description: The ID of the token in: query @@ -59042,7 +59861,7 @@ paths: type: array items: *278 examples: - default: *401 + default: *408 headers: Link: *45 x-github: @@ -59068,14 +59887,14 @@ paths: - *87 - *17 - *19 - - *402 + - *409 - *110 - - *403 - - *404 - - *405 - - *406 - - *407 - - *408 + - *410 + - *411 + - *412 + - *413 + - *414 + - *415 responses: '500': *38 '422': *15 @@ -59359,7 +60178,7 @@ paths: type: array items: *278 examples: - default: *401 + default: *408 headers: Link: *45 x-github: @@ -59401,7 +60220,7 @@ paths: type: integer configurations: type: array - items: &409 + items: &416 title: Organization private registry description: Private registry configuration for an organization type: object @@ -59918,7 +60737,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &410 + org-private-registry-with-selected-visibility: &417 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -60016,9 +60835,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *409 + schema: *416 examples: - default: *410 + default: *417 '404': *6 x-github: githubCloudOnly: false @@ -60270,7 +61089,7 @@ paths: application/json: schema: type: array - items: &411 + items: &418 title: Projects v2 Project description: A projects v2 project type: object @@ -60344,7 +61163,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &904 + - &908 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -60429,7 +61248,7 @@ paths: - deleted_at - deleted_by examples: - default: &412 + default: &419 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -60532,7 +61351,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-organization parameters: - - &413 + - &420 name: project_number description: The project's number. in: path @@ -60545,9 +61364,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *418 examples: - default: *412 + default: *419 headers: Link: *45 '304': *35 @@ -60570,7 +61389,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *87 - - *413 + - *420 requestBody: required: true description: Details of the draft item to create in the project. @@ -60604,7 +61423,7 @@ paths: description: Response content: application/json: - schema: &418 + schema: &425 title: Projects v2 Item description: An item belonging to a project type: object @@ -60618,7 +61437,7 @@ paths: content: oneOf: - *219 - - &584 + - &590 title: Pull Request Simple description: Pull Request Simple type: object @@ -60738,7 +61557,7 @@ paths: milestone: anyOf: - type: 'null' - - *414 + - *421 active_lock_reason: type: - string @@ -60787,7 +61606,7 @@ paths: items: *4 requested_teams: type: array - items: *307 + items: *314 head: type: object properties: @@ -60831,7 +61650,7 @@ paths: _links: type: object properties: - comments: &415 + comments: &422 title: Link description: Hypermedia Link type: object @@ -60840,13 +61659,13 @@ paths: type: string required: - href - commits: *415 - statuses: *415 - html: *415 - issue: *415 - review_comments: *415 - review_comment: *415 - self: *415 + commits: *422 + statuses: *422 + html: *422 + issue: *422 + review_comments: *422 + review_comment: *422 + self: *422 required: - comments - commits @@ -60857,7 +61676,7 @@ paths: - review_comment - self author_association: *216 - auto_merge: &699 + auto_merge: &703 title: Auto merge description: The status of auto merging a pull request. type: @@ -60959,7 +61778,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &417 + content_type: &424 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -61003,7 +61822,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &419 + draft_issue: &426 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -61077,7 +61896,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-organization parameters: - - *413 + - *420 - *87 - *17 - *108 @@ -61089,7 +61908,7 @@ paths: application/json: schema: type: array - items: &416 + items: &423 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -61242,7 +62061,7 @@ paths: - updated_at - project_url examples: - default: &837 + default: &841 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -61372,7 +62191,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *413 + - *420 - *87 requestBody: required: true @@ -61419,7 +62238,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &838 + items: &842 type: object properties: name: @@ -61456,7 +62275,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &839 + iteration_configuration: &843 type: object description: The configuration for iteration fields. properties: @@ -61506,7 +62325,7 @@ paths: value: name: Due date data_type: date - single_select_field: &840 + single_select_field: &844 summary: Create a single select field value: name: Priority @@ -61533,7 +62352,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &841 + iteration_field: &845 summary: Create an iteration field value: name: Sprint @@ -61557,9 +62376,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *416 + schema: *423 examples: - text_field: &842 + text_field: &846 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -61568,7 +62387,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &843 + number_field: &847 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -61577,7 +62396,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &844 + date_field: &848 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -61586,7 +62405,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &845 + single_select_field: &849 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -61620,7 +62439,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &846 + iteration_field: &850 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -61665,8 +62484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - - *413 - - &847 + - *420 + - &851 name: field_id description: The unique identifier of the field. in: path @@ -61679,9 +62498,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *423 examples: - default: &848 + default: &852 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -61737,7 +62556,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *413 + - *420 - *87 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -61770,7 +62589,7 @@ paths: application/json: schema: type: array - items: &420 + items: &427 title: Projects v2 Item description: An item belonging to a project type: object @@ -61787,7 +62606,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *417 + content_type: *424 content: type: - object @@ -61837,7 +62656,7 @@ paths: - updated_at - archived_at examples: - default: &421 + default: &428 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -62535,7 +63354,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-organization-owned-project parameters: - *87 - - *413 + - *420 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -62605,22 +63424,22 @@ paths: description: Response content: application/json: - schema: *418 + schema: *425 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *419 + value: *426 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *419 + value: *426 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *419 + value: *426 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *419 + value: *426 '304': *35 '403': *27 '401': *23 @@ -62640,9 +63459,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *413 + - *420 - *87 - - &422 + - &429 name: item_id description: The unique identifier of the project item. in: path @@ -62668,9 +63487,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *427 examples: - default: *421 + default: *428 headers: Link: *45 '304': *35 @@ -62691,9 +63510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-organization parameters: - - *413 + - *420 - *87 - - *422 + - *429 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -62766,13 +63585,13 @@ paths: description: Response content: application/json: - schema: *420 + schema: *427 examples: - text_field: *421 - number_field: *421 - date_field: *421 - single_select_field: *421 - iteration_field: *421 + text_field: *428 + number_field: *428 + date_field: *428 + single_select_field: *428 + iteration_field: *428 '401': *23 '403': *27 '404': *6 @@ -62792,9 +63611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-organization parameters: - - *413 + - *420 - *87 - - *422 + - *429 responses: '204': description: Response @@ -62818,7 +63637,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *87 - - *413 + - *420 requestBody: required: true content: @@ -62892,7 +63711,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &828 + schema: &832 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -62996,7 +63815,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &423 + value: &430 value: id: 1 number: 1 @@ -63042,10 +63861,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *423 + value: *430 roadmap_view: summary: Response for creating a roadmap view - value: *423 + value: *430 '304': *35 '403': *27 '401': *23 @@ -63073,9 +63892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *413 + - *420 - *87 - - &849 + - &853 name: view_number description: The number that identifies the project view. in: path @@ -63107,9 +63926,9 @@ paths: application/json: schema: type: array - items: *420 + items: *427 examples: - default: *421 + default: *428 headers: Link: *45 '304': *35 @@ -63273,7 +64092,7 @@ paths: required: true content: application/json: - schema: *424 + schema: *431 examples: default: value: @@ -63641,7 +64460,7 @@ paths: type: array items: *278 examples: - default: *401 + default: *408 headers: Link: *45 x-github: @@ -63845,7 +64664,7 @@ paths: description: Response content: application/json: - schema: &471 + schema: &478 title: Full Repository description: Full Repository type: object @@ -64323,7 +65142,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &589 + code_of_conduct: &595 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -64353,7 +65172,7 @@ paths: - key - name - html_url - security_and_analysis: *425 + security_and_analysis: *432 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -64437,7 +65256,7 @@ paths: - network_count - subscribers_count examples: - default: &473 + default: &480 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -64963,9 +65782,9 @@ paths: application/json: schema: type: array - items: *426 + items: *433 examples: - default: *427 + default: *434 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -64990,7 +65809,7 @@ paths: - *87 - *17 - *19 - - &721 + - &725 name: targets description: | A comma-separated list of rule targets to filter by. @@ -65082,11 +65901,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *165 - conditions: *428 + conditions: *435 rules: type: array description: An array of rules within the ruleset. - items: &430 + items: &437 title: Repository Rule type: object description: A repository rule. @@ -65151,7 +65970,7 @@ paths: application/json: schema: *187 examples: - default: &429 + default: &436 value: id: 21 name: super cool ruleset @@ -65207,7 +66026,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *87 - - &723 + - &727 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -65217,16 +66036,16 @@ paths: schema: type: string x-multi-segment: true - - *304 + - *311 - *105 - - &724 + - &728 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &725 + - &729 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -65246,7 +66065,7 @@ paths: description: Response content: application/json: - schema: &726 + schema: &730 title: Rule Suites description: Response type: array @@ -65302,7 +66121,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &727 + default: &731 value: - id: 21 actor_id: 12 @@ -65346,7 +66165,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *87 - - &728 + - &732 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -65362,7 +66181,7 @@ paths: description: Response content: application/json: - schema: &729 + schema: &733 title: Rule Suite description: Response type: object @@ -65469,7 +66288,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &730 + default: &734 value: id: 21 actor_id: 12 @@ -65544,7 +66363,7 @@ paths: application/json: schema: *187 examples: - default: *429 + default: *436 '404': *6 '500': *38 put: @@ -65593,11 +66412,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *165 - conditions: *428 + conditions: *435 rules: description: An array of rules within the ruleset. type: array - items: *430 + items: *437 examples: default: value: @@ -65634,7 +66453,7 @@ paths: application/json: schema: *187 examples: - default: *429 + default: *436 '404': *6 '422': *15 '500': *38 @@ -65694,7 +66513,7 @@ paths: type: array items: *191 examples: - default: *431 + default: *438 '404': *6 '500': *38 x-github: @@ -65731,7 +66550,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *439 examples: default: value: @@ -65794,18 +66613,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *87 - - *433 - - *434 - - *435 - - *436 - - *437 - - *438 - - *439 - *440 + - *441 + - *442 + - *443 + - *444 + - *445 + - *446 + - *447 - *110 - *19 - *17 - - &732 + - &736 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. To @@ -65815,7 +66634,7 @@ paths: required: false schema: type: string - - &733 + - &737 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. To @@ -65825,11 +66644,11 @@ paths: required: false schema: type: string - - *441 - - *442 - - *443 - - *444 - - *445 + - *448 + - *449 + - *450 + - *451 + - *452 responses: '200': description: Response @@ -65837,9 +66656,9 @@ paths: application/json: schema: type: array - items: *446 + items: *453 examples: - default: *447 + default: *454 headers: Link: *45 '404': *6 @@ -65874,9 +66693,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *455 examples: - default: *449 + default: *456 '403': *27 '404': *6 patch: @@ -66029,7 +66848,7 @@ paths: application/json: schema: type: array - items: &754 + items: &758 description: A repository security advisory. type: object properties: @@ -66273,7 +67092,7 @@ paths: login: type: string description: The username of the user credited. - type: *450 + type: *457 credits_detailed: type: - array @@ -66284,7 +67103,7 @@ paths: type: object properties: user: *4 - type: *450 + type: *457 state: type: string description: The state of the user's acceptance of the @@ -66310,7 +67129,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *307 + items: *314 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -66348,7 +67167,7 @@ paths: - private_fork additionalProperties: false examples: - default: &755 + default: &759 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -66735,7 +67554,7 @@ paths: application/json: schema: type: array - items: *393 + items: *400 examples: default: value: @@ -66834,7 +67653,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *87 - - *451 + - *458 - *17 - *19 responses: @@ -66842,9 +67661,9 @@ paths: description: Success content: application/json: - schema: *452 + schema: *459 examples: - default: *453 + default: *460 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -67127,7 +67946,7 @@ paths: type: array items: *145 examples: - default: *454 + default: *461 headers: Link: *45 x-github: @@ -67356,15 +68175,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *87 - - *455 + - *462 responses: '200': description: Response content: application/json: - schema: *456 + schema: *463 examples: - default: *457 + default: *464 headers: Link: *45 x-github: @@ -67402,7 +68221,7 @@ paths: description: Response content: application/json: - schema: &468 + schema: &475 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -67454,7 +68273,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &469 + default: &476 value: groups: - group_id: '123' @@ -67578,9 +68397,9 @@ paths: application/json: schema: type: array - items: *307 + items: *314 examples: - default: *394 + default: *401 headers: Link: *45 '403': *27 @@ -67674,7 +68493,7 @@ paths: description: Response content: application/json: - schema: &458 + schema: &465 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -67748,7 +68567,7 @@ paths: parent: anyOf: - type: 'null' - - *393 + - *400 members_count: type: integer examples: @@ -68073,7 +68892,7 @@ paths: - repos_count - organization examples: - default: &459 + default: &466 value: id: 1 node_id: MDQ6VGVhbTE= @@ -68150,9 +68969,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *465 examples: - default: *459 + default: *466 '404': *6 x-github: githubCloudOnly: false @@ -68237,16 +69056,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *458 + schema: *465 examples: - default: *459 + default: *466 '201': description: Response content: application/json: - schema: *458 + schema: *465 examples: - default: *459 + default: *466 '404': *6 '422': *15 '403': *27 @@ -68276,7 +69095,7 @@ paths: responses: '204': description: Response - '422': &462 + '422': &469 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -68305,10 +69124,10 @@ paths: description: Response content: application/json: - schema: *460 + schema: *467 examples: - default: *461 - '422': *462 + default: *468 + '422': *469 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -68352,10 +69171,10 @@ paths: description: Response content: application/json: - schema: *463 + schema: *470 examples: - default: *464 - '422': *462 + default: *471 + '422': *469 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -68379,7 +69198,7 @@ paths: responses: '204': description: Response - '422': *462 + '422': *469 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -68411,12 +69230,12 @@ paths: application/json: schema: type: array - items: *374 + items: *381 examples: - default: *375 + default: *382 headers: Link: *45 - '422': *462 + '422': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68498,7 +69317,7 @@ paths: description: Response content: application/json: - schema: &465 + schema: &472 title: Team Membership description: Team Membership type: object @@ -68526,7 +69345,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &796 + response-if-user-is-a-team-maintainer: &800 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -68589,9 +69408,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *472 examples: - response-if-users-membership-with-team-is-now-pending: &797 + response-if-users-membership-with-team-is-now-pending: &801 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -68667,7 +69486,7 @@ paths: type: array items: *278 examples: - default: *401 + default: *408 headers: Link: *45 x-github: @@ -68698,14 +69517,14 @@ paths: parameters: - *87 - *214 - - *466 - - *467 + - *473 + - *474 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &798 + schema: &802 title: Team Repository description: A team's access to a repository. type: object @@ -69348,8 +70167,8 @@ paths: parameters: - *87 - *214 - - *466 - - *467 + - *473 + - *474 requestBody: required: false content: @@ -69396,8 +70215,8 @@ paths: parameters: - *87 - *214 - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -69430,10 +70249,10 @@ paths: description: Response content: application/json: - schema: *468 + schema: *475 examples: - default: *469 - '422': *462 + default: *476 + '422': *469 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -69499,7 +70318,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *475 examples: default: value: @@ -69511,7 +70330,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *462 + '422': *469 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -69543,9 +70362,9 @@ paths: application/json: schema: type: array - items: *307 + items: *314 examples: - response-if-child-teams-exist: &799 + response-if-child-teams-exist: &803 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -69699,7 +70518,7 @@ paths: resources: type: object properties: - core: &470 + core: &477 title: Rate Limit type: object properties: @@ -69716,21 +70535,21 @@ paths: - remaining - reset - used - graphql: *470 - search: *470 - code_search: *470 - source_import: *470 - integration_manifest: *470 - code_scanning_upload: *470 - actions_runner_registration: *470 - scim: *470 - dependency_snapshots: *470 - dependency_sbom: *470 - code_scanning_autofix: *470 + graphql: *477 + search: *477 + code_search: *477 + source_import: *477 + integration_manifest: *477 + code_scanning_upload: *477 + actions_runner_registration: *477 + scim: *477 + dependency_snapshots: *477 + dependency_sbom: *477 + code_scanning_autofix: *477 required: - core - search - rate: *470 + rate: *477 required: - rate - resources @@ -69835,14 +70654,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: *471 + schema: *478 examples: default-response: summary: Default response @@ -70351,7 +71170,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *472 + '301': *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70369,8 +71188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#update-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: false content: @@ -70679,10 +71498,10 @@ paths: description: Response content: application/json: - schema: *471 + schema: *478 examples: - default: *473 - '307': &474 + default: *480 + '307': &481 description: Temporary Redirect content: application/json: @@ -70711,8 +71530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -70734,7 +71553,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository - '307': *474 + '307': *481 '404': *6 '409': *119 x-github: @@ -70758,11 +71577,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 - - &491 + - &497 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -70785,7 +71604,7 @@ paths: type: integer artifacts: type: array - items: &475 + items: &482 title: Artifact description: An artifact type: object @@ -70880,7 +71699,7 @@ paths: - expires_at - updated_at examples: - default: &492 + default: &498 value: total_count: 2 artifacts: @@ -70941,9 +71760,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#get-an-artifact parameters: - - *466 - - *467 - - &476 + - *473 + - *474 + - &483 name: artifact_id description: The unique identifier of the artifact. in: path @@ -70955,7 +71774,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *482 examples: default: value: @@ -70993,9 +71812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#delete-an-artifact parameters: - - *466 - - *467 - - *476 + - *473 + - *474 + - *483 responses: '204': description: Response @@ -71019,9 +71838,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#download-an-artifact parameters: - - *466 - - *467 - - *476 + - *473 + - *474 + - *483 - name: archive_format in: path required: true @@ -71031,11 +71850,11 @@ paths: '302': description: Response headers: - Location: &606 + Location: &612 example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &654 + '410': &658 description: Gone content: application/json: @@ -71060,14 +71879,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: &477 + schema: &484 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -71101,13 +71920,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: application/json: - schema: *477 + schema: *484 examples: selected_actions: *42 responses: @@ -71136,14 +71955,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: &478 + schema: &485 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -71177,13 +71996,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: application/json: - schema: *478 + schema: *485 examples: selected_actions: *44 responses: @@ -71214,14 +72033,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: *479 + schema: *486 examples: default: value: @@ -71247,11 +72066,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 - - &480 + - &487 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -71285,7 +72104,7 @@ paths: description: Response content: application/json: - schema: &481 + schema: &488 title: Repository actions caches description: Repository actions caches type: object @@ -71335,7 +72154,7 @@ paths: - total_count - actions_caches examples: - default: &482 + default: &489 value: total_count: 1 actions_caches: @@ -71367,23 +72186,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *466 - - *467 + - *473 + - *474 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *480 + - *487 responses: '200': description: Response content: application/json: - schema: *481 + schema: *488 examples: - default: *482 + default: *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71403,8 +72222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *466 - - *467 + - *473 + - *474 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -71433,8 +72252,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *109 responses: @@ -71517,8 +72336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -71674,9 +72493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *466 - - *467 - - &483 + - *473 + - *474 + - &490 name: job_id description: The unique identifier of the job. in: path @@ -71688,7 +72507,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &501 title: Job description: Information of a job execution in a workflow run type: object @@ -72035,9 +72854,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *466 - - *467 - - *483 + - *473 + - *474 + - *490 responses: '302': description: Response @@ -72065,9 +72884,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *466 - - *467 - - *483 + - *473 + - *474 + - *490 requestBody: required: false content: @@ -72118,8 +72937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Status response @@ -72178,8 +72997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -72247,8 +73066,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-organization-secrets parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -72266,7 +73085,7 @@ paths: type: integer secrets: type: array - items: &497 + items: &503 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -72287,7 +73106,7 @@ paths: - created_at - updated_at examples: - default: &498 + default: &504 value: total_count: 2 secrets: @@ -72320,9 +73139,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-organization-variables parameters: - - *466 - - *467 - - *484 + - *473 + - *474 + - *297 - *19 responses: '200': @@ -72339,7 +73158,7 @@ paths: type: integer variables: type: array - items: &501 + items: &505 title: Actions Variable type: object properties: @@ -72373,7 +73192,7 @@ paths: - created_at - updated_at examples: - default: &502 + default: &506 value: total_count: 2 variables: @@ -72406,8 +73225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -72416,7 +73235,7 @@ paths: schema: type: object properties: - enabled: &485 + enabled: &491 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *60 @@ -72451,8 +73270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -72463,7 +73282,7 @@ paths: schema: type: object properties: - enabled: *485 + enabled: *491 allowed_actions: *60 sha_pinning_required: *61 required: @@ -72496,14 +73315,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: &486 + schema: &492 type: object properties: access_level: @@ -72521,7 +73340,7 @@ paths: required: - access_level examples: - default: &487 + default: &493 value: access_level: organization x-github: @@ -72546,15 +73365,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: application/json: - schema: *486 + schema: *492 examples: - default: *487 + default: *493 responses: '204': description: Response @@ -72578,8 +73397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -72609,8 +73428,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Empty response for successful settings update @@ -72644,8 +73463,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -72672,8 +73491,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -72707,8 +73526,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -72736,8 +73555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -72768,8 +73587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -72800,8 +73619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -72833,8 +73652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -72863,8 +73682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Success response @@ -72904,8 +73723,8 @@ paths: in: query schema: type: string - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -72949,8 +73768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -72982,8 +73801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -73057,8 +73876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '201': description: Response @@ -73094,8 +73913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '201': description: Response @@ -73125,8 +73944,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *75 responses: '200': @@ -73156,8 +73975,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *75 responses: '204': @@ -73184,8 +74003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *75 responses: '200': *81 @@ -73210,8 +74029,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *75 requestBody: required: true @@ -73260,8 +74079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *75 requestBody: required: true @@ -73311,8 +74130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *75 responses: '200': *285 @@ -73342,8 +74161,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *75 - *286 responses: @@ -73373,9 +74192,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *466 - - *467 - - &505 + - *473 + - *474 + - &509 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -73383,7 +74202,7 @@ paths: required: false schema: type: string - - &506 + - &510 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -73391,7 +74210,7 @@ paths: required: false schema: type: string - - &507 + - &511 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -73400,7 +74219,7 @@ paths: required: false schema: type: string - - &508 + - &512 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -73427,7 +74246,7 @@ paths: - pending - *17 - *19 - - &509 + - &513 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -73436,7 +74255,7 @@ paths: schema: type: string format: date-time - - &488 + - &494 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -73445,13 +74264,13 @@ paths: schema: type: boolean default: false - - &510 + - &514 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &511 + - &515 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -73474,7 +74293,7 @@ paths: type: integer workflow_runs: type: array - items: &489 + items: &495 title: Workflow Run description: An invocation of a workflow type: object @@ -73652,7 +74471,7 @@ paths: head_commit: anyOf: - type: 'null' - - &533 + - &539 title: Simple Commit description: A commit. type: object @@ -73767,7 +74586,7 @@ paths: - workflow_url - pull_requests examples: - default: &512 + default: &516 value: total_count: 1 workflow_runs: @@ -74003,24 +74822,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *466 - - *467 - - &490 + - *473 + - *474 + - &496 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *488 + - *494 responses: '200': description: Response content: application/json: - schema: *489 + schema: *495 examples: - default: &493 + default: &499 value: id: 30433642 name: Build @@ -74261,9 +75080,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 responses: '204': description: Response @@ -74286,9 +75105,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 responses: '200': description: Response @@ -74416,9 +75235,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 responses: '201': description: Response @@ -74451,12 +75270,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 - *17 - *19 - - *491 + - *497 - *110 responses: '200': @@ -74473,9 +75292,9 @@ paths: type: integer artifacts: type: array - items: *475 + items: *482 examples: - default: *492 + default: *498 headers: Link: *45 x-github: @@ -74499,25 +75318,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *466 - - *467 - - *490 - - &494 + - *473 + - *474 + - *496 + - &500 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *488 + - *494 responses: '200': description: Response content: application/json: - schema: *489 + schema: *495 examples: - default: *493 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74540,10 +75359,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *466 - - *467 - - *490 - - *494 + - *473 + - *474 + - *496 + - *500 - *17 - *19 responses: @@ -74561,9 +75380,9 @@ paths: type: integer jobs: type: array - items: *495 + items: *501 examples: - default: &496 + default: &502 value: total_count: 1 jobs: @@ -74676,10 +75495,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *466 - - *467 - - *490 - - *494 + - *473 + - *474 + - *496 + - *500 responses: '302': description: Response @@ -74707,9 +75526,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 responses: '202': description: Response @@ -74755,9 +75574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 - *17 - *108 - *109 @@ -74934,9 +75753,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 requestBody: required: true content: @@ -75003,9 +75822,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 responses: '202': description: Response @@ -75038,9 +75857,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -75070,9 +75889,9 @@ paths: type: integer jobs: type: array - items: *495 + items: *501 examples: - default: *496 + default: *502 headers: Link: *45 x-github: @@ -75097,9 +75916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 responses: '302': description: Response @@ -75126,9 +75945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 responses: '204': description: Response @@ -75155,9 +75974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 responses: '200': description: Response @@ -75226,7 +76045,7 @@ paths: items: type: object properties: - type: &621 + type: &627 type: string description: The type of reviewer. enum: @@ -75237,7 +76056,7 @@ paths: reviewer: anyOf: - *4 - - *307 + - *314 required: - environment - wait_timer @@ -75312,9 +76131,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 requestBody: required: true content: @@ -75364,7 +76183,7 @@ paths: application/json: schema: type: array - items: &608 + items: &614 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -75476,7 +76295,7 @@ paths: - created_at - updated_at examples: - default: &609 + default: &615 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -75532,9 +76351,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 requestBody: required: false content: @@ -75579,9 +76398,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 requestBody: required: false content: @@ -75636,9 +76455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 responses: '200': description: Response @@ -75775,8 +76594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-secrets parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -75794,9 +76613,9 @@ paths: type: integer secrets: type: array - items: *497 + items: *503 examples: - default: *498 + default: *504 headers: Link: *45 x-github: @@ -75821,16 +76640,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-public-key parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: *499 + schema: *294 examples: - default: *500 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75852,17 +76671,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-secret parameters: - - *466 - - *467 + - *473 + - *474 - *288 responses: '200': description: Response content: application/json: - schema: *497 + schema: *503 examples: - default: &634 + default: &517 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -75888,8 +76707,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *466 - - *467 + - *473 + - *474 - *288 requestBody: required: true @@ -75947,8 +76766,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-a-repository-secret parameters: - - *466 - - *467 + - *473 + - *474 - *288 responses: '204': @@ -75974,9 +76793,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-variables parameters: - - *466 - - *467 - - *484 + - *473 + - *474 + - *297 - *19 responses: '200': @@ -75993,9 +76812,9 @@ paths: type: integer variables: type: array - items: *501 + items: *505 examples: - default: *502 + default: *506 headers: Link: *45 x-github: @@ -76018,8 +76837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-a-repository-variable parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -76071,17 +76890,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-a-repository-variable parameters: - - *466 - - *467 + - *473 + - *474 - *291 responses: '200': description: Response content: application/json: - schema: *501 + schema: *505 examples: - default: &635 + default: &518 value: name: USERNAME value: octocat @@ -76107,8 +76926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-a-repository-variable parameters: - - *466 - - *467 + - *473 + - *474 - *291 requestBody: required: true @@ -76151,8 +76970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-a-repository-variable parameters: - - *466 - - *467 + - *473 + - *474 - *291 responses: '204': @@ -76178,8 +76997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#list-repository-workflows parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -76197,7 +77016,7 @@ paths: type: integer workflows: type: array - items: &503 + items: &507 title: Workflow description: A GitHub Actions workflow type: object @@ -76315,9 +77134,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-a-workflow parameters: - - *466 - - *467 - - &504 + - *473 + - *474 + - &508 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -76332,7 +77151,7 @@ paths: description: Response content: application/json: - schema: *503 + schema: *507 examples: default: value: @@ -76365,9 +77184,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#disable-a-workflow parameters: - - *466 - - *467 - - *504 + - *473 + - *474 + - *508 responses: '204': description: Response @@ -76392,9 +77211,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *466 - - *467 - - *504 + - *473 + - *474 + - *508 responses: '204': description: Empty response when `return_run_details` parameter is `false`. @@ -76481,9 +77300,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#enable-a-workflow parameters: - - *466 - - *467 - - *504 + - *473 + - *474 + - *508 responses: '204': description: Response @@ -76510,19 +77329,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *466 - - *467 - - *504 - - *505 - - *506 - - *507 + - *473 + - *474 - *508 - - *17 - - *19 - *509 - - *488 - *510 - *511 + - *512 + - *17 + - *19 + - *513 + - *494 + - *514 + - *515 responses: '200': description: Response @@ -76538,9 +77357,9 @@ paths: type: integer workflow_runs: type: array - items: *489 + items: *495 examples: - default: *512 + default: *516 headers: Link: *45 x-github: @@ -76573,9 +77392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-workflow-usage parameters: - - *466 - - *467 - - *504 + - *473 + - *474 + - *508 responses: '200': description: Response @@ -76636,8 +77455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities parameters: - - *466 - - *467 + - *473 + - *474 - *110 - *17 - *108 @@ -76793,6 +77612,492 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos + "/repos/{owner}/{repo}/agents/organization-secrets": + get: + summary: List repository organization secrets + description: |- + Lists all organization secrets shared with a repository without revealing their encrypted + values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-organization-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-organization-secrets + parameters: + - *473 + - *474 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: *503 + examples: + default: *504 + headers: + Link: *45 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/organization-variables": + get: + summary: List repository organization variables + description: |- + Lists all organization variables shared with a repository. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-organization-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-organization-variables + parameters: + - *473 + - *474 + - *297 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: *505 + examples: + default: *506 + headers: + Link: *45 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/repos/{owner}/{repo}/agents/secrets": + get: + summary: List repository secrets + description: |- + Lists all secrets available in a repository without revealing their encrypted + values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-secrets + parameters: + - *473 + - *474 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: *503 + examples: + default: *504 + headers: + Link: *45 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/secrets/public-key": + get: + summary: Get a repository public key + description: |- + Gets your public key, which you need to encrypt secrets. You need to + encrypt a secret before you can create or update secrets. + + Anyone with read access to the repository can use this endpoint. + + If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-public-key + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key + parameters: + - *473 + - *474 + responses: + '200': + description: Response + content: + application/json: + schema: *294 + examples: + default: *295 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/secrets/{secret_name}": + get: + summary: Get a repository secret + description: |- + Gets a single repository secret without revealing its encrypted value. + + The authenticated user must have collaborator access to the repository to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-secret + parameters: + - *473 + - *474 + - *288 + responses: + '200': + description: Response + content: + application/json: + schema: *503 + examples: + default: *517 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + put: + summary: Create or update a repository secret + description: |- + Creates or updates a repository secret with an encrypted value. Encrypt your secret using + [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/encrypting-secrets-for-the-rest-api)." + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-or-update-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-a-repository-secret + parameters: + - *473 + - *474 + - *288 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + encrypted_value: + type: string + description: Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) + using the public key retrieved from the [Get a repository public + key](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key) + endpoint. + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + type: string + description: ID of the key you used to encrypt the secret. + required: + - encrypted_value + - key_id + examples: + default: + value: + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + responses: + '201': + description: Response when creating a secret + content: + application/json: + schema: *289 + examples: + default: + value: + '204': + description: Response when updating a secret + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + delete: + summary: Delete a repository secret + description: |- + Deletes a secret in a repository using the secret name. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-a-repository-secret + parameters: + - *473 + - *474 + - *288 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/variables": + get: + summary: List repository variables + description: |- + Lists all repository variables. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-variables + parameters: + - *473 + - *474 + - *297 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: *505 + examples: + default: *506 + headers: + Link: *45 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + post: + summary: Create a repository variable + description: |- + Creates a repository variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-a-repository-variable + parameters: + - *473 + - *474 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + required: + - name + - value + examples: + default: + value: + name: USERNAME + value: octocat + responses: + '201': + description: Response + content: + application/json: + schema: *289 + examples: + default: + value: + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/repos/{owner}/{repo}/agents/variables/{name}": + get: + summary: Get a repository variable + description: |- + Gets a specific variable in a repository. + + The authenticated user must have collaborator access to the repository to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-a-repository-variable + parameters: + - *473 + - *474 + - *291 + responses: + '200': + description: Response + content: + application/json: + schema: *505 + examples: + default: *518 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + patch: + summary: Update a repository variable + description: |- + Updates a repository variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/update-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-a-repository-variable + parameters: + - *473 + - *474 + - *291 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + examples: + default: + value: + name: USERNAME + value: octocat + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + delete: + summary: Delete a repository variable + description: |- + Deletes a repository variable using the variable name. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-a-repository-variable + parameters: + - *473 + - *474 + - *291 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables "/repos/{owner}/{repo}/assignees": get: summary: List assignees @@ -76805,8 +78110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#list-assignees parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -76843,8 +78148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *466 - - *467 + - *473 + - *474 - name: assignee in: path required: true @@ -76880,8 +78185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#create-an-attestation parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -76991,8 +78296,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#list-attestations parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *108 - *109 @@ -77049,7 +78354,7 @@ paths: initiator: type: string examples: - default: *513 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77069,8 +78374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -77078,7 +78383,7 @@ paths: application/json: schema: type: array - items: &514 + items: &520 title: Autolink reference description: An autolink reference. type: object @@ -77137,8 +78442,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -77177,9 +78482,9 @@ paths: description: response content: application/json: - schema: *514 + schema: *520 examples: - default: &515 + default: &521 value: id: 1 key_prefix: TICKET- @@ -77210,9 +78515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *466 - - *467 - - &516 + - *473 + - *474 + - &522 name: autolink_id description: The unique identifier of the autolink. in: path @@ -77224,9 +78529,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *520 examples: - default: *515 + default: *521 '404': *6 x-github: githubCloudOnly: false @@ -77246,9 +78551,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *466 - - *467 - - *516 + - *473 + - *474 + - *522 responses: '204': description: Response @@ -77272,8 +78577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response if Dependabot is enabled @@ -77323,8 +78628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-dependabot-security-updates parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -77345,8 +78650,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-dependabot-security-updates parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -77366,8 +78671,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#list-branches parameters: - - *466 - - *467 + - *473 + - *474 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -77405,7 +78710,7 @@ paths: - url protected: type: boolean - protection: &518 + protection: &524 title: Branch Protection description: Branch Protection type: object @@ -77448,7 +78753,7 @@ paths: required: - contexts - checks - enforce_admins: &521 + enforce_admins: &527 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -77465,7 +78770,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &523 + required_pull_request_reviews: &529 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -77487,7 +78792,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *307 + items: *314 apps: description: The list of apps with review dismissal access. @@ -77519,7 +78824,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *307 + items: *314 apps: description: The list of apps allowed to bypass pull request requirements. @@ -77549,7 +78854,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &520 + restrictions: &526 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -77612,7 +78917,7 @@ paths: type: string teams: type: array - items: *307 + items: *314 apps: type: array items: @@ -77842,9 +79147,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#get-a-branch parameters: - - *466 - - *467 - - &519 + - *473 + - *474 + - &525 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql). @@ -77858,14 +79163,14 @@ paths: description: Response content: application/json: - schema: &529 + schema: &535 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &580 + commit: &586 title: Commit description: Commit type: object @@ -77904,7 +79209,7 @@ paths: author: anyOf: - type: 'null' - - &517 + - &523 title: Git User description: Metaproperties for Git author/committer information. @@ -77926,7 +79231,7 @@ paths: committer: anyOf: - type: 'null' - - *517 + - *523 message: type: string examples: @@ -77950,7 +79255,7 @@ paths: required: - sha - url - verification: &641 + verification: &645 title: Verification type: object properties: @@ -78030,7 +79335,7 @@ paths: type: integer files: type: array - items: &591 + items: &597 title: Diff Entry description: Diff Entry type: object @@ -78126,7 +79431,7 @@ paths: - self protected: type: boolean - protection: *518 + protection: *524 protection_url: type: string format: uri @@ -78235,7 +79540,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *472 + '301': *479 '404': *6 x-github: githubCloudOnly: false @@ -78257,15 +79562,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-branch-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response content: application/json: - schema: *518 + schema: *524 examples: default: value: @@ -78459,9 +79764,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-branch-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: true content: @@ -78721,7 +80026,7 @@ paths: url: type: string format: uri - required_status_checks: &526 + required_status_checks: &532 title: Status Check Policy description: Status Check Policy type: object @@ -78802,7 +80107,7 @@ paths: items: *4 teams: type: array - items: *307 + items: *314 apps: type: array items: *5 @@ -78820,7 +80125,7 @@ paths: items: *4 teams: type: array - items: *307 + items: *314 apps: type: array items: *5 @@ -78880,7 +80185,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *520 + restrictions: *526 required_conversation_resolution: type: object properties: @@ -78992,9 +80297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-branch-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '204': description: Response @@ -79019,17 +80324,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response content: application/json: - schema: *521 + schema: *527 examples: - default: &522 + default: &528 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -79051,17 +80356,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response content: application/json: - schema: *521 + schema: *527 examples: - default: *522 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79080,9 +80385,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '204': description: Response @@ -79107,17 +80412,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response content: application/json: - schema: *523 + schema: *529 examples: - default: &524 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -79213,9 +80518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: false content: @@ -79313,9 +80618,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *529 examples: - default: *524 + default: *530 '422': *15 x-github: githubCloudOnly: false @@ -79336,9 +80641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '204': description: Response @@ -79365,17 +80670,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response content: application/json: - schema: *521 + schema: *527 examples: - default: &525 + default: &531 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -79398,17 +80703,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response content: application/json: - schema: *521 + schema: *527 examples: - default: *525 + default: *531 '404': *6 x-github: githubCloudOnly: false @@ -79428,9 +80733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '204': description: Response @@ -79455,17 +80760,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-status-checks-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response content: application/json: - schema: *526 + schema: *532 examples: - default: &527 + default: &533 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -79491,9 +80796,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-status-check-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: false content: @@ -79545,9 +80850,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *532 examples: - default: *527 + default: *533 '404': *6 '422': *15 x-github: @@ -79569,9 +80874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '204': description: Response @@ -79595,9 +80900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response @@ -79631,9 +80936,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-status-check-contexts parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: false content: @@ -79700,9 +81005,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-status-check-contexts parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: false content: @@ -79766,9 +81071,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: content: application/json: @@ -79834,15 +81139,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-access-restrictions parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response content: application/json: - schema: *520 + schema: *526 examples: default: value: @@ -79933,9 +81238,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-access-restrictions parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '204': description: Response @@ -79958,9 +81263,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response @@ -79970,7 +81275,7 @@ paths: type: array items: *5 examples: - default: &528 + default: &534 value: - id: 1 slug: octoapp @@ -80027,9 +81332,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: true content: @@ -80063,7 +81368,7 @@ paths: type: array items: *5 examples: - default: *528 + default: *534 '422': *15 x-github: githubCloudOnly: false @@ -80084,9 +81389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: true content: @@ -80120,7 +81425,7 @@ paths: type: array items: *5 examples: - default: *528 + default: *534 '422': *15 x-github: githubCloudOnly: false @@ -80141,9 +81446,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: true content: @@ -80177,7 +81482,7 @@ paths: type: array items: *5 examples: - default: *528 + default: *534 '422': *15 x-github: githubCloudOnly: false @@ -80199,9 +81504,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response @@ -80209,9 +81514,9 @@ paths: application/json: schema: type: array - items: *307 + items: *314 examples: - default: *394 + default: *401 '404': *6 x-github: githubCloudOnly: false @@ -80231,9 +81536,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: false content: @@ -80269,9 +81574,9 @@ paths: application/json: schema: type: array - items: *307 + items: *314 examples: - default: *394 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -80292,9 +81597,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: false content: @@ -80330,9 +81635,9 @@ paths: application/json: schema: type: array - items: *307 + items: *314 examples: - default: *394 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -80353,9 +81658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: content: application/json: @@ -80390,9 +81695,9 @@ paths: application/json: schema: type: array - items: *307 + items: *314 examples: - default: *394 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -80414,9 +81719,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response @@ -80450,9 +81755,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: true content: @@ -80510,9 +81815,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: true content: @@ -80570,9 +81875,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: true content: @@ -80632,9 +81937,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#rename-a-branch parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: true content: @@ -80656,7 +81961,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *535 examples: default: value: @@ -80770,8 +82075,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *466 - - *467 + - *473 + - *474 - *103 - *104 - *105 @@ -80785,9 +82090,9 @@ paths: application/json: schema: type: array - items: *302 + items: *309 examples: - default: *303 + default: *310 '404': *6 '500': *38 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -80807,8 +82112,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *466 - - *467 + - *473 + - *474 - name: bypass_request_number in: path required: true @@ -80822,7 +82127,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *309 examples: default: value: @@ -80881,8 +82186,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *466 - - *467 + - *473 + - *474 - *103 - *104 - *105 @@ -80896,9 +82201,9 @@ paths: application/json: schema: type: array - items: *305 + items: *312 examples: - default: *306 + default: *313 '404': *6 '403': *27 '500': *38 @@ -80922,8 +82227,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *466 - - *467 + - *473 + - *474 - name: bypass_request_number in: path required: true @@ -80935,7 +82240,7 @@ paths: description: A single bypass request. content: application/json: - schema: *305 + schema: *312 examples: default: value: @@ -80993,8 +82298,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *466 - - *467 + - *473 + - *474 - name: bypass_request_number in: path required: true @@ -81065,8 +82370,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *466 - - *467 + - *473 + - *474 - name: bypass_response_id in: path required: true @@ -81099,8 +82404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#create-a-check-run parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -81379,7 +82684,7 @@ paths: description: Response content: application/json: - schema: &530 + schema: &536 title: CheckRun description: A check performed on the code of a given code change type: object @@ -81515,7 +82820,7 @@ paths: check. type: array items: *222 - deployment: &860 + deployment: &864 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -81802,9 +83107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#get-a-check-run parameters: - - *466 - - *467 - - &531 + - *473 + - *474 + - &537 name: check_run_id description: The unique identifier of the check run. in: path @@ -81816,9 +83121,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *536 examples: - default: &532 + default: &538 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -81918,9 +83223,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run parameters: - - *466 - - *467 - - *531 + - *473 + - *474 + - *537 requestBody: required: true content: @@ -82160,9 +83465,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *536 examples: - default: *532 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82182,9 +83487,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-run-annotations parameters: - - *466 - - *467 - - *531 + - *473 + - *474 + - *537 - *17 - *19 responses: @@ -82294,9 +83599,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#rerequest-a-check-run parameters: - - *466 - - *467 - - *531 + - *473 + - *474 + - *537 responses: '201': description: Response @@ -82340,8 +83645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -82363,7 +83668,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &534 + schema: &540 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -82461,7 +83766,7 @@ paths: - string - 'null' format: date-time - head_commit: *533 + head_commit: *539 latest_check_runs_count: type: integer check_runs_url: @@ -82489,7 +83794,7 @@ paths: - check_runs_url - pull_requests examples: - default: &535 + default: &541 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -82780,9 +84085,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *534 + schema: *540 examples: - default: *535 + default: *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82801,8 +84106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -83111,9 +84416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite parameters: - - *466 - - *467 - - &536 + - *473 + - *474 + - &542 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -83125,9 +84430,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *540 examples: - default: *535 + default: *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83150,17 +84455,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *466 - - *467 - - *536 - - &586 + - *473 + - *474 + - *542 + - &592 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &587 + - &593 name: status description: Returns check runs with the specified `status`. in: query @@ -83199,9 +84504,9 @@ paths: type: integer check_runs: type: array - items: *530 + items: *536 examples: - default: &588 + default: &594 value: total_count: 1 check_runs: @@ -83303,9 +84608,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#rerequest-a-check-suite parameters: - - *466 - - *467 - - *536 + - *473 + - *474 + - *542 responses: '201': description: Response @@ -83338,21 +84643,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *466 - - *467 - - *311 - - *312 + - *473 + - *474 + - *318 + - *319 - *19 - *17 - - &552 + - &558 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *537 - - &553 + schema: *543 + - &559 name: pr description: The number of the pull request for the results you want to list. in: query @@ -83377,13 +84682,13 @@ paths: be returned. in: query required: false - schema: *313 + schema: *320 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *538 + schema: *544 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -83407,7 +84712,7 @@ paths: updated_at: *135 url: *132 html_url: *133 - instances_url: *539 + instances_url: *545 state: *113 fixed_at: *137 dismissed_by: @@ -83415,11 +84720,11 @@ paths: - type: 'null' - *4 dismissed_at: *136 - dismissed_reason: *540 - dismissed_comment: *541 - rule: *542 - tool: *543 - most_recent_instance: *544 + dismissed_reason: *546 + dismissed_comment: *547 + rule: *548 + tool: *549 + most_recent_instance: *550 dismissal_approved_by: anyOf: - type: 'null' @@ -83542,7 +84847,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &545 + '403': &551 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -83569,9 +84874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *466 - - *467 - - &546 + - *473 + - *474 + - &552 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -83585,7 +84890,7 @@ paths: description: Response content: application/json: - schema: &547 + schema: &553 type: object properties: number: *127 @@ -83593,7 +84898,7 @@ paths: updated_at: *135 url: *132 html_url: *133 - instances_url: *539 + instances_url: *545 state: *113 fixed_at: *137 dismissed_by: @@ -83601,8 +84906,8 @@ paths: - type: 'null' - *4 dismissed_at: *136 - dismissed_reason: *540 - dismissed_comment: *541 + dismissed_reason: *546 + dismissed_comment: *547 rule: type: object properties: @@ -83664,8 +84969,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *543 - most_recent_instance: *544 + tool: *549 + most_recent_instance: *550 dismissal_approved_by: anyOf: - type: 'null' @@ -83761,7 +85066,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *545 + '403': *551 '404': *6 '503': *192 x-github: @@ -83781,9 +85086,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *466 - - *467 - - *546 + - *473 + - *474 + - *552 requestBody: required: true content: @@ -83798,8 +85103,8 @@ paths: enum: - open - dismissed - dismissed_reason: *540 - dismissed_comment: *541 + dismissed_reason: *546 + dismissed_comment: *547 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -83827,7 +85132,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *553 examples: default: value: @@ -83903,7 +85208,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &551 + '403': &557 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -83930,15 +85235,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *466 - - *467 - - *546 + - *473 + - *474 + - *552 responses: '200': description: Response content: application/json: - schema: &548 + schema: &554 type: object properties: status: @@ -83965,13 +85270,13 @@ paths: - description - started_at examples: - default: &549 + default: &555 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &550 + '400': &556 description: Bad Request content: application/json: @@ -83982,7 +85287,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *545 + '403': *551 '404': *6 '503': *192 x-github: @@ -84007,29 +85312,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *466 - - *467 - - *546 + - *473 + - *474 + - *552 responses: '200': description: OK content: application/json: - schema: *548 + schema: *554 examples: - default: *549 + default: *555 '202': description: Accepted content: application/json: - schema: *548 + schema: *554 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *550 + '400': *556 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -84061,9 +85366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *466 - - *467 - - *546 + - *473 + - *474 + - *552 requestBody: required: false content: @@ -84109,8 +85414,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *550 - '403': *551 + '400': *556 + '403': *557 '404': *6 '422': description: Unprocessable Entity @@ -84134,13 +85439,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *466 - - *467 - - *546 + - *473 + - *474 + - *552 - *19 - *17 - - *552 - - *553 + - *558 + - *559 responses: '200': description: Response @@ -84151,10 +85456,10 @@ paths: items: type: object properties: - ref: *537 - analysis_key: *554 - environment: *555 - category: *556 + ref: *543 + analysis_key: *560 + environment: *561 + category: *562 state: type: - string @@ -84171,7 +85476,7 @@ paths: properties: text: type: string - location: *557 + location: *563 html_url: type: string classifications: @@ -84179,7 +85484,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *558 + items: *564 examples: default: value: @@ -84216,7 +85521,7 @@ paths: end_column: 50 classifications: - source - '403': *545 + '403': *551 '404': *6 '503': *192 x-github: @@ -84250,25 +85555,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *466 - - *467 - - *311 - - *312 + - *473 + - *474 + - *318 + - *319 - *19 - *17 - - *553 + - *559 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *537 + schema: *543 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &559 + schema: &565 type: string description: An identifier for the upload. examples: @@ -84290,23 +85595,23 @@ paths: application/json: schema: type: array - items: &560 + items: &566 type: object properties: - ref: *537 - commit_sha: &568 + ref: *543 + commit_sha: &574 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *554 + analysis_key: *560 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *556 + category: *562 error: type: string examples: @@ -84331,8 +85636,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *559 - tool: *543 + sarif_id: *565 + tool: *549 deletable: type: boolean warning: @@ -84394,7 +85699,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *545 + '403': *551 '404': *6 '503': *192 x-github: @@ -84430,8 +85735,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -84444,7 +85749,7 @@ paths: description: Response content: application/json: - schema: *560 + schema: *566 examples: response: summary: application/json response @@ -84498,7 +85803,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *545 + '403': *551 '404': *6 '422': description: Response if analysis could not be processed @@ -84585,8 +85890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -84642,7 +85947,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *551 + '403': *557 '404': *6 '503': *192 x-github: @@ -84664,8 +85969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -84673,7 +85978,7 @@ paths: application/json: schema: type: array - items: &561 + items: &567 title: CodeQL Database description: A CodeQL database. type: object @@ -84785,7 +86090,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *545 + '403': *551 '404': *6 '503': *192 x-github: @@ -84814,8 +86119,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - name: language in: path description: The language of the CodeQL database. @@ -84827,7 +86132,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *567 examples: default: value: @@ -84859,9 +86164,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &595 + '302': &601 description: Found - '403': *545 + '403': *551 '404': *6 '503': *192 x-github: @@ -84883,8 +86188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *466 - - *467 + - *473 + - *474 - name: language in: path description: The language of the CodeQL database. @@ -84894,7 +86199,7 @@ paths: responses: '204': description: Response - '403': *551 + '403': *557 '404': *6 '503': *192 x-github: @@ -84922,8 +86227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -84932,7 +86237,7 @@ paths: type: object additionalProperties: false properties: - language: &562 + language: &568 type: string description: The language targeted by the CodeQL query enum: @@ -85012,7 +86317,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &566 + schema: &572 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -85022,7 +86327,7 @@ paths: description: The ID of the variant analysis. controller_repo: *120 actor: *4 - query_language: *562 + query_language: *568 query_pack_url: type: string description: The download url for the query pack. @@ -85070,7 +86375,7 @@ paths: items: type: object properties: - repository: &563 + repository: &569 title: Repository Identifier description: Repository Identifier type: object @@ -85112,7 +86417,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &567 + analysis_status: &573 type: string description: The new status of the CodeQL variant analysis repository task. @@ -85144,7 +86449,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &564 + access_mismatch_repos: &570 type: object properties: repository_count: @@ -85159,7 +86464,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *563 + items: *569 required: - repository_count - repositories @@ -85182,8 +86487,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *564 - over_limit_repos: *564 + no_codeql_db_repos: *570 + over_limit_repos: *570 required: - access_mismatch_repos - not_found_repos @@ -85199,7 +86504,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &565 + value: &571 summary: Default response value: id: 1 @@ -85345,10 +86650,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *565 + value: *571 repository_lists: summary: Response for a successful variant analysis submission - value: *565 + value: *571 '404': *6 '422': description: Unable to process variant analysis submission @@ -85376,8 +86681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *466 - - *467 + - *473 + - *474 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -85389,9 +86694,9 @@ paths: description: Response content: application/json: - schema: *566 + schema: *572 examples: - default: *565 + default: *571 '404': *6 '503': *192 x-github: @@ -85414,7 +86719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *466 + - *473 - name: repo in: path description: The name of the controller repository. @@ -85449,7 +86754,7 @@ paths: type: object properties: repository: *120 - analysis_status: *567 + analysis_status: *573 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -85574,8 +86879,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -85668,7 +86973,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *545 + '403': *551 '404': *6 '503': *192 x-github: @@ -85689,8 +86994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -85784,7 +87089,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *551 + '403': *557 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -85855,8 +87160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -85864,7 +87169,7 @@ paths: schema: type: object properties: - commit_sha: *568 + commit_sha: *574 ref: type: string description: |- @@ -85924,7 +87229,7 @@ paths: schema: type: object properties: - id: *559 + id: *565 url: type: string description: The REST API URL for checking the status of the upload. @@ -85938,7 +87243,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *551 + '403': *557 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -85961,8 +87266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *466 - - *467 + - *473 + - *474 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -86010,7 +87315,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *545 + '403': *551 '404': description: Not Found if the sarif id does not match any upload '503': *192 @@ -86035,8 +87340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -86117,8 +87422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-codeowners-errors parameters: - - *466 - - *467 + - *473 + - *474 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -86246,8 +87551,8 @@ paths: parameters: - *17 - *19 - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -86263,7 +87568,7 @@ paths: type: integer codespaces: type: array - items: *385 + items: *392 examples: default: value: @@ -86561,8 +87866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -86626,17 +87931,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *385 + schema: *392 examples: - default: *569 + default: *575 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *385 + schema: *392 examples: - default: *569 + default: *575 '400': *14 '401': *23 '403': *27 @@ -86665,8 +87970,8 @@ paths: parameters: - *17 - *19 - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -86730,8 +88035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -86768,9 +88073,9 @@ paths: type: integer machines: type: array - items: *570 + items: *576 examples: - default: &805 + default: &809 value: total_count: 2 machines: @@ -86810,8 +88115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *466 - - *467 + - *473 + - *474 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -86898,8 +88203,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *466 - - *467 + - *473 + - *474 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -86968,8 +88273,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -86987,7 +88292,7 @@ paths: type: integer secrets: type: array - items: &574 + items: &580 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -87008,7 +88313,7 @@ paths: - created_at - updated_at examples: - default: *571 + default: *577 headers: Link: *45 x-github: @@ -87031,16 +88336,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: *572 + schema: *578 examples: - default: *573 + default: *579 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -87060,17 +88365,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *466 - - *467 + - *473 + - *474 - *288 responses: '200': description: Response content: application/json: - schema: *574 + schema: *580 examples: - default: *575 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87090,8 +88395,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *466 - - *467 + - *473 + - *474 - *288 requestBody: required: true @@ -87144,8 +88449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *466 - - *467 + - *473 + - *474 - *288 responses: '204': @@ -87174,8 +88479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *466 - - *467 + - *473 + - *474 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -87213,7 +88518,7 @@ paths: application/json: schema: type: array - items: &576 + items: &582 title: Collaborator description: Collaborator type: object @@ -87406,8 +88711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *466 - - *467 + - *473 + - *474 - *140 responses: '204': @@ -87454,8 +88759,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *466 - - *467 + - *473 + - *474 - *140 requestBody: required: false @@ -87482,7 +88787,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &653 + schema: &657 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -87710,8 +89015,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *466 - - *467 + - *473 + - *474 - *140 responses: '204': @@ -87743,8 +89048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *466 - - *467 + - *473 + - *474 - *140 responses: '200': @@ -87765,7 +89070,7 @@ paths: user: anyOf: - type: 'null' - - *576 + - *582 required: - permission - role_name @@ -87819,8 +89124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -87830,7 +89135,7 @@ paths: application/json: schema: type: array - items: &577 + items: &583 title: Commit Comment description: Commit Comment type: object @@ -87888,7 +89193,7 @@ paths: - created_at - updated_at examples: - default: &582 + default: &588 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -87947,17 +89252,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 responses: '200': description: Response content: application/json: - schema: *577 + schema: *583 examples: - default: &583 + default: &589 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -88014,8 +89319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#update-a-commit-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 requestBody: required: true @@ -88038,7 +89343,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *583 examples: default: value: @@ -88089,8 +89394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#delete-a-commit-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 responses: '204': @@ -88112,8 +89417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). @@ -88140,7 +89445,7 @@ paths: application/json: schema: type: array - items: &578 + items: &584 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -88184,7 +89489,7 @@ paths: - content - created_at examples: - default: &656 + default: &660 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -88229,8 +89534,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 requestBody: required: true @@ -88263,9 +89568,9 @@ paths: description: Reaction exists content: application/json: - schema: *578 + schema: *584 examples: - default: &579 + default: &585 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -88294,9 +89599,9 @@ paths: description: Reaction created content: application/json: - schema: *578 + schema: *584 examples: - default: *579 + default: *585 '422': *15 x-github: githubCloudOnly: false @@ -88318,10 +89623,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *466 - - *467 + - *473 + - *474 - *233 - - &657 + - &661 name: reaction_id description: The unique identifier of the reaction. in: path @@ -88376,8 +89681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits parameters: - - *466 - - *467 + - *473 + - *474 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -88433,9 +89738,9 @@ paths: application/json: schema: type: array - items: *580 + items: *586 examples: - default: &706 + default: &710 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -88529,9 +89834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-branches-for-head-commit parameters: - - *466 - - *467 - - &581 + - *473 + - *474 + - &587 name: commit_sha description: The SHA of the commit. in: path @@ -88603,9 +89908,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments parameters: - - *466 - - *467 - - *581 + - *473 + - *474 + - *587 - *17 - *19 responses: @@ -88615,9 +89920,9 @@ paths: application/json: schema: type: array - items: *577 + items: *583 examples: - default: *582 + default: *588 headers: Link: *45 x-github: @@ -88645,9 +89950,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#create-a-commit-comment parameters: - - *466 - - *467 - - *581 + - *473 + - *474 + - *587 requestBody: required: true content: @@ -88682,9 +89987,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *583 examples: - default: *583 + default: *589 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -88712,9 +90017,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *466 - - *467 - - *581 + - *473 + - *474 + - *587 - *17 - *19 responses: @@ -88724,9 +90029,9 @@ paths: application/json: schema: type: array - items: *584 + items: *590 examples: - default: &698 + default: &702 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -89263,11 +90568,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#get-a-commit parameters: - - *466 - - *467 + - *473 + - *474 - *19 - *17 - - &585 + - &591 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -89282,9 +90587,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *586 examples: - default: &684 + default: &688 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -89372,7 +90677,7 @@ paths: schema: type: string examples: - default: &592 + default: &598 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -89385,7 +90690,7 @@ paths: schema: type: string examples: - default: &593 + default: &599 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -89438,11 +90743,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *466 - - *467 - - *585 - - *586 - - *587 + - *473 + - *474 + - *591 + - *592 + - *593 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -89476,9 +90781,9 @@ paths: type: integer check_runs: type: array - items: *530 + items: *536 examples: - default: *588 + default: *594 headers: Link: *45 x-github: @@ -89503,9 +90808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *466 - - *467 - - *585 + - *473 + - *474 + - *591 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -89513,7 +90818,7 @@ paths: schema: type: integer example: 1 - - *586 + - *592 - *17 - *19 responses: @@ -89531,7 +90836,7 @@ paths: type: integer check_suites: type: array - items: *534 + items: *540 examples: default: value: @@ -89731,9 +91036,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *466 - - *467 - - *585 + - *473 + - *474 + - *591 - *17 - *19 responses: @@ -89935,9 +91240,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *466 - - *467 - - *585 + - *473 + - *474 + - *591 - *17 - *19 responses: @@ -89947,7 +91252,7 @@ paths: application/json: schema: type: array - items: &759 + items: &763 title: Status description: The status of a commit. type: object @@ -90028,7 +91333,7 @@ paths: site_admin: false headers: Link: *45 - '301': *472 + '301': *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90056,8 +91361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/community#get-community-profile-metrics parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -90090,11 +91395,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *589 + - *595 code_of_conduct_file: anyOf: - type: 'null' - - &590 + - &596 title: Community Health File type: object properties: @@ -90114,19 +91419,19 @@ paths: contributing: anyOf: - type: 'null' - - *590 + - *596 readme: anyOf: - type: 'null' - - *590 + - *596 issue_template: anyOf: - type: 'null' - - *590 + - *596 pull_request_template: anyOf: - type: 'null' - - *590 + - *596 required: - code_of_conduct - code_of_conduct_file @@ -90255,8 +91560,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#compare-two-commits parameters: - - *466 - - *467 + - *473 + - *474 - *19 - *17 - name: basehead @@ -90304,8 +91609,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *580 - merge_base_commit: *580 + base_commit: *586 + merge_base_commit: *586 status: type: string enum: @@ -90329,10 +91634,10 @@ paths: - 6 commits: type: array - items: *580 + items: *586 files: type: array - items: *591 + items: *597 required: - url - html_url @@ -90578,12 +91883,12 @@ paths: schema: type: string examples: - default: *592 + default: *598 application/vnd.github.patch: schema: type: string examples: - default: *593 + default: *599 '404': *6 '500': *38 '503': *192 @@ -90628,8 +91933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-repository-content parameters: - - *466 - - *467 + - *473 + - *474 - name: path description: path parameter in: path @@ -90799,7 +92104,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &594 + response-if-content-is-a-file-github-object: &600 summary: Response if content is a file value: type: file @@ -90936,7 +92241,7 @@ paths: - size - type - url - - &711 + - &715 title: Content File description: Content File type: object @@ -91154,7 +92459,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *594 + response-if-content-is-a-file: *600 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -91223,7 +92528,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *595 + '302': *601 '304': *35 x-github: githubCloudOnly: false @@ -91246,8 +92551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#create-or-update-file-contents parameters: - - *466 - - *467 + - *473 + - *474 - name: path description: path parameter in: path @@ -91342,7 +92647,7 @@ paths: description: Response content: application/json: - schema: &596 + schema: &602 title: File Commit description: File Commit type: object @@ -91498,7 +92803,7 @@ paths: description: Response content: application/json: - schema: *596 + schema: *602 examples: example-for-creating-a-file: value: @@ -91552,7 +92857,7 @@ paths: schema: oneOf: - *3 - - &636 + - &640 description: Repository rule violation was detected type: object properties: @@ -91573,7 +92878,7 @@ paths: items: type: object properties: - placeholder_id: &751 + placeholder_id: &755 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -91605,8 +92910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#delete-a-file parameters: - - *466 - - *467 + - *473 + - *474 - name: path description: path parameter in: path @@ -91667,7 +92972,7 @@ paths: description: Response content: application/json: - schema: *596 + schema: *602 examples: default: value: @@ -91722,8 +93027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-contributors parameters: - - *466 - - *467 + - *473 + - *474 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -91847,24 +93152,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *466 - - *467 - - *332 - - *333 - - *334 - - *335 - - *336 + - *473 + - *474 + - *339 + - *340 + - *341 + - *342 + - *343 - 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 - - *337 - - *597 - - *338 - - *339 - - *340 + - *344 + - *603 + - *345 + - *346 + - *347 - *110 - *108 - *109 @@ -91876,7 +93181,7 @@ paths: application/json: schema: type: array - items: &601 + items: &607 type: object description: A Dependabot alert. properties: @@ -91927,7 +93232,7 @@ paths: - transitive - inconclusive - - security_advisory: *598 + security_advisory: *604 security_vulnerability: *131 url: *132 html_url: *133 @@ -91958,8 +93263,8 @@ paths: dismissal. maxLength: 280 fixed_at: *137 - auto_dismissed_at: *599 - dismissal_request: *600 + auto_dismissed_at: *605 + dismissal_request: *606 assignees: type: array description: The users assigned to this alert. @@ -92214,9 +93519,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *466 - - *467 - - &602 + - *473 + - *474 + - &608 name: alert_number in: path description: |- @@ -92231,7 +93536,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *607 examples: default: value: @@ -92363,9 +93668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *466 - - *467 - - *602 + - *473 + - *474 + - *608 requestBody: required: true content: @@ -92421,7 +93726,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *607 examples: default: value: @@ -92551,8 +93856,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-repository-secrets parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -92570,7 +93875,7 @@ paths: type: integer secrets: type: array - items: &605 + items: &611 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -92624,16 +93929,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: *603 + schema: *609 examples: - default: *604 + default: *610 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92653,15 +93958,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-secret parameters: - - *466 - - *467 + - *473 + - *474 - *288 responses: '200': description: Response content: application/json: - schema: *605 + schema: *611 examples: default: value: @@ -92687,8 +93992,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *466 - - *467 + - *473 + - *474 - *288 requestBody: required: true @@ -92741,8 +94046,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *466 - - *467 + - *473 + - *474 - *288 responses: '204': @@ -92765,8 +94070,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *466 - - *467 + - *473 + - *474 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -92940,8 +94245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -93200,8 +94505,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - name: sbom_uuid in: path required: true @@ -93212,7 +94517,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *606 + Location: *612 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -93233,8 +94538,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '201': description: Response @@ -93272,8 +94577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -93356,7 +94661,7 @@ paths: - version - url additionalProperties: false - metadata: &607 + metadata: &613 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -93395,7 +94700,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *607 + metadata: *613 resolved: type: object description: A collection of resolved package dependencies. @@ -93409,7 +94714,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *607 + metadata: *613 relationship: type: string description: A notation of whether a dependency is requested @@ -93542,8 +94847,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments parameters: - - *466 - - *467 + - *473 + - *474 - name: sha description: The SHA recorded at creation time. in: query @@ -93584,9 +94889,9 @@ paths: application/json: schema: type: array - items: *608 + items: *614 examples: - default: *609 + default: *615 headers: Link: *45 x-github: @@ -93652,8 +94957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#create-a-deployment parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -93735,7 +95040,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *614 examples: simple-example: summary: Simple example @@ -93808,9 +95113,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#get-a-deployment parameters: - - *466 - - *467 - - &610 + - *473 + - *474 + - &616 name: deployment_id description: deployment_id parameter in: path @@ -93822,7 +95127,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *614 examples: default: value: @@ -93887,9 +95192,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#delete-a-deployment parameters: - - *466 - - *467 - - *610 + - *473 + - *474 + - *616 responses: '204': description: Response @@ -93911,9 +95216,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#list-deployment-statuses parameters: - - *466 - - *467 - - *610 + - *473 + - *474 + - *616 - *17 - *19 responses: @@ -93923,7 +95228,7 @@ paths: application/json: schema: type: array - items: &611 + items: &617 title: Deployment Status description: The status of a deployment. type: object @@ -94087,9 +95392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#create-a-deployment-status parameters: - - *466 - - *467 - - *610 + - *473 + - *474 + - *616 requestBody: required: true content: @@ -94164,9 +95469,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *617 examples: - default: &612 + default: &618 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -94222,9 +95527,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#get-a-deployment-status parameters: - - *466 - - *467 - - *610 + - *473 + - *474 + - *616 - name: status_id in: path required: true @@ -94235,9 +95540,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *617 examples: - default: *612 + default: *618 '404': *6 x-github: githubCloudOnly: false @@ -94264,12 +95569,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *466 - - *467 - - *613 - - *614 - - *615 - - *616 + - *473 + - *474 + - *619 + - *620 + - *621 + - *622 - *17 - *19 responses: @@ -94279,9 +95584,9 @@ paths: application/json: schema: type: array - items: *617 + items: *623 examples: - default: *618 + default: *624 '404': *6 '403': *27 '500': *38 @@ -94305,8 +95610,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *466 - - *467 + - *473 + - *474 - name: alert_number in: path required: true @@ -94318,7 +95623,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *617 + schema: *623 examples: default: value: @@ -94374,8 +95679,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *466 - - *467 + - *473 + - *474 - name: alert_number in: path required: true @@ -94434,12 +95739,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *466 - - *467 - - *613 - - *614 - - *615 - - *616 + - *473 + - *474 + - *619 + - *620 + - *621 + - *622 - *17 - *19 responses: @@ -94449,9 +95754,9 @@ paths: application/json: schema: type: array - items: *619 + items: *625 examples: - default: *620 + default: *626 '404': *6 '403': *27 '500': *38 @@ -94475,8 +95780,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *466 - - *467 + - *473 + - *474 - name: alert_number in: path required: true @@ -94488,7 +95793,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *619 + schema: *625 examples: default: value: @@ -94539,8 +95844,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *466 - - *467 + - *473 + - *474 - name: alert_number in: path required: true @@ -94578,7 +95883,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *619 + schema: *625 examples: default: value: @@ -94629,8 +95934,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *466 - - *467 + - *473 + - *474 - name: alert_number in: path required: true @@ -94701,8 +96006,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *466 - - *467 + - *473 + - *474 - name: alert_number in: path required: true @@ -94735,12 +96040,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *466 - - *467 + - *473 + - *474 - *103 - *104 - *105 - - *346 + - *353 - *17 - *19 responses: @@ -94750,9 +96055,9 @@ paths: application/json: schema: type: array - items: *348 + items: *355 examples: - default: *349 + default: *356 '404': *6 '403': *27 '500': *38 @@ -94777,8 +96082,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *466 - - *467 + - *473 + - *474 - name: alert_number in: path required: true @@ -94790,7 +96095,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *348 + schema: *355 examples: default: value: @@ -94848,8 +96153,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *466 - - *467 + - *473 + - *474 - name: alert_number in: path required: true @@ -94918,8 +96223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -94976,8 +96281,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#list-environments parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -94995,7 +96300,7 @@ paths: - 5 environments: type: array - items: &622 + items: &628 title: Environment description: Details of a deployment environment type: object @@ -95057,7 +96362,7 @@ paths: type: string examples: - wait_timer - wait_timer: &624 + wait_timer: &630 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -95099,11 +96404,11 @@ paths: items: type: object properties: - type: *621 + type: *627 reviewer: anyOf: - *4 - - *307 + - *314 required: - id - node_id @@ -95126,7 +96431,7 @@ paths: - id - node_id - type - deployment_branch_policy: &625 + deployment_branch_policy: &631 type: - object - 'null' @@ -95243,9 +96548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#get-an-environment parameters: - - *466 - - *467 - - &623 + - *473 + - *474 + - &629 name: environment_name in: path required: true @@ -95258,9 +96563,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *628 examples: - default: &626 + default: &632 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -95344,9 +96649,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#create-or-update-an-environment parameters: - - *466 - - *467 - - *623 + - *473 + - *474 + - *629 requestBody: required: false content: @@ -95356,7 +96661,7 @@ paths: - object - 'null' properties: - wait_timer: *624 + wait_timer: *630 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -95375,14 +96680,14 @@ paths: items: type: object properties: - type: *621 + type: *627 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *625 + deployment_branch_policy: *631 additionalProperties: false examples: default: @@ -95402,9 +96707,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *628 examples: - default: *626 + default: *632 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -95428,9 +96733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#delete-an-environment parameters: - - *466 - - *467 - - *623 + - *473 + - *474 + - *629 responses: '204': description: Default response @@ -95455,9 +96760,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *466 - - *467 - - *623 + - *473 + - *474 + - *629 - *17 - *19 responses: @@ -95476,7 +96781,7 @@ paths: - 2 branch_policies: type: array - items: &627 + items: &633 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -95537,9 +96842,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *466 - - *467 - - *623 + - *473 + - *474 + - *629 requestBody: required: true content: @@ -95587,9 +96892,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *633 examples: - example-wildcard: &628 + example-wildcard: &634 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -95631,10 +96936,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *466 - - *467 - - *623 - - &629 + - *473 + - *474 + - *629 + - &635 name: branch_policy_id in: path required: true @@ -95646,9 +96951,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *633 examples: - default: *628 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95667,10 +96972,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *466 - - *467 - - *623 + - *473 + - *474 - *629 + - *635 requestBody: required: true content: @@ -95699,9 +97004,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *633 examples: - default: *628 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95720,10 +97025,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *466 - - *467 - - *623 + - *473 + - *474 - *629 + - *635 responses: '204': description: Response @@ -95748,9 +97053,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *623 - - *467 - - *466 + - *629 + - *474 + - *473 responses: '200': description: List of deployment protection rules @@ -95767,7 +97072,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &630 + items: &636 title: Deployment protection rule description: Deployment protection rule type: object @@ -95789,7 +97094,7 @@ paths: for the environment. examples: - true - app: &631 + app: &637 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -95892,9 +97197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *623 - - *467 - - *466 + - *629 + - *474 + - *473 requestBody: content: application/json: @@ -95915,9 +97220,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *630 + schema: *636 examples: - default: &632 + default: &638 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -95952,9 +97257,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *623 - - *467 - - *466 + - *629 + - *474 + - *473 - *19 - *17 responses: @@ -95974,7 +97279,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *631 + items: *637 examples: default: value: @@ -96009,10 +97314,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *466 - - *467 - - *623 - - &633 + - *473 + - *474 + - *629 + - &639 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -96024,9 +97329,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *636 examples: - default: *632 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96047,10 +97352,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *623 - - *467 - - *466 - - *633 + - *629 + - *474 + - *473 + - *639 responses: '204': description: Response @@ -96076,9 +97381,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-environment-secrets parameters: - - *466 - - *467 - - *623 + - *473 + - *474 + - *629 - *17 - *19 responses: @@ -96096,9 +97401,9 @@ paths: type: integer secrets: type: array - items: *497 + items: *503 examples: - default: *498 + default: *504 headers: Link: *45 x-github: @@ -96123,17 +97428,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-public-key parameters: - - *466 - - *467 - - *623 + - *473 + - *474 + - *629 responses: '200': description: Response content: application/json: - schema: *499 + schema: *294 examples: - default: *500 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96155,18 +97460,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-secret parameters: - - *466 - - *467 - - *623 + - *473 + - *474 + - *629 - *288 responses: '200': description: Response content: application/json: - schema: *497 + schema: *503 examples: - default: *634 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96188,9 +97493,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *466 - - *467 - - *623 + - *473 + - *474 + - *629 - *288 requestBody: required: true @@ -96248,9 +97553,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-environment-secret parameters: - - *466 - - *467 - - *623 + - *473 + - *474 + - *629 - *288 responses: '204': @@ -96276,10 +97581,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-environment-variables parameters: - - *466 - - *467 - - *623 - - *484 + - *473 + - *474 + - *629 + - *297 - *19 responses: '200': @@ -96296,9 +97601,9 @@ paths: type: integer variables: type: array - items: *501 + items: *505 examples: - default: *502 + default: *506 headers: Link: *45 x-github: @@ -96321,9 +97626,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-environment-variable parameters: - - *466 - - *467 - - *623 + - *473 + - *474 + - *629 requestBody: required: true content: @@ -96375,18 +97680,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-environment-variable parameters: - - *466 - - *467 - - *623 + - *473 + - *474 + - *629 - *291 responses: '200': description: Response content: application/json: - schema: *501 + schema: *505 examples: - default: *635 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96407,10 +97712,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-environment-variable parameters: - - *466 - - *467 + - *473 + - *474 - *291 - - *623 + - *629 requestBody: required: true content: @@ -96452,10 +97757,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-environment-variable parameters: - - *466 - - *467 + - *473 + - *474 - *291 - - *623 + - *629 responses: '204': description: Response @@ -96477,8 +97782,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-repository-events parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -96546,8 +97851,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#list-forks parameters: - - *466 - - *467 + - *473 + - *474 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -96706,8 +98011,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#create-a-fork parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: false content: @@ -96740,9 +98045,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *478 examples: - default: *473 + default: *480 '400': *14 '422': *15 '403': *27 @@ -96763,8 +98068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#create-a-blob parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -96824,7 +98129,7 @@ paths: schema: oneOf: - *253 - - *636 + - *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96849,8 +98154,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#get-a-blob parameters: - - *466 - - *467 + - *473 + - *474 - name: file_sha in: path required: true @@ -96950,8 +98255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#create-a-commit parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -97060,7 +98365,7 @@ paths: description: Response content: application/json: - schema: &637 + schema: &641 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -97287,15 +98592,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#get-a-commit-object parameters: - - *466 - - *467 - - *581 + - *473 + - *474 + - *587 responses: '200': description: Response content: application/json: - schema: *637 + schema: *641 examples: default: value: @@ -97351,9 +98656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#list-matching-references parameters: - - *466 - - *467 - - &638 + - *473 + - *474 + - &642 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -97370,7 +98675,7 @@ paths: application/json: schema: type: array - items: &639 + items: &643 title: Git Reference description: Git references within a repository type: object @@ -97446,17 +98751,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference parameters: - - *466 - - *467 - - *638 + - *473 + - *474 + - *642 responses: '200': description: Response content: application/json: - schema: *639 + schema: *643 examples: - default: &640 + default: &644 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -97485,8 +98790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -97515,9 +98820,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *643 examples: - default: *640 + default: *644 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -97543,9 +98848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#update-a-reference parameters: - - *466 - - *467 - - *638 + - *473 + - *474 + - *642 requestBody: required: true content: @@ -97574,9 +98879,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *643 examples: - default: *640 + default: *644 '422': *15 '409': *119 x-github: @@ -97594,9 +98899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#delete-a-reference parameters: - - *466 - - *467 - - *638 + - *473 + - *474 + - *642 responses: '204': description: Response @@ -97651,8 +98956,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#create-a-tag-object parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -97719,7 +99024,7 @@ paths: description: Response content: application/json: - schema: &642 + schema: &646 title: Git Tag description: Metadata for a Git tag type: object @@ -97775,7 +99080,7 @@ paths: - sha - type - url - verification: *641 + verification: *645 required: - sha - url @@ -97785,7 +99090,7 @@ paths: - tag - message examples: - default: &643 + default: &647 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -97858,8 +99163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#get-a-tag parameters: - - *466 - - *467 + - *473 + - *474 - name: tag_sha in: path required: true @@ -97870,9 +99175,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *646 examples: - default: *643 + default: *647 '404': *6 '409': *119 x-github: @@ -97896,8 +99201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#create-a-tree parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -97971,7 +99276,7 @@ paths: description: Response content: application/json: - schema: &644 + schema: &648 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -98073,8 +99378,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree parameters: - - *466 - - *467 + - *473 + - *474 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -98097,7 +99402,7 @@ paths: description: Response content: application/json: - schema: *644 + schema: *648 examples: default-response: summary: Default response @@ -98156,8 +99461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-repository-webhooks parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -98167,7 +99472,7 @@ paths: application/json: schema: type: array - items: &645 + items: &649 title: Webhook description: Webhooks for repositories. type: object @@ -98230,7 +99535,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &896 + last_response: &900 title: Hook Response type: object properties: @@ -98307,8 +99612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#create-a-repository-webhook parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: false content: @@ -98361,9 +99666,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *649 examples: - default: &646 + default: &650 value: type: Repository id: 12345678 @@ -98411,17 +99716,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-repository-webhook parameters: - - *466 - - *467 - - *352 + - *473 + - *474 + - *359 responses: '200': description: Response content: application/json: - schema: *645 + schema: *649 examples: - default: *646 + default: *650 '404': *6 x-github: githubCloudOnly: false @@ -98441,9 +99746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-repository-webhook parameters: - - *466 - - *467 - - *352 + - *473 + - *474 + - *359 requestBody: required: true content: @@ -98488,9 +99793,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *649 examples: - default: *646 + default: *650 '422': *15 '404': *6 x-github: @@ -98511,9 +99816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *466 - - *467 - - *352 + - *473 + - *474 + - *359 responses: '204': description: Response @@ -98537,9 +99842,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *466 - - *467 - - *352 + - *473 + - *474 + - *359 responses: '200': description: Response @@ -98566,9 +99871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *466 - - *467 - - *352 + - *473 + - *474 + - *359 requestBody: required: false content: @@ -98612,12 +99917,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *466 - - *467 - - *352 + - *473 + - *474 + - *359 - *17 - - *353 - - *354 + - *360 + - *361 responses: '200': description: Response @@ -98625,9 +99930,9 @@ paths: application/json: schema: type: array - items: *355 + items: *362 examples: - default: *356 + default: *363 '400': *14 '422': *15 x-github: @@ -98646,18 +99951,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *466 - - *467 - - *352 + - *473 + - *474 + - *359 - *16 responses: '200': description: Response content: application/json: - schema: *357 + schema: *364 examples: - default: *358 + default: *365 '400': *14 '422': *15 x-github: @@ -98676,9 +99981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *466 - - *467 - - *352 + - *473 + - *474 + - *359 - *16 responses: '202': *37 @@ -98701,9 +100006,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *466 - - *467 - - *352 + - *473 + - *474 + - *359 responses: '204': description: Response @@ -98728,9 +100033,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *466 - - *467 - - *352 + - *473 + - *474 + - *359 responses: '204': description: Response @@ -98753,8 +100058,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response if immutable releases are enabled @@ -98802,8 +100107,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-immutable-releases parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': *126 '409': *119 @@ -98823,8 +100128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-immutable-releases parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': *126 '409': *119 @@ -98881,14 +100186,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-an-import-status parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: &647 + schema: &651 title: Import description: A repository import from an external source. type: object @@ -98995,7 +100300,7 @@ paths: - html_url - authors_url examples: - default: &650 + default: &654 value: vcs: subversion use_lfs: true @@ -99011,7 +100316,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &648 + '503': &652 description: Unavailable due to service under maintenance. content: application/json: @@ -99040,8 +100345,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#start-an-import parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -99089,7 +100394,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *651 examples: default: value: @@ -99114,7 +100419,7 @@ paths: type: string '422': *15 '404': *6 - '503': *648 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99142,8 +100447,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: false content: @@ -99195,7 +100500,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *651 examples: example-1: summary: Example 1 @@ -99243,7 +100548,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *648 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99266,12 +100571,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#cancel-an-import parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response - '503': *648 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99297,9 +100602,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-commit-authors parameters: - - *466 - - *467 - - &826 + - *473 + - *474 + - &830 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -99313,7 +100618,7 @@ paths: application/json: schema: type: array - items: &649 + items: &653 title: Porter Author description: Porter Author type: object @@ -99367,7 +100672,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *648 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99392,8 +100697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#map-a-commit-author parameters: - - *466 - - *467 + - *473 + - *474 - name: author_id in: path required: true @@ -99423,7 +100728,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *653 examples: default: value: @@ -99436,7 +100741,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *648 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99460,8 +100765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-large-files parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -99502,7 +100807,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *648 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99530,8 +100835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -99558,11 +100863,11 @@ paths: description: Response content: application/json: - schema: *647 + schema: *651 examples: - default: *650 + default: *654 '422': *15 - '503': *648 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99585,8 +100890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -99594,8 +100899,8 @@ paths: application/json: schema: *20 examples: - default: *370 - '301': *472 + default: *377 + '301': *479 '404': *6 x-github: githubCloudOnly: false @@ -99615,8 +100920,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -99624,12 +100929,12 @@ paths: application/json: schema: anyOf: - - *372 + - *379 - type: object properties: {} additionalProperties: false examples: - default: &652 + default: &656 value: limit: collaborators_only origin: repository @@ -99654,13 +100959,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: application/json: - schema: *651 + schema: *655 examples: default: summary: Example request body @@ -99672,9 +100977,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *379 examples: - default: *652 + default: *656 '409': description: Response x-github: @@ -99696,8 +101001,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -99720,8 +101025,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#list-repository-invitations parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -99731,9 +101036,9 @@ paths: application/json: schema: type: array - items: *653 + items: *657 examples: - default: &819 + default: &823 value: - id: 1 repository: @@ -99864,9 +101169,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *466 - - *467 - - *376 + - *473 + - *474 + - *383 requestBody: required: false content: @@ -99895,7 +101200,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *657 examples: default: value: @@ -100026,9 +101331,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *466 - - *467 - - *376 + - *473 + - *474 + - *383 responses: '204': description: Response @@ -100059,8 +101364,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-repository-issues parameters: - - *466 - - *467 + - *473 + - *474 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -100108,7 +101413,7 @@ paths: required: false schema: type: string - - *383 + - *390 - name: sort description: What to sort results by. in: query @@ -100133,7 +101438,7 @@ paths: type: array items: *219 examples: - default: &662 + default: &666 value: - id: 1 node_id: MDU6SXNzdWUx @@ -100282,7 +101587,7 @@ paths: state_reason: completed headers: Link: *45 - '301': *472 + '301': *479 '422': *15 '404': *6 x-github: @@ -100311,8 +101616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#create-an-issue parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -100425,7 +101730,7 @@ paths: application/json: schema: *219 examples: - default: &659 + default: &663 value: id: 1 node_id: MDU6SXNzdWUx @@ -100582,7 +101887,7 @@ paths: '422': *15 '503': *192 '404': *6 - '410': *654 + '410': *658 x-github: triggersNotification: true githubCloudOnly: false @@ -100610,8 +101915,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *241 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -100634,7 +101939,7 @@ paths: type: array items: *220 examples: - default: &661 + default: &665 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -100692,8 +101997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 responses: '200': @@ -100702,7 +102007,7 @@ paths: application/json: schema: *220 examples: - default: &655 + default: &659 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -100757,8 +102062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#update-an-issue-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 requestBody: required: true @@ -100783,7 +102088,7 @@ paths: application/json: schema: *220 examples: - default: *655 + default: *659 '422': *15 x-github: githubCloudOnly: false @@ -100801,8 +102106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#delete-an-issue-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 responses: '204': @@ -100831,8 +102136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#pin-an-issue-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 responses: '200': @@ -100895,7 +102200,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *654 + '410': *658 '422': *15 x-github: githubCloudOnly: false @@ -100912,8 +102217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#unpin-an-issue-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 responses: '204': @@ -100921,7 +102226,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *654 + '410': *658 '503': *192 x-github: githubCloudOnly: false @@ -100939,8 +102244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). @@ -100967,9 +102272,9 @@ paths: application/json: schema: type: array - items: *578 + items: *584 examples: - default: *656 + default: *660 headers: Link: *45 '404': *6 @@ -100990,8 +102295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 requestBody: required: true @@ -101024,16 +102329,16 @@ paths: description: Reaction exists content: application/json: - schema: *578 + schema: *584 examples: - default: *579 + default: *585 '201': description: Reaction created content: application/json: - schema: *578 + schema: *584 examples: - default: *579 + default: *585 '422': *15 x-github: githubCloudOnly: false @@ -101055,10 +102360,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *466 - - *467 + - *473 + - *474 - *233 - - *657 + - *661 responses: '204': description: Response @@ -101078,8 +102383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -101089,7 +102394,7 @@ paths: application/json: schema: type: array - items: &658 + items: &662 title: Issue Event description: Issue Event type: object @@ -101169,7 +102474,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *307 + requested_team: *314 dismissed_review: title: Issue Event Dismissed Review type: object @@ -101429,8 +102734,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#get-an-issue-event parameters: - - *466 - - *467 + - *473 + - *474 - name: event_id in: path required: true @@ -101441,7 +102746,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *662 examples: default: value: @@ -101634,7 +102939,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *654 + '410': *658 '403': *27 x-github: githubCloudOnly: false @@ -101668,9 +102973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue parameters: - - *466 - - *467 - - &660 + - *473 + - *474 + - &664 name: issue_number description: The number that identifies the issue. in: path @@ -101686,7 +102991,7 @@ paths: examples: default: summary: Issue - value: *659 + value: *663 pinned_comment: summary: Issue with pinned comment value: @@ -101885,9 +103190,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *472 + '301': *479 '404': *6 - '410': *654 + '410': *658 '304': *35 x-github: githubCloudOnly: false @@ -101912,9 +103217,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#update-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: false content: @@ -102055,13 +103360,13 @@ paths: application/json: schema: *219 examples: - default: *659 + default: *663 '422': *15 '503': *192 '403': *27 - '301': *472 + '301': *479 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102079,9 +103384,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: false content: @@ -102109,7 +103414,7 @@ paths: application/json: schema: *219 examples: - default: *659 + default: *663 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102125,9 +103430,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: content: application/json: @@ -102154,7 +103459,7 @@ paths: application/json: schema: *219 examples: - default: *659 + default: *663 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102176,9 +103481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - name: assignee in: path required: true @@ -102218,9 +103523,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - *224 - *17 - *19 @@ -102233,11 +103538,11 @@ paths: type: array items: *220 examples: - default: *661 + default: *665 headers: Link: *45 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102266,9 +103571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#create-an-issue-comment parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: true content: @@ -102292,14 +103597,14 @@ paths: application/json: schema: *220 examples: - default: *655 + default: *659 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *654 + '410': *658 '422': *15 '404': *6 x-github: @@ -102327,9 +103632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - *17 - *19 responses: @@ -102341,12 +103646,12 @@ paths: type: array items: *219 examples: - default: *662 + default: *666 headers: Link: *45 - '301': *472 + '301': *479 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102374,9 +103679,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: true content: @@ -102400,15 +103705,15 @@ paths: application/json: schema: *219 examples: - default: *659 + default: *663 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *472 + '301': *479 '403': *27 - '410': *654 + '410': *658 '422': *15 '404': *6 x-github: @@ -102439,9 +103744,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -102455,13 +103760,13 @@ paths: application/json: schema: *219 examples: - default: *659 - '301': *472 + default: *663 + '301': *479 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *654 + '410': *658 x-github: triggersNotification: true githubCloudOnly: false @@ -102487,9 +103792,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - *17 - *19 responses: @@ -102501,12 +103806,12 @@ paths: type: array items: *219 examples: - default: *662 + default: *666 headers: Link: *45 - '301': *472 + '301': *479 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102523,9 +103828,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - *17 - *19 responses: @@ -102539,7 +103844,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &666 + - &670 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -102588,7 +103893,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &667 + - &671 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -102716,7 +104021,7 @@ paths: - performed_via_github_app - assignee - assigner - - &668 + - &672 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -102762,7 +104067,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &669 + - &673 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -102808,7 +104113,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &670 + - &674 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -102857,7 +104162,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &671 + - &675 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -102886,7 +104191,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *307 + requested_team: *314 requested_reviewer: *4 required: - review_requester @@ -102899,7 +104204,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &672 + - &676 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -102928,7 +104233,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *307 + requested_team: *314 requested_reviewer: *4 required: - review_requester @@ -102941,7 +104246,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &673 + - &677 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -102997,7 +104302,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &674 + - &678 title: Locked Issue Event description: Locked Issue Event type: object @@ -103042,7 +104347,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &675 + - &679 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -103103,7 +104408,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &676 + - &680 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -103164,7 +104469,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &677 + - &681 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -103225,7 +104530,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &678 + - &682 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -103318,7 +104623,7 @@ paths: color: red headers: Link: *45 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103335,9 +104640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - *17 - *19 responses: @@ -103347,9 +104652,9 @@ paths: application/json: schema: type: array - items: *663 + items: *667 examples: - default: &664 + default: &668 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -103373,9 +104678,9 @@ paths: value: '2025-12-25' headers: Link: *45 - '301': *472 + '301': *479 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103404,9 +104709,9 @@ 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: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: true content: @@ -103472,9 +104777,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *663 + items: *667 examples: - default: *664 + default: *668 '400': *14 '403': *27 '404': *6 @@ -103510,9 +104815,9 @@ 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: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: true content: @@ -103579,9 +104884,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *663 + items: *667 examples: - default: *664 + default: *668 '400': *14 '403': *27 '404': *6 @@ -103612,10 +104917,10 @@ 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: - - *466 - - *467 - - *660 - - *379 + - *473 + - *474 + - *664 + - *386 responses: '204': description: Issue field value deleted successfully @@ -103640,9 +104945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - *17 - *19 responses: @@ -103654,7 +104959,7 @@ paths: type: array items: *218 examples: - default: &665 + default: &669 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -103672,9 +104977,9 @@ paths: default: false headers: Link: *45 - '301': *472 + '301': *479 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103690,9 +104995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: false content: @@ -103737,10 +105042,10 @@ paths: type: array items: *218 examples: - default: *665 - '301': *472 + default: *669 + '301': *479 '404': *6 - '410': *654 + '410': *658 '422': *15 x-github: githubCloudOnly: false @@ -103757,9 +105062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: false content: @@ -103821,10 +105126,10 @@ paths: type: array items: *218 examples: - default: *665 - '301': *472 + default: *669 + '301': *479 '404': *6 - '410': *654 + '410': *658 '422': *15 x-github: githubCloudOnly: false @@ -103841,15 +105146,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 responses: '204': description: Response - '301': *472 + '301': *479 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103868,9 +105173,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - name: name in: path required: true @@ -103894,9 +105199,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *472 + '301': *479 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103916,9 +105221,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: false content: @@ -103947,7 +105252,7 @@ paths: '204': description: Response '403': *27 - '410': *654 + '410': *658 '404': *6 '422': *15 x-github: @@ -103965,9 +105270,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 responses: '204': description: Response @@ -103997,9 +105302,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 responses: '200': description: Response @@ -104007,10 +105312,10 @@ paths: application/json: schema: *219 examples: - default: *659 - '301': *472 + default: *663 + '301': *479 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104027,9 +105332,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -104055,13 +105360,13 @@ paths: application/json: schema: type: array - items: *578 + items: *584 examples: - default: *656 + default: *660 headers: Link: *45 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104079,9 +105384,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: true content: @@ -104113,16 +105418,16 @@ paths: description: Response content: application/json: - schema: *578 + schema: *584 examples: - default: *579 + default: *585 '201': description: Response content: application/json: - schema: *578 + schema: *584 examples: - default: *579 + default: *585 '422': *15 x-github: githubCloudOnly: false @@ -104144,10 +105449,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *466 - - *467 - - *660 - - *657 + - *473 + - *474 + - *664 + - *661 responses: '204': description: Response @@ -104176,9 +105481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#remove-sub-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: true content: @@ -104202,7 +105507,7 @@ paths: application/json: schema: *219 examples: - default: *659 + default: *663 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -104235,9 +105540,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#list-sub-issues parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - *17 - *19 responses: @@ -104249,11 +105554,11 @@ paths: type: array items: *219 examples: - default: *662 + default: *666 headers: Link: *45 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104281,9 +105586,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#add-sub-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: true content: @@ -104312,14 +105617,14 @@ paths: application/json: schema: *219 examples: - default: *659 + default: *663 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *654 + '410': *658 '422': *15 '404': *6 x-github: @@ -104339,9 +105644,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: true content: @@ -104374,7 +105679,7 @@ paths: application/json: schema: *219 examples: - default: *659 + default: *663 '403': *27 '404': *6 '422': *7 @@ -104396,9 +105701,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - *17 - *19 responses: @@ -104413,10 +105718,6 @@ paths: description: Timeline Event type: object anyOf: - - *666 - - *667 - - *668 - - *669 - *670 - *671 - *672 @@ -104426,6 +105727,10 @@ paths: - *676 - *677 - *678 + - *679 + - *680 + - *681 + - *682 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -104482,7 +105787,7 @@ paths: pin: anyOf: - type: 'null' - - *679 + - *683 required: - event - actor @@ -104758,7 +106063,7 @@ paths: type: string comments: type: array - items: &700 + items: &704 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -104999,7 +106304,7 @@ paths: type: string comments: type: array - items: *577 + items: *583 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -105274,7 +106579,7 @@ paths: headers: Link: *45 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105291,8 +106596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -105302,7 +106607,7 @@ paths: application/json: schema: type: array - items: &680 + items: &684 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -105370,8 +106675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -105407,9 +106712,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *684 examples: - default: &681 + default: &685 value: id: 1 key: ssh-rsa AAA... @@ -105443,9 +106748,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *466 - - *467 - - &682 + - *473 + - *474 + - &686 name: key_id description: The unique identifier of the key. in: path @@ -105457,9 +106762,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *684 examples: - default: *681 + default: *685 '404': *6 x-github: githubCloudOnly: false @@ -105477,9 +106782,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *466 - - *467 - - *682 + - *473 + - *474 + - *686 responses: '204': description: Response @@ -105499,8 +106804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -105512,7 +106817,7 @@ paths: type: array items: *218 examples: - default: *665 + default: *669 headers: Link: *45 '404': *6 @@ -105533,8 +106838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#create-a-label parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -105572,7 +106877,7 @@ paths: application/json: schema: *218 examples: - default: &683 + default: &687 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -105604,8 +106909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#get-a-label parameters: - - *466 - - *467 + - *473 + - *474 - name: name in: path required: true @@ -105618,7 +106923,7 @@ paths: application/json: schema: *218 examples: - default: *683 + default: *687 '404': *6 x-github: githubCloudOnly: false @@ -105635,8 +106940,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#update-a-label parameters: - - *466 - - *467 + - *473 + - *474 - name: name in: path required: true @@ -105701,8 +107006,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#delete-a-label parameters: - - *466 - - *467 + - *473 + - *474 - name: name in: path required: true @@ -105728,8 +107033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-languages parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -105765,8 +107070,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '202': *37 '403': @@ -105794,8 +107099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -105821,9 +107126,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *466 - - *467 - - *552 + - *473 + - *474 + - *558 responses: '200': description: Response @@ -105970,8 +107275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -106036,8 +107341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#merge-a-branch parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -106071,9 +107376,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *580 + schema: *586 examples: - default: *684 + default: *688 '204': description: Response when already merged '404': @@ -106098,8 +107403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#list-milestones parameters: - - *466 - - *467 + - *473 + - *474 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -106140,7 +107445,7 @@ paths: application/json: schema: type: array - items: *414 + items: *421 examples: default: value: @@ -106196,8 +107501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#create-a-milestone parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -106237,9 +107542,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *421 examples: - default: &685 + default: &689 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -106298,9 +107603,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#get-a-milestone parameters: - - *466 - - *467 - - &686 + - *473 + - *474 + - &690 name: milestone_number description: The number that identifies the milestone. in: path @@ -106312,9 +107617,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *421 examples: - default: *685 + default: *689 '404': *6 x-github: githubCloudOnly: false @@ -106331,9 +107636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#update-a-milestone parameters: - - *466 - - *467 - - *686 + - *473 + - *474 + - *690 requestBody: required: false content: @@ -106371,9 +107676,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *421 examples: - default: *685 + default: *689 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106389,9 +107694,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#delete-a-milestone parameters: - - *466 - - *467 - - *686 + - *473 + - *474 + - *690 responses: '204': description: Response @@ -106412,9 +107717,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *466 - - *467 - - *686 + - *473 + - *474 + - *690 - *17 - *19 responses: @@ -106426,7 +107731,7 @@ paths: type: array items: *218 examples: - default: *665 + default: *669 headers: Link: *45 x-github: @@ -106445,12 +107750,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *466 - - *467 - - *687 - - *688 + - *473 + - *474 + - *691 + - *692 - *224 - - *689 + - *693 - *17 - *19 responses: @@ -106462,7 +107767,7 @@ paths: type: array items: *244 examples: - default: *690 + default: *694 headers: Link: *45 x-github: @@ -106486,8 +107791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: false content: @@ -106545,14 +107850,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-apiname-pages-site parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: &691 + schema: &695 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -106696,7 +108001,7 @@ paths: - custom_404 - public examples: - default: &692 + default: &696 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -106737,8 +108042,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-apiname-pages-site parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -106793,9 +108098,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *695 examples: - default: *692 + default: *696 '422': *15 '409': *119 x-github: @@ -106818,8 +108123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -106927,8 +108232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -106954,8 +108259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#list-apiname-pages-builds parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -106965,7 +108270,7 @@ paths: application/json: schema: type: array - items: &693 + items: &697 title: Page Build description: Page Build type: object @@ -107057,8 +108362,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#request-a-apiname-pages-build parameters: - - *466 - - *467 + - *473 + - *474 responses: '201': description: Response @@ -107105,16 +108410,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-latest-pages-build parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: *693 + schema: *697 examples: - default: &694 + default: &698 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -107162,8 +108467,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-apiname-pages-build parameters: - - *466 - - *467 + - *473 + - *474 - name: build_id in: path required: true @@ -107174,9 +108479,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *697 examples: - default: *694 + default: *698 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107196,8 +108501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-github-pages-deployment parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -107305,9 +108610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *466 - - *467 - - &695 + - *473 + - *474 + - &699 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -107365,9 +108670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *466 - - *467 - - *695 + - *473 + - *474 + - *699 responses: '204': *126 '404': *6 @@ -107394,8 +108699,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -107690,8 +108995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Private vulnerability reporting status @@ -107728,8 +109033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': *126 '422': *14 @@ -107750,8 +109055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': *126 '422': *14 @@ -107773,8 +109078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -107784,7 +109089,7 @@ paths: type: array items: *152 examples: - default: *696 + default: *700 '403': *27 '404': *6 x-github: @@ -107806,8 +109111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -107823,7 +109128,7 @@ paths: required: - properties examples: - default: *697 + default: *701 responses: '204': description: No Content when custom property values are successfully created @@ -107861,8 +109166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests parameters: - - *466 - - *467 + - *473 + - *474 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -107922,9 +109227,9 @@ paths: application/json: schema: type: array - items: *584 + items: *590 examples: - default: *698 + default: *702 headers: Link: *45 '304': *35 @@ -107956,8 +109261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#create-a-pull-request parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -108024,7 +109329,7 @@ paths: description: Response content: application/json: - schema: &702 + schema: &706 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -108153,7 +109458,7 @@ paths: milestone: anyOf: - type: 'null' - - *414 + - *421 active_lock_reason: type: - string @@ -108202,7 +109507,7 @@ paths: items: *4 requested_teams: type: array - items: *393 + items: *400 head: type: object properties: @@ -108240,14 +109545,14 @@ paths: _links: type: object properties: - comments: *415 - commits: *415 - statuses: *415 - html: *415 - issue: *415 - review_comments: *415 - review_comment: *415 - self: *415 + comments: *422 + commits: *422 + statuses: *422 + html: *422 + issue: *422 + review_comments: *422 + review_comment: *422 + self: *422 required: - comments - commits @@ -108258,7 +109563,7 @@ paths: - review_comment - self author_association: *216 - auto_merge: *699 + auto_merge: *703 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -108360,7 +109665,7 @@ paths: - merged_by - review_comments examples: - default: &703 + default: &707 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -108887,8 +110192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - name: sort in: query required: false @@ -108917,9 +110222,9 @@ paths: application/json: schema: type: array - items: *700 + items: *704 examples: - default: &705 + default: &709 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -108996,17 +110301,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *466 - - *467 + - *473 + - *474 - *233 responses: '200': description: Response content: application/json: - schema: *700 + schema: *704 examples: - default: &701 + default: &705 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -109081,8 +110386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *466 - - *467 + - *473 + - *474 - *233 requestBody: required: true @@ -109105,9 +110410,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *704 examples: - default: *701 + default: *705 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109123,8 +110428,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *466 - - *467 + - *473 + - *474 - *233 responses: '204': @@ -109146,8 +110451,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). @@ -109174,9 +110479,9 @@ paths: application/json: schema: type: array - items: *578 + items: *584 examples: - default: *656 + default: *660 headers: Link: *45 '404': *6 @@ -109197,8 +110502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 requestBody: required: true @@ -109231,16 +110536,16 @@ paths: description: Reaction exists content: application/json: - schema: *578 + schema: *584 examples: - default: *579 + default: *585 '201': description: Reaction created content: application/json: - schema: *578 + schema: *584 examples: - default: *579 + default: *585 '422': *15 x-github: githubCloudOnly: false @@ -109262,10 +110567,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *466 - - *467 + - *473 + - *474 - *233 - - *657 + - *661 responses: '204': description: Response @@ -109308,9 +110613,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request parameters: - - *466 - - *467 - - &704 + - *473 + - *474 + - &708 name: pull_number description: The number that identifies the pull request. in: path @@ -109323,9 +110628,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *702 + schema: *706 examples: - default: *703 + default: *707 '304': *35 '404': *6 '406': @@ -109360,9 +110665,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 requestBody: required: false content: @@ -109404,9 +110709,9 @@ paths: description: Response content: application/json: - schema: *702 + schema: *706 examples: - default: *703 + default: *707 '422': *15 '403': *27 x-github: @@ -109428,9 +110733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#archive-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 responses: '204': description: Response @@ -109455,9 +110760,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#unarchive-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 responses: '204': description: Response @@ -109483,9 +110788,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 requestBody: required: true content: @@ -109546,17 +110851,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *385 + schema: *392 examples: - default: *569 + default: *575 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *385 + schema: *392 examples: - default: *569 + default: *575 '401': *23 '403': *27 '404': *6 @@ -109586,9 +110891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 - *241 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -109609,9 +110914,9 @@ paths: application/json: schema: type: array - items: *700 + items: *704 examples: - default: *705 + default: *709 headers: Link: *45 x-github: @@ -109644,9 +110949,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 requestBody: required: true content: @@ -109752,7 +111057,7 @@ paths: description: Response content: application/json: - schema: *700 + schema: *704 examples: example-for-a-multi-line-comment: value: @@ -109840,9 +111145,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 - *233 requestBody: required: true @@ -109865,7 +111170,7 @@ paths: description: Response content: application/json: - schema: *700 + schema: *704 examples: default: value: @@ -109951,9 +111256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 - *17 - *19 responses: @@ -109963,9 +111268,9 @@ paths: application/json: schema: type: array - items: *580 + items: *586 examples: - default: *706 + default: *710 headers: Link: *45 x-github: @@ -109995,9 +111300,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests-files parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 - *17 - *19 responses: @@ -110007,7 +111312,7 @@ paths: application/json: schema: type: array - items: *591 + items: *597 examples: default: value: @@ -110045,9 +111350,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 responses: '204': description: Response if pull request has been merged @@ -110070,9 +111375,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 requestBody: required: false content: @@ -110184,9 +111489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 responses: '200': description: Response @@ -110202,7 +111507,7 @@ paths: items: *4 teams: type: array - items: *307 + items: *314 required: - users - teams @@ -110261,9 +111566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 requestBody: required: false content: @@ -110300,7 +111605,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *590 examples: default: value: @@ -110836,9 +112141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 requestBody: required: true content: @@ -110872,7 +112177,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *590 examples: default: value: @@ -111377,9 +112682,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 - *17 - *19 responses: @@ -111389,7 +112694,7 @@ paths: application/json: schema: type: array - items: &707 + items: &711 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -111545,9 +112850,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 requestBody: required: false content: @@ -111637,9 +112942,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *711 examples: - default: &709 + default: &713 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -111702,10 +113007,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *466 - - *467 - - *704 - - &708 + - *473 + - *474 + - *708 + - &712 name: review_id description: The unique identifier of the review. in: path @@ -111717,9 +113022,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *711 examples: - default: &710 + default: &714 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -111778,10 +113083,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 - *708 + - *712 requestBody: required: true content: @@ -111804,7 +113109,7 @@ paths: description: Response content: application/json: - schema: *707 + schema: *711 examples: default: value: @@ -111866,18 +113171,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 - *708 + - *712 responses: '200': description: Response content: application/json: - schema: *707 + schema: *711 examples: - default: *709 + default: *713 '422': *7 '404': *6 x-github: @@ -111904,10 +113209,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *466 - - *467 - - *704 + - *473 + - *474 - *708 + - *712 - *17 - *19 responses: @@ -112005,9 +113310,9 @@ paths: _links: type: object properties: - self: *415 - html: *415 - pull_request: *415 + self: *422 + html: *422 + pull_request: *422 required: - self - html @@ -112165,10 +113470,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 - *708 + - *712 requestBody: required: true content: @@ -112197,7 +113502,7 @@ paths: description: Response content: application/json: - schema: *707 + schema: *711 examples: default: value: @@ -112260,10 +113565,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 - *708 + - *712 requestBody: required: true content: @@ -112298,9 +113603,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *711 examples: - default: *710 + default: *714 '404': *6 '422': *7 '403': *27 @@ -112322,9 +113627,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 requestBody: required: false content: @@ -112388,8 +113693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme parameters: - - *466 - - *467 + - *473 + - *474 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -112402,9 +113707,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *715 examples: - default: &712 + default: &716 value: type: file encoding: base64 @@ -112446,8 +113751,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *466 - - *467 + - *473 + - *474 - name: dir description: The alternate path to look for a README file in: path @@ -112467,9 +113772,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *715 examples: - default: *712 + default: *716 '404': *6 '422': *15 x-github: @@ -112491,8 +113796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#list-releases parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -112502,7 +113807,7 @@ paths: application/json: schema: type: array - items: *713 + items: *717 examples: default: value: @@ -112596,8 +113901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#create-a-release parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -112673,9 +113978,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *717 examples: - default: &717 + default: &721 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -112780,9 +114085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#get-a-release-asset parameters: - - *466 - - *467 - - &715 + - *473 + - *474 + - &719 name: asset_id description: The unique identifier of the asset. in: path @@ -112794,9 +114099,9 @@ paths: description: Response content: application/json: - schema: *714 + schema: *718 examples: - default: &716 + default: &720 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -112831,7 +114136,7 @@ paths: type: User site_admin: false '404': *6 - '302': *595 + '302': *601 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112847,9 +114152,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#update-a-release-asset parameters: - - *466 - - *467 - - *715 + - *473 + - *474 + - *719 requestBody: required: false content: @@ -112878,9 +114183,9 @@ paths: description: Response content: application/json: - schema: *714 + schema: *718 examples: - default: *716 + default: *720 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112896,9 +114201,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#delete-a-release-asset parameters: - - *466 - - *467 - - *715 + - *473 + - *474 + - *719 responses: '204': description: Response @@ -112923,8 +114228,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -113010,16 +114315,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-the-latest-release parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: *713 + schema: *717 examples: - default: *717 + default: *721 '404': *6 x-github: githubCloudOnly: false @@ -113037,8 +114342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release-by-tag-name parameters: - - *466 - - *467 + - *473 + - *474 - name: tag description: tag parameter in: path @@ -113051,9 +114356,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *717 examples: - default: *717 + default: *721 '404': *6 x-github: githubCloudOnly: false @@ -113075,9 +114380,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release parameters: - - *466 - - *467 - - &718 + - *473 + - *474 + - &722 name: release_id description: The unique identifier of the release. in: path @@ -113091,9 +114396,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *713 + schema: *717 examples: - default: *717 + default: *721 '401': description: Unauthorized x-github: @@ -113111,9 +114416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#update-a-release parameters: - - *466 - - *467 - - *718 + - *473 + - *474 + - *722 requestBody: required: false content: @@ -113177,9 +114482,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *717 examples: - default: *717 + default: *721 '404': description: Not Found if the discussion category name is invalid content: @@ -113200,9 +114505,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#delete-a-release parameters: - - *466 - - *467 - - *718 + - *473 + - *474 + - *722 responses: '204': description: Response @@ -113223,9 +114528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#list-release-assets parameters: - - *466 - - *467 - - *718 + - *473 + - *474 + - *722 - *17 - *19 responses: @@ -113235,7 +114540,7 @@ paths: application/json: schema: type: array - items: *714 + items: *718 examples: default: value: @@ -113317,9 +114622,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *466 - - *467 - - *718 + - *473 + - *474 + - *722 - name: name in: query required: true @@ -113345,7 +114650,7 @@ paths: description: Response for successful upload content: application/json: - schema: *714 + schema: *718 examples: response-for-successful-upload: value: @@ -113400,9 +114705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *466 - - *467 - - *718 + - *473 + - *474 + - *722 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -113426,9 +114731,9 @@ paths: application/json: schema: type: array - items: *578 + items: *584 examples: - default: *656 + default: *660 headers: Link: *45 '404': *6 @@ -113449,9 +114754,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *466 - - *467 - - *718 + - *473 + - *474 + - *722 requestBody: required: true content: @@ -113481,16 +114786,16 @@ paths: description: Reaction exists content: application/json: - schema: *578 + schema: *584 examples: - default: *579 + default: *585 '201': description: Reaction created content: application/json: - schema: *578 + schema: *584 examples: - default: *579 + default: *585 '422': *15 x-github: githubCloudOnly: false @@ -113512,10 +114817,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-release-reaction parameters: - - *466 - - *467 - - *718 - - *657 + - *473 + - *474 + - *722 + - *661 responses: '204': description: Response @@ -113539,9 +114844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-rules-for-a-branch parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 - *17 - *19 responses: @@ -113558,7 +114863,7 @@ paths: oneOf: - allOf: - *166 - - &719 + - &723 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -113579,67 +114884,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *167 - - *719 + - *723 - allOf: - *168 - - *719 + - *723 - allOf: - *169 - - *719 + - *723 - allOf: - - *720 - - *719 + - *724 + - *723 - allOf: - *170 - - *719 + - *723 - allOf: - *171 - - *719 + - *723 - allOf: - *172 - - *719 + - *723 - allOf: - *173 - - *719 + - *723 - allOf: - *174 - - *719 + - *723 - allOf: - *175 - - *719 + - *723 - allOf: - *176 - - *719 + - *723 - allOf: - *177 - - *719 + - *723 - allOf: - *178 - - *719 + - *723 - allOf: - *179 - - *719 + - *723 - allOf: - *180 - - *719 + - *723 - allOf: - *181 - - *719 + - *723 - allOf: - *182 - - *719 + - *723 - allOf: - *183 - - *719 + - *723 - allOf: - *184 - - *719 + - *723 - allOf: - *185 - - *719 + - *723 - allOf: - *186 - - *719 + - *723 examples: default: value: @@ -113678,8 +114983,8 @@ paths: category: repos subcategory: rules parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 - name: includes_parents @@ -113690,7 +114995,7 @@ paths: schema: type: boolean default: true - - *721 + - *725 responses: '200': description: Response @@ -113745,8 +115050,8 @@ paths: category: repos subcategory: rules parameters: - - *466 - - *467 + - *473 + - *474 requestBody: description: Request body required: true @@ -113775,7 +115080,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *722 + items: *726 required: - name - enforcement @@ -113808,7 +115113,7 @@ paths: application/json: schema: *187 examples: - default: &731 + default: &735 value: id: 42 name: super cool ruleset @@ -113856,12 +115161,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *466 - - *467 - - *723 + - *473 + - *474 + - *727 - *105 - - *724 - - *725 + - *728 + - *729 - *17 - *19 responses: @@ -113869,9 +115174,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *730 examples: - default: *727 + default: *731 '404': *6 '500': *38 x-github: @@ -113892,17 +115197,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *466 - - *467 - - *728 + - *473 + - *474 + - *732 responses: '200': description: Response content: application/json: - schema: *729 + schema: *733 examples: - default: *730 + default: *734 '404': *6 '500': *38 x-github: @@ -113930,8 +115235,8 @@ paths: category: repos subcategory: rules parameters: - - *466 - - *467 + - *473 + - *474 - name: ruleset_id description: The ID of the ruleset. in: path @@ -113953,7 +115258,7 @@ paths: application/json: schema: *187 examples: - default: *731 + default: *735 '404': *6 '500': *38 put: @@ -113971,8 +115276,8 @@ paths: category: repos subcategory: rules parameters: - - *466 - - *467 + - *473 + - *474 - name: ruleset_id description: The ID of the ruleset. in: path @@ -114006,7 +115311,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *722 + items: *726 examples: default: value: @@ -114036,7 +115341,7 @@ paths: application/json: schema: *187 examples: - default: *731 + default: *735 '404': *6 '422': *15 '500': *38 @@ -114055,8 +115360,8 @@ paths: category: repos subcategory: rules parameters: - - *466 - - *467 + - *473 + - *474 - name: ruleset_id description: The ID of the ruleset. in: path @@ -114079,8 +115384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-history parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 - name: ruleset_id @@ -114098,7 +115403,7 @@ paths: type: array items: *191 examples: - default: *431 + default: *438 '404': *6 '500': *38 x-github: @@ -114117,8 +115422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-version parameters: - - *466 - - *467 + - *473 + - *474 - name: ruleset_id description: The ID of the ruleset. in: path @@ -114136,7 +115441,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *439 examples: default: value: @@ -114191,26 +115496,26 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *466 - - *467 - - *433 - - *434 - - *435 - - *436 - - *437 - - *438 - - *439 + - *473 + - *474 - *440 - - *110 - - *19 - - *17 - - *732 - - *733 - *441 - *442 - *443 - *444 - *445 + - *446 + - *447 + - *110 + - *19 + - *17 + - *736 + - *737 + - *448 + - *449 + - *450 + - *451 + - *452 responses: '200': description: Response @@ -114218,7 +115523,7 @@ paths: application/json: schema: type: array - items: &737 + items: &741 type: object properties: number: *127 @@ -114234,8 +115539,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *734 - resolution: *735 + state: *738 + resolution: *739 resolved_at: type: - string @@ -114341,7 +115646,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *736 + - *740 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -114500,16 +115805,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *466 - - *467 - - *546 - - *444 + - *473 + - *474 + - *552 + - *451 responses: '200': description: Response content: application/json: - schema: *737 + schema: *741 examples: default: value: @@ -114563,9 +115868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *466 - - *467 - - *546 + - *473 + - *474 + - *552 requestBody: required: true content: @@ -114573,8 +115878,8 @@ paths: schema: type: object properties: - state: *734 - resolution: *735 + state: *738 + resolution: *739 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -114622,7 +115927,7 @@ paths: description: Response content: application/json: - schema: *737 + schema: *741 examples: default: value: @@ -114721,9 +116026,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *466 - - *467 - - *546 + - *473 + - *474 + - *552 - *19 - *17 responses: @@ -114734,7 +116039,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &916 + items: &920 type: object properties: type: @@ -114761,10 +116066,6 @@ paths: - commit details: oneOf: - - *738 - - *739 - - *740 - - *741 - *742 - *743 - *744 @@ -114774,6 +116075,10 @@ paths: - *748 - *749 - *750 + - *751 + - *752 + - *753 + - *754 examples: default: value: @@ -114859,8 +116164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -114868,14 +116173,14 @@ paths: schema: type: object properties: - reason: &752 + reason: &756 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *751 + placeholder_id: *755 required: - reason - placeholder_id @@ -114892,7 +116197,7 @@ paths: schema: type: object properties: - reason: *752 + reason: *756 expire_at: type: - string @@ -114939,8 +116244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -114955,7 +116260,7 @@ paths: properties: incremental_scans: type: array - items: &753 + items: &757 description: Information on a single scan performed by secret scanning on the repository type: object @@ -114983,15 +116288,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *753 + items: *757 backfill_scans: type: array - items: *753 + items: *757 custom_pattern_backfill_scans: type: array items: allOf: - - *753 + - *757 - type: object properties: pattern_name: @@ -115004,7 +116309,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *753 + items: *757 examples: default: value: @@ -115069,8 +116374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *466 - - *467 + - *473 + - *474 - *110 - name: sort description: The property to sort the results by. @@ -115114,9 +116419,9 @@ paths: application/json: schema: type: array - items: *754 + items: *758 examples: - default: *755 + default: *759 '400': *14 '404': *6 x-github: @@ -115139,8 +116444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -115220,7 +116525,7 @@ paths: login: type: string description: The username of the user credited. - type: *450 + type: *457 required: - login - type @@ -115310,9 +116615,9 @@ paths: description: Response content: application/json: - schema: *754 + schema: *758 examples: - default: &757 + default: &761 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -115545,8 +116850,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -115659,7 +116964,7 @@ paths: description: Response content: application/json: - schema: *754 + schema: *758 examples: default: value: @@ -115806,17 +117111,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *466 - - *467 - - *756 + - *473 + - *474 + - *760 responses: '200': description: Response content: application/json: - schema: *754 + schema: *758 examples: - default: *757 + default: *761 '403': *27 '404': *6 x-github: @@ -115840,9 +117145,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *466 - - *467 - - *756 + - *473 + - *474 + - *760 requestBody: required: true content: @@ -115922,7 +117227,7 @@ paths: login: type: string description: The username of the user credited. - type: *450 + type: *457 required: - login - type @@ -116013,10 +117318,10 @@ paths: description: Response content: application/json: - schema: *754 + schema: *758 examples: - default: *757 - add_credit: *757 + default: *761 + add_credit: *761 '403': *27 '404': *6 '422': @@ -116054,9 +117359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *466 - - *467 - - *756 + - *473 + - *474 + - *760 responses: '202': *37 '400': *14 @@ -116083,17 +117388,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *466 - - *467 - - *756 + - *473 + - *474 + - *760 responses: '202': description: Response content: application/json: - schema: *471 + schema: *478 examples: - default: *473 + default: *480 '400': *14 '422': *15 '403': *27 @@ -116119,8 +117424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-stargazers parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -116216,8 +117521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -116226,7 +117531,7 @@ paths: application/json: schema: type: array - items: &758 + items: &762 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -116259,8 +117564,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -116338,8 +117643,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -116433,8 +117738,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -116588,8 +117893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -116599,7 +117904,7 @@ paths: application/json: schema: type: array - items: *758 + items: *762 examples: default: value: @@ -116632,8 +117937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#create-a-commit-status parameters: - - *466 - - *467 + - *473 + - *474 - name: sha in: path required: true @@ -116689,7 +117994,7 @@ paths: description: Response content: application/json: - schema: *759 + schema: *763 examples: default: value: @@ -116743,8 +118048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-watchers parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -116776,14 +118081,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#get-a-repository-subscription parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &760 + schema: &764 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -116856,8 +118161,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#set-a-repository-subscription parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: false content: @@ -116883,7 +118188,7 @@ paths: description: Response content: application/json: - schema: *760 + schema: *764 examples: default: value: @@ -116910,8 +118215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#delete-a-repository-subscription parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -116931,8 +118236,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-tags parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -117014,8 +118319,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *466 - - *467 + - *473 + - *474 - name: ref in: path required: true @@ -117051,8 +118356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-teams parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -117062,9 +118367,9 @@ paths: application/json: schema: type: array - items: *307 + items: *314 examples: - default: *394 + default: *401 headers: Link: *45 '404': *6 @@ -117084,8 +118389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-all-repository-topics parameters: - - *466 - - *467 + - *473 + - *474 - *19 - *17 responses: @@ -117093,7 +118398,7 @@ paths: description: Response content: application/json: - schema: &761 + schema: &765 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -117105,7 +118410,7 @@ paths: required: - names examples: - default: &762 + default: &766 value: names: - octocat @@ -117128,8 +118433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#replace-all-repository-topics parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -117160,9 +118465,9 @@ paths: description: Response content: application/json: - schema: *761 + schema: *765 examples: - default: *762 + default: *766 '404': *6 '422': *7 x-github: @@ -117183,9 +118488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-repository-clones parameters: - - *466 - - *467 - - &763 + - *473 + - *474 + - &767 name: per description: The time frame to display results for. in: query @@ -117216,7 +118521,7 @@ paths: - 128 clones: type: array - items: &764 + items: &768 title: Traffic type: object properties: @@ -117303,8 +118608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-paths parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -117398,8 +118703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-sources parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -117462,9 +118767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-page-views parameters: - - *466 - - *467 - - *763 + - *473 + - *474 + - *767 responses: '200': description: Response @@ -117485,7 +118790,7 @@ paths: - 3782 views: type: array - items: *764 + items: *768 required: - uniques - count @@ -117562,8 +118867,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#transfer-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -117837,8 +119142,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -117861,8 +119166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-vulnerability-alerts parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -117884,8 +119189,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-vulnerability-alerts parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -117911,8 +119216,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *466 - - *467 + - *473 + - *474 - name: ref in: path required: true @@ -118004,9 +119309,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *478 examples: - default: *473 + default: *480 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -118157,7 +119462,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &772 + - &776 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -118167,7 +119472,7 @@ paths: type: string examples: - members - - &777 + - &781 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -118179,7 +119484,7 @@ paths: format: int32 examples: - 1 - - &778 + - &782 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -118223,7 +119528,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &767 + items: &771 allOf: - type: object required: @@ -118305,7 +119610,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &779 + meta: &783 type: object description: The metadata associated with the creation/updates to the user. @@ -118370,30 +119675,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &768 + '400': &772 description: Bad request content: application/json: - schema: *765 + schema: *769 application/scim+json: - schema: *765 - '401': *766 - '403': &769 + schema: *769 + '401': *770 + '403': &773 description: Permission denied - '429': &770 + '429': &774 description: Too many requests content: application/json: - schema: *765 + schema: *769 application/scim+json: - schema: *765 - '500': &771 + schema: *769 + '500': &775 description: Internal server error content: application/json: - schema: *765 + schema: *769 application/scim+json: - schema: *765 + schema: *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118417,7 +119722,7 @@ paths: required: true content: application/json: - schema: &775 + schema: &779 type: object required: - schemas @@ -118481,9 +119786,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *767 + schema: *771 examples: - group: &773 + group: &777 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -118502,13 +119807,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *768 - '401': *766 - '403': *769 - '409': &776 + '400': *772 + '401': *770 + '403': *773 + '409': &780 description: Duplicate record detected - '429': *770 - '500': *771 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118525,7 +119830,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &774 + - &778 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -118534,22 +119839,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *772 + - *776 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *767 + schema: *771 examples: - default: *773 - '400': *768 - '401': *766 - '403': *769 + default: *777 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '429': *770 - '500': *771 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118568,13 +119873,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *774 + - *778 - *39 requestBody: required: true content: application/json: - schema: *775 + schema: *779 examples: group: summary: Group @@ -118600,17 +119905,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *767 + schema: *771 examples: - group: *773 - groupWithMembers: *773 - '400': *768 - '401': *766 - '403': *769 + group: *777 + groupWithMembers: *777 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '409': *776 - '429': *770 - '500': *771 + '409': *780 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118634,13 +119939,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *774 + - *778 - *39 requestBody: required: true content: application/json: - schema: &786 + schema: &790 type: object required: - Operations @@ -118700,17 +120005,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *767 + schema: *771 examples: - updateGroup: *773 - addMembers: *773 - '400': *768 - '401': *766 - '403': *769 + updateGroup: *777 + addMembers: *777 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '409': *776 - '429': *770 - '500': *771 + '409': *780 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118726,17 +120031,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *774 + - *778 - *39 responses: '204': description: Group was deleted, no content - '400': *768 - '401': *766 - '403': *769 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '429': *770 - '500': *771 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118770,8 +120075,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *777 - - *778 + - *781 + - *782 - *39 responses: '200': @@ -118805,7 +120110,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &781 + items: &785 allOf: - type: object required: @@ -118897,7 +120202,7 @@ paths: address. examples: - true - roles: &780 + roles: &784 type: array description: The roles assigned to the user. items: @@ -118956,7 +120261,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *779 + meta: *783 startIndex: type: integer description: A starting index for the returned page @@ -118995,11 +120300,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *768 - '401': *766 - '403': *769 - '429': *770 - '500': *771 + '400': *772 + '401': *770 + '403': *773 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119023,7 +120328,7 @@ paths: required: true content: application/json: - schema: &784 + schema: &788 type: object required: - schemas @@ -119116,9 +120421,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *780 + roles: *784 examples: - user: &785 + user: &789 summary: User value: schemas: @@ -119165,9 +120470,9 @@ paths: description: User has been created content: application/scim+json: - schema: *781 + schema: *785 examples: - user: &782 + user: &786 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -119193,13 +120498,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *782 - '400': *768 - '401': *766 - '403': *769 - '409': *776 - '429': *770 - '500': *771 + enterpriseOwner: *786 + '400': *772 + '401': *770 + '403': *773 + '409': *780 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119216,7 +120521,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &783 + - &787 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -119229,15 +120534,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *781 + schema: *785 examples: - default: *782 - '400': *768 - '401': *766 - '403': *769 + default: *786 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '429': *770 - '500': *771 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119288,30 +120593,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *783 + - *787 - *39 requestBody: required: true content: application/json: - schema: *784 + schema: *788 examples: - user: *785 + user: *789 responses: '200': description: User was updated content: application/scim+json: - schema: *781 + schema: *785 examples: - user: *782 - '400': *768 - '401': *766 - '403': *769 + user: *786 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '409': *776 - '429': *770 - '500': *771 + '409': *780 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119352,13 +120657,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *783 + - *787 - *39 requestBody: required: true content: application/json: - schema: *786 + schema: *790 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -119398,18 +120703,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *781 - examples: - userMultiValuedProperties: *782 - userSingleValuedProperties: *782 - disableUser: *782 - '400': *768 - '401': *766 - '403': *769 + schema: *785 + examples: + userMultiValuedProperties: *786 + userSingleValuedProperties: *786 + disableUser: *786 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '409': *776 - '429': *770 - '500': *771 + '409': *780 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119429,17 +120734,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *783 + - *787 - *39 responses: '204': description: User was deleted, no content - '400': *768 - '401': *766 - '403': *769 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '429': *770 - '500': *771 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -119530,7 +120835,7 @@ paths: - 1 Resources: type: array - items: &787 + items: &791 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -119777,22 +121082,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &788 + '404': &792 description: Resource not found content: application/json: - schema: *765 + schema: *769 application/scim+json: - schema: *765 - '403': &789 + schema: *769 + '403': &793 description: Forbidden content: application/json: - schema: *765 + schema: *769 application/scim+json: - schema: *765 - '400': *768 - '429': *770 + schema: *769 + '400': *772 + '429': *774 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -119818,9 +121123,9 @@ paths: description: Response content: application/scim+json: - schema: *787 + schema: *791 examples: - default: &790 + default: &794 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -119843,17 +121148,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *788 - '403': *789 - '500': *771 + '404': *792 + '403': *793 + '500': *775 '409': description: Conflict content: application/json: - schema: *765 + schema: *769 application/scim+json: - schema: *765 - '400': *768 + schema: *769 + '400': *772 requestBody: required: true content: @@ -119953,17 +121258,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *87 - - *783 + - *787 responses: '200': description: Response content: application/scim+json: - schema: *787 + schema: *791 examples: - default: *790 - '404': *788 - '403': *789 + default: *794 + '404': *792 + '403': *793 '304': *35 x-github: githubCloudOnly: true @@ -119987,18 +121292,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *87 - - *783 + - *787 responses: '200': description: Response content: application/scim+json: - schema: *787 + schema: *791 examples: - default: *790 + default: *794 '304': *35 - '404': *788 - '403': *789 + '404': *792 + '403': *793 requestBody: required: true content: @@ -120113,19 +121418,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *87 - - *783 + - *787 responses: '200': description: Response content: application/scim+json: - schema: *787 + schema: *791 examples: - default: *790 + default: *794 '304': *35 - '404': *788 - '403': *789 - '400': *768 + '404': *792 + '403': *793 + '400': *772 '429': description: Response content: @@ -120221,12 +121526,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *87 - - *783 + - *787 responses: '204': description: Response - '404': *788 - '403': *789 + '404': *792 + '403': *793 '304': *35 x-github: githubCloudOnly: true @@ -120363,7 +121668,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &791 + text_matches: &795 title: Search Result Text Matches type: array items: @@ -120527,7 +121832,7 @@ paths: enum: - author-date - committer-date - - &792 + - &796 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -120596,7 +121901,7 @@ paths: committer: anyOf: - type: 'null' - - *517 + - *523 comment_count: type: integer message: @@ -120615,7 +121920,7 @@ paths: url: type: string format: uri - verification: *641 + verification: *645 required: - author - committer @@ -120630,7 +121935,7 @@ paths: committer: anyOf: - type: 'null' - - *517 + - *523 parents: type: array items: @@ -120647,7 +121952,7 @@ paths: type: number node_id: type: string - text_matches: *791 + text_matches: *795 required: - sha - node_id @@ -120840,7 +122145,7 @@ paths: - interactions - created - updated - - *792 + - *796 - *17 - *19 - name: advanced_search @@ -120954,11 +122259,11 @@ paths: type: - string - 'null' - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: type: string state_reason: @@ -120972,7 +122277,7 @@ paths: milestone: anyOf: - type: 'null' - - *414 + - *421 comments: type: integer created_at: @@ -120986,7 +122291,7 @@ paths: - string - 'null' format: date-time - text_matches: *791 + text_matches: *795 pull_request: type: object properties: @@ -121035,7 +122340,7 @@ paths: timeline_url: type: string format: uri - type: *380 + type: *387 performed_via_github_app: anyOf: - type: 'null' @@ -121252,7 +122557,7 @@ paths: enum: - created - updated - - *792 + - *796 - *17 - *19 responses: @@ -121297,7 +122602,7 @@ paths: - 'null' score: type: number - text_matches: *791 + text_matches: *795 required: - id - node_id @@ -121383,7 +122688,7 @@ paths: - forks - help-wanted-issues - updated - - *792 + - *796 - *17 - *19 responses: @@ -121629,7 +122934,7 @@ paths: - admin - pull - push - text_matches: *791 + text_matches: *795 temp_clone_token: type: string allow_merge_commit: @@ -121938,7 +123243,7 @@ paths: - string - 'null' format: uri - text_matches: *791 + text_matches: *795 related: type: - array @@ -122133,7 +123438,7 @@ paths: - followers - repositories - joined - - *792 + - *796 - *17 - *19 responses: @@ -122243,7 +123548,7 @@ paths: type: - boolean - 'null' - text_matches: *791 + text_matches: *795 blog: type: - string @@ -122325,7 +123630,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &795 + - &799 name: team_id description: The unique identifier of the team. in: path @@ -122337,9 +123642,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *465 examples: - default: *459 + default: *466 '404': *6 x-github: githubCloudOnly: false @@ -122366,7 +123671,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *795 + - *799 requestBody: required: true content: @@ -122430,16 +123735,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *458 + schema: *465 examples: - default: *459 + default: *466 '201': description: Response content: application/json: - schema: *458 + schema: *465 examples: - default: *459 + default: *466 '404': *6 '422': *15 '403': *27 @@ -122467,7 +123772,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *795 + - *799 responses: '204': description: Response @@ -122496,7 +123801,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *795 + - *799 - *17 - *19 responses: @@ -122506,9 +123811,9 @@ paths: application/json: schema: type: array - items: *374 + items: *381 examples: - default: *375 + default: *382 headers: Link: *45 x-github: @@ -122534,7 +123839,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *795 + - *799 - name: role description: Filters members returned by their role in the team. in: query @@ -122585,7 +123890,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *795 + - *799 - *140 responses: '204': @@ -122622,7 +123927,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *795 + - *799 - *140 responses: '204': @@ -122662,7 +123967,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *795 + - *799 - *140 responses: '204': @@ -122699,16 +124004,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *795 + - *799 - *140 responses: '200': description: Response content: application/json: - schema: *465 + schema: *472 examples: - response-if-user-is-a-team-maintainer: *796 + response-if-user-is-a-team-maintainer: *800 '404': *6 x-github: githubCloudOnly: false @@ -122741,7 +124046,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *795 + - *799 - *140 requestBody: required: false @@ -122767,9 +124072,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *472 examples: - response-if-users-membership-with-team-is-now-pending: *797 + response-if-users-membership-with-team-is-now-pending: *801 '403': description: Forbidden if team synchronization is set up '422': @@ -122803,7 +124108,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *795 + - *799 - *140 responses: '204': @@ -122831,7 +124136,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *795 + - *799 - *17 - *19 responses: @@ -122843,7 +124148,7 @@ paths: type: array items: *278 examples: - default: *401 + default: *408 headers: Link: *45 '404': *6 @@ -122873,15 +124178,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *795 - - *466 - - *467 + - *799 + - *473 + - *474 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *798 + schema: *802 examples: alternative-response-with-extra-repository-information: value: @@ -123032,9 +124337,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *795 - - *466 - - *467 + - *799 + - *473 + - *474 requestBody: required: false content: @@ -123084,9 +124389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *795 - - *466 - - *467 + - *799 + - *473 + - *474 responses: '204': description: Response @@ -123115,15 +124420,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *795 + - *799 responses: '200': description: Response content: application/json: - schema: *468 + schema: *475 examples: - default: *469 + default: *476 '403': *27 '404': *6 x-github: @@ -123150,7 +124455,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *795 + - *799 requestBody: required: true content: @@ -123211,7 +124516,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *475 examples: default: value: @@ -123242,7 +124547,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *795 + - *799 - *17 - *19 responses: @@ -123252,9 +124557,9 @@ paths: application/json: schema: type: array - items: *307 + items: *314 examples: - response-if-child-teams-exist: *799 + response-if-child-teams-exist: *803 headers: Link: *45 '404': *6 @@ -123287,7 +124592,7 @@ paths: application/json: schema: oneOf: - - &801 + - &805 title: Private User description: Private User type: object @@ -123537,7 +124842,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *800 + - *804 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -123697,7 +125002,7 @@ paths: description: Response content: application/json: - schema: *801 + schema: *805 examples: default: value: @@ -123900,9 +125205,9 @@ paths: type: integer codespaces: type: array - items: *385 + items: *392 examples: - default: *386 + default: *393 '304': *35 '500': *38 '401': *23 @@ -124041,17 +125346,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *385 + schema: *392 examples: - default: *569 + default: *575 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *385 + schema: *392 examples: - default: *569 + default: *575 '401': *23 '403': *27 '404': *6 @@ -124095,7 +125400,7 @@ paths: type: integer secrets: type: array - items: &802 + items: &806 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -124137,7 +125442,7 @@ paths: - visibility - selected_repositories_url examples: - default: *571 + default: *577 headers: Link: *45 x-github: @@ -124215,7 +125520,7 @@ paths: description: Response content: application/json: - schema: *802 + schema: *806 examples: default: value: @@ -124361,7 +125666,7 @@ paths: type: array items: *278 examples: - default: *326 + default: *333 '401': *23 '403': *27 '404': *6 @@ -124505,15 +125810,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *387 + - *394 responses: '200': description: Response content: application/json: - schema: *385 + schema: *392 examples: - default: *569 + default: *575 '304': *35 '500': *38 '401': *23 @@ -124539,7 +125844,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *387 + - *394 requestBody: required: false content: @@ -124569,9 +125874,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *392 examples: - default: *569 + default: *575 '401': *23 '403': *27 '404': *6 @@ -124593,7 +125898,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *387 + - *394 responses: '202': *37 '304': *35 @@ -124622,13 +125927,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *387 + - *394 responses: '202': description: Response content: application/json: - schema: &803 + schema: &807 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -124681,7 +125986,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &804 + default: &808 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -124713,7 +126018,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *387 + - *394 - name: export_id in: path required: true @@ -124726,9 +126031,9 @@ paths: description: Response content: application/json: - schema: *803 + schema: *807 examples: - default: *804 + default: *808 '404': *6 x-github: githubCloudOnly: false @@ -124749,7 +126054,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *387 + - *394 responses: '200': description: Response @@ -124765,9 +126070,9 @@ paths: type: integer machines: type: array - items: *570 + items: *576 examples: - default: *805 + default: *809 '304': *35 '500': *38 '401': *23 @@ -124796,7 +126101,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *387 + - *394 requestBody: required: true content: @@ -124852,11 +126157,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *471 + repository: *478 machine: anyOf: - type: 'null' - - *570 + - *576 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -125653,15 +126958,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *387 + - *394 responses: '200': description: Response content: application/json: - schema: *385 + schema: *392 examples: - default: *569 + default: *575 '304': *35 '500': *38 '400': *14 @@ -125693,15 +126998,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *387 + - *394 responses: '200': description: Response content: application/json: - schema: *385 + schema: *392 examples: - default: *569 + default: *575 '500': *38 '401': *23 '403': *27 @@ -125731,9 +127036,9 @@ paths: application/json: schema: type: array - items: *395 + items: *402 examples: - default: &816 + default: &820 value: - id: 197 name: hello_docker @@ -125834,7 +127139,7 @@ paths: application/json: schema: type: array - items: &806 + items: &810 title: Email description: Email type: object @@ -125904,9 +127209,9 @@ paths: application/json: schema: type: array - items: *806 + items: *810 examples: - default: &818 + default: &822 value: - email: octocat@github.com verified: true @@ -125983,7 +127288,7 @@ paths: application/json: schema: type: array - items: *806 + items: *810 examples: default: value: @@ -126241,7 +127546,7 @@ paths: application/json: schema: type: array - items: &807 + items: &811 title: GPG Key description: A unique encryption key type: object @@ -126386,7 +127691,7 @@ paths: - subkeys - revoked examples: - default: &835 + default: &839 value: - id: 3 name: Octocat's GPG Key @@ -126471,9 +127776,9 @@ paths: description: Response content: application/json: - schema: *807 + schema: *811 examples: - default: &808 + default: &812 value: id: 3 name: Octocat's GPG Key @@ -126530,7 +127835,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &809 + - &813 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -126542,9 +127847,9 @@ paths: description: Response content: application/json: - schema: *807 + schema: *811 examples: - default: *808 + default: *812 '404': *6 '304': *35 '403': *27 @@ -126567,7 +127872,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *809 + - *813 responses: '204': description: Response @@ -126846,12 +128151,12 @@ paths: application/json: schema: anyOf: - - *372 + - *379 - type: object properties: {} additionalProperties: false examples: - default: *373 + default: *380 '204': description: Response when there are no restrictions x-github: @@ -126875,7 +128180,7 @@ paths: required: true content: application/json: - schema: *651 + schema: *655 examples: default: value: @@ -126886,7 +128191,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *379 examples: default: value: @@ -126967,7 +128272,7 @@ paths: - closed - all default: open - - *383 + - *390 - name: sort description: What to sort results by. in: query @@ -126992,7 +128297,7 @@ paths: type: array items: *219 examples: - default: *384 + default: *391 headers: Link: *45 '404': *6 @@ -127025,7 +128330,7 @@ paths: application/json: schema: type: array - items: &810 + items: &814 title: Key description: Key type: object @@ -127128,9 +128433,9 @@ paths: description: Response content: application/json: - schema: *810 + schema: *814 examples: - default: &811 + default: &815 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -127163,15 +128468,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *682 + - *686 responses: '200': description: Response content: application/json: - schema: *810 + schema: *814 examples: - default: *811 + default: *815 '404': *6 '304': *35 '403': *27 @@ -127194,7 +128499,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *682 + - *686 responses: '204': description: Response @@ -127227,7 +128532,7 @@ paths: application/json: schema: type: array - items: &812 + items: &816 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -127306,7 +128611,7 @@ paths: - account - plan examples: - default: &813 + default: &817 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -127368,9 +128673,9 @@ paths: application/json: schema: type: array - items: *812 + items: *816 examples: - default: *813 + default: *817 headers: Link: *45 '304': *35 @@ -127410,7 +128715,7 @@ paths: application/json: schema: type: array - items: *388 + items: *395 examples: default: value: @@ -127524,7 +128829,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *395 examples: default: value: @@ -127611,7 +128916,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *395 examples: default: value: @@ -127683,7 +128988,7 @@ paths: application/json: schema: type: array - items: *390 + items: *397 examples: default: value: @@ -127945,7 +129250,7 @@ paths: description: Response content: application/json: - schema: *390 + schema: *397 examples: default: value: @@ -128125,7 +129430,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#get-a-user-migration-status parameters: - - *391 + - *398 - name: exclude in: query required: false @@ -128138,7 +129443,7 @@ paths: description: Response content: application/json: - schema: *390 + schema: *397 examples: default: value: @@ -128332,7 +129637,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#download-a-user-migration-archive parameters: - - *391 + - *398 responses: '302': description: Response @@ -128358,7 +129663,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#delete-a-user-migration-archive parameters: - - *391 + - *398 responses: '204': description: Response @@ -128387,8 +129692,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - - *391 - - *814 + - *398 + - *818 responses: '204': description: Response @@ -128412,7 +129717,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *391 + - *398 - *17 - *19 responses: @@ -128424,7 +129729,7 @@ paths: type: array items: *278 examples: - default: *401 + default: *408 headers: Link: *45 '404': *6 @@ -128503,7 +129808,7 @@ paths: - docker - nuget - container - - *815 + - *819 - *19 - *17 responses: @@ -128513,10 +129818,10 @@ paths: application/json: schema: type: array - items: *395 + items: *402 examples: - default: *816 - '400': *817 + default: *820 + '400': *821 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -128536,16 +129841,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *397 - - *398 + - *404 + - *405 responses: '200': description: Response content: application/json: - schema: *395 + schema: *402 examples: - default: &836 + default: &840 value: id: 40201 name: octo-name @@ -128658,8 +129963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *397 - - *398 + - *404 + - *405 responses: '204': description: Response @@ -128689,8 +129994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *397 - - *398 + - *404 + - *405 - name: token description: package token schema: @@ -128722,8 +130027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *397 - - *398 + - *404 + - *405 - *19 - *17 - name: state @@ -128743,7 +130048,7 @@ paths: application/json: schema: type: array - items: *399 + items: *406 examples: default: value: @@ -128792,15 +130097,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *397 - - *398 - - *400 + - *404 + - *405 + - *407 responses: '200': description: Response content: application/json: - schema: *399 + schema: *406 examples: default: value: @@ -128836,9 +130141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *397 - - *398 - - *400 + - *404 + - *405 + - *407 responses: '204': description: Response @@ -128868,9 +130173,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *397 - - *398 - - *400 + - *404 + - *405 + - *407 responses: '204': description: Response @@ -128907,9 +130212,9 @@ paths: application/json: schema: type: array - items: *806 + items: *810 examples: - default: *818 + default: *822 headers: Link: *45 '304': *35 @@ -129022,7 +130327,7 @@ paths: type: array items: *78 examples: - default: &825 + default: &829 summary: Default response value: - id: 1296269 @@ -129340,9 +130645,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *478 examples: - default: *473 + default: *480 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -129380,9 +130685,9 @@ paths: application/json: schema: type: array - items: *653 + items: *657 examples: - default: *819 + default: *823 headers: Link: *45 '304': *35 @@ -129405,7 +130710,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *376 + - *383 responses: '204': description: Response @@ -129428,7 +130733,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *376 + - *383 responses: '204': description: Response @@ -129461,7 +130766,7 @@ paths: application/json: schema: type: array - items: &820 + items: &824 title: Social account description: Social media account type: object @@ -129478,7 +130783,7 @@ paths: - provider - url examples: - default: &821 + default: &825 value: - provider: twitter url: https://twitter.com/github @@ -129541,9 +130846,9 @@ paths: application/json: schema: type: array - items: *820 + items: *824 examples: - default: *821 + default: *825 '422': *15 '304': *35 '404': *6 @@ -129631,7 +130936,7 @@ paths: application/json: schema: type: array - items: &822 + items: &826 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -129651,7 +130956,7 @@ paths: - title - created_at examples: - default: &850 + default: &854 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -129716,9 +131021,9 @@ paths: description: Response content: application/json: - schema: *822 + schema: *826 examples: - default: &823 + default: &827 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -129748,7 +131053,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &824 + - &828 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -129760,9 +131065,9 @@ paths: description: Response content: application/json: - schema: *822 + schema: *826 examples: - default: *823 + default: *827 '404': *6 '304': *35 '403': *27 @@ -129785,7 +131090,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *824 + - *828 responses: '204': description: Response @@ -129814,7 +131119,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &851 + - &855 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -129839,11 +131144,11 @@ paths: type: array items: *78 examples: - default-response: *825 + default-response: *829 application/vnd.github.v3.star+json: schema: type: array - items: &852 + items: &856 title: Starred Repository description: Starred Repository type: object @@ -129999,8 +131304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response if this repository is starred by you @@ -130028,8 +131333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -130053,8 +131358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -130089,7 +131394,7 @@ paths: type: array items: *278 examples: - default: *401 + default: *408 headers: Link: *45 '304': *35 @@ -130126,7 +131431,7 @@ paths: application/json: schema: type: array - items: *458 + items: *465 examples: default: value: @@ -130212,10 +131517,10 @@ paths: application/json: schema: oneOf: - - *801 - - *800 + - *805 + - *804 examples: - default-response: &829 + default-response: &833 summary: Default response value: login: octocat @@ -130250,7 +131555,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &830 + response-with-git-hub-plan-information: &834 summary: Response with GitHub plan information value: login: octocat @@ -130307,14 +131612,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &827 + - &831 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *413 + - *420 requestBody: required: true description: Details of the draft item to create in the project. @@ -130348,9 +131653,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *425 examples: - draft_issue: *419 + draft_issue: *426 '304': *35 '403': *27 '401': *23 @@ -130373,7 +131678,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *826 + - *830 - *17 responses: '200': @@ -130408,8 +131713,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *827 - - *413 + - *831 + - *420 requestBody: required: true content: @@ -130483,17 +131788,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *828 + schema: *832 examples: table_view: summary: Response for creating a table view - value: *423 + value: *430 board_view: summary: Response for creating a board view with filter - value: *423 + value: *430 roadmap_view: summary: Response for creating a roadmap view - value: *423 + value: *430 '304': *35 '403': *27 '401': *23 @@ -130535,11 +131840,11 @@ paths: application/json: schema: oneOf: - - *801 - - *800 + - *805 + - *804 examples: - default-response: *829 - response-with-git-hub-plan-information: *830 + default-response: *833 + response-with-git-hub-plan-information: *834 '404': *6 x-github: githubCloudOnly: false @@ -130589,8 +131894,8 @@ paths: required: - subject_digests examples: - default: *831 - withPredicateType: *832 + default: *835 + withPredicateType: *836 responses: '200': description: Response @@ -130644,7 +131949,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *833 + default: *837 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -130849,7 +132154,7 @@ paths: initiator: type: string examples: - default: *513 + default: *519 '201': description: Response content: @@ -130916,7 +132221,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *322 + items: *329 examples: default: summary: Example response for listing user copilot spaces @@ -131131,9 +132436,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *329 examples: - default: &834 + default: &838 summary: Example response for a user copilot space value: id: 42 @@ -131232,9 +132537,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *329 examples: - default: *834 + default: *838 '403': *27 '404': *6 x-github: @@ -131358,9 +132663,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *329 examples: - default: *834 + default: *838 '403': *27 '404': *6 '422': *15 @@ -131437,7 +132742,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *324 + items: *331 examples: default: value: @@ -131580,7 +132885,7 @@ paths: description: Response content: application/json: - schema: *324 + schema: *331 examples: default: value: @@ -131691,7 +132996,7 @@ paths: description: Response content: application/json: - schema: *324 + schema: *331 examples: default: value: @@ -131821,7 +133126,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *325 + items: *332 examples: default: value: @@ -131913,7 +133218,7 @@ paths: description: Resource created content: application/json: - schema: *325 + schema: *332 examples: default: value: @@ -131929,7 +133234,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *325 + schema: *332 examples: default: value: @@ -131982,7 +133287,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *332 examples: default: value: @@ -132049,7 +133354,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *332 examples: default: value: @@ -132126,9 +133431,9 @@ paths: application/json: schema: type: array - items: *395 + items: *402 examples: - default: *816 + default: *820 '403': *27 '401': *23 x-github: @@ -132512,9 +133817,9 @@ paths: application/json: schema: type: array - items: *807 + items: *811 examples: - default: *835 + default: *839 headers: Link: *45 x-github: @@ -132618,7 +133923,7 @@ paths: application/json: schema: *20 examples: - default: *370 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -132743,7 +134048,7 @@ paths: - docker - nuget - container - - *815 + - *819 - *140 - *19 - *17 @@ -132754,12 +134059,12 @@ paths: application/json: schema: type: array - items: *395 + items: *402 examples: - default: *816 + default: *820 '403': *27 '401': *23 - '400': *817 + '400': *821 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -132779,17 +134084,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-a-user parameters: - - *397 - - *398 + - *404 + - *405 - *140 responses: '200': description: Response content: application/json: - schema: *395 + schema: *402 examples: - default: *836 + default: *840 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -132810,8 +134115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-a-user parameters: - - *397 - - *398 + - *404 + - *405 - *140 responses: '204': @@ -132844,8 +134149,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-a-user parameters: - - *397 - - *398 + - *404 + - *405 - *140 - name: token description: package token @@ -132878,8 +134183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *397 - - *398 + - *404 + - *405 - *140 responses: '200': @@ -132888,7 +134193,7 @@ paths: application/json: schema: type: array - items: *399 + items: *406 examples: default: value: @@ -132946,16 +134251,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *397 - - *398 - - *400 + - *404 + - *405 + - *407 - *140 responses: '200': description: Response content: application/json: - schema: *399 + schema: *406 examples: default: value: @@ -132990,10 +134295,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-a-user parameters: - - *397 - - *398 + - *404 + - *405 - *140 - - *400 + - *407 responses: '204': description: Response @@ -133025,10 +134330,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-a-user parameters: - - *397 - - *398 + - *404 + - *405 - *140 - - *400 + - *407 responses: '204': description: Response @@ -133069,9 +134374,9 @@ paths: application/json: schema: type: array - items: *411 + items: *418 examples: - default: *412 + default: *419 headers: Link: *45 '304': *35 @@ -133093,16 +134398,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - - *413 + - *420 - *140 responses: '200': description: Response content: application/json: - schema: *411 + schema: *418 examples: - default: *412 + default: *419 headers: Link: *45 '304': *35 @@ -133124,7 +134429,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - - *413 + - *420 - *140 - *17 - *108 @@ -133136,9 +134441,9 @@ paths: application/json: schema: type: array - items: *416 + items: *423 examples: - default: *837 + default: *841 headers: Link: *45 '304': *35 @@ -133160,7 +134465,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - *140 - - *413 + - *420 requestBody: required: true content: @@ -133198,7 +134503,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *838 + items: *842 required: - name - data_type @@ -133214,7 +134519,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *839 + iteration_configuration: *843 required: - name - data_type @@ -133236,20 +134541,20 @@ paths: value: name: Due date data_type: date - single_select_field: *840 - iteration_field: *841 + single_select_field: *844 + iteration_field: *845 responses: '201': description: Response content: application/json: - schema: *416 + schema: *423 examples: - text_field: *842 - number_field: *843 - date_field: *844 - single_select_field: *845 - iteration_field: *846 + text_field: *846 + number_field: *847 + date_field: *848 + single_select_field: *849 + iteration_field: *850 '304': *35 '403': *27 '401': *23 @@ -133270,17 +134575,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - - *413 - - *847 + - *420 + - *851 - *140 responses: '200': description: Response content: application/json: - schema: *416 + schema: *423 examples: - default: *848 + default: *852 headers: Link: *45 '304': *35 @@ -133303,7 +134608,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *413 + - *420 - *140 - *108 - *109 @@ -133336,9 +134641,9 @@ paths: application/json: schema: type: array - items: *420 + items: *427 examples: - default: *421 + default: *428 headers: Link: *45 '304': *35 @@ -133360,7 +134665,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - *140 - - *413 + - *420 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -133430,22 +134735,22 @@ paths: description: Response content: application/json: - schema: *418 + schema: *425 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *419 + value: *426 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *419 + value: *426 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *419 + value: *426 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *419 + value: *426 '304': *35 '403': *27 '401': *23 @@ -133465,9 +134770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *413 + - *420 - *140 - - *422 + - *429 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -133487,9 +134792,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *427 examples: - default: *421 + default: *428 headers: Link: *45 '304': *35 @@ -133510,9 +134815,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - - *413 + - *420 - *140 - - *422 + - *429 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -133585,13 +134890,13 @@ paths: description: Response content: application/json: - schema: *420 + schema: *427 examples: - text_field: *421 - number_field: *421 - date_field: *421 - single_select_field: *421 - iteration_field: *421 + text_field: *428 + number_field: *428 + date_field: *428 + single_select_field: *428 + iteration_field: *428 '401': *23 '403': *27 '404': *6 @@ -133611,9 +134916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - - *413 + - *420 - *140 - - *422 + - *429 responses: '204': description: Response @@ -133635,9 +134940,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-project-view parameters: - - *413 + - *420 - *140 - - *849 + - *853 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -133663,9 +134968,9 @@ paths: application/json: schema: type: array - items: *420 + items: *427 examples: - default: *421 + default: *428 headers: Link: *45 '304': *35 @@ -133886,7 +135191,7 @@ paths: type: array items: *278 examples: - default: *401 + default: *408 headers: Link: *45 x-github: @@ -133916,9 +135221,9 @@ paths: application/json: schema: type: array - items: *820 + items: *824 examples: - default: *821 + default: *825 headers: Link: *45 x-github: @@ -133948,9 +135253,9 @@ paths: application/json: schema: type: array - items: *822 + items: *826 examples: - default: *850 + default: *854 headers: Link: *45 x-github: @@ -133975,7 +135280,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *140 - - *851 + - *855 - *110 - *17 - *19 @@ -133987,11 +135292,11 @@ paths: schema: anyOf: - type: array - items: *852 + items: *856 - type: array items: *78 examples: - default-response: *825 + default-response: *829 headers: Link: *45 x-github: @@ -134022,7 +135327,7 @@ paths: type: array items: *278 examples: - default: *401 + default: *408 headers: Link: *45 x-github: @@ -134151,7 +135456,7 @@ webhooks: type: string enum: - disabled - enterprise: &853 + enterprise: &857 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -134220,7 +135525,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &854 + installation: &858 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -134241,7 +135546,7 @@ webhooks: required: - id - node_id - organization: &855 + organization: &859 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -134314,7 +135619,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &856 + repository: &860 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -135240,10 +136545,10 @@ webhooks: type: string enum: - enabled - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -135319,11 +136624,11 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - rule: &857 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + rule: &861 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -135546,11 +136851,11 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - rule: *857 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + rule: *861 sender: *4 required: - action @@ -135738,11 +137043,11 @@ webhooks: - everyone required: - from - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - rule: *857 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + rule: *861 sender: *4 required: - action @@ -135815,7 +137120,7 @@ webhooks: required: true content: application/json: - schema: &877 + schema: &881 title: Exemption request cancellation event type: object properties: @@ -135823,11 +137128,11 @@ webhooks: type: string enum: - cancelled - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - exemption_request: &858 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + exemption_request: &862 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -136136,7 +137441,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &859 + items: &863 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -136248,7 +137553,7 @@ webhooks: required: true content: application/json: - schema: &878 + schema: &882 title: Exemption request completed event type: object properties: @@ -136256,11 +137561,11 @@ webhooks: type: string enum: - completed - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - exemption_request: *858 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + exemption_request: *862 sender: *4 required: - action @@ -136332,7 +137637,7 @@ webhooks: required: true content: application/json: - schema: &875 + schema: &879 title: Exemption request created event type: object properties: @@ -136340,11 +137645,11 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - exemption_request: *858 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + exemption_request: *862 sender: *4 required: - action @@ -136416,7 +137721,7 @@ webhooks: required: true content: application/json: - schema: &879 + schema: &883 title: Exemption response dismissed event type: object properties: @@ -136424,12 +137729,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - exemption_request: *858 - exemption_response: *859 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + exemption_request: *862 + exemption_response: *863 sender: *4 required: - action @@ -136503,7 +137808,7 @@ webhooks: required: true content: application/json: - schema: &876 + schema: &880 title: Exemption response submitted event type: object properties: @@ -136511,12 +137816,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - exemption_request: *858 - exemption_response: *859 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + exemption_request: *862 + exemption_response: *863 sender: *4 required: - action @@ -136600,7 +137905,7 @@ webhooks: type: string enum: - completed - check_run: &861 + check_run: &865 title: CheckRun description: A check performed on the code of a given code change type: object @@ -136710,7 +138015,7 @@ webhooks: - examples: - neutral - deployment: *860 + deployment: *864 details_url: type: string examples: @@ -136808,10 +138113,10 @@ webhooks: - output - app - pull_requests - installation: *854 - enterprise: *853 - organization: *855 - repository: *856 + installation: *858 + enterprise: *857 + organization: *859 + repository: *860 sender: *4 required: - check_run @@ -137202,11 +138507,11 @@ webhooks: type: string enum: - created - check_run: *861 - installation: *854 - enterprise: *853 - organization: *855 - repository: *856 + check_run: *865 + installation: *858 + enterprise: *857 + organization: *859 + repository: *860 sender: *4 required: - check_run @@ -137600,11 +138905,11 @@ webhooks: type: string enum: - requested_action - check_run: *861 - installation: *854 - enterprise: *853 - organization: *855 - repository: *856 + check_run: *865 + installation: *858 + enterprise: *857 + organization: *859 + repository: *860 requested_action: description: The action requested by the user. type: object @@ -138007,11 +139312,11 @@ webhooks: type: string enum: - rerequested - check_run: *861 - installation: *854 - enterprise: *853 - organization: *855 - repository: *856 + check_run: *865 + installation: *858 + enterprise: *857 + organization: *859 + repository: *860 sender: *4 required: - check_run @@ -138996,10 +140301,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -139703,10 +141008,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -140404,10 +141709,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -140576,7 +141881,7 @@ webhooks: required: - login - id - dismissed_comment: *541 + dismissed_comment: *547 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -140728,20 +142033,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &862 + commit_oid: &866 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *853 - installation: *854 - organization: *855 - ref: &863 + enterprise: *857 + installation: *858 + organization: *859 + ref: &867 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *856 + repository: *860 sender: *4 required: - action @@ -140908,7 +142213,7 @@ webhooks: required: - login - id - dismissed_comment: *541 + dismissed_comment: *547 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -141149,12 +142454,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *862 - enterprise: *853 - installation: *854 - organization: *855 - ref: *863 - repository: *856 + commit_oid: *866 + enterprise: *857 + installation: *858 + organization: *859 + ref: *867 + repository: *860 sender: *4 required: - action @@ -141252,7 +142557,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *541 + dismissed_comment: *547 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -141437,12 +142742,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *862 - enterprise: *853 - installation: *854 - organization: *855 - ref: *863 - repository: *856 + commit_oid: *866 + enterprise: *857 + installation: *858 + organization: *859 + ref: *867 + repository: *860 sender: *4 required: - action @@ -141611,7 +142916,7 @@ webhooks: required: - login - id - dismissed_comment: *541 + dismissed_comment: *547 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -141788,12 +143093,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *862 - enterprise: *853 - installation: *854 - organization: *855 - ref: *863 - repository: *856 + commit_oid: *866 + enterprise: *857 + installation: *858 + organization: *859 + ref: *867 + repository: *860 sender: *4 required: - action @@ -141894,7 +143199,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *541 + dismissed_comment: *547 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -142083,9 +143388,9 @@ webhooks: type: - string - 'null' - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -142093,7 +143398,7 @@ webhooks: type: - string - 'null' - repository: *856 + repository: *860 sender: *4 required: - action @@ -142192,7 +143497,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *541 + dismissed_comment: *547 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -142339,12 +143644,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *862 - enterprise: *853 - installation: *854 - organization: *855 - ref: *863 - repository: *856 + commit_oid: *866 + enterprise: *857 + installation: *858 + organization: *859 + ref: *867 + repository: *860 sender: *4 required: - action @@ -142513,7 +143818,7 @@ webhooks: required: - login - id - dismissed_comment: *541 + dismissed_comment: *547 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -142665,10 +143970,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -142928,10 +144233,10 @@ webhooks: - updated_at - author_association - body - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -143012,18 +144317,18 @@ webhooks: type: - string - 'null' - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *855 - pusher_type: &864 + organization: *859 + pusher_type: &868 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &865 + ref: &869 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -143033,7 +144338,7 @@ webhooks: enum: - tag - branch - repository: *856 + repository: *860 sender: *4 required: - ref @@ -143116,9 +144421,9 @@ webhooks: enum: - created definition: *153 - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 sender: *4 required: - action @@ -143203,9 +144508,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 sender: *4 required: - action @@ -143283,9 +144588,9 @@ webhooks: enum: - promote_to_enterprise definition: *153 - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 sender: *4 required: - action @@ -143363,9 +144668,9 @@ webhooks: enum: - updated definition: *153 - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 sender: *4 required: - action @@ -143442,10 +144747,10 @@ webhooks: type: string enum: - updated - enterprise: *853 - installation: *854 - repository: *856 - organization: *855 + enterprise: *857 + installation: *858 + repository: *860 + organization: *859 sender: *4 new_property_values: type: array @@ -143530,18 +144835,18 @@ webhooks: title: delete event type: object properties: - enterprise: *853 - installation: *854 - organization: *855 - pusher_type: *864 - ref: *865 + enterprise: *857 + installation: *858 + organization: *859 + pusher_type: *868 + ref: *869 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *856 + repository: *860 sender: *4 required: - ref @@ -143621,11 +144926,11 @@ webhooks: type: string enum: - assignees_changed - alert: *601 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *607 + installation: *858 + organization: *859 + enterprise: *857 + repository: *860 sender: *4 required: - action @@ -143705,11 +145010,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *601 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *607 + installation: *858 + organization: *859 + enterprise: *857 + repository: *860 sender: *4 required: - action @@ -143790,11 +145095,11 @@ webhooks: type: string enum: - auto_reopened - alert: *601 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *607 + installation: *858 + organization: *859 + enterprise: *857 + repository: *860 sender: *4 required: - action @@ -143875,11 +145180,11 @@ webhooks: type: string enum: - created - alert: *601 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *607 + installation: *858 + organization: *859 + enterprise: *857 + repository: *860 sender: *4 required: - action @@ -143958,11 +145263,11 @@ webhooks: type: string enum: - dismissed - alert: *601 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *607 + installation: *858 + organization: *859 + enterprise: *857 + repository: *860 sender: *4 required: - action @@ -144041,11 +145346,11 @@ webhooks: type: string enum: - fixed - alert: *601 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *607 + installation: *858 + organization: *859 + enterprise: *857 + repository: *860 sender: *4 required: - action @@ -144125,11 +145430,11 @@ webhooks: type: string enum: - reintroduced - alert: *601 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *607 + installation: *858 + organization: *859 + enterprise: *857 + repository: *860 sender: *4 required: - action @@ -144208,11 +145513,11 @@ webhooks: type: string enum: - reopened - alert: *601 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *607 + installation: *858 + organization: *859 + enterprise: *857 + repository: *860 sender: *4 required: - action @@ -144289,9 +145594,9 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - key: &866 + enterprise: *857 + installation: *858 + key: &870 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -144329,8 +145634,8 @@ webhooks: - verified - created_at - read_only - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -144407,11 +145712,11 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - key: *866 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + key: *870 + organization: *859 + repository: *860 sender: *4 required: - action @@ -144978,12 +146283,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 - workflow: &870 + workflow: &874 title: Workflow type: - object @@ -145734,13 +147039,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *608 + - *614 pull_requests: type: array - items: *702 - repository: *856 - organization: *855 - installation: *854 + items: *706 + repository: *860 + organization: *859 + installation: *858 sender: *4 responses: '200': @@ -145811,7 +147116,7 @@ webhooks: type: string enum: - approved - approver: &867 + approver: &871 type: object properties: avatar_url: @@ -145854,11 +147159,11 @@ webhooks: type: string comment: type: string - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - reviewers: &868 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + reviewers: &872 type: array items: type: object @@ -145939,7 +147244,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &869 + workflow_job_run: &873 type: object properties: conclusion: @@ -146685,18 +147990,18 @@ webhooks: type: string enum: - rejected - approver: *867 + approver: *871 comment: type: string - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - reviewers: *868 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + reviewers: *872 sender: *4 since: type: string - workflow_job_run: *869 + workflow_job_run: *873 workflow_job_runs: type: array items: @@ -147413,13 +148718,13 @@ webhooks: type: string enum: - requested - enterprise: *853 + enterprise: *857 environment: type: string - installation: *854 - organization: *855 - repository: *856 - requestor: &880 + installation: *858 + organization: *859 + repository: *860 + requestor: &884 title: User type: - object @@ -149352,12 +150657,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 - workflow: *870 + workflow: *874 workflow_run: title: Deployment Workflow Run type: @@ -150048,7 +151353,7 @@ webhooks: type: string enum: - answered - answer: &873 + answer: &877 type: object properties: author_association: @@ -150208,11 +151513,11 @@ webhooks: - created_at - updated_at - body - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -150339,11 +151644,11 @@ webhooks: - from required: - category - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -150426,11 +151731,11 @@ webhooks: type: string enum: - closed - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -150512,7 +151817,7 @@ webhooks: type: string enum: - created - comment: &872 + comment: &876 type: object properties: author_association: @@ -150672,11 +151977,11 @@ webhooks: - updated_at - body - reactions - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -150759,12 +152064,12 @@ webhooks: type: string enum: - deleted - comment: *872 - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + comment: *876 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -150859,12 +152164,12 @@ webhooks: - from required: - body - comment: *872 - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + comment: *876 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -150948,11 +152253,11 @@ webhooks: type: string enum: - created - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -151034,11 +152339,11 @@ webhooks: type: string enum: - deleted - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -151138,11 +152443,11 @@ webhooks: type: string required: - from - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -151224,10 +152529,10 @@ webhooks: type: string enum: - labeled - discussion: *871 - enterprise: *853 - installation: *854 - label: &874 + discussion: *875 + enterprise: *857 + installation: *858 + label: &878 title: Label type: object properties: @@ -151260,8 +152565,8 @@ webhooks: - color - default - description - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -151344,11 +152649,11 @@ webhooks: type: string enum: - locked - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -151430,11 +152735,11 @@ webhooks: type: string enum: - pinned - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -151516,11 +152821,11 @@ webhooks: type: string enum: - reopened - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -151605,16 +152910,16 @@ webhooks: changes: type: object properties: - new_discussion: *871 - new_repository: *856 + new_discussion: *875 + new_repository: *860 required: - new_discussion - new_repository - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -151697,10 +153002,10 @@ webhooks: type: string enum: - unanswered - discussion: *871 - old_answer: *873 - organization: *855 - repository: *856 + discussion: *875 + old_answer: *877 + organization: *859 + repository: *860 sender: *4 required: - action @@ -151782,12 +153087,12 @@ webhooks: type: string enum: - unlabeled - discussion: *871 - enterprise: *853 - installation: *854 - label: *874 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + label: *878 + organization: *859 + repository: *860 sender: *4 required: - action @@ -151870,11 +153175,11 @@ webhooks: type: string enum: - unlocked - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -151956,11 +153261,11 @@ webhooks: type: string enum: - unpinned - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -152029,7 +153334,7 @@ webhooks: required: true content: application/json: - schema: *875 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152092,7 +153397,7 @@ webhooks: required: true content: application/json: - schema: *876 + schema: *880 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152155,7 +153460,7 @@ webhooks: required: true content: application/json: - schema: *877 + schema: *881 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152218,7 +153523,7 @@ webhooks: required: true content: application/json: - schema: *875 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152281,7 +153586,7 @@ webhooks: required: true content: application/json: - schema: *876 + schema: *880 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152347,7 +153652,7 @@ webhooks: required: true content: application/json: - schema: *877 + schema: *881 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152413,7 +153718,7 @@ webhooks: required: true content: application/json: - schema: *878 + schema: *882 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152479,7 +153784,7 @@ webhooks: required: true content: application/json: - schema: *875 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152545,7 +153850,7 @@ webhooks: required: true content: application/json: - schema: *879 + schema: *883 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152611,7 +153916,7 @@ webhooks: required: true content: application/json: - schema: *876 + schema: *880 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152676,7 +153981,7 @@ webhooks: required: true content: application/json: - schema: *877 + schema: *881 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152741,7 +154046,7 @@ webhooks: required: true content: application/json: - schema: *878 + schema: *882 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152806,7 +154111,7 @@ webhooks: required: true content: application/json: - schema: *875 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152871,7 +154176,7 @@ webhooks: required: true content: application/json: - schema: *879 + schema: *883 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152937,7 +154242,7 @@ webhooks: required: true content: application/json: - schema: *876 + schema: *880 responses: '200': description: Return a 200 status to indicate that the data was received @@ -153004,7 +154309,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *853 + enterprise: *857 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -153682,9 +154987,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *854 - organization: *855 - repository: *856 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - forkee @@ -153830,9 +155135,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 pages: description: The pages that were updated. type: array @@ -153870,7 +155175,7 @@ webhooks: - action - sha - html_url - repository: *856 + repository: *860 sender: *4 required: - pages @@ -153946,10 +155251,10 @@ webhooks: type: string enum: - created - enterprise: *853 + enterprise: *857 installation: *20 - organization: *855 - repositories: &881 + organization: *859 + repositories: &885 description: An array of repository objects that the installation can access. type: array @@ -153975,8 +155280,8 @@ webhooks: - name - full_name - private - repository: *856 - requester: *880 + repository: *860 + requester: *884 sender: *4 required: - action @@ -154051,11 +155356,11 @@ webhooks: type: string enum: - deleted - enterprise: *853 + enterprise: *857 installation: *20 - organization: *855 - repositories: *881 - repository: *856 + organization: *859 + repositories: *885 + repository: *860 requester: type: - 'null' @@ -154132,11 +155437,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *853 + enterprise: *857 installation: *20 - organization: *855 - repositories: *881 - repository: *856 + organization: *859 + repositories: *885 + repository: *860 requester: type: - 'null' @@ -154213,10 +155518,10 @@ webhooks: type: string enum: - added - enterprise: *853 + enterprise: *857 installation: *20 - organization: *855 - repositories_added: &882 + organization: *859 + repositories_added: &886 description: An array of repository objects, which were added to the installation. type: array @@ -154262,15 +155567,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *856 - repository_selection: &883 + repository: *860 + repository_selection: &887 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *880 + requester: *884 sender: *4 required: - action @@ -154349,10 +155654,10 @@ webhooks: type: string enum: - removed - enterprise: *853 + enterprise: *857 installation: *20 - organization: *855 - repositories_added: *882 + organization: *859 + repositories_added: *886 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -154379,9 +155684,9 @@ webhooks: - name - full_name - private - repository: *856 - repository_selection: *883 - requester: *880 + repository: *860 + repository_selection: *887 + requester: *884 sender: *4 required: - action @@ -154460,11 +155765,11 @@ webhooks: type: string enum: - suspend - enterprise: *853 + enterprise: *857 installation: *20 - organization: *855 - repositories: *881 - repository: *856 + organization: *859 + repositories: *885 + repository: *860 requester: type: - 'null' @@ -154647,10 +155952,10 @@ webhooks: type: string required: - from - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 target_type: type: string @@ -154729,11 +156034,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *853 + enterprise: *857 installation: *20 - organization: *855 - repositories: *881 - repository: *856 + organization: *859 + repositories: *885 + repository: *860 requester: type: - 'null' @@ -154899,7 +156204,7 @@ webhooks: pin: anyOf: - type: 'null' - - *679 + - *683 user: title: User type: @@ -154985,8 +156290,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -155798,8 +157103,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155816,7 +157121,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -156160,8 +157465,8 @@ webhooks: - state - locked - assignee - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -156241,7 +157546,7 @@ webhooks: type: string enum: - deleted - comment: &884 + comment: &888 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -156398,7 +157703,7 @@ webhooks: pin: anyOf: - type: 'null' - - *679 + - *683 required: - url - html_url @@ -156412,8 +157717,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -157221,8 +158526,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157239,7 +158544,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -157585,8 +158890,8 @@ webhooks: - state - locked - assignee - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -157666,7 +158971,7 @@ webhooks: type: string enum: - edited - changes: &908 + changes: &912 description: The changes to the comment. type: object properties: @@ -157678,9 +158983,9 @@ webhooks: type: string required: - from - comment: *884 - enterprise: *853 - installation: *854 + comment: *888 + enterprise: *857 + installation: *858 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -158491,8 +159796,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158509,7 +159814,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -158853,8 +160158,8 @@ webhooks: - state - locked - assignee - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -158935,9 +160240,9 @@ webhooks: type: string enum: - pinned - comment: *884 - enterprise: *853 - installation: *854 + comment: *888 + enterprise: *857 + installation: *858 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -159750,8 +161055,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159768,7 +161073,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -160114,8 +161419,8 @@ webhooks: - state - locked - assignee - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -160195,9 +161500,9 @@ webhooks: type: string enum: - unpinned - comment: *884 - enterprise: *853 - installation: *854 + comment: *888 + enterprise: *857 + installation: *858 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -161010,8 +162315,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161028,7 +162333,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -161374,8 +162679,8 @@ webhooks: - state - locked - assignee - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -161464,9 +162769,9 @@ webhooks: type: number blocking_issue: *219 blocking_issue_repo: *78 - installation: *854 - organization: *855 - repository: *856 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -161555,9 +162860,9 @@ webhooks: type: number blocking_issue: *219 blocking_issue_repo: *78 - installation: *854 - organization: *855 - repository: *856 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -161645,9 +162950,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *219 - installation: *854 - organization: *855 - repository: *856 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -161736,9 +163041,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *219 - installation: *854 - organization: *855 - repository: *856 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -161818,10 +163123,10 @@ webhooks: type: string enum: - assigned - assignee: *880 - enterprise: *853 - installation: *854 - issue: &885 + assignee: *884 + enterprise: *857 + installation: *858 + issue: &889 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -162632,11 +163937,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162653,7 +163958,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -162756,8 +164061,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -162837,8 +164142,8 @@ webhooks: type: string enum: - closed - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -163654,11 +164959,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163675,7 +164980,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -163921,8 +165226,8 @@ webhooks: required: - state - closed_at - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -164001,8 +165306,8 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -164809,11 +166114,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164830,7 +166135,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -164932,8 +166237,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -165012,8 +166317,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -165843,11 +167148,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165864,7 +167169,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -165945,7 +167250,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &886 + milestone: &890 title: Milestone description: A collection of related issues and pull requests. type: object @@ -166088,8 +167393,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -166188,8 +167493,8 @@ webhooks: type: string required: - from - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -167000,11 +168305,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167018,7 +168323,7 @@ webhooks: timeline_url: type: string format: uri - type: *380 + type: *387 title: description: Title of the issue type: string @@ -167124,9 +168429,9 @@ webhooks: - active_lock_reason - body - reactions - label: *874 - organization: *855 - repository: *856 + label: *878 + organization: *859 + repository: *860 sender: *4 required: - action @@ -167206,9 +168511,9 @@ webhooks: type: string enum: - field_added - enterprise: *853 - installation: *854 - issue: *885 + enterprise: *857 + installation: *858 + issue: *889 issue_field: type: object description: The issue field whose value was set or updated on the @@ -167327,8 +168632,8 @@ webhooks: - id required: - from - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -167408,9 +168713,9 @@ webhooks: type: string enum: - field_removed - enterprise: *853 - installation: *854 - issue: *885 + enterprise: *857 + installation: *858 + issue: *889 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -167473,8 +168778,8 @@ webhooks: - 'null' required: - id - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -167554,8 +168859,8 @@ webhooks: type: string enum: - labeled - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -168365,11 +169670,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168383,7 +169688,7 @@ webhooks: timeline_url: type: string format: uri - type: *380 + type: *387 title: description: Title of the issue type: string @@ -168489,9 +169794,9 @@ webhooks: - active_lock_reason - body - reactions - label: *874 - organization: *855 - repository: *856 + label: *878 + organization: *859 + repository: *860 sender: *4 required: - action @@ -168571,8 +169876,8 @@ webhooks: type: string enum: - locked - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -169407,11 +170712,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -169425,7 +170730,7 @@ webhooks: timeline_url: type: string format: uri - type: *380 + type: *387 title: description: Title of the issue type: string @@ -169508,8 +170813,8 @@ webhooks: format: uri user_view_type: type: string - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -169588,8 +170893,8 @@ webhooks: type: string enum: - milestoned - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -170418,11 +171723,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -170439,7 +171744,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -170519,9 +171824,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *886 - organization: *855 - repository: *856 + milestone: *890 + organization: *859 + repository: *860 sender: *4 required: - action @@ -171408,11 +172713,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171512,7 +172817,7 @@ webhooks: required: - login - id - type: *380 + type: *387 required: - id - number @@ -172004,8 +173309,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -172812,11 +174117,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -172833,7 +174138,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -172939,8 +174244,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -173020,9 +174325,9 @@ webhooks: type: string enum: - pinned - enterprise: *853 - installation: *854 - issue: &887 + enterprise: *857 + installation: *858 + issue: &891 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -173827,11 +175132,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -173848,7 +175153,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -173950,8 +175255,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -174030,8 +175335,8 @@ webhooks: type: string enum: - reopened - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -174864,11 +176169,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -174965,9 +176270,9 @@ webhooks: format: uri user_view_type: type: string - type: *380 - organization: *855 - repository: *856 + type: *387 + organization: *859 + repository: *860 sender: *4 required: - action @@ -175855,11 +177160,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -175876,7 +177181,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -176469,11 +177774,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *853 - installation: *854 - issue: *887 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + issue: *891 + organization: *859 + repository: *860 sender: *4 required: - action @@ -176553,12 +177858,12 @@ webhooks: type: string enum: - typed - enterprise: *853 - installation: *854 - issue: *885 - type: *380 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + issue: *889 + type: *387 + organization: *859 + repository: *860 sender: *4 required: - action @@ -176639,7 +177944,7 @@ webhooks: type: string enum: - unassigned - assignee: &911 + assignee: &915 title: User type: - object @@ -176711,11 +178016,11 @@ webhooks: required: - login - id - enterprise: *853 - installation: *854 - issue: *885 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + issue: *889 + organization: *859 + repository: *860 sender: *4 required: - action @@ -176794,12 +178099,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *853 - installation: *854 - issue: *885 - label: *874 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + issue: *889 + label: *878 + organization: *859 + repository: *860 sender: *4 required: - action @@ -176879,8 +178184,8 @@ webhooks: type: string enum: - unlocked - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -177713,11 +179018,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -177734,7 +179039,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -177814,8 +179119,8 @@ webhooks: format: uri user_view_type: type: string - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -177895,11 +179200,11 @@ webhooks: type: string enum: - unpinned - enterprise: *853 - installation: *854 - issue: *887 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + issue: *891 + organization: *859 + repository: *860 sender: *4 required: - action @@ -177978,12 +179283,12 @@ webhooks: type: string enum: - untyped - enterprise: *853 - installation: *854 - issue: *885 - type: *380 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + issue: *889 + type: *387 + organization: *859 + repository: *860 sender: *4 required: - action @@ -178063,11 +179368,11 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - label: *874 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + label: *878 + organization: *859 + repository: *860 sender: *4 required: - action @@ -178145,11 +179450,11 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - label: *874 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + label: *878 + organization: *859 + repository: *860 sender: *4 required: - action @@ -178259,11 +179564,11 @@ webhooks: type: string required: - from - enterprise: *853 - installation: *854 - label: *874 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + label: *878 + organization: *859 + repository: *860 sender: *4 required: - action @@ -178345,9 +179650,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *853 - installation: *854 - marketplace_purchase: &888 + enterprise: *857 + installation: *858 + marketplace_purchase: &892 title: Marketplace Purchase type: object required: @@ -178435,8 +179740,8 @@ webhooks: type: integer unit_count: type: integer - organization: *855 - previous_marketplace_purchase: &889 + organization: *859 + previous_marketplace_purchase: &893 title: Marketplace Purchase type: object properties: @@ -178520,7 +179825,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *856 + repository: *860 sender: *4 required: - action @@ -178600,10 +179905,10 @@ webhooks: - changed effective_date: type: string - enterprise: *853 - installation: *854 - marketplace_purchase: *888 - organization: *855 + enterprise: *857 + installation: *858 + marketplace_purchase: *892 + organization: *859 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -178691,7 +179996,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *856 + repository: *860 sender: *4 required: - action @@ -178773,10 +180078,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *853 - installation: *854 - marketplace_purchase: *888 - organization: *855 + enterprise: *857 + installation: *858 + marketplace_purchase: *892 + organization: *859 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -178862,7 +180167,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *856 + repository: *860 sender: *4 required: - action @@ -178943,8 +180248,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 marketplace_purchase: title: Marketplace Purchase type: object @@ -179030,9 +180335,9 @@ webhooks: type: integer unit_count: type: integer - organization: *855 - previous_marketplace_purchase: *889 - repository: *856 + organization: *859 + previous_marketplace_purchase: *893 + repository: *860 sender: *4 required: - action @@ -179112,12 +180417,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *853 - installation: *854 - marketplace_purchase: *888 - organization: *855 - previous_marketplace_purchase: *889 - repository: *856 + enterprise: *857 + installation: *858 + marketplace_purchase: *892 + organization: *859 + previous_marketplace_purchase: *893 + repository: *860 sender: *4 required: - action @@ -179219,11 +180524,11 @@ webhooks: type: string required: - to - enterprise: *853 - installation: *854 - member: *880 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + member: *884 + organization: *859 + repository: *860 sender: *4 required: - action @@ -179325,11 +180630,11 @@ webhooks: type: - string - 'null' - enterprise: *853 - installation: *854 - member: *880 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + member: *884 + organization: *859 + repository: *860 sender: *4 required: - action @@ -179408,11 +180713,11 @@ webhooks: type: string enum: - removed - enterprise: *853 - installation: *854 - member: *880 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + member: *884 + organization: *859 + repository: *860 sender: *4 required: - action @@ -179490,11 +180795,11 @@ webhooks: type: string enum: - added - enterprise: *853 - installation: *854 - member: *880 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + member: *884 + organization: *859 + repository: *860 scope: description: The scope of the membership. Currently, can only be `team`. @@ -179572,7 +180877,7 @@ webhooks: required: - login - id - team: &890 + team: &894 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -179802,11 +181107,11 @@ webhooks: type: string enum: - removed - enterprise: *853 - installation: *854 - member: *880 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + member: *884 + organization: *859 + repository: *860 scope: description: The scope of the membership. Currently, can only be `team`. @@ -179885,7 +181190,7 @@ webhooks: required: - login - id - team: *890 + team: *894 required: - action - scope @@ -179967,8 +181272,8 @@ webhooks: type: string enum: - checks_requested - installation: *854 - merge_group: &891 + installation: *858 + merge_group: &895 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -179987,15 +181292,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *533 + head_commit: *539 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -180081,10 +181386,10 @@ webhooks: - merged - invalidated - dequeued - installation: *854 - merge_group: *891 - organization: *855 - repository: *856 + installation: *858 + merge_group: *895 + organization: *859 + repository: *860 sender: *4 required: - action @@ -180157,7 +181462,7 @@ webhooks: type: string enum: - deleted - enterprise: *853 + enterprise: *857 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -180266,12 +181571,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *854 - organization: *855 + installation: *858 + organization: *859 repository: anyOf: - type: 'null' - - *856 + - *860 sender: *4 required: - action @@ -180351,11 +181656,11 @@ webhooks: type: string enum: - closed - enterprise: *853 - installation: *854 - milestone: *886 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + milestone: *890 + organization: *859 + repository: *860 sender: *4 required: - action @@ -180434,9 +181739,9 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - milestone: &892 + enterprise: *857 + installation: *858 + milestone: &896 title: Milestone description: A collection of related issues and pull requests. type: object @@ -180578,8 +181883,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -180658,11 +181963,11 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - milestone: *886 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + milestone: *890 + organization: *859 + repository: *860 sender: *4 required: - action @@ -180772,11 +182077,11 @@ webhooks: type: string required: - from - enterprise: *853 - installation: *854 - milestone: *886 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + milestone: *890 + organization: *859 + repository: *860 sender: *4 required: - action @@ -180856,11 +182161,11 @@ webhooks: type: string enum: - opened - enterprise: *853 - installation: *854 - milestone: *892 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + milestone: *896 + organization: *859 + repository: *860 sender: *4 required: - action @@ -180939,11 +182244,11 @@ webhooks: type: string enum: - blocked - blocked_user: *880 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + blocked_user: *884 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -181022,11 +182327,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *880 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + blocked_user: *884 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -181102,7 +182407,7 @@ webhooks: enum: - created definition: *148 - enterprise: *853 + enterprise: *857 sender: *4 required: - action @@ -181182,8 +182487,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 sender: *4 required: - action @@ -181256,8 +182561,8 @@ webhooks: enum: - updated definition: *148 - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 sender: *4 required: - action @@ -181329,9 +182634,9 @@ webhooks: type: string enum: - updated - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 sender: *4 new_property_values: type: array @@ -181419,9 +182724,9 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - membership: &893 + enterprise: *857 + installation: *858 + membership: &897 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -181531,8 +182836,8 @@ webhooks: - role - organization_url - user - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -181610,11 +182915,11 @@ webhooks: type: string enum: - member_added - enterprise: *853 - installation: *854 - membership: *893 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + membership: *897 + organization: *859 + repository: *860 sender: *4 required: - action @@ -181693,8 +182998,8 @@ webhooks: type: string enum: - member_invited - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -181816,10 +183121,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 - user: *880 + user: *884 required: - action - invitation @@ -181897,11 +183202,11 @@ webhooks: type: string enum: - member_removed - enterprise: *853 - installation: *854 - membership: *893 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + membership: *897 + organization: *859 + repository: *860 sender: *4 required: - action @@ -181988,11 +183293,11 @@ webhooks: properties: from: type: string - enterprise: *853 - installation: *854 - membership: *893 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + membership: *897 + organization: *859 + repository: *860 sender: *4 required: - action @@ -182070,9 +183375,9 @@ webhooks: type: string enum: - published - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 package: description: Information about the package. type: object @@ -182595,7 +183900,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &894 + items: &898 title: Ruby Gems metadata type: object properties: @@ -182692,7 +183997,7 @@ webhooks: - owner - package_version - registry - repository: *856 + repository: *860 sender: *4 required: - action @@ -182769,9 +184074,9 @@ webhooks: type: string enum: - updated - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 package: description: Information about the package. type: object @@ -183133,7 +184438,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *894 + items: *898 source_url: type: string format: uri @@ -183204,7 +184509,7 @@ webhooks: - owner - package_version - registry - repository: *856 + repository: *860 sender: *4 required: - action @@ -183384,12 +184689,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *853 + enterprise: *857 id: type: integer - installation: *854 - organization: *855 - repository: *856 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - id @@ -183466,7 +184771,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &895 + personal_access_token_request: &899 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -183616,10 +184921,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *853 - organization: *855 + enterprise: *857 + organization: *859 sender: *4 - installation: *854 + installation: *858 required: - action - personal_access_token_request @@ -183696,11 +185001,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *895 - enterprise: *853 - organization: *855 + personal_access_token_request: *899 + enterprise: *857 + organization: *859 sender: *4 - installation: *854 + installation: *858 required: - action - personal_access_token_request @@ -183776,11 +185081,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *895 - enterprise: *853 - organization: *855 + personal_access_token_request: *899 + enterprise: *857 + organization: *859 sender: *4 - installation: *854 + installation: *858 required: - action - personal_access_token_request @@ -183855,11 +185160,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *895 - organization: *855 - enterprise: *853 + personal_access_token_request: *899 + organization: *859 + enterprise: *857 sender: *4 - installation: *854 + installation: *858 required: - action - personal_access_token_request @@ -183964,7 +185269,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *896 + last_response: *900 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -183996,8 +185301,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 zen: description: Random string of GitHub zen. @@ -184242,10 +185547,10 @@ webhooks: - from required: - note - enterprise: *853 - installation: *854 - organization: *855 - project_card: &897 + enterprise: *857 + installation: *858 + organization: *859 + project_card: &901 title: Project Card type: object properties: @@ -184368,7 +185673,7 @@ webhooks: - creator - created_at - updated_at - repository: *856 + repository: *860 sender: *4 required: - action @@ -184449,11 +185754,11 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - project_card: *897 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + project_card: *901 + repository: *860 sender: *4 required: - action @@ -184533,9 +185838,9 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 project_card: title: Project Card type: object @@ -184665,7 +185970,7 @@ webhooks: repository: anyOf: - type: 'null' - - *856 + - *860 sender: *4 required: - action @@ -184759,11 +186064,11 @@ webhooks: - from required: - note - enterprise: *853 - installation: *854 - organization: *855 - project_card: *897 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + project_card: *901 + repository: *860 sender: *4 required: - action @@ -184857,9 +186162,9 @@ webhooks: - from required: - column_id - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 project_card: allOf: - title: Project Card @@ -185056,7 +186361,7 @@ webhooks: type: string required: - after_id - repository: *856 + repository: *860 sender: *4 required: - action @@ -185136,10 +186441,10 @@ webhooks: type: string enum: - closed - enterprise: *853 - installation: *854 - organization: *855 - project: &899 + enterprise: *857 + installation: *858 + organization: *859 + project: &903 title: Project type: object properties: @@ -185266,7 +186571,7 @@ webhooks: - creator - created_at - updated_at - repository: *856 + repository: *860 sender: *4 required: - action @@ -185346,10 +186651,10 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - project_column: &898 + enterprise: *857 + installation: *858 + organization: *859 + project_column: &902 title: Project Column type: object properties: @@ -185389,7 +186694,7 @@ webhooks: - name - created_at - updated_at - repository: *856 + repository: *860 sender: *4 required: - action @@ -185468,14 +186773,14 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - project_column: *898 + enterprise: *857 + installation: *858 + organization: *859 + project_column: *902 repository: anyOf: - type: 'null' - - *856 + - *860 sender: *4 required: - action @@ -185564,11 +186869,11 @@ webhooks: type: string required: - from - enterprise: *853 - installation: *854 - organization: *855 - project_column: *898 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + project_column: *902 + repository: *860 sender: *4 required: - action @@ -185648,11 +186953,11 @@ webhooks: type: string enum: - moved - enterprise: *853 - installation: *854 - organization: *855 - project_column: *898 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + project_column: *902 + repository: *860 sender: *4 required: - action @@ -185732,11 +187037,11 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - project: *899 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + project: *903 + repository: *860 sender: *4 required: - action @@ -185816,14 +187121,14 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - project: *899 + enterprise: *857 + installation: *858 + organization: *859 + project: *903 repository: anyOf: - type: 'null' - - *856 + - *860 sender: *4 required: - action @@ -185924,11 +187229,11 @@ webhooks: type: string required: - from - enterprise: *853 - installation: *854 - organization: *855 - project: *899 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + project: *903 + repository: *860 sender: *4 required: - action @@ -186007,11 +187312,11 @@ webhooks: type: string enum: - reopened - enterprise: *853 - installation: *854 - organization: *855 - project: *899 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + project: *903 + repository: *860 sender: *4 required: - action @@ -186092,9 +187397,9 @@ webhooks: type: string enum: - closed - installation: *854 - organization: *855 - projects_v2: *411 + installation: *858 + organization: *859 + projects_v2: *418 sender: *4 required: - action @@ -186175,9 +187480,9 @@ webhooks: type: string enum: - created - installation: *854 - organization: *855 - projects_v2: *411 + installation: *858 + organization: *859 + projects_v2: *418 sender: *4 required: - action @@ -186258,9 +187563,9 @@ webhooks: type: string enum: - deleted - installation: *854 - organization: *855 - projects_v2: *411 + installation: *858 + organization: *859 + projects_v2: *418 sender: *4 required: - action @@ -186381,9 +187686,9 @@ webhooks: type: string to: type: string - installation: *854 - organization: *855 - projects_v2: *411 + installation: *858 + organization: *859 + projects_v2: *418 sender: *4 required: - action @@ -186466,7 +187771,7 @@ webhooks: type: string enum: - archived - changes: &903 + changes: &907 type: object properties: archived_at: @@ -186482,9 +187787,9 @@ webhooks: - string - 'null' format: date-time - installation: *854 - organization: *855 - projects_v2_item: &900 + installation: *858 + organization: *859 + projects_v2_item: &904 title: Projects v2 Item description: An item belonging to a project type: object @@ -186502,7 +187807,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *417 + content_type: *424 creator: *4 created_at: type: string @@ -186624,9 +187929,9 @@ webhooks: - 'null' to: type: string - installation: *854 - organization: *855 - projects_v2_item: *900 + installation: *858 + organization: *859 + projects_v2_item: *904 sender: *4 required: - action @@ -186708,9 +188013,9 @@ webhooks: type: string enum: - created - installation: *854 - organization: *855 - projects_v2_item: *900 + installation: *858 + organization: *859 + projects_v2_item: *904 sender: *4 required: - action @@ -186791,9 +188096,9 @@ webhooks: type: string enum: - deleted - installation: *854 - organization: *855 - projects_v2_item: *900 + installation: *858 + organization: *859 + projects_v2_item: *904 sender: *4 required: - action @@ -186898,7 +188203,7 @@ webhooks: oneOf: - type: string - type: integer - - &901 + - &905 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -186922,7 +188227,7 @@ webhooks: required: - id - name - - &902 + - &906 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -186962,8 +188267,8 @@ webhooks: oneOf: - type: string - type: integer - - *901 - - *902 + - *905 + - *906 type: - 'null' - string @@ -186986,9 +188291,9 @@ webhooks: - 'null' required: - body - installation: *854 - organization: *855 - projects_v2_item: *900 + installation: *858 + organization: *859 + projects_v2_item: *904 sender: *4 required: - action @@ -187085,9 +188390,9 @@ webhooks: type: - string - 'null' - installation: *854 - organization: *855 - projects_v2_item: *900 + installation: *858 + organization: *859 + projects_v2_item: *904 sender: *4 required: - action @@ -187170,10 +188475,10 @@ webhooks: type: string enum: - restored - changes: *903 - installation: *854 - organization: *855 - projects_v2_item: *900 + changes: *907 + installation: *858 + organization: *859 + projects_v2_item: *904 sender: *4 required: - action @@ -187255,9 +188560,9 @@ webhooks: type: string enum: - reopened - installation: *854 - organization: *855 - projects_v2: *411 + installation: *858 + organization: *859 + projects_v2: *418 sender: *4 required: - action @@ -187338,9 +188643,9 @@ webhooks: type: string enum: - created - installation: *854 - organization: *855 - projects_v2_status_update: *904 + installation: *858 + organization: *859 + projects_v2_status_update: *908 sender: *4 required: - action @@ -187421,9 +188726,9 @@ webhooks: type: string enum: - deleted - installation: *854 - organization: *855 - projects_v2_status_update: *904 + installation: *858 + organization: *859 + projects_v2_status_update: *908 sender: *4 required: - action @@ -187569,9 +188874,9 @@ webhooks: - string - 'null' format: date - installation: *854 - organization: *855 - projects_v2_status_update: *904 + installation: *858 + organization: *859 + projects_v2_status_update: *908 sender: *4 required: - action @@ -187642,10 +188947,10 @@ webhooks: title: public event type: object properties: - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - repository @@ -187722,13 +189027,13 @@ webhooks: type: string enum: - assigned - assignee: *880 - enterprise: *853 - installation: *854 - number: &905 + assignee: *884 + enterprise: *857 + installation: *858 + number: &909 description: The pull request number. type: integer - organization: *855 + organization: *859 pull_request: title: Pull Request type: object @@ -190099,7 +191404,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 sender: *4 required: - action @@ -190181,11 +191486,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 number: type: integer - organization: *855 + organization: *859 pull_request: title: Pull Request type: object @@ -192549,7 +193854,7 @@ webhooks: - draft reason: type: string - repository: *856 + repository: *860 sender: *4 required: - action @@ -192631,11 +193936,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 number: type: integer - organization: *855 + organization: *859 pull_request: title: Pull Request type: object @@ -194999,7 +196304,7 @@ webhooks: - draft reason: type: string - repository: *856 + repository: *860 sender: *4 required: - action @@ -195081,13 +196386,13 @@ webhooks: type: string enum: - closed - enterprise: *853 - installation: *854 - number: *905 - organization: *855 - pull_request: &906 + enterprise: *857 + installation: *858 + number: *909 + organization: *859 + pull_request: &910 allOf: - - *702 + - *706 - type: object properties: allow_auto_merge: @@ -195149,7 +196454,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *856 + repository: *860 sender: *4 required: - action @@ -195230,12 +196535,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *853 - installation: *854 - number: *905 - organization: *855 - pull_request: *906 - repository: *856 + enterprise: *857 + installation: *858 + number: *909 + organization: *859 + pull_request: *910 + repository: *860 sender: *4 required: - action @@ -195315,11 +196620,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *853 - milestone: *414 - number: *905 - organization: *855 - pull_request: &907 + enterprise: *857 + milestone: *421 + number: *909 + organization: *859 + pull_request: &911 title: Pull Request type: object properties: @@ -197668,7 +198973,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 sender: *4 required: - action @@ -197747,11 +199052,11 @@ webhooks: type: string enum: - dequeued - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 number: type: integer - organization: *855 + organization: *859 pull_request: title: Pull Request type: object @@ -200119,7 +201424,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *856 + repository: *860 sender: *4 required: - action @@ -200243,12 +201548,12 @@ webhooks: type: string required: - from - enterprise: *853 - installation: *854 - number: *905 - organization: *855 - pull_request: *906 - repository: *856 + enterprise: *857 + installation: *858 + number: *909 + organization: *859 + pull_request: *910 + repository: *860 sender: *4 required: - action @@ -200328,11 +201633,11 @@ webhooks: type: string enum: - enqueued - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 number: type: integer - organization: *855 + organization: *859 pull_request: title: Pull Request type: object @@ -202685,7 +203990,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 sender: *4 required: - action @@ -202765,11 +204070,11 @@ webhooks: type: string enum: - labeled - enterprise: *853 - installation: *854 - label: *874 - number: *905 - organization: *855 + enterprise: *857 + installation: *858 + label: *878 + number: *909 + organization: *859 pull_request: title: Pull Request type: object @@ -205139,7 +206444,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 sender: *4 required: - action @@ -205220,10 +206525,10 @@ webhooks: type: string enum: - locked - enterprise: *853 - installation: *854 - number: *905 - organization: *855 + enterprise: *857 + installation: *858 + number: *909 + organization: *859 pull_request: title: Pull Request type: object @@ -207591,7 +208896,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 sender: *4 required: - action @@ -207671,12 +208976,12 @@ webhooks: type: string enum: - milestoned - enterprise: *853 - milestone: *414 - number: *905 - organization: *855 - pull_request: *907 - repository: *856 + enterprise: *857 + milestone: *421 + number: *909 + organization: *859 + pull_request: *911 + repository: *860 sender: *4 required: - action @@ -207755,12 +209060,12 @@ webhooks: type: string enum: - opened - enterprise: *853 - installation: *854 - number: *905 - organization: *855 - pull_request: *906 - repository: *856 + enterprise: *857 + installation: *858 + number: *909 + organization: *859 + pull_request: *910 + repository: *860 sender: *4 required: - action @@ -207841,12 +209146,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *853 - installation: *854 - number: *905 - organization: *855 - pull_request: *906 - repository: *856 + enterprise: *857 + installation: *858 + number: *909 + organization: *859 + pull_request: *910 + repository: *860 sender: *4 required: - action @@ -207926,12 +209231,12 @@ webhooks: type: string enum: - reopened - enterprise: *853 - installation: *854 - number: *905 - organization: *855 - pull_request: *906 - repository: *856 + enterprise: *857 + installation: *858 + number: *909 + organization: *859 + pull_request: *910 + repository: *860 sender: *4 required: - action @@ -208306,9 +209611,9 @@ webhooks: - start_side - side - reactions - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 pull_request: type: object properties: @@ -210560,7 +211865,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *856 + repository: *860 sender: *4 required: - action @@ -210640,7 +211945,7 @@ webhooks: type: string enum: - deleted - comment: &909 + comment: &913 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -210933,9 +212238,9 @@ webhooks: - start_side - side - reactions - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 pull_request: type: object properties: @@ -213175,7 +214480,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *856 + repository: *860 sender: *4 required: - action @@ -213255,11 +214560,11 @@ webhooks: type: string enum: - edited - changes: *908 - comment: *909 - enterprise: *853 - installation: *854 - organization: *855 + changes: *912 + comment: *913 + enterprise: *857 + installation: *858 + organization: *859 pull_request: type: object properties: @@ -215502,7 +216807,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *856 + repository: *860 sender: *4 required: - action @@ -215583,9 +216888,9 @@ webhooks: type: string enum: - dismissed - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 pull_request: title: Simple Pull Request type: object @@ -217840,7 +219145,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *856 + repository: *860 review: description: The review that was affected. type: object @@ -218091,9 +219396,9 @@ webhooks: type: string required: - from - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 pull_request: title: Simple Pull Request type: object @@ -220207,8 +221512,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *856 - review: &910 + repository: *860 + review: &914 description: The review that was affected. type: object properties: @@ -220446,12 +221751,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 number: description: The pull request number. type: integer - organization: *855 + organization: *859 pull_request: title: Pull Request type: object @@ -222820,7 +224125,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 requested_reviewer: title: User type: @@ -222906,12 +224211,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 number: description: The pull request number. type: integer - organization: *855 + organization: *859 pull_request: title: Pull Request type: object @@ -225287,7 +226592,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 requested_team: title: Team description: Groups of organization members that gives permissions @@ -225482,12 +226787,12 @@ webhooks: type: string enum: - review_requested - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 number: description: The pull request number. type: integer - organization: *855 + organization: *859 pull_request: title: Pull Request type: object @@ -227858,7 +229163,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 requested_reviewer: title: User type: @@ -227945,12 +229250,12 @@ webhooks: type: string enum: - review_requested - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 number: description: The pull request number. type: integer - organization: *855 + organization: *859 pull_request: title: Pull Request type: object @@ -230312,7 +231617,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 requested_team: title: Team description: Groups of organization members that gives permissions @@ -230496,9 +231801,9 @@ webhooks: type: string enum: - submitted - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 pull_request: title: Simple Pull Request type: object @@ -232756,8 +234061,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *856 - review: *910 + repository: *860 + review: *914 sender: *4 required: - action @@ -232837,9 +234142,9 @@ webhooks: type: string enum: - resolved - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 pull_request: title: Simple Pull Request type: object @@ -234992,7 +236297,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *856 + repository: *860 sender: *4 thread: type: object @@ -235389,9 +236694,9 @@ webhooks: type: string enum: - unresolved - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 pull_request: title: Simple Pull Request type: object @@ -237527,7 +238832,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *856 + repository: *860 sender: *4 thread: type: object @@ -237926,10 +239231,10 @@ webhooks: type: string before: type: string - enterprise: *853 - installation: *854 - number: *905 - organization: *855 + enterprise: *857 + installation: *858 + number: *909 + organization: *859 pull_request: title: Pull Request type: object @@ -240286,7 +241591,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 sender: *4 required: - action @@ -240368,11 +241673,11 @@ webhooks: type: string enum: - unassigned - assignee: *911 - enterprise: *853 - installation: *854 - number: *905 - organization: *855 + assignee: *915 + enterprise: *857 + installation: *858 + number: *909 + organization: *859 pull_request: title: Pull Request type: object @@ -242744,7 +244049,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 sender: *4 required: - action @@ -242823,11 +244128,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *853 - installation: *854 - label: *874 - number: *905 - organization: *855 + enterprise: *857 + installation: *858 + label: *878 + number: *909 + organization: *859 pull_request: title: Pull Request type: object @@ -245188,7 +246493,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 sender: *4 required: - action @@ -245269,10 +246574,10 @@ webhooks: type: string enum: - unlocked - enterprise: *853 - installation: *854 - number: *905 - organization: *855 + enterprise: *857 + installation: *858 + number: *909 + organization: *859 pull_request: title: Pull Request type: object @@ -247623,7 +248928,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 sender: *4 required: - action @@ -247826,7 +249131,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *853 + enterprise: *857 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -247921,8 +249226,8 @@ webhooks: - url - author - committer - installation: *854 - organization: *855 + installation: *858 + organization: *859 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -248521,9 +249826,9 @@ webhooks: type: string enum: - published - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 registry_package: type: object properties: @@ -249000,7 +250305,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *894 + items: *898 summary: type: string tag_name: @@ -249056,7 +250361,7 @@ webhooks: - owner - package_version - registry - repository: *856 + repository: *860 sender: *4 required: - action @@ -249134,9 +250439,9 @@ webhooks: type: string enum: - updated - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 registry_package: type: object properties: @@ -249448,7 +250753,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *894 + items: *898 summary: type: string tag_name: @@ -249498,7 +250803,7 @@ webhooks: - owner - package_version - registry - repository: *856 + repository: *860 sender: *4 required: - action @@ -249575,10 +250880,10 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - release: &912 + enterprise: *857 + installation: *858 + organization: *859 + release: &916 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -249909,7 +251214,7 @@ webhooks: - updated_at - zipball_url - body - repository: *856 + repository: *860 sender: *4 required: - action @@ -249986,11 +251291,11 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - release: *912 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + release: *916 + repository: *860 sender: *4 required: - action @@ -250107,11 +251412,11 @@ webhooks: type: boolean required: - to - enterprise: *853 - installation: *854 - organization: *855 - release: *912 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + release: *916 + repository: *860 sender: *4 required: - action @@ -250189,9 +251494,9 @@ webhooks: type: string enum: - prereleased - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -250527,7 +251832,7 @@ webhooks: - string - 'null' format: uri - repository: *856 + repository: *860 sender: *4 required: - action @@ -250603,10 +251908,10 @@ webhooks: type: string enum: - published - enterprise: *853 - installation: *854 - organization: *855 - release: &913 + enterprise: *857 + installation: *858 + organization: *859 + release: &917 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -250939,7 +252244,7 @@ webhooks: - string - 'null' format: uri - repository: *856 + repository: *860 sender: *4 required: - action @@ -251015,11 +252320,11 @@ webhooks: type: string enum: - released - enterprise: *853 - installation: *854 - organization: *855 - release: *912 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + release: *916 + repository: *860 sender: *4 required: - action @@ -251095,11 +252400,11 @@ webhooks: type: string enum: - unpublished - enterprise: *853 - installation: *854 - organization: *855 - release: *913 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + release: *917 + repository: *860 sender: *4 required: - action @@ -251175,11 +252480,11 @@ webhooks: type: string enum: - published - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - repository_advisory: *754 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + repository_advisory: *758 sender: *4 required: - action @@ -251255,11 +252560,11 @@ webhooks: type: string enum: - reported - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - repository_advisory: *754 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + repository_advisory: *758 sender: *4 required: - action @@ -251335,10 +252640,10 @@ webhooks: type: string enum: - archived - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -251415,10 +252720,10 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -251496,10 +252801,10 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -251584,10 +252889,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -251702,10 +253007,10 @@ webhooks: - 'null' items: type: string - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -251777,10 +253082,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 status: type: string @@ -251861,10 +253166,10 @@ webhooks: type: string enum: - privatized - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -251941,10 +253246,10 @@ webhooks: type: string enum: - publicized - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -252038,10 +253343,10 @@ webhooks: - name required: - repository - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -252121,10 +253426,10 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 repository_ruleset: *187 sender: *4 required: @@ -252203,10 +253508,10 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 repository_ruleset: *187 sender: *4 required: @@ -252285,10 +253590,10 @@ webhooks: type: string enum: - edited - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 repository_ruleset: *187 changes: type: object @@ -252350,16 +253655,16 @@ webhooks: properties: added: type: array - items: *722 + items: *726 deleted: type: array - items: *722 + items: *726 updated: type: array items: type: object properties: - rule: *722 + rule: *726 changes: type: object properties: @@ -252596,10 +253901,10 @@ webhooks: - from required: - owner - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -252677,10 +253982,10 @@ webhooks: type: string enum: - unarchived - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -252758,7 +254063,7 @@ webhooks: type: string enum: - create - alert: &914 + alert: &918 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -252883,10 +254188,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -253096,10 +254401,10 @@ webhooks: type: string enum: - dismissed - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -253177,11 +254482,11 @@ webhooks: type: string enum: - reopen - alert: *914 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + alert: *918 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -253383,10 +254688,10 @@ webhooks: enum: - fixed - open - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -253464,7 +254769,7 @@ webhooks: type: string enum: - assigned - alert: &915 + alert: &919 type: object properties: number: *127 @@ -253604,10 +254909,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -253685,11 +254990,11 @@ webhooks: type: string enum: - created - alert: *915 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + alert: *919 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -253770,11 +255075,11 @@ webhooks: type: string enum: - created - alert: *915 - installation: *854 - location: *916 - organization: *855 - repository: *856 + alert: *919 + installation: *858 + location: *920 + organization: *859 + repository: *860 sender: *4 required: - location @@ -254012,11 +255317,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *915 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + alert: *919 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -254094,11 +255399,11 @@ webhooks: type: string enum: - reopened - alert: *915 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + alert: *919 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -254176,11 +255481,11 @@ webhooks: type: string enum: - resolved - alert: *915 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + alert: *919 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -254258,12 +255563,12 @@ webhooks: type: string enum: - unassigned - alert: *915 + alert: *919 assignee: *4 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -254341,11 +255646,11 @@ webhooks: type: string enum: - validated - alert: *915 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + alert: *919 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -254475,10 +255780,10 @@ webhooks: - organization - enterprise - - repository: *856 - enterprise: *853 - installation: *854 - organization: *855 + repository: *860 + enterprise: *857 + installation: *858 + organization: *859 sender: *4 required: - action @@ -254556,11 +255861,11 @@ webhooks: type: string enum: - published - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - security_advisory: &917 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + security_advisory: &921 description: The details of the security advisory, including summary, description, and severity. type: object @@ -254746,11 +256051,11 @@ webhooks: type: string enum: - updated - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - security_advisory: *917 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + security_advisory: *921 sender: *4 required: - action @@ -254823,10 +256128,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -255012,11 +256317,11 @@ webhooks: from: type: object properties: - security_and_analysis: *425 - enterprise: *853 - installation: *854 - organization: *855 - repository: *471 + security_and_analysis: *432 + enterprise: *857 + installation: *858 + organization: *859 + repository: *478 sender: *4 required: - changes @@ -255094,12 +256399,12 @@ webhooks: type: string enum: - cancelled - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 - sponsorship: &918 + sponsorship: &922 type: object properties: created_at: @@ -255404,12 +256709,12 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 - sponsorship: *918 + sponsorship: *922 required: - action - sponsorship @@ -255497,12 +256802,12 @@ webhooks: type: string required: - from - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 - sponsorship: *918 + sponsorship: *922 required: - action - changes @@ -255579,17 +256884,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &919 + effective_date: &923 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 - sponsorship: *918 + sponsorship: *922 required: - action - sponsorship @@ -255663,7 +256968,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &920 + changes: &924 type: object properties: tier: @@ -255707,13 +257012,13 @@ webhooks: - from required: - tier - effective_date: *919 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + effective_date: *923 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 - sponsorship: *918 + sponsorship: *922 required: - action - changes @@ -255790,13 +257095,13 @@ webhooks: type: string enum: - tier_changed - changes: *920 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + changes: *924 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 - sponsorship: *918 + sponsorship: *922 required: - action - changes @@ -255870,10 +257175,10 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -255957,10 +257262,10 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -256394,15 +257699,15 @@ webhooks: type: - string - 'null' - enterprise: *853 + enterprise: *857 id: description: The unique identifier of the status. type: integer - installation: *854 + installation: *858 name: type: string - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 sha: description: The Commit SHA. @@ -256518,17 +257823,16 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *219 - installation: *854 - organization: *855 - repository: *856 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action - - parent_issue_id - - parent_issue - - parent_issue_repo - sub_issue_id - sub_issue + - repository + - sender responses: '200': description: Return a 200 status to indicate that the data was received @@ -256610,17 +257914,16 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *219 - installation: *854 - organization: *855 - repository: *856 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action - - parent_issue_id - - parent_issue - - parent_issue_repo - sub_issue_id - sub_issue + - repository + - sender responses: '200': description: Return a 200 status to indicate that the data was received @@ -256702,17 +258005,16 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *219 - installation: *854 - organization: *855 - repository: *856 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action - - sub_issue_id - - sub_issue - - sub_issue_repo - parent_issue_id - parent_issue + - repository + - sender responses: '200': description: Return a 200 status to indicate that the data was received @@ -256794,17 +258096,16 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *219 - installation: *854 - organization: *855 - repository: *856 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action - - sub_issue_id - - sub_issue - - sub_issue_repo - parent_issue_id - parent_issue + - repository + - sender responses: '200': description: Return a 200 status to indicate that the data was received @@ -256873,12 +258174,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 - team: &921 + team: &925 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -257108,9 +258409,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 repository: title: Repository description: A git repository @@ -257580,7 +258881,7 @@ webhooks: - topics - visibility sender: *4 - team: *921 + team: *925 required: - action - team @@ -257656,9 +258957,9 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 repository: title: Repository description: A git repository @@ -258128,7 +259429,7 @@ webhooks: - topics - visibility sender: *4 - team: *921 + team: *925 required: - action - team @@ -258205,9 +259506,9 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 repository: title: Repository description: A git repository @@ -258677,7 +259978,7 @@ webhooks: - topics - visibility sender: *4 - team: *921 + team: *925 required: - action - team @@ -258821,9 +260122,9 @@ webhooks: - from required: - permissions - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 repository: title: Repository description: A git repository @@ -259293,7 +260594,7 @@ webhooks: - topics - visibility sender: *4 - team: *921 + team: *925 required: - action - changes @@ -259371,9 +260672,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 repository: title: Repository description: A git repository @@ -259843,7 +261144,7 @@ webhooks: - topics - visibility sender: *4 - team: *921 + team: *925 required: - action - team @@ -259919,10 +261220,10 @@ webhooks: type: string enum: - started - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -259995,17 +261296,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *853 + enterprise: *857 inputs: type: - object - 'null' additionalProperties: true - installation: *854 - organization: *855 + installation: *858 + organization: *859 ref: type: string - repository: *856 + repository: *860 sender: *4 workflow: type: string @@ -260087,10 +261388,10 @@ webhooks: type: string enum: - completed - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 workflow_job: allOf: @@ -260346,7 +261647,7 @@ webhooks: type: string required: - conclusion - deployment: *608 + deployment: *614 required: - action - repository @@ -260425,10 +261726,10 @@ webhooks: type: string enum: - in_progress - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 workflow_job: allOf: @@ -260710,7 +262011,7 @@ webhooks: required: - status - steps - deployment: *608 + deployment: *614 required: - action - repository @@ -260789,10 +262090,10 @@ webhooks: type: string enum: - queued - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 workflow_job: type: object @@ -260938,7 +262239,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *608 + deployment: *614 required: - action - repository @@ -261017,10 +262318,10 @@ webhooks: type: string enum: - waiting - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 workflow_job: type: object @@ -261167,7 +262468,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *608 + deployment: *614 required: - action - repository @@ -261247,12 +262548,12 @@ webhooks: type: string enum: - completed - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 - workflow: *870 + workflow: *874 workflow_run: title: Workflow Run type: object @@ -262271,12 +263572,12 @@ webhooks: type: string enum: - in_progress - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 - workflow: *870 + workflow: *874 workflow_run: title: Workflow Run type: object @@ -263280,12 +264581,12 @@ webhooks: type: string enum: - requested - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 - workflow: *870 + workflow: *874 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json index acf67c8f8..476cc3c88 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.json @@ -223,6 +223,10 @@ { "name": "agent-tasks", "description": "Endpoints to manage and interact with agent tasks." + }, + { + "name": "agents", + "description": "Endpoints for Agents secrets and variables." } ], "servers": [ @@ -48979,6 +48983,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -50744,7 +50759,7 @@ "/enterprises/{enterprise}/copilot/custom-agents/source": { "get": { "summary": "Get the source organization for custom agents in an enterprise", - "description": "Gets the organization and repository configured as the source for custom agent definitions in an enterprise.\n\nCustom agents are enterprise-defined AI agents stored as markdown files in a special repository.\nAn enterprise admin configures one organization as the \"source\" and that org must have a repo named\n`.github-private` containing agent definitions in `/agents/*.md`.\n\nEnterprise owners with read access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.\n", + "description": "Gets the organization and repository configured as the source for custom agent definitions and Copilot CLI client settings in an enterprise.\n\nCustom agents are enterprise-defined AI agents stored as markdown files in a special repository.\nAn enterprise admin configures one organization as the \"source\" for custom agents and\nCopilot CLI client settings, and that org must have a repo named `.github-private` containing agent\ndefinitions in `/agents/*.md`, or enterprise-managed AI standards in `.github/copilot/settings.json`. [Learn more about configuring enterprise-managed AI standards for Copilot clients](https://docs.github.com/enterprise-cloud@latest/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/configure-enterprise-plugin-standards).\n\nEnterprise owners with read access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.\n", "tags": [ "copilot" ], @@ -50903,7 +50918,7 @@ }, "put": { "summary": "Set the source organization for custom agents in an enterprise", - "description": "Sets an organization as the source for custom agent definitions in the enterprise.\nThe organization must have a `.github-private` repository containing agent definitions.\n\nBy default, this endpoint also creates an enterprise-level ruleset to protect\nagent definition files (agents/*.md and .github/agents/*.md). You can opt out\nof ruleset creation by setting `create_ruleset` to `false`.\n\nEnterprise owners with write access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "description": "Sets an organization as the source for custom agent definitions and Copilot CLI client settings in the enterprise.\nThe organization must have a `.github-private` repository containing agent definitions.\n\nBy default, this endpoint also creates an enterprise-level ruleset to protect\nagent definition files (agents/*.md and .github/agents/*.md). You can opt out\nof ruleset creation by setting `create_ruleset` to `false`.\n\nEnterprise owners with write access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ "copilot" ], @@ -51214,7 +51229,7 @@ }, "delete": { "summary": "Delete the custom agents source for an enterprise", - "description": "Removes the custom agents source configuration for the enterprise.\nThis effectively disables custom agents for the enterprise by removing\nthe reference to the source organization's `.github-private` repository.\n\nNote: This does not delete the `.github-private` repository or any agent\ndefinition files. It only removes the association between the enterprise\nand the source repository.\n\nEnterprise owners with write access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", + "description": "Removes the custom agents source configuration for the enterprise.\nThis effectively disables custom agents and Copilot CLI client settings\nfor the enterprise by removing the reference to the source organization's `.github-private` repository.\n\nNote: This does not delete the `.github-private` repository or any agent\ndefinition files. It only removes the association between the enterprise\nand the source repository.\n\nEnterprise owners with write access to AI Controls can use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.", "tags": [ "copilot" ], @@ -58362,6 +58377,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -58778,6 +58804,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -60844,6 +60881,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -83725,6 +83773,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -83868,6 +83927,14 @@ "null" ], "description": "The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/enterprise-cloud@latest/rest/scim#list-provisioned-scim-groups-for-an-enterprise)." + }, + "notification_setting": { + "type": "string", + "description": "The notification setting the team is set to. The options are:\n\n* `notifications_enabled` - team members receive notifications when the team is @mentioned.\n* `notifications_disabled` - no one receives notifications.\n\nDefault: `notifications_enabled`\n", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] } }, "required": [ @@ -83962,6 +84029,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -86388,249 +86466,279 @@ "updated_at": { "type": "string", "format": "date-time" - } - }, - "required": [ - "id", - "url", - "members_url", - "name", - "html_url", - "slug", - "created_at", - "updated_at", - "group_id" - ] - }, - "examples": { - "default": { - "value": { - "id": 1, - "name": "Justice League", - "description": "A great team.", - "slug": "justice-league", - "url": "https://api.github.com/enterprises/dc/teams/justice-league", - "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", - "html_url": "https://github.com/enterprises/dc/teams/justice-league", - "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", - "created_at": "2019-01-26T19:01:12Z", - "updated_at": "2019-01-26T19:14:43Z" - } - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "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" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "enterprise-teams", - "subcategory": "enterprise-teams" - } - }, - "patch": { - "summary": "Update an enterprise team", - "description": "To edit a team, the authenticated user must be an enterprise owner.", - "tags": [ - "enterprise-teams" - ], - "operationId": "enterprise-teams/update", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "team_slug", - "description": "The slug of the team name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ], - "description": "A new name for the team." - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "A new description for the team." - }, - "sync_to_organizations": { - "type": "string", - "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be changed.\n", - "enum": [ - "all", - "disabled" - ], - "default": "disabled" - }, - "organization_selection_type": { - "type": "string", - "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", - "enum": [ - "disabled", - "selected", - "all" - ], - "default": "disabled" - }, - "group_id": { - "type": [ - "string", - "null" - ], - "description": "The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group." - } - } - }, - "examples": { - "default": { - "value": { - "name": "Justice League", - "description": "A great team.", - "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Enterprise Team", - "description": "Group of enterprise owners and/or members", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" }, - "slug": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri" - }, - "sync_to_organizations": { - "type": "string", - "description": "Retired: this field will not be returned with GHEC enterprise teams.", - "examples": [ - "disabled | all" - ] - }, - "organization_selection_type": { + "notification_setting": { "type": "string", - "examples": [ - "disabled | selected | all" - ] - }, - "group_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "62ab9291-fae2-468e-974b-7e45096d5021" - ] - }, - "group_name": { - "type": [ - "string", - "null" + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" ], - "description": "Retired: this field will not be returned with GHEC enterprise teams.", - "examples": [ - "Justice League" - ] - }, - "html_url": { - "type": "string", - "format": "uri", "examples": [ - "https://github.com/enterprises/dc/teams/justice-league" + "notifications_enabled" + ] + } + }, + "required": [ + "id", + "url", + "members_url", + "name", + "html_url", + "slug", + "created_at", + "updated_at", + "group_id" + ] + }, + "examples": { + "default": { + "value": { + "id": 1, + "name": "Justice League", + "description": "A great team.", + "slug": "justice-league", + "url": "https://api.github.com/enterprises/dc/teams/justice-league", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021", + "html_url": "https://github.com/enterprises/dc/teams/justice-league", + "members_url": "https://api.github.com/enterprises/dc/teams/justice-league/members{/member}", + "created_at": "2019-01-26T19:01:12Z", + "updated_at": "2019-01-26T19:14:43Z" + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "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" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-teams" + } + }, + "patch": { + "summary": "Update an enterprise team", + "description": "To edit a team, the authenticated user must be an enterprise owner.", + "tags": [ + "enterprise-teams" + ], + "operationId": "enterprise-teams/update", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "team_slug", + "description": "The slug of the team name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ], + "description": "A new name for the team." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "A new description for the team." + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be changed.\n", + "enum": [ + "all", + "disabled" + ], + "default": "disabled" + }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, + "group_id": { + "type": [ + "string", + "null" + ], + "description": "The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group." + }, + "notification_setting": { + "type": "string", + "description": "The notification setting the team is set to. The options are:\n\n* `notifications_enabled` - team members receive notifications when the team is @mentioned.\n* `notifications_disabled` - no one receives notifications.\n", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ] + } + } + }, + "examples": { + "default": { + "value": { + "name": "Justice League", + "description": "A great team.", + "group_id": "62ab9291-fae2-468e-974b-7e45096d5021" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Enterprise Team", + "description": "Group of enterprise owners and/or members", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "url": { + "type": "string", + "format": "uri" + }, + "sync_to_organizations": { + "type": "string", + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "disabled | all" + ] + }, + "organization_selection_type": { + "type": "string", + "examples": [ + "disabled | selected | all" + ] + }, + "group_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "62ab9291-fae2-468e-974b-7e45096d5021" + ] + }, + "group_name": { + "type": [ + "string", + "null" + ], + "description": "Retired: this field will not be returned with GHEC enterprise teams.", + "examples": [ + "Justice League" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/enterprises/dc/teams/justice-league" + ] + }, + "members_url": { + "type": "string" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" ] - }, - "members_url": { - "type": "string" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" } }, "required": [ @@ -156216,6 +156324,3626 @@ } } }, + "/orgs/{org}/agents/secrets": { + "get": { + "summary": "List organization secrets", + "description": "Lists all secrets available in an organization without revealing their\nencrypted values.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-org-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-organization-secrets" + }, + "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", + "secrets" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "secrets": { + "type": "array", + "items": { + "title": "Actions Secret for an Organization", + "description": "Secrets for GitHub Actions for an organization.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "visibility": { + "description": "Visibility of a secret", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/org/secrets/my_secret/repositories" + ] + } + }, + "required": [ + "name", + "created_at", + "updated_at", + "visibility" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 3, + "secrets": [ + { + "name": "GIST_ID", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "private" + }, + { + "name": "DEPLOY_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "all" + }, + { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/public-key": { + "get": { + "summary": "Get an organization public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-public-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-public-key" + }, + "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": { + "title": "ActionsPublicKey", + "description": "The public key used for setting Actions Secrets.", + "type": "object", + "properties": { + "key_id": { + "description": "The identifier for the key.", + "type": "string", + "examples": [ + "1234567" + ] + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "examples": [ + "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=" + ] + }, + "id": { + "type": "integer", + "examples": [ + 2 + ] + }, + "url": { + "type": "string", + "examples": [ + "https://api.github.com/user/keys/2" + ] + }, + "title": { + "type": "string", + "examples": [ + "ssh-rsa AAAAB3NzaC1yc2EAAA" + ] + }, + "created_at": { + "type": "string", + "examples": [ + "2011-01-26T19:01:12Z" + ] + } + }, + "required": [ + "key_id", + "key" + ] + }, + "examples": { + "default": { + "value": { + "key_id": "012345678912345678", + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}": { + "get": { + "summary": "Get an organization secret", + "description": "Gets a single organization secret without revealing its encrypted value.\n\nThe authenticated user must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Actions Secret for an Organization", + "description": "Secrets for GitHub Actions for an organization.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + }, + "visibility": { + "description": "Visibility of a secret", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/org/secrets/my_secret/repositories" + ] + } + }, + "required": [ + "name", + "created_at", + "updated_at", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "put": { + "summary": "Create or update an organization secret", + "description": "Creates or updates an organization secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-or-update-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "encrypted_value": { + "type": "string", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "type": "string", + "description": "ID of the key you used to encrypt the secret." + }, + "visibility": { + "type": "string", + "description": "Which type of organization repositories have access to the organization secret. `selected` means only the repositories specified by `selected_repository_ids` can access the secret.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "encrypted_value", + "key_id", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response when creating a secret", + "content": { + "application/json": { + "schema": { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "examples": { + "default": { + "value": null + } + } + } + } + }, + "204": { + "description": "Response when updating a secret" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "delete": { + "summary": "Delete an organization secret", + "description": "Deletes a secret in an organization using the secret name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}/repositories": { + "get": { + "summary": "List selected repositories for an organization secret", + "description": "Lists all repositories that have been selected when the `visibility`\nfor repository access to a secret is set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-selected-repos-for-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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 + } + }, + { + "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 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "title": "Minimal Repository", + "description": "Minimal Repository", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": [ + "string", + "null" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": [ + "string", + "null" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "has_pull_requests": { + "type": "boolean" + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "examples": [ + "admin" + ] + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "contributor_covenant" + ] + }, + "name": { + "type": "string", + "examples": [ + "Contributor Covenant" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/codes_of_conduct/contributor_covenant" + ] + }, + "body": { + "type": "string", + "examples": [ + "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + ] + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": [ + "object", + "null" + ], + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": [ + "string", + "null" + ] + }, + "node_id": { + "type": "string" + } + } + }, + "forks": { + "type": "integer", + "examples": [ + 0 + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 0 + ] + }, + "watchers": { + "type": "integer", + "examples": [ + 0 + ] + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "examples": [ + false + ] + }, + "security_and_analysis": { + "type": [ + "object", + "null" + ], + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_validity_checks": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_alert_dismissal": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass_options": { + "type": "object", + "properties": { + "reviewers": { + "type": "array", + "description": "The bypass reviewers for secret scanning delegated bypass", + "items": { + "type": "object", + "required": [ + "reviewer_id", + "reviewer_type" + ], + "properties": { + "reviewer_id": { + "type": "integer", + "description": "The ID of the team or role selected as a bypass reviewer" + }, + "reviewer_type": { + "type": "string", + "description": "The type of the bypass reviewer", + "enum": [ + "TEAM", + "ROLE" + ] + }, + "mode": { + "type": "string", + "description": "The bypass mode for the reviewer", + "enum": [ + "ALWAYS", + "EXEMPT" + ], + "default": "ALWAYS" + } + } + } + } + } + } + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + } + }, + "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" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "repositories": [ + { + "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}", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" + } + ] + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "put": { + "summary": "Set selected repositories for an organization secret", + "description": "Replaces all repositories for an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/set-selected-repos-for-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) endpoints.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}": { + "put": { + "summary": "Add selected repository to an organization secret", + "description": "Adds a repository to an organization secret when the `visibility` for\nrepository access is set to `selected`. For more information about setting the visibility, see [Create or\nupdate an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/add-selected-repo-to-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "No Content when repository was added to the selected list" + }, + "409": { + "description": "Conflict when visibility type is not set to selected" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "delete": { + "summary": "Remove selected repository from an organization secret", + "description": "Removes a repository from an organization secret when the `visibility`\nfor repository access is set to `selected`. The visibility is set when you [Create\nor update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret).\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/remove-selected-repo-from-org-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response when repository was removed from the selected list" + }, + "409": { + "description": "Conflict when visibility type not set to selected" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/orgs/{org}/agents/variables": { + "get": { + "summary": "List organization variables", + "description": "Lists all agent variables available in an organization.\nReturned variables include their values.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-org-variables", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables" + }, + "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 30). 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": 10 + } + }, + { + "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", + "variables" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "type": "array", + "items": { + "title": "Actions Variable for an Organization", + "description": "Organization variable for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "visibility": { + "description": "Visibility of a variable", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/org/variables/USERNAME/repositories" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at", + "visibility" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 3, + "variables": [ + { + "name": "USERNAME", + "value": "octocat", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "private" + }, + { + "name": "ACTIONS_RUNNER_DEBUG", + "value": true, + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "all" + }, + { + "name": "ADMIN_EMAIL", + "value": "octocat@github.com", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "post": { + "summary": "Create an organization variable", + "description": "Creates an organization agent variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-an-organization-variable" + }, + "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": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + }, + "visibility": { + "type": "string", + "description": "The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "name", + "value", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response when creating a variable", + "content": { + "application/json": { + "schema": { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "examples": { + "default": { + "value": null + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}": { + "get": { + "summary": "Get an organization variable", + "description": "Gets a specific agent variable in an organization.\n\nThe authenticated user must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Actions Variable for an Organization", + "description": "Organization variable for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "visibility": { + "description": "Visibility of a variable", + "enum": [ + "all", + "private", + "selected" + ], + "type": "string" + }, + "selected_repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/org/variables/USERNAME/repositories" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at", + "visibility" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z", + "visibility": "selected", + "selected_repositories_url": "https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "patch": { + "summary": "Update an organization variable", + "description": "Updates an organization agent variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/update-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + }, + "visibility": { + "type": "string", + "description": "The type of repositories in the organization that can access the variable. `selected` means only the repositories specified by `selected_repository_ids` can access the variable.", + "enum": [ + "all", + "private", + "selected" + ] + }, + "selected_repository_ids": { + "type": "array", + "description": "An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`.", + "items": { + "type": "integer" + } + } + } + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "visibility": "selected", + "selected_repository_ids": [ + 1296269, + 1296280 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Delete an organization variable", + "description": "Deletes an organization agent variable using the variable name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}/repositories": { + "get": { + "summary": "List selected repositories for an organization variable", + "description": "Lists all repositories that can access an organization agent variable\nthat is available to selected repositories.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/list-selected-repos-for-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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 + } + }, + { + "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 + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "total_count", + "repositories" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "repositories": { + "type": "array", + "items": { + "title": "Minimal Repository", + "description": "Minimal Repository", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "name": { + "type": "string", + "examples": [ + "Hello-World" + ] + }, + "full_name": { + "type": "string", + "examples": [ + "octocat/Hello-World" + ] + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean" + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat/Hello-World" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "This your first repo!" + ] + }, + "fork": { + "type": "boolean" + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World" + ] + }, + "archive_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" + ] + }, + "assignees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/assignees{/user}" + ] + }, + "blobs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" + ] + }, + "branches_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/branches{/branch}" + ] + }, + "collaborators_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" + ] + }, + "comments_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/comments{/number}" + ] + }, + "commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/commits{/sha}" + ] + }, + "compare_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" + ] + }, + "contents_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contents/{+path}" + ] + }, + "contributors_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/contributors" + ] + }, + "deployments_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/deployments" + ] + }, + "downloads_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/downloads" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/events" + ] + }, + "forks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/forks" + ] + }, + "git_commits_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" + ] + }, + "git_refs_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" + ] + }, + "git_tags_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" + ] + }, + "git_url": { + "type": "string" + }, + "issue_comment_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" + ] + }, + "issue_events_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues/events{/number}" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/issues{/number}" + ] + }, + "keys_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/keys{/key_id}" + ] + }, + "labels_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/labels{/name}" + ] + }, + "languages_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/languages" + ] + }, + "merges_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/merges" + ] + }, + "milestones_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/milestones{/number}" + ] + }, + "notifications_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" + ] + }, + "pulls_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/pulls{/number}" + ] + }, + "releases_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/releases{/id}" + ] + }, + "ssh_url": { + "type": "string" + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/stargazers" + ] + }, + "statuses_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/statuses/{sha}" + ] + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscribers" + ] + }, + "subscription_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/subscription" + ] + }, + "tags_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/tags" + ] + }, + "teams_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/teams" + ] + }, + "trees_url": { + "type": "string", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" + ] + }, + "clone_url": { + "type": "string" + }, + "mirror_url": { + "type": [ + "string", + "null" + ] + }, + "hooks_url": { + "type": "string", + "format": "uri", + "examples": [ + "http://api.github.com/repos/octocat/Hello-World/hooks" + ] + }, + "svn_url": { + "type": "string" + }, + "homepage": { + "type": [ + "string", + "null" + ] + }, + "language": { + "type": [ + "string", + "null" + ] + }, + "forks_count": { + "type": "integer" + }, + "stargazers_count": { + "type": "integer" + }, + "watchers_count": { + "type": "integer" + }, + "size": { + "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.", + "type": "integer" + }, + "default_branch": { + "type": "string" + }, + "open_issues_count": { + "type": "integer" + }, + "is_template": { + "type": "boolean" + }, + "topics": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_issues": { + "type": "boolean" + }, + "has_projects": { + "type": "boolean" + }, + "has_wiki": { + "type": "boolean" + }, + "has_pages": { + "type": "boolean" + }, + "has_discussions": { + "type": "boolean" + }, + "has_pull_requests": { + "type": "boolean" + }, + "pull_request_creation_policy": { + "description": "The policy controlling who can create pull requests: all or collaborators_only.", + "type": "string", + "enum": [ + "all", + "collaborators_only" + ] + }, + "archived": { + "type": "boolean" + }, + "disabled": { + "type": "boolean" + }, + "visibility": { + "type": "string" + }, + "pushed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "created_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:01:12Z" + ] + }, + "updated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "examples": [ + "2011-01-26T19:14:43Z" + ] + }, + "permissions": { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "pull": { + "type": "boolean" + } + } + }, + "role_name": { + "type": "string", + "examples": [ + "admin" + ] + }, + "temp_clone_token": { + "type": "string" + }, + "delete_branch_on_merge": { + "type": "boolean" + }, + "subscribers_count": { + "type": "integer" + }, + "network_count": { + "type": "integer" + }, + "code_of_conduct": { + "title": "Code Of Conduct", + "description": "Code Of Conduct", + "type": "object", + "properties": { + "key": { + "type": "string", + "examples": [ + "contributor_covenant" + ] + }, + "name": { + "type": "string", + "examples": [ + "Contributor Covenant" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/codes_of_conduct/contributor_covenant" + ] + }, + "body": { + "type": "string", + "examples": [ + "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.4, available at [http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4/).\n" + ] + }, + "html_url": { + "type": [ + "string", + "null" + ], + "format": "uri" + } + }, + "required": [ + "url", + "html_url", + "key", + "name" + ] + }, + "license": { + "type": [ + "object", + "null" + ], + "properties": { + "key": { + "type": "string" + }, + "name": { + "type": "string" + }, + "spdx_id": { + "type": "string" + }, + "url": { + "type": [ + "string", + "null" + ] + }, + "node_id": { + "type": "string" + } + } + }, + "forks": { + "type": "integer", + "examples": [ + 0 + ] + }, + "open_issues": { + "type": "integer", + "examples": [ + 0 + ] + }, + "watchers": { + "type": "integer", + "examples": [ + 0 + ] + }, + "allow_forking": { + "type": "boolean" + }, + "web_commit_signoff_required": { + "type": "boolean", + "examples": [ + false + ] + }, + "security_and_analysis": { + "type": [ + "object", + "null" + ], + "properties": { + "advanced_security": { + "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n", + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "code_security": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "dependabot_security_updates": { + "description": "Enable or disable Dependabot security updates for the repository.", + "type": "object", + "properties": { + "status": { + "description": "The enablement status of Dependabot security updates for the repository.", + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_push_protection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_non_provider_patterns": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_ai_detection": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_validity_checks": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_alert_dismissal": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass": { + "type": "object", + "properties": { + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + } + } + }, + "secret_scanning_delegated_bypass_options": { + "type": "object", + "properties": { + "reviewers": { + "type": "array", + "description": "The bypass reviewers for secret scanning delegated bypass", + "items": { + "type": "object", + "required": [ + "reviewer_id", + "reviewer_type" + ], + "properties": { + "reviewer_id": { + "type": "integer", + "description": "The ID of the team or role selected as a bypass reviewer" + }, + "reviewer_type": { + "type": "string", + "description": "The type of the bypass reviewer", + "enum": [ + "TEAM", + "ROLE" + ] + }, + "mode": { + "type": "string", + "description": "The bypass mode for the reviewer", + "enum": [ + "ALWAYS", + "EXEMPT" + ], + "default": "ALWAYS" + } + } + } + } + } + } + } + }, + "custom_properties": { + "type": "object", + "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.", + "additionalProperties": true + } + }, + "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" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 1, + "repositories": [ + { + "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}", + "hooks_url": "http://api.github.com/repos/octocat/Hello-World/hooks" + } + ] + } + } + } + } + } + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "put": { + "summary": "Set selected repositories for an organization variable", + "description": "Replaces all repositories for an organization agent variable that is available\nto selected repositories. Organization variables that are available to selected\nrepositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/set-selected-repos-for-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "selected_repository_ids": { + "type": "array", + "description": "The IDs of the repositories that can access the organization variable.", + "items": { + "type": "integer" + } + } + }, + "required": [ + "selected_repository_ids" + ] + }, + "examples": { + "default": { + "value": { + "selected_repository_ids": [ + 64780797 + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/orgs/{org}/agents/variables/{name}/repositories/{repository_id}": { + "put": { + "summary": "Add selected repository to an organization variable", + "description": "Adds a repository to an organization agent variable that is available to selected repositories.\nOrganization variables that are available to selected repositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/add-selected-repo-to-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "delete": { + "summary": "Remove selected repository from an organization variable", + "description": "Removes a repository from an organization agent variable that is\navailable to selected repositories. Organization variables that are available to\nselected repositories have their `visibility` field set to `selected`.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.", + "tags": [ + "agents" + ], + "operationId": "agents/remove-selected-repo-from-org-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "409": { + "description": "Response when the visibility of the variable is not set to `selected`" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, "/orgs/{org}/announcement": { "get": { "summary": "Get announcement banner for organization", @@ -182911,6 +186639,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -232530,6 +236269,17 @@ "updated_at": { "type": "string", "format": "date-time" + }, + "notification_setting": { + "type": "string", + "description": "Whether team members will receive notifications when the team is mentioned.", + "enum": [ + "notifications_enabled", + "notifications_disabled" + ], + "examples": [ + "notifications_enabled" + ] } }, "required": [ @@ -356004,106 +359754,1784 @@ } }, { - "name": "workflow_id", + "name": "workflow_id", + "in": "path", + "description": "The ID of the workflow. You can also pass the workflow file name as a string.", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Workflow Usage", + "description": "Workflow Usage", + "type": "object", + "properties": { + "billable": { + "type": "object", + "properties": { + "UBUNTU": { + "type": "object", + "properties": { + "total_ms": { + "type": "integer" + } + } + }, + "MACOS": { + "type": "object", + "properties": { + "total_ms": { + "type": "integer" + } + } + }, + "WINDOWS": { + "type": "object", + "properties": { + "total_ms": { + "type": "integer" + } + } + } + } + } + }, + "required": [ + "billable" + ] + }, + "examples": { + "default": { + "value": { + "billable": { + "UBUNTU": { + "total_ms": 180000 + }, + "MACOS": { + "total_ms": 240000 + }, + "WINDOWS": { + "total_ms": 300000 + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "actions", + "subcategory": "workflows" + } + } + }, + "/repos/{owner}/{repo}/activity": { + "get": { + "summary": "List repository activities", + "description": "Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users.\n\nFor more information about viewing repository activity,\nsee \"[Viewing activity and data for your repository](https://docs.github.com/enterprise-cloud@latest/repositories/viewing-activity-and-data-for-your-repository).\"", + "tags": [ + "repos" + ], + "operationId": "repos/list-activities", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "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": "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 results before this cursor. 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", + "required": false, + "schema": { + "type": "string" + } + }, + { + "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 results after this cursor. 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", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "ref", + "description": "The Git reference for the activities you want to list.\n\nThe `ref` for a branch can be formatted either as `refs/heads/BRANCH_NAME` or `BRANCH_NAME`, where `BRANCH_NAME` is the name of your branch.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "actor", + "description": "The GitHub username to use to filter by the actor who performed the activity.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "time_period", + "description": "The time period to filter by.\n\nFor example, `day` will filter for activity that occurred in the past 24 hours, and `week` will filter for activity that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "day", + "week", + "month", + "quarter", + "year" + ] + } + }, + { + "name": "activity_type", + "description": "The activity type to filter by.\n\nFor example, you can choose to filter by \"force_push\", to see all force pushes to the repository.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "push", + "force_push", + "branch_creation", + "branch_deletion", + "pr_merge", + "merge_queue_merge" + ] + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Activity", + "description": "Activity", + "type": "object", + "properties": { + "id": { + "type": "integer", + "examples": [ + 1296269 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" + ] + }, + "before": { + "type": "string", + "description": "The SHA of the commit before the activity.", + "examples": [ + "6dcb09b5b57875f334f61aebed695e2e4193db5e" + ] + }, + "after": { + "type": "string", + "description": "The SHA of the commit after the activity.", + "examples": [ + "827efc6d56897b048c772eb4087f854f46256132" + ] + }, + "ref": { + "type": "string", + "description": "The full Git reference, formatted as `refs/heads/`.", + "examples": [ + "refs/heads/main" + ] + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The time when the activity occurred.", + "examples": [ + "2011-01-26T19:06:43Z" + ] + }, + "activity_type": { + "type": "string", + "enum": [ + "push", + "force_push", + "branch_deletion", + "branch_creation", + "pr_merge", + "merge_queue_merge" + ], + "description": "The type of the activity that was performed.", + "examples": [ + "force_push" + ] + }, + "actor": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + ] + } + }, + "required": [ + "id", + "node_id", + "before", + "after", + "ref", + "timestamp", + "activity_type", + "actor" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "before": "6dcb09b5b57875f334f61aebed695e2e4193db5e", + "after": "827efc6d56897b048c772eb4087f854f46256132", + "ref": "refs/heads/main", + "pushed_at": "2011-01-26T19:06:43Z", + "push_type": "normal", + "pusher": { + "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 + } + } + ] + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "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": "repos", + "subcategory": "repos" + } + } + }, + "/repos/{owner}/{repo}/agents/organization-secrets": { + "get": { + "summary": "List repository organization secrets", + "description": "Lists all organization secrets shared with a repository without revealing their encrypted\nvalues.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-organization-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-organization-secrets" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "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", + "secrets" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "secrets": { + "type": "array", + "items": { + "title": "Actions Secret", + "description": "Set secrets for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "secrets": [ + { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + }, + { + "name": "GIST_ID", + "created_at": "2020-01-10T10:59:22Z", + "updated_at": "2020-01-11T11:59:22Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/agents/organization-variables": { + "get": { + "summary": "List repository organization variables", + "description": "Lists all organization variables shared with a repository.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-organization-variables", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-organization-variables" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 30). 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": 10 + } + }, + { + "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", + "variables" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "type": "array", + "items": { + "title": "Actions Variable", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "variables": [ + { + "name": "USERNAME", + "value": "octocat", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + }, + { + "name": "EMAIL", + "value": "octocat@github.com", + "created_at": "2020-01-10T10:59:22Z", + "updated_at": "2020-01-11T11:59:22Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/repos/{owner}/{repo}/agents/secrets": { + "get": { + "summary": "List repository secrets", + "description": "Lists all secrets available in a repository without revealing their encrypted\nvalues.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-secrets", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-secrets" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "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", + "secrets" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "secrets": { + "type": "array", + "items": { + "title": "Actions Secret", + "description": "Set secrets for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "secrets": [ + { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + }, + { + "name": "GIST_ID", + "created_at": "2020-01-10T10:59:22Z", + "updated_at": "2020-01-11T11:59:22Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/agents/secrets/public-key": { + "get": { + "summary": "Get a repository public key", + "description": "Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.\n\nAnyone with read access to the repository can use this endpoint.\n\nIf the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-repo-public-key", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "ActionsPublicKey", + "description": "The public key used for setting Actions Secrets.", + "type": "object", + "properties": { + "key_id": { + "description": "The identifier for the key.", + "type": "string", + "examples": [ + "1234567" + ] + }, + "key": { + "description": "The Base64 encoded public key.", + "type": "string", + "examples": [ + "hBT5WZEj8ZoOv6TYJsfWq7MxTEQopZO5/IT3ZCVQPzs=" + ] + }, + "id": { + "type": "integer", + "examples": [ + 2 + ] + }, + "url": { + "type": "string", + "examples": [ + "https://api.github.com/user/keys/2" + ] + }, + "title": { + "type": "string", + "examples": [ + "ssh-rsa AAAAB3NzaC1yc2EAAA" + ] + }, + "created_at": { + "type": "string", + "examples": [ + "2011-01-26T19:01:12Z" + ] + } + }, + "required": [ + "key_id", + "key" + ] + }, + "examples": { + "default": { + "value": { + "key_id": "012345678912345678", + "key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/agents/secrets/{secret_name}": { + "get": { + "summary": "Get a repository secret", + "description": "Gets a single repository secret without revealing its encrypted value.\n\nThe authenticated user must have collaborator access to the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-repo-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-secret" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Actions Secret", + "description": "Set secrets for GitHub Actions.", + "type": "object", + "properties": { + "name": { + "description": "The name of the secret.", + "type": "string", + "examples": [ + "SECRET_TOKEN" + ] + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + }, + "required": [ + "name", + "created_at", + "updated_at" + ] + }, + "examples": { + "default": { + "value": { + "name": "GH_TOKEN", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "put": { + "summary": "Create or update a repository secret", + "description": "Creates or updates a repository secret with an encrypted value. Encrypt your secret using\n[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see \"[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/encrypting-secrets-for-the-rest-api).\"\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-or-update-repo-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-a-repository-secret" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "encrypted_value": { + "type": "string", + "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key) endpoint.", + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "key_id": { + "type": "string", + "description": "ID of the key you used to encrypt the secret." + } + }, + "required": [ + "encrypted_value", + "key_id" + ] + }, + "examples": { + "default": { + "value": { + "encrypted_value": "c2VjcmV0", + "key_id": "012345678912345678" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response when creating a secret", + "content": { + "application/json": { + "schema": { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "examples": { + "default": { + "value": null + } + } + } + } + }, + "204": { + "description": "Response when updating a secret" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + }, + "delete": { + "summary": "Delete a repository secret", + "description": "Deletes a secret in a repository using the secret name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read secrets.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/delete-repo-secret", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-a-repository-secret" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "secret_name", + "description": "The name of the secret.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "secrets" + } + } + }, + "/repos/{owner}/{repo}/agents/variables": { + "get": { + "summary": "List repository variables", + "description": "Lists all repository variables.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/list-repo-variables", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-variables" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 30). 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": 10 + } + }, + { + "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", + "variables" + ], + "properties": { + "total_count": { + "type": "integer" + }, + "variables": { + "type": "array", + "items": { + "title": "Actions Variable", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "total_count": 2, + "variables": [ + { + "name": "USERNAME", + "value": "octocat", + "created_at": "2019-08-10T14:59:22Z", + "updated_at": "2020-01-10T14:59:22Z" + }, + { + "name": "EMAIL", + "value": "octocat@github.com", + "created_at": "2020-01-10T10:59:22Z", + "updated_at": "2020-01-11T11:59:22Z" + } + ] + } + } + } + } + }, + "headers": { + "Link": { + "example": "; rel=\"next\", ; rel=\"last\"", + "schema": { + "type": "string" + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "post": { + "summary": "Create a repository variable", + "description": "Creates a repository variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/create-repo-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-a-repository-variable" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." + }, + "value": { + "type": "string", + "description": "The value of the variable." + } + }, + "required": [ + "name", + "value" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat" + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Empty Object", + "description": "An object without any properties.", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "examples": { + "default": { + "value": null + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + } + }, + "/repos/{owner}/{repo}/agents/variables/{name}": { + "get": { + "summary": "Get a repository variable", + "description": "Gets a specific variable in a repository.\n\nThe authenticated user must have collaborator access to the repository to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/get-repo-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-a-repository-variable" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Actions Variable", + "type": "object", + "properties": { + "name": { + "description": "The name of the variable.", + "type": "string", + "examples": [ + "USERNAME" + ] + }, + "value": { + "description": "The value of the variable.", + "type": "string", + "examples": [ + "octocat" + ] + }, + "created_at": { + "description": "The date and time at which the variable was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + }, + "updated_at": { + "description": "The date and time at which the variable was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time", + "examples": [ + "2019-01-24T22:45:36.000Z" + ] + } + }, + "required": [ + "name", + "value", + "created_at", + "updated_at" + ] + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat", + "created_at": "2021-08-10T14:59:22Z", + "updated_at": "2022-01-10T14:59:22Z" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" + } + }, + "patch": { + "summary": "Update a repository variable", + "description": "Updates a repository variable that you can reference in a GitHub Actions workflow.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", + "tags": [ + "agents" + ], + "operationId": "agents/update-repo-variable", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-a-repository-variable" + }, + "parameters": [ + { + "name": "owner", + "description": "The account owner of the repository. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "description": "The name of the repository without the `.git` extension. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "name", + "description": "The name of the variable.", "in": "path", - "description": "The ID of the workflow. You can also pass the workflow file name as a string.", "required": true, "schema": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] + "type": "string" } } ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "title": "Workflow Usage", - "description": "Workflow Usage", - "type": "object", - "properties": { - "billable": { - "type": "object", - "properties": { - "UBUNTU": { - "type": "object", - "properties": { - "total_ms": { - "type": "integer" - } - } - }, - "MACOS": { - "type": "object", - "properties": { - "total_ms": { - "type": "integer" - } - } - }, - "WINDOWS": { - "type": "object", - "properties": { - "total_ms": { - "type": "integer" - } - } - } - } - } + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the variable." }, - "required": [ - "billable" - ] - }, - "examples": { - "default": { - "value": { - "billable": { - "UBUNTU": { - "total_ms": 180000 - }, - "MACOS": { - "total_ms": 240000 - }, - "WINDOWS": { - "total_ms": 300000 - } - } - } + "value": { + "type": "string", + "description": "The value of the variable." + } + } + }, + "examples": { + "default": { + "value": { + "name": "USERNAME", + "value": "octocat" } } } } } }, + "responses": { + "204": { + "description": "Response" + } + }, "x-github": { "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "actions", - "subcategory": "workflows" + "enabledForGitHubApps": true, + "category": "agents", + "subcategory": "variables" } - } - }, - "/repos/{owner}/{repo}/activity": { - "get": { - "summary": "List repository activities", - "description": "Lists a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users.\n\nFor more information about viewing repository activity,\nsee \"[Viewing activity and data for your repository](https://docs.github.com/enterprise-cloud@latest/repositories/viewing-activity-and-data-for-your-repository).\"", + }, + "delete": { + "summary": "Delete a repository variable", + "description": "Deletes a repository variable using the variable name.\n\nAuthenticated users must have collaborator access to a repository to create, update, or read variables.\n\nOAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.", "tags": [ - "repos" + "agents" ], - "operationId": "repos/list-activities", + "operationId": "agents/delete-repo-variable", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities" + "url": "https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-a-repository-variable" }, "parameters": [ { @@ -356125,436 +361553,25 @@ } }, { - "name": "direction", - "description": "The direction to sort the results by.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ], - "default": "desc" - } - }, - { - "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": "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 results before this cursor. 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", - "required": false, - "schema": { - "type": "string" - } - }, - { - "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 results after this cursor. 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", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "ref", - "description": "The Git reference for the activities you want to list.\n\nThe `ref` for a branch can be formatted either as `refs/heads/BRANCH_NAME` or `BRANCH_NAME`, where `BRANCH_NAME` is the name of your branch.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "actor", - "description": "The GitHub username to use to filter by the actor who performed the activity.", - "in": "query", - "required": false, + "name": "name", + "description": "The name of the variable.", + "in": "path", + "required": true, "schema": { "type": "string" } - }, - { - "name": "time_period", - "description": "The time period to filter by.\n\nFor example, `day` will filter for activity that occurred in the past 24 hours, and `week` will filter for activity that occurred in the past 7 days (168 hours).", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "day", - "week", - "month", - "quarter", - "year" - ] - } - }, - { - "name": "activity_type", - "description": "The activity type to filter by.\n\nFor example, you can choose to filter by \"force_push\", to see all force pushes to the repository.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "push", - "force_push", - "branch_creation", - "branch_deletion", - "pr_merge", - "merge_queue_merge" - ] - } } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Activity", - "description": "Activity", - "type": "object", - "properties": { - "id": { - "type": "integer", - "examples": [ - 1296269 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "before": { - "type": "string", - "description": "The SHA of the commit before the activity.", - "examples": [ - "6dcb09b5b57875f334f61aebed695e2e4193db5e" - ] - }, - "after": { - "type": "string", - "description": "The SHA of the commit after the activity.", - "examples": [ - "827efc6d56897b048c772eb4087f854f46256132" - ] - }, - "ref": { - "type": "string", - "description": "The full Git reference, formatted as `refs/heads/`.", - "examples": [ - "refs/heads/main" - ] - }, - "timestamp": { - "type": "string", - "format": "date-time", - "description": "The time when the activity occurred.", - "examples": [ - "2011-01-26T19:06:43Z" - ] - }, - "activity_type": { - "type": "string", - "enum": [ - "push", - "force_push", - "branch_deletion", - "branch_creation", - "pr_merge", - "merge_queue_merge" - ], - "description": "The type of the activity that was performed.", - "examples": [ - "force_push" - ] - }, - "actor": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } - }, - "required": [ - "id", - "node_id", - "before", - "after", - "ref", - "timestamp", - "activity_type", - "actor" - ] - } - }, - "examples": { - "default": { - "value": [ - { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "before": "6dcb09b5b57875f334f61aebed695e2e4193db5e", - "after": "827efc6d56897b048c772eb4087f854f46256132", - "ref": "refs/heads/main", - "pushed_at": "2011-01-26T19:06:43Z", - "push_type": "normal", - "pusher": { - "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 - } - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "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" - } - } - } - } - } - } + "204": { + "description": "Response" } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "repos" + "category": "agents", + "subcategory": "variables" } } }, @@ -1764096,11 +1769113,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] } } @@ -1774290,11 +1779306,10 @@ }, "required": [ "action", - "parent_issue_id", - "parent_issue", - "parent_issue_repo", "sub_issue_id", - "sub_issue" + "sub_issue", + "repository", + "sender" ] } } @@ -1784484,11 +1789499,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] } } @@ -1794678,11 +1799692,10 @@ }, "required": [ "action", - "sub_issue_id", - "sub_issue", - "sub_issue_repo", "parent_issue_id", - "parent_issue" + "parent_issue", + "repository", + "sender" ] } } diff --git a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml index cb960ce35..e437a5a20 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2026-03-10.deref.yaml @@ -118,6 +118,8 @@ tags: description: Endpoints to manage Projects using the REST API. - name: agent-tasks description: Endpoints to manage and interact with agent tasks. +- name: agents + description: Endpoints for Agents secrets and variables. servers: - url: https://api.github.com externalDocs: @@ -889,7 +891,7 @@ paths: - subscriptions_url - type - url - type: &450 + type: &457 type: string description: The type of credit the user is receiving. enum: @@ -1054,7 +1056,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &756 + - &760 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -4160,7 +4162,7 @@ paths: schema: type: integer default: 30 - - &353 + - &360 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -4169,7 +4171,7 @@ paths: required: false schema: type: string - - &354 + - &361 name: status description: Returns webhook deliveries filtered by delivery outcome classification based on `status_code` range. A `status` of `success` returns deliveries @@ -4189,7 +4191,7 @@ paths: application/json: schema: type: array - items: &355 + items: &362 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -4285,7 +4287,7 @@ paths: - installation_id - repository_id examples: - default: &356 + default: &363 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -4317,7 +4319,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &765 + schema: &769 title: Scim Error description: Scim Error type: object @@ -4420,7 +4422,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &364 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -4555,7 +4557,7 @@ paths: - request - response examples: - default: &358 + default: &365 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -11940,7 +11942,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &766 + '401': &770 description: Authorization failure '404': *6 x-github: @@ -14127,7 +14129,7 @@ paths: required: true content: application/json: - schema: &293 + schema: &300 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -14778,7 +14780,7 @@ paths: required: false schema: type: string - - &296 + - &303 name: include description: |- The event types to include: @@ -14796,7 +14798,7 @@ paths: - web - git - all - - &297 + - &304 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. @@ -14804,7 +14806,7 @@ paths: required: false schema: type: string - - &298 + - &305 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. @@ -14812,7 +14814,7 @@ paths: required: false schema: type: string - - &299 + - &306 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -14834,7 +14836,7 @@ paths: application/json: schema: type: array - items: &300 + items: &307 type: object properties: "@timestamp": @@ -14956,7 +14958,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &301 + default: &308 value: - "@timestamp": 1606929874512 action: team.add_member @@ -15624,7 +15626,7 @@ paths: application/json: schema: type: array - items: &302 + items: &309 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -15796,7 +15798,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &303 + default: &310 value: - id: 21 number: 42 @@ -15901,7 +15903,7 @@ paths: application/json: schema: type: array - items: &305 + items: &312 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -16032,7 +16034,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &306 + default: &313 value: - id: 21 number: 42 @@ -16117,7 +16119,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &311 + - &318 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`, @@ -16127,7 +16129,7 @@ paths: schema: &111 type: string description: The name of the tool used to generate the code scanning analysis. - - &312 + - &319 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 @@ -16151,7 +16153,7 @@ paths: be returned. in: query required: false - schema: &313 + schema: &320 type: string description: State of a code scanning alert. enum: @@ -16184,7 +16186,7 @@ paths: application/json: schema: type: array - items: &314 + items: &321 type: object properties: number: &127 @@ -16213,7 +16215,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &539 + instances_url: &545 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -16249,7 +16251,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &540 + dismissed_reason: &546 type: - string - 'null' @@ -16260,14 +16262,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &541 + dismissed_comment: &547 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &542 + rule: &548 type: object properties: id: @@ -16328,7 +16330,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &543 + tool: &549 type: object properties: name: *111 @@ -16339,26 +16341,26 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *112 - most_recent_instance: &544 + most_recent_instance: &550 type: object properties: - ref: &537 + ref: &543 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &554 + analysis_key: &560 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - environment: &555 + environment: &561 type: string description: Identifies the variable values associated with the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &556 + category: &562 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -16378,7 +16380,7 @@ paths: with placeholder links for related locations replaced by links to the relevant code. Only populated when related locations are available for the alert instance. - location: &557 + location: &563 type: object description: Describe a region within a file for the alert. properties: @@ -16399,7 +16401,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: &558 + items: &564 type: - string - 'null' @@ -16755,7 +16757,7 @@ paths: - most_recent_instance - repository examples: - default: &315 + default: &322 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -17650,7 +17652,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &324 type: array description: A list of default code security configurations items: @@ -17666,7 +17668,7 @@ paths: default configuration: *114 examples: - default: &318 + default: &325 value: - default_for_new_repos: public configuration: @@ -18124,7 +18126,7 @@ paths: default: value: default_for_new_repos: all - configuration: &316 + configuration: &323 value: id: 1325 target_type: organization @@ -18214,7 +18216,7 @@ paths: application/json: schema: type: array - items: &319 + items: &326 type: object description: Repositories associated with a code security configuration and attachment status @@ -18238,7 +18240,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &320 + repository: &327 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -18739,7 +18741,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &307 + - &314 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -18816,7 +18818,7 @@ paths: parent: anyOf: - type: 'null' - - &393 + - &400 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -18988,6 +18990,15 @@ paths: updated_at: type: string format: date-time + notification_setting: + type: string + description: Whether team members will receive notifications + when the team is mentioned. + enum: + - notifications_enabled + - notifications_disabled + examples: + - notifications_enabled required: - id - url @@ -19594,7 +19605,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': &327 + '413': &334 description: Payload Too Large content: application/json: @@ -19694,11 +19705,12 @@ paths: get: summary: Get the source organization for custom agents in an enterprise description: | - Gets the organization and repository configured as the source for custom agent definitions in an enterprise. + Gets the organization and repository configured as the source for custom agent definitions and Copilot CLI client settings in an enterprise. Custom agents are enterprise-defined AI agents stored as markdown files in a special repository. - An enterprise admin configures one organization as the "source" and that org must have a repo named - `.github-private` containing agent definitions in `/agents/*.md`. + An enterprise admin configures one organization as the "source" for custom agents and + Copilot CLI client settings, and that org must have a repo named `.github-private` containing agent + definitions in `/agents/*.md`, or enterprise-managed AI standards in `.github/copilot/settings.json`. [Learn more about configuring enterprise-managed AI standards for Copilot clients](https://docs.github.com/enterprise-cloud@latest/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/configure-enterprise-plugin-standards). Enterprise owners with read access to AI Controls can use this endpoint. @@ -19774,7 +19786,7 @@ paths: put: summary: Set the source organization for custom agents in an enterprise description: |- - Sets an organization as the source for custom agent definitions in the enterprise. + Sets an organization as the source for custom agent definitions and Copilot CLI client settings in the enterprise. The organization must have a `.github-private` repository containing agent definitions. By default, this endpoint also creates an enterprise-level ruleset to protect @@ -19929,8 +19941,8 @@ paths: summary: Delete the custom agents source for an enterprise description: |- Removes the custom agents source configuration for the enterprise. - This effectively disables custom agents for the enterprise by removing - the reference to the source organization's `.github-private` repository. + This effectively disables custom agents and Copilot CLI client settings + for the enterprise by removing the reference to the source organization's `.github-private` repository. Note: This does not delete the `.github-private` repository or any agent definition files. It only removes the association between the enterprise @@ -20973,7 +20985,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &332 + - &339 name: classification in: query description: |- @@ -20982,7 +20994,7 @@ paths: Can be: `malware`, `general` schema: type: string - - &333 + - &340 name: state in: query description: |- @@ -20991,7 +21003,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &334 + - &341 name: severity in: query description: |- @@ -21000,7 +21012,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &335 + - &342 name: ecosystem in: query description: |- @@ -21009,14 +21021,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &336 + - &343 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 - - &337 + - &344 name: epss_percentage in: query description: |- @@ -21028,7 +21040,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &597 + - &603 name: has in: query description: |- @@ -21042,7 +21054,7 @@ paths: type: string enum: - patch - - &338 + - &345 name: assignee in: query description: |- @@ -21051,7 +21063,7 @@ paths: Use `*` to list alerts with at least one assignee or `none` to list alerts with no assignees. schema: type: string - - &339 + - &346 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -21061,7 +21073,7 @@ paths: enum: - development - runtime - - &340 + - &347 name: sort in: query description: |- @@ -21087,7 +21099,7 @@ paths: application/json: schema: type: array - items: &341 + items: &348 type: object description: A Dependabot alert. properties: @@ -21155,7 +21167,7 @@ paths: - transitive - inconclusive - - security_advisory: &598 + security_advisory: &604 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -21375,7 +21387,7 @@ paths: dismissal. maxLength: 280 fixed_at: *137 - auto_dismissed_at: &599 + auto_dismissed_at: &605 type: - string - 'null' @@ -21383,7 +21395,7 @@ paths: ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissal_request: &600 + dismissal_request: &606 title: Dependabot alert dismissal request description: Information about an active dismissal request for this Dependabot alert. @@ -21446,7 +21458,7 @@ paths: - repository additionalProperties: false examples: - default: &342 + default: &349 value: - number: 2 state: dismissed @@ -21831,7 +21843,7 @@ paths: description: Response content: application/json: - schema: &343 + schema: &350 title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access in an organization @@ -21857,7 +21869,7 @@ paths: - *120 additionalProperties: false examples: - default: &344 + default: &351 value: default_level: public accessible_repositories: @@ -22080,7 +22092,7 @@ paths: - *103 - *104 - *105 - - &346 + - &353 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -22106,7 +22118,7 @@ paths: application/json: schema: type: array - items: &348 + items: &355 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -22233,7 +22245,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &349 + default: &356 value: - id: 21 number: 42 @@ -22928,7 +22940,7 @@ paths: application/json: schema: *20 examples: - default: &370 + default: &377 value: id: 1 account: @@ -23189,7 +23201,7 @@ paths: - name - created_on examples: - default: &454 + default: &461 value: total_count: 2 network_configurations: @@ -23440,7 +23452,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *39 - - &455 + - &462 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -23452,7 +23464,7 @@ paths: description: Response content: application/json: - schema: &456 + schema: &463 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -23491,7 +23503,7 @@ paths: - subnet_id - region examples: - default: &457 + default: &464 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -24344,7 +24356,7 @@ paths: required: true content: application/json: - schema: &424 + schema: &431 title: Custom Property Set Payload description: Custom property set payload type: object @@ -25547,7 +25559,7 @@ paths: conditions: anyOf: - *158 - - &428 + - &435 title: Organization ruleset conditions type: object description: |- @@ -25597,7 +25609,7 @@ paths: - object rules: type: array - items: &722 + items: &726 title: Repository Rule type: object description: A repository rule. @@ -25606,7 +25618,7 @@ paths: - *167 - *168 - *169 - - &720 + - &724 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -25934,7 +25946,7 @@ paths: type: string format: date-time examples: - default: &431 + default: &438 value: - version_id: 3 actor: @@ -25987,7 +25999,7 @@ paths: description: Response content: application/json: - schema: &432 + schema: &439 allOf: - *191 - type: object @@ -26042,7 +26054,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &433 + - &440 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -26053,7 +26065,7 @@ paths: enum: - open - resolved - - &434 + - &441 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -26063,7 +26075,7 @@ paths: required: false schema: type: string - - &435 + - &442 name: exclude_secret_types in: query description: A comma-separated list of secret types to exclude from the results. @@ -26074,7 +26086,7 @@ paths: required: false schema: type: string - - &436 + - &443 name: exclude_providers in: query description: |- @@ -26085,7 +26097,7 @@ paths: required: false schema: type: string - - &437 + - &444 name: providers in: query description: |- @@ -26096,7 +26108,7 @@ paths: required: false schema: type: string - - &438 + - &445 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -26105,7 +26117,7 @@ paths: required: false schema: type: string - - &439 + - &446 name: assignee in: query description: Filters alerts by assignee. Use `*` to get all assigned alerts, @@ -26124,7 +26136,7 @@ paths: all-unassigned: value: none summary: Filter for all unassigned alerts - - &440 + - &447 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -26140,7 +26152,7 @@ paths: - *17 - *108 - *109 - - &441 + - &448 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -26149,7 +26161,7 @@ paths: required: false schema: type: string - - &442 + - &449 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -26158,7 +26170,7 @@ paths: schema: type: boolean default: false - - &443 + - &450 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -26167,7 +26179,7 @@ paths: schema: type: boolean default: false - - &444 + - &451 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -26176,7 +26188,7 @@ paths: schema: type: boolean default: false - - &445 + - &452 name: is_bypassed in: query description: A boolean value (`true` or `false`) indicating whether to filter @@ -26194,7 +26206,7 @@ paths: application/json: schema: type: array - items: &446 + items: &453 type: object properties: number: *127 @@ -26210,14 +26222,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &734 + state: &738 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &735 + resolution: &739 type: - string - 'null' @@ -26336,14 +26348,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &736 + - &740 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &738 + - &742 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -26407,7 +26419,7 @@ paths: - blob_url - commit_sha - commit_url - - &739 + - &743 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -26468,7 +26480,7 @@ paths: - page_url - commit_sha - commit_url - - &740 + - &744 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -26490,7 +26502,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_title_url - - &741 + - &745 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -26512,7 +26524,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1 required: - issue_body_url - - &742 + - &746 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -26534,7 +26546,7 @@ paths: - https://github.com/octocat/Hello-World/issues/1#issuecomment-1081119451 required: - issue_comment_url - - &743 + - &747 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -26549,7 +26561,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &744 + - &748 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -26564,7 +26576,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &745 + - &749 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -26579,7 +26591,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &746 + - &750 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -26601,7 +26613,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_title_url - - &747 + - &751 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -26623,7 +26635,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846 required: - pull_request_body_url - - &748 + - &752 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -26645,7 +26657,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#issuecomment-1081119451 required: - pull_request_comment_url - - &749 + - &753 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -26667,7 +26679,7 @@ paths: - https://github.com/octocat/Hello-World/pull/2846#pullrequestreview-80 required: - pull_request_review_url - - &750 + - &754 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -26713,7 +26725,7 @@ paths: - type: 'null' - *4 examples: - default: &447 + default: &454 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -26922,7 +26934,7 @@ paths: description: Response content: application/json: - schema: &448 + schema: &455 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -27009,7 +27021,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *193 examples: - default: &449 + default: &456 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -27145,7 +27157,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &451 + - &458 name: advanced_security_product in: query description: | @@ -27165,7 +27177,7 @@ paths: description: Success content: application/json: - schema: &452 + schema: &459 type: object properties: total_advanced_security_committers: @@ -27228,7 +27240,7 @@ paths: required: - repositories examples: - default: &453 + default: &460 value: total_advanced_security_committers: 2 total_count: 2 @@ -29554,6 +29566,18 @@ paths: - 'null' description: The ID of the IdP group to assign team membership with. You can get this value from the [REST API endpoints for SCIM](https://docs.github.com/enterprise-cloud@latest/rest/scim#list-provisioned-scim-groups-for-an-enterprise). + notification_setting: + type: string + description: | + The notification setting the team is set to. The options are: + + * `notifications_enabled` - team members receive notifications when the team is @mentioned. + * `notifications_disabled` - no one receives notifications. + + Default: `notifications_enabled` + enum: + - notifications_enabled + - notifications_disabled required: - name examples: @@ -30154,6 +30178,16 @@ paths: description: The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group. + notification_setting: + type: string + description: | + The notification setting the team is set to. The options are: + + * `notifications_enabled` - team members receive notifications when the team is @mentioned. + * `notifications_disabled` - no one receives notifications. + enum: + - notifications_enabled + - notifications_disabled examples: default: value: @@ -30388,7 +30422,7 @@ paths: properties: action: type: string - discussion: &871 + discussion: &875 title: Discussion description: A Discussion in a repository. type: object @@ -30885,7 +30919,7 @@ paths: milestone: anyOf: - type: 'null' - - &414 + - &421 title: Milestone description: A collection of related issues and pull requests. @@ -31062,7 +31096,7 @@ paths: timeline_url: type: string format: uri - type: &380 + type: &387 title: Issue Type description: The type of issue. type: @@ -31173,7 +31207,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &793 + sub_issues_summary: &797 title: Sub-issues Summary type: object properties: @@ -31257,7 +31291,7 @@ paths: pin: anyOf: - type: 'null' - - &679 + - &683 title: Pinned Issue Comment description: Context around who pinned an issue comment and when it was pinned. @@ -31284,7 +31318,7 @@ paths: - url - created_at - updated_at - issue_dependencies_summary: &794 + issue_dependencies_summary: &798 title: Issue Dependencies Summary type: object properties: @@ -31303,7 +31337,7 @@ paths: - total_blocking issue_field_values: type: array - items: &663 + items: &667 title: Issue Field Value description: A value assigned to an issue field type: object @@ -32083,7 +32117,7 @@ paths: type: string release: allOf: - - &713 + - &717 title: Release description: A release. type: object @@ -32165,7 +32199,7 @@ paths: author: *4 assets: type: array - items: &714 + items: &718 title: Release Asset description: Data related to a release. type: object @@ -34409,7 +34443,7 @@ paths: - closed - all default: open - - &383 + - &390 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -34460,7 +34494,7 @@ paths: type: array items: *219 examples: - default: &384 + default: &391 value: - id: 1 node_id: MDU6SXNzdWUx @@ -35872,14 +35906,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &466 + - &473 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &467 + - &474 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -35941,7 +35975,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &472 + '301': &479 description: Moved permanently content: application/json: @@ -35963,7 +35997,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &687 + - &691 name: all description: If `true`, show notifications marked as read. in: query @@ -35971,7 +36005,7 @@ paths: schema: type: boolean default: false - - &688 + - &692 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -35981,7 +36015,7 @@ paths: type: boolean default: false - *224 - - &689 + - &693 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -36361,7 +36395,7 @@ paths: type: boolean examples: - false - security_and_analysis: &425 + security_and_analysis: &432 type: - object - 'null' @@ -36580,7 +36614,7 @@ paths: - url - subscription_url examples: - default: &690 + default: &694 value: - id: '1' repository: @@ -37361,7 +37395,7 @@ paths: type: array items: *152 examples: - default: &696 + default: &700 value: - property_name: environment value: production @@ -37411,7 +37445,7 @@ paths: required: - properties examples: - default: &697 + default: &701 value: properties: - property_name: environment @@ -38292,7 +38326,7 @@ paths: type: integer repository_cache_usages: type: array - items: &479 + items: &486 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -40565,7 +40599,7 @@ paths: type: array items: *278 examples: - default: &326 + default: &333 value: total_count: 1 repositories: @@ -41562,7 +41596,7 @@ paths: - updated_at - visibility examples: - default: + default: &293 value: total_count: 3 secrets: @@ -41609,7 +41643,7 @@ paths: description: Response content: application/json: - schema: &499 + schema: &294 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -41644,7 +41678,7 @@ paths: - key_id - key examples: - default: &500 + default: &295 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -41684,7 +41718,7 @@ paths: application/json: schema: *287 examples: - default: + default: &296 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -41844,97 +41878,966 @@ paths: type: array items: *278 examples: - default: &292 - value: - total_count: 1 - repositories: - - 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} - hooks_url: http://api.github.com/repos/octocat/Hello-World/hooks + default: &292 + value: + total_count: 1 + repositories: + - 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} + hooks_url: http://api.github.com/repos/octocat/Hello-World/hooks + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: secrets + put: + summary: Set selected repositories for an organization secret + description: |- + Replaces all repositories for an organization secret when the `visibility` + for repository access is set to `selected`. The visibility is set when you [Create + or update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/set-selected-repos-for-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret + parameters: + - *87 + - *288 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + secret. You can only provide a list of repository ids when the + `visibility` is set to `selected`. You can add and remove individual + repositories using the [Add selected repository to an organization + secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret) + and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) + endpoints. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: secrets + "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}": + put: + summary: Add selected repository to an organization secret + description: |- + Adds a repository to an organization secret when the `visibility` for + repository access is set to `selected`. For more information about setting the visibility, see [Create or + update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/add-selected-repo-to-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret + parameters: + - *87 + - *288 + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: No Content when repository was added to the selected list + '409': + description: Conflict when visibility type is not set to selected + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: secrets + delete: + summary: Remove selected repository from an organization secret + description: |- + Removes a repository from an organization secret when the `visibility` + for repository access is set to `selected`. The visibility is set when you [Create + or update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret). + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/remove-selected-repo-from-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret + parameters: + - *87 + - *288 + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response when repository was removed from the selected list + '409': + description: Conflict when visibility type not set to selected + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: secrets + "/orgs/{org}/actions/variables": + get: + summary: List organization variables + description: |- + Lists all organization variables. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/list-org-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables + parameters: + - *87 + - &297 + name: per_page + description: The number of results per page (max 30). 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: 10 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: &290 + title: Actions Variable for an Organization + description: Organization variable for GitHub Actions. + type: object + properties: + name: + description: The name of the variable. + type: string + examples: + - USERNAME + value: + description: The value of the variable. + type: string + examples: + - octocat + created_at: + description: The date and time at which the variable was + created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + examples: + - '2019-01-24T22:45:36.000Z' + updated_at: + description: The date and time at which the variable was + last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + examples: + - '2019-01-24T22:45:36.000Z' + visibility: + description: Visibility of a variable + enum: + - all + - private + - selected + type: string + selected_repositories_url: + type: string + format: uri + examples: + - https://api.github.com/organizations/org/variables/USERNAME/repositories + required: + - name + - value + - created_at + - updated_at + - visibility + examples: + default: &298 + value: + total_count: 3 + variables: + - name: USERNAME + value: octocat + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: private + - name: ACTIONS_RUNNER_DEBUG + value: true + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: all + - name: ADMIN_EMAIL + value: octocat@github.com + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: selected + selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories + headers: + Link: *45 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + post: + summary: Create an organization variable + description: |- + Creates an organization variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/create-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-organization-variable + parameters: + - *87 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + visibility: + type: string + description: The type of repositories in the organization that can + access the variable. `selected` means only the repositories specified + by `selected_repository_ids` can access the variable. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + variable. You can only provide a list of repository ids when the + `visibility` is set to `selected`. + items: + type: integer + required: + - name + - value + - visibility + examples: + default: + value: + name: USERNAME + value: octocat + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: Response when creating a variable + content: + application/json: + schema: *289 + examples: + default: + value: + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + "/orgs/{org}/actions/variables/{name}": + get: + summary: Get an organization variable + description: |- + Gets a specific variable in an organization. + + The authenticated user must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/get-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable + parameters: + - *87 + - &291 + name: name + description: The name of the variable. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *290 + examples: + default: &299 + value: + name: USERNAME + value: octocat + created_at: '2019-08-10T14:59:22Z' + updated_at: '2020-01-10T14:59:22Z' + visibility: selected + selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + patch: + summary: Update an organization variable + description: |- + Updates an organization variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/update-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable + parameters: + - *87 + - *291 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + visibility: + type: string + description: The type of repositories in the organization that can + access the variable. `selected` means only the repositories specified + by `selected_repository_ids` can access the variable. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + variable. You can only provide a list of repository ids when the + `visibility` is set to `selected`. + items: + type: integer + examples: + default: + value: + name: USERNAME + value: octocat + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + delete: + summary: Delete an organization variable + description: |- + Deletes an organization variable using the variable name. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/delete-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable + parameters: + - *87 + - *291 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + "/orgs/{org}/actions/variables/{name}/repositories": + get: + summary: List selected repositories for an organization variable + description: |- + Lists all repositories that can access an organization variable + that is available to selected repositories. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/list-selected-repos-for-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable + parameters: + - *87 + - *291 + - *19 + - *17 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: *278 + examples: + default: *292 + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + put: + summary: Set selected repositories for an organization variable + description: |- + Replaces all repositories for an organization variable that is available + to selected repositories. Organization variables that are available to selected + repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/set-selected-repos-for-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable + parameters: + - *87 + - *291 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + selected_repository_ids: + type: array + description: The IDs of the repositories that can access the organization + variable. + items: + type: integer + required: + - selected_repository_ids + examples: + default: + value: + selected_repository_ids: + - 64780797 + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + "/orgs/{org}/actions/variables/{name}/repositories/{repository_id}": + put: + summary: Add selected repository to an organization variable + description: |- + Adds a repository to an organization variable that is available to selected repositories. + Organization variables that are available to selected repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - actions + operationId: actions/add-selected-repo-to-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable + parameters: + - *87 + - *291 + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + delete: + summary: Remove selected repository from an organization variable + description: |- + Removes a repository from an organization variable that is + available to selected repositories. Organization variables that are available to + selected repositories have their `visibility` field set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - actions + operationId: actions/remove-selected-repo-from-org-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable + parameters: + - *87 + - *291 + - name: repository_id + in: path + required: true + schema: + type: integer + responses: + '204': + description: Response + '409': + description: Response when the visibility of the variable is not set to + `selected` + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: actions + subcategory: variables + "/orgs/{org}/agents/secrets": + get: + summary: List organization secrets + description: |- + Lists all secrets available in an organization without revealing their + encrypted values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/list-org-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-organization-secrets + parameters: + - *87 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: *287 + examples: + default: *293 + headers: + Link: *45 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/public-key": + get: + summary: Get an organization public key + description: |- + Gets your public key, which you need to encrypt secrets. You need to + encrypt a secret before you can create or update secrets. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/get-org-public-key + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-public-key + parameters: + - *87 + responses: + '200': + description: Response + content: + application/json: + schema: *294 + examples: + default: *295 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/{secret_name}": + get: + summary: Get an organization secret + description: |- + Gets a single organization secret without revealing its encrypted value. + + The authenticated user must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-secret + parameters: + - *87 + - *288 + responses: + '200': + description: Response + content: + application/json: + schema: *287 + examples: + default: *296 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + put: + summary: Create or update an organization secret + description: |- + Creates or updates an organization secret with an encrypted value. Encrypt your secret using + [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/encrypting-secrets-for-the-rest-api)." + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-or-update-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret + parameters: + - *87 + - *288 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + encrypted_value: + type: string + description: Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) + using the public key retrieved from the [Get an organization public + key](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-an-organization-public-key) + endpoint. + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + type: string + description: ID of the key you used to encrypt the secret. + visibility: + type: string + description: Which type of organization repositories have access + to the organization secret. `selected` means only the repositories + specified by `selected_repository_ids` can access the secret. + enum: + - all + - private + - selected + selected_repository_ids: + type: array + description: An array of repository ids that can access the organization + secret. You can only provide a list of repository ids when the + `visibility` is set to `selected`. You can manage the list of + selected repositories using the [List selected repositories for + an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret), + [Set selected repositories for an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret), + and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) + endpoints. + items: + type: integer + required: + - encrypted_value + - key_id + - visibility + examples: + default: + value: + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + visibility: selected + selected_repository_ids: + - 1296269 + - 1296280 + responses: + '201': + description: Response when creating a secret + content: + application/json: + schema: *289 + examples: + default: + value: + '204': + description: Response when updating a secret + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + delete: + summary: Delete an organization secret + description: |- + Deletes a secret in an organization using the secret name. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-an-organization-secret + parameters: + - *87 + - *288 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/orgs/{org}/agents/secrets/{secret_name}/repositories": + get: + summary: List selected repositories for an organization secret + description: |- + Lists all repositories that have been selected when the `visibility` + for repository access to a secret is set to `selected`. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. + tags: + - agents + operationId: agents/list-selected-repos-for-org-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-selected-repositories-for-an-organization-secret + parameters: + - *87 + - *288 + - *19 + - *17 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - repositories + properties: + total_count: + type: integer + repositories: + type: array + items: *278 + examples: + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: secrets put: summary: Set selected repositories for an organization secret description: |- Replaces all repositories for an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create - or update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret). + or update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret). Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/set-selected-repos-for-org-secret + - agents + operationId: agents/set-selected-repos-for-org-secret externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#set-selected-repositories-for-an-organization-secret + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#set-selected-repositories-for-an-organization-secret parameters: - *87 - *288 @@ -41951,8 +42854,8 @@ paths: secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization - secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret) - and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) + secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret) + and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret) endpoints. items: type: integer @@ -41969,25 +42872,25 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: secrets - "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}": + "/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}": put: summary: Add selected repository to an organization secret description: |- Adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. For more information about setting the visibility, see [Create or - update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret). + update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret). Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/add-selected-repo-to-org-secret + - agents + operationId: agents/add-selected-repo-to-org-secret externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#add-selected-repository-to-an-organization-secret + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#add-selected-repository-to-an-organization-secret parameters: - *87 - *288 @@ -42004,24 +42907,24 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: secrets delete: summary: Remove selected repository from an organization secret description: |- Removes a repository from an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create - or update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-organization-secret). + or update an organization secret](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-an-organization-secret). Authenticated users must have collaborator access to a repository to create, update, or read secrets. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/remove-selected-repo-from-org-secret + - agents + operationId: agents/remove-selected-repo-from-org-secret externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#remove-selected-repository-from-an-organization-secret + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#remove-selected-repository-from-an-organization-secret parameters: - *87 - *288 @@ -42038,33 +42941,27 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: secrets - "/orgs/{org}/actions/variables": + "/orgs/{org}/agents/variables": get: summary: List organization variables description: |- - Lists all organization variables. + Lists all agent variables available in an organization. + Returned variables include their values. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/list-org-variables + - agents + operationId: agents/list-org-variables externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-organization-variables + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-organization-variables parameters: - *87 - - &484 - name: per_page - description: The number of results per page (max 30). 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: 10 + - *297 - *19 responses: '200': @@ -42081,95 +42978,30 @@ paths: type: integer variables: type: array - items: &290 - title: Actions Variable for an Organization - description: Organization variable for GitHub Actions. - type: object - properties: - name: - description: The name of the variable. - type: string - examples: - - USERNAME - value: - description: The value of the variable. - type: string - examples: - - octocat - created_at: - description: The date and time at which the variable was - created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. - type: string - format: date-time - examples: - - '2019-01-24T22:45:36.000Z' - updated_at: - description: The date and time at which the variable was - last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. - type: string - format: date-time - examples: - - '2019-01-24T22:45:36.000Z' - visibility: - description: Visibility of a variable - enum: - - all - - private - - selected - type: string - selected_repositories_url: - type: string - format: uri - examples: - - https://api.github.com/organizations/org/variables/USERNAME/repositories - required: - - name - - value - - created_at - - updated_at - - visibility + items: *290 examples: - default: - value: - total_count: 3 - variables: - - name: USERNAME - value: octocat - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - visibility: private - - name: ACTIONS_RUNNER_DEBUG - value: true - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - visibility: all - - name: ADMIN_EMAIL - value: octocat@github.com - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - visibility: selected - selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories + default: *298 headers: Link: *45 x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables post: summary: Create an organization variable description: |- - Creates an organization variable that you can reference in a GitHub Actions workflow. + Creates an organization agent variable that you can reference in a GitHub Actions workflow. Authenticated users must have collaborator access to a repository to create, update, or read variables. - OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/create-org-variable + - agents + operationId: agents/create-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-organization-variable + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-an-organization-variable parameters: - *87 requestBody: @@ -42226,32 +43058,26 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables - "/orgs/{org}/actions/variables/{name}": + "/orgs/{org}/agents/variables/{name}": get: summary: Get an organization variable description: |- - Gets a specific variable in an organization. + Gets a specific agent variable in an organization. The authenticated user must have collaborator access to a repository to create, update, or read variables. - OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/get-org-variable + - agents + operationId: agents/get-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-organization-variable + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-an-organization-variable parameters: - *87 - - &291 - name: name - description: The name of the variable. - in: path - required: true - schema: - type: string + - *291 responses: '200': description: Response @@ -42259,33 +43085,26 @@ paths: application/json: schema: *290 examples: - default: - value: - name: USERNAME - value: octocat - created_at: '2019-08-10T14:59:22Z' - updated_at: '2020-01-10T14:59:22Z' - visibility: selected - selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/USERNAME/repositories + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables patch: summary: Update an organization variable description: |- - Updates an organization variable that you can reference in a GitHub Actions workflow. + Updates an organization agent variable that you can reference in a GitHub Actions workflow. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/update-org-variable + - agents + operationId: agents/update-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-organization-variable + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-an-organization-variable parameters: - *87 - *291 @@ -42333,22 +43152,22 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables delete: summary: Delete an organization variable description: |- - Deletes an organization variable using the variable name. + Deletes an organization agent variable using the variable name. Authenticated users must have collaborator access to a repository to create, update, or read variables. - OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/delete-org-variable + - agents + operationId: agents/delete-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-organization-variable + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-an-organization-variable parameters: - *87 - *291 @@ -42358,24 +43177,24 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables - "/orgs/{org}/actions/variables/{name}/repositories": + "/orgs/{org}/agents/variables/{name}/repositories": get: summary: List selected repositories for an organization variable description: |- - Lists all repositories that can access an organization variable + Lists all repositories that can access an organization agent variable that is available to selected repositories. Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/list-selected-repos-for-org-variable + - agents + operationId: agents/list-selected-repos-for-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-selected-repositories-for-an-organization-variable + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-selected-repositories-for-an-organization-variable parameters: - *87 - *291 @@ -42405,12 +43224,12 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables put: summary: Set selected repositories for an organization variable description: |- - Replaces all repositories for an organization variable that is available + Replaces all repositories for an organization agent variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. @@ -42418,11 +43237,11 @@ paths: OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/set-selected-repos-for-org-variable + - agents + operationId: agents/set-selected-repos-for-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#set-selected-repositories-for-an-organization-variable + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#set-selected-repositories-for-an-organization-variable parameters: - *87 - *291 @@ -42455,24 +43274,24 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables - "/orgs/{org}/actions/variables/{name}/repositories/{repository_id}": + "/orgs/{org}/agents/variables/{name}/repositories/{repository_id}": put: summary: Add selected repository to an organization variable description: |- - Adds a repository to an organization variable that is available to selected repositories. + Adds a repository to an organization agent variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. - Authenticated users must have collaborator access to a repository to create, update, or read secrets. + Authenticated users must have collaborator access to a repository to create, update, or read variables. OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. tags: - - actions - operationId: actions/add-selected-repo-to-org-variable + - agents + operationId: agents/add-selected-repo-to-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#add-selected-repository-to-an-organization-variable + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#add-selected-repository-to-an-organization-variable parameters: - *87 - *291 @@ -42490,12 +43309,12 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables delete: summary: Remove selected repository from an organization variable description: |- - Removes a repository from an organization variable that is + Removes a repository from an organization agent variable that is available to selected repositories. Organization variables that are available to selected repositories have their `visibility` field set to `selected`. @@ -42503,11 +43322,11 @@ paths: OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. tags: - - actions - operationId: actions/remove-selected-repo-from-org-variable + - agents + operationId: agents/remove-selected-repo-from-org-variable externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#remove-selected-repository-from-an-organization-variable + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#remove-selected-repository-from-an-organization-variable parameters: - *87 - *291 @@ -42525,7 +43344,7 @@ paths: x-github: githubCloudOnly: false enabledForGitHubApps: true - category: actions + category: agents subcategory: variables "/orgs/{org}/announcement": get: @@ -42568,7 +43387,7 @@ paths: required: true content: application/json: - schema: *293 + schema: *300 examples: default: *85 parameters: @@ -42755,7 +43574,7 @@ paths: type: integer deployment_records: type: array - items: &294 + items: &301 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -42802,7 +43621,7 @@ paths: required: - total_count examples: - default: &295 + default: &302 value: total_count: 1 deployment_records: @@ -42982,11 +43801,11 @@ paths: type: integer deployment_records: type: array - items: *294 + items: *301 required: - total_count examples: - default: *295 + default: *302 '403': description: Forbidden content: @@ -43234,9 +44053,9 @@ paths: - 3 deployment_records: type: array - items: *294 + items: *301 examples: - default: *295 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43366,12 +44185,12 @@ paths: required: - subject_digests examples: - default: &831 + default: &835 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &832 + withPredicateType: &836 value: subject_digests: - sha256:abc123 @@ -43416,7 +44235,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &833 + default: &837 value: attestations_subject_digests: - sha256:abc: @@ -43749,7 +44568,7 @@ paths: initiator: type: string examples: - default: &513 + default: &519 value: attestations: - bundle: @@ -43875,10 +44694,10 @@ paths: required: false schema: type: string - - *296 - - *297 - - *298 - - *299 + - *303 + - *304 + - *305 + - *306 - *17 responses: '200': @@ -43887,9 +44706,9 @@ paths: application/json: schema: type: array - items: *300 + items: *307 examples: - default: *301 + default: *308 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -44012,7 +44831,7 @@ paths: subcategory: bypass-requests parameters: - *87 - - &304 + - &311 name: repository_name description: The name of the repository to filter on. in: query @@ -44031,9 +44850,9 @@ paths: application/json: schema: type: array - items: *302 + items: *309 examples: - default: *303 + default: *310 '404': *6 '500': *38 "/orgs/{org}/bypass-requests/secret-scanning": @@ -44057,7 +44876,7 @@ paths: subcategory: delegated-bypass parameters: - *87 - - *304 + - *311 - *103 - *104 - *105 @@ -44071,9 +44890,9 @@ paths: application/json: schema: type: array - items: *305 + items: *312 examples: - default: *306 + default: *313 '404': *6 '500': *38 "/orgs/{org}/campaigns": @@ -44100,7 +44919,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &308 + schema: &315 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -44126,7 +44945,7 @@ paths: application/json: schema: type: array - items: &309 + items: &316 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -44157,7 +44976,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *307 + items: *314 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -44176,7 +44995,7 @@ paths: - string - 'null' format: date-time - state: *308 + state: *315 contact_link: description: The contact link of the campaign. type: @@ -44399,9 +45218,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *316 examples: - default: &310 + default: &317 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -44484,9 +45303,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *316 examples: - default: *310 + default: *317 '404': *6 '422': description: Unprocessable Entity @@ -44564,7 +45383,7 @@ paths: - string - 'null' format: uri - state: *308 + state: *315 examples: default: value: @@ -44574,9 +45393,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *316 examples: - default: *310 + default: *317 '400': description: Bad Request content: @@ -44643,8 +45462,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *87 - - *311 - - *312 + - *318 + - *319 - *108 - *109 - *19 @@ -44655,7 +45474,7 @@ paths: be returned. in: query required: false - schema: *313 + schema: *320 - name: sort description: The property by which to sort the results. in: query @@ -44671,7 +45490,7 @@ paths: be returned. in: query required: false - schema: &538 + schema: &544 type: string description: Severity of a code scanning alert. enum: @@ -44697,9 +45516,9 @@ paths: application/json: schema: type: array - items: *314 + items: *321 examples: - default: *315 + default: *322 headers: Link: *45 '404': *6 @@ -45075,7 +45894,7 @@ paths: application/json: schema: *114 examples: - default: *316 + default: *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45103,9 +45922,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *324 examples: - default: *318 + default: *325 '304': *35 '403': *27 '404': *6 @@ -45194,7 +46013,7 @@ paths: application/json: schema: *114 examples: - default: *316 + default: *323 '304': *35 '403': *27 '404': *6 @@ -45639,7 +46458,7 @@ paths: default: value: default_for_new_repos: all - configuration: *316 + configuration: *323 '403': *27 '404': *6 x-github: @@ -45692,13 +46511,13 @@ paths: application/json: schema: type: array - items: *319 + items: *326 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *320 + repository: *327 '403': *27 '404': *6 x-github: @@ -45738,7 +46557,7 @@ paths: type: integer codespaces: type: array - items: &385 + items: &392 type: object title: Codespace description: A codespace. @@ -45773,7 +46592,7 @@ paths: machine: anyOf: - type: 'null' - - &570 + - &576 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -46060,7 +46879,7 @@ paths: - pulls_url - recent_folders examples: - default: &386 + default: &393 value: total_count: 3 codespaces: @@ -46684,7 +47503,7 @@ paths: type: integer secrets: type: array - items: &321 + items: &328 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -46725,7 +47544,7 @@ paths: - updated_at - visibility examples: - default: &571 + default: &577 value: total_count: 2 secrets: @@ -46763,7 +47582,7 @@ paths: description: Response content: application/json: - schema: &572 + schema: &578 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -46798,7 +47617,7 @@ paths: - key_id - key examples: - default: &573 + default: &579 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -46828,9 +47647,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *328 examples: - default: &575 + default: &581 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -47162,7 +47981,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: &322 + items: &329 title: Space description: A GitHub Copilot Space represents an interactive AI workspace where users can ask questions and get assistance. @@ -47557,9 +48376,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *329 examples: - default: &323 + default: &330 summary: Example response for an organization copilot space value: id: 84 @@ -47662,9 +48481,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *329 examples: - default: *323 + default: *330 '403': *27 '404': *6 x-github: @@ -47791,9 +48610,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *329 examples: - default: *323 + default: *330 '403': *27 '404': *6 '422': *15 @@ -47872,7 +48691,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: &324 + items: &331 title: Copilot Space Collaborator description: A collaborator (user or team) of a Copilot Space type: object @@ -48095,7 +48914,7 @@ paths: description: Response content: application/json: - schema: *324 + schema: *331 examples: user: value: @@ -48223,7 +49042,7 @@ paths: description: Response content: application/json: - schema: *324 + schema: *331 examples: user: value: @@ -48370,7 +49189,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: &325 + items: &332 title: Copilot Space Resource description: A resource attached to a Copilot Space. type: object @@ -48512,7 +49331,7 @@ paths: description: Resource created content: application/json: - schema: *325 + schema: *332 examples: default: value: @@ -48528,7 +49347,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *325 + schema: *332 examples: default: value: @@ -48581,7 +49400,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *332 examples: default: value: @@ -48648,7 +49467,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *332 examples: default: value: @@ -49379,7 +50198,7 @@ paths: - total_count - repositories examples: - default: *326 + default: *333 '500': *38 '401': *23 '403': *27 @@ -49647,7 +50466,7 @@ paths: '401': *23 '403': *27 '404': *6 - '413': *327 + '413': *334 '422': *7 x-github: githubCloudOnly: @@ -50096,7 +50915,7 @@ paths: - 3 custom_roles: type: array - items: &328 + items: &335 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -50235,7 +51054,7 @@ paths: required: true content: application/json: - schema: &330 + schema: &337 type: object properties: name: @@ -50277,9 +51096,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *335 examples: - default: &329 + default: &336 value: id: 8030 name: Security Engineer @@ -50333,9 +51152,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *335 examples: - default: *329 + default: *336 '404': *6 x-github: githubCloudOnly: true @@ -50363,7 +51182,7 @@ paths: required: true content: application/json: - schema: &331 + schema: &338 type: object properties: name: @@ -50402,9 +51221,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *335 examples: - default: *329 + default: *336 '422': *15 '404': *6 x-github: @@ -50462,7 +51281,7 @@ paths: required: true content: application/json: - schema: *330 + schema: *337 examples: default: value: @@ -50476,9 +51295,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *335 examples: - default: *329 + default: *336 '422': *15 '404': *6 x-github: @@ -50515,9 +51334,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *335 examples: - default: *329 + default: *336 '404': *6 x-github: githubCloudOnly: true @@ -50551,7 +51370,7 @@ paths: required: true content: application/json: - schema: *331 + schema: *338 examples: default: value: @@ -50566,9 +51385,9 @@ paths: description: Response content: application/json: - schema: *328 + schema: *335 examples: - default: *329 + default: *336 '422': *15 '404': *6 x-github: @@ -50628,12 +51447,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *87 - - *332 - - *333 - - *334 - - *335 - - *336 - - *337 + - *339 + - *340 + - *341 + - *342 + - *343 + - *344 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -50663,7 +51482,7 @@ paths: enum: - patch - deployment - - *338 + - *345 - name: runtime_risk in: query description: |- @@ -50672,8 +51491,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *339 - - *340 + - *346 + - *347 - *110 - *108 - *109 @@ -50685,9 +51504,9 @@ paths: application/json: schema: type: array - items: *341 + items: *348 examples: - default: *342 + default: *349 '304': *35 '400': *14 '403': *27 @@ -50736,9 +51555,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *350 examples: - default: *344 + default: *351 '403': *27 '404': *6 x-github: @@ -50902,7 +51721,7 @@ paths: type: integer secrets: type: array - items: &345 + items: &352 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -50981,7 +51800,7 @@ paths: description: Response content: application/json: - schema: &603 + schema: &609 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -51000,7 +51819,7 @@ paths: - key_id - key examples: - default: &604 + default: &610 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -51030,7 +51849,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *352 examples: default: value: @@ -51326,7 +52145,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - &613 + - &619 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -51334,7 +52153,7 @@ paths: required: false schema: type: string - - &614 + - &620 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -51342,7 +52161,7 @@ paths: required: false schema: type: string - - &615 + - &621 name: time_period description: |- The time period to filter by. @@ -51358,7 +52177,7 @@ paths: - week - month default: month - - &616 + - &622 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -51373,7 +52192,7 @@ paths: - denied - all default: all - - *304 + - *311 - *17 - *19 responses: @@ -51383,7 +52202,7 @@ paths: application/json: schema: type: array - items: &617 + items: &623 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -51493,7 +52312,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: &347 + items: &354 title: Dismissal request response description: A response made by a requester to dismiss the request. @@ -51546,7 +52365,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &618 + default: &624 value: - id: 21 number: 42 @@ -51634,11 +52453,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - *304 + - *311 - *103 - *104 - *105 - - *346 + - *353 - *17 - *19 responses: @@ -51648,7 +52467,7 @@ paths: application/json: schema: type: array - items: &619 + items: &625 title: Dependabot alert dismissal request description: Alert dismissal request made by a user asking to dismiss a Dependabot alert. @@ -51758,7 +52577,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *347 + items: *354 url: type: string format: uri @@ -51771,7 +52590,7 @@ paths: examples: - https://github.com/octo-org/smile/security/dependabot/1 examples: - default: &620 + default: &626 value: - id: 21 number: 42 @@ -51859,11 +52678,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *87 - - *304 + - *311 - *103 - *104 - *105 - - *346 + - *353 - *17 - *19 responses: @@ -51873,9 +52692,9 @@ paths: application/json: schema: type: array - items: *348 + items: *355 examples: - default: *349 + default: *356 '404': *6 '403': *27 '500': *38 @@ -51901,7 +52720,7 @@ paths: application/json: schema: type: array - items: &395 + items: &402 title: Package description: A software package type: object @@ -51972,7 +52791,7 @@ paths: - created_at - updated_at examples: - default: &396 + default: &403 value: - id: 197 name: hello_docker @@ -52159,7 +52978,7 @@ paths: description: Response content: application/json: - schema: &463 + schema: &470 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -52249,7 +53068,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &464 + default: &471 value: group_id: '123' group_name: Octocat admins @@ -52304,7 +53123,7 @@ paths: description: Response content: application/json: - schema: &460 + schema: &467 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -52344,7 +53163,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &461 + default: &468 value: groups: - group_id: '123' @@ -52389,7 +53208,7 @@ paths: application/json: schema: type: array - items: &374 + items: &381 title: Organization Invitation description: Organization Invitation type: object @@ -52443,7 +53262,7 @@ paths: - invitation_teams_url - node_id examples: - default: &375 + default: &382 value: - id: 1 login: monalisa @@ -52510,7 +53329,7 @@ paths: application/json: schema: type: array - items: &426 + items: &433 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -52524,7 +53343,7 @@ paths: - name - description examples: - default: &427 + default: &434 value: - name: add_assignee description: Assign or remove a user @@ -52565,7 +53384,7 @@ paths: application/json: schema: type: array - items: &350 + items: &357 title: Org Hook description: Org Hook type: object @@ -52748,9 +53567,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *357 examples: - default: &351 + default: &358 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -52795,7 +53614,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-an-organization-webhook parameters: - *87 - - &352 + - &359 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -52808,9 +53627,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *357 examples: - default: *351 + default: *358 '404': *6 x-github: githubCloudOnly: false @@ -52832,7 +53651,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-an-organization-webhook parameters: - *87 - - *352 + - *359 requestBody: required: false content: @@ -52878,7 +53697,7 @@ paths: description: Response content: application/json: - schema: *350 + schema: *357 examples: default: value: @@ -52918,7 +53737,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *87 - - *352 + - *359 responses: '204': description: Response @@ -52944,7 +53763,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *87 - - *352 + - *359 responses: '200': description: Response @@ -52973,7 +53792,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *87 - - *352 + - *359 requestBody: required: false content: @@ -53022,10 +53841,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *87 - - *352 + - *359 - *17 - - *353 - - *354 + - *360 + - *361 responses: '200': description: Response @@ -53033,9 +53852,9 @@ paths: application/json: schema: type: array - items: *355 + items: *362 examples: - default: *356 + default: *363 '400': *14 '422': *15 x-github: @@ -53059,16 +53878,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *87 - - *352 + - *359 - *16 responses: '200': description: Response content: application/json: - schema: *357 + schema: *364 examples: - default: *358 + default: *365 '400': *14 '422': *15 x-github: @@ -53092,7 +53911,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *87 - - *352 + - *359 - *16 responses: '202': *37 @@ -53119,7 +53938,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *87 - - *352 + - *359 responses: '204': description: Response @@ -53142,7 +53961,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *87 - - &363 + - &370 name: actor_type in: path description: The type of the actor @@ -53155,14 +53974,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &364 + - &371 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &359 + - &366 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -53170,7 +53989,7 @@ paths: required: true schema: type: string - - &360 + - &367 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -53265,12 +54084,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-subject-stats parameters: - *87 - - *359 - - *360 + - *366 + - *367 - *19 - *17 - *110 - - &369 + - &376 name: sort description: The property to sort the results by. in: query @@ -53349,14 +54168,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats parameters: - *87 - - *359 - - *360 + - *366 + - *367 responses: '200': description: Response content: application/json: - schema: &361 + schema: &368 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -53372,7 +54191,7 @@ paths: type: integer format: int64 examples: - default: &362 + default: &369 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -53393,23 +54212,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *87 - - &365 + - &372 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *359 - - *360 + - *366 + - *367 responses: '200': description: Response content: application/json: - schema: *361 + schema: *368 examples: - default: *362 + default: *369 x-github: enabledForGitHubApps: true category: orgs @@ -53428,18 +54247,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *87 - - *359 - - *360 - - *363 - - *364 + - *366 + - *367 + - *370 + - *371 responses: '200': description: Response content: application/json: - schema: *361 + schema: *368 examples: - default: *362 + default: *369 x-github: enabledForGitHubApps: true category: orgs @@ -53457,9 +54276,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats parameters: - *87 - - *359 - - *360 - - &366 + - *366 + - *367 + - &373 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -53472,7 +54291,7 @@ paths: description: Response content: application/json: - schema: &367 + schema: &374 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -53488,7 +54307,7 @@ paths: type: integer format: int64 examples: - default: &368 + default: &375 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -53525,18 +54344,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-user parameters: - *87 - - *365 - - *359 - - *360 + - *372 - *366 + - *367 + - *373 responses: '200': description: Response content: application/json: - schema: *367 + schema: *374 examples: - default: *368 + default: *375 x-github: enabledForGitHubApps: true category: orgs @@ -53554,19 +54373,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *87 - - *363 - - *364 - - *359 - - *360 + - *370 + - *371 - *366 + - *367 + - *373 responses: '200': description: Response content: application/json: - schema: *367 + schema: *374 examples: - default: *368 + default: *375 x-github: enabledForGitHubApps: true category: orgs @@ -53584,13 +54403,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/api-insights#get-user-stats parameters: - *87 - - *365 - - *359 - - *360 + - *372 + - *366 + - *367 - *19 - *17 - *110 - - *369 + - *376 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -53674,7 +54493,7 @@ paths: application/json: schema: *20 examples: - default: *370 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53794,12 +54613,12 @@ paths: application/json: schema: anyOf: - - &372 + - &379 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &371 + limit: &378 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -53827,7 +54646,7 @@ paths: properties: {} additionalProperties: false examples: - default: &373 + default: &380 value: limit: collaborators_only origin: organization @@ -53856,13 +54675,13 @@ paths: required: true content: application/json: - schema: &651 + schema: &655 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *371 + limit: *378 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -53887,9 +54706,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *379 examples: - default: *373 + default: *380 '422': *15 x-github: githubCloudOnly: false @@ -53967,9 +54786,9 @@ paths: application/json: schema: type: array - items: *374 + items: *381 examples: - default: *375 + default: *382 headers: Link: *45 '404': *6 @@ -54047,7 +54866,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *381 examples: default: value: @@ -54104,7 +54923,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#cancel-an-organization-invitation parameters: - *87 - - &376 + - &383 name: invitation_id description: The unique identifier of the invitation. in: path @@ -54138,7 +54957,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/members#list-organization-invitation-teams parameters: - *87 - - *376 + - *383 - *17 - *19 responses: @@ -54148,9 +54967,9 @@ paths: application/json: schema: type: array - items: *307 + items: *314 examples: - default: &394 + default: &401 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -54193,7 +55012,7 @@ paths: application/json: schema: type: array - items: &377 + items: &384 title: Issue Field description: A custom attribute defined at the organization level for attaching structured data to issues. @@ -54436,9 +55255,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *384 examples: - default: &378 + default: &385 value: id: 512 node_id: IF_kwDNAd3NAZr @@ -54494,7 +55313,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#update-issue-field-for-an-organization parameters: - *87 - - &379 + - &386 name: issue_field_id description: The unique identifier of the issue field. in: path @@ -54604,9 +55423,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *384 examples: - default: *378 + default: *385 '404': *6 '422': *7 x-github: @@ -54631,7 +55450,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-fields#delete-issue-field-for-an-organization parameters: - *87 - - *379 + - *386 responses: '204': *126 '404': *6 @@ -54661,7 +55480,7 @@ paths: application/json: schema: type: array - items: *380 + items: *387 examples: default: value: @@ -54749,9 +55568,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *387 examples: - default: &381 + default: &388 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -54784,7 +55603,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *87 - - &382 + - &389 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -54840,9 +55659,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *387 examples: - default: *381 + default: *388 '404': *6 '422': *7 x-github: @@ -54867,7 +55686,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *87 - - *382 + - *389 responses: '204': description: Response @@ -54930,7 +55749,7 @@ paths: - closed - all default: open - - *383 + - *390 - name: type description: Can be the name of an issue type. in: query @@ -54961,7 +55780,7 @@ paths: type: array items: *219 examples: - default: *384 + default: *391 headers: Link: *45 '404': *6 @@ -55121,9 +55940,9 @@ paths: type: integer codespaces: type: array - items: *385 + items: *392 examples: - default: *386 + default: *393 '304': *35 '500': *38 '401': *23 @@ -55150,7 +55969,7 @@ paths: parameters: - *87 - *140 - - &387 + - &394 name: codespace_name in: path required: true @@ -55185,15 +56004,15 @@ paths: parameters: - *87 - *140 - - *387 + - *394 responses: '200': description: Response content: application/json: - schema: *385 + schema: *392 examples: - default: &569 + default: &575 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -55449,7 +56268,7 @@ paths: description: Response content: application/json: - schema: &388 + schema: &395 title: Org Membership description: Org Membership type: object @@ -55518,7 +56337,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &389 + response-if-user-has-an-active-admin-membership-with-organization: &396 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -55619,9 +56438,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *395 examples: - response-if-user-already-had-membership-with-organization: *389 + response-if-user-already-had-membership-with-organization: *396 '422': *15 '403': *27 '451': *15 @@ -55694,7 +56513,7 @@ paths: application/json: schema: type: array - items: &390 + items: &397 title: Migration description: A migration. type: object @@ -56032,7 +56851,7 @@ paths: description: Response content: application/json: - schema: *390 + schema: *397 examples: default: value: @@ -56211,7 +57030,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#get-an-organization-migration-status parameters: - *87 - - &391 + - &398 name: migration_id description: The unique identifier of the migration. in: path @@ -56239,7 +57058,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *390 + schema: *397 examples: default: value: @@ -56409,7 +57228,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *87 - - *391 + - *398 responses: '302': description: Response @@ -56431,7 +57250,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *87 - - *391 + - *398 responses: '204': description: Response @@ -56455,8 +57274,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#unlock-an-organization-repository parameters: - *87 - - *391 - - &813 + - *398 + - &817 name: repo_name description: repo_name parameter in: path @@ -56484,7 +57303,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *87 - - *391 + - *398 - *17 - *19 responses: @@ -56594,7 +57413,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &392 + items: &399 title: Organization Role description: Organization roles type: object @@ -56803,7 +57622,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *399 examples: default: value: @@ -57033,7 +57852,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *399 examples: default: value: @@ -57130,7 +57949,7 @@ paths: description: Response content: application/json: - schema: *392 + schema: *399 examples: default: value: @@ -57289,7 +58108,7 @@ paths: parent: anyOf: - type: 'null' - - *393 + - *400 type: description: The ownership type of the team type: string @@ -57322,7 +58141,7 @@ paths: - type - parent examples: - default: *394 + default: *401 headers: Link: *45 '404': @@ -57381,7 +58200,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *393 + items: *400 name: type: - string @@ -57691,7 +58510,7 @@ paths: - nuget - container - *87 - - &814 + - &818 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -57727,12 +58546,12 @@ paths: application/json: schema: type: array - items: *395 + items: *402 examples: - default: *396 + default: *403 '403': *27 '401': *23 - '400': &816 + '400': &820 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -57754,7 +58573,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-an-organization parameters: - - &397 + - &404 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -57772,7 +58591,7 @@ paths: - docker - nuget - container - - &398 + - &405 name: package_name description: The name of the package. in: path @@ -57785,7 +58604,7 @@ paths: description: Response content: application/json: - schema: *395 + schema: *402 examples: default: value: @@ -57837,8 +58656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *397 - - *398 + - *404 + - *405 - *87 responses: '204': @@ -57871,8 +58690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *397 - - *398 + - *404 + - *405 - *87 - name: token description: package token @@ -57905,8 +58724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *397 - - *398 + - *404 + - *405 - *87 - *19 - *17 @@ -57927,7 +58746,7 @@ paths: application/json: schema: type: array - items: &399 + items: &406 title: Package Version description: A version of a software package type: object @@ -58062,10 +58881,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *397 - - *398 + - *404 + - *405 - *87 - - &400 + - &407 name: package_version_id description: Unique identifier of the package version. in: path @@ -58077,7 +58896,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *406 examples: default: value: @@ -58113,10 +58932,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *397 - - *398 + - *404 + - *405 - *87 - - *400 + - *407 responses: '204': description: Response @@ -58148,10 +58967,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *397 - - *398 + - *404 + - *405 - *87 - - *400 + - *407 responses: '204': description: Response @@ -58181,7 +59000,7 @@ paths: - *87 - *17 - *19 - - &401 + - &408 name: sort description: The property by which to sort the results. in: query @@ -58192,7 +59011,7 @@ paths: - created_at default: created_at - *110 - - &402 + - &409 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -58204,7 +59023,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &403 + - &410 name: repository description: The name of the repository to use to filter the results. in: query @@ -58213,7 +59032,7 @@ paths: type: string examples: - Hello-World - - &404 + - &411 name: permission description: The permission to use to filter the results. in: query @@ -58222,7 +59041,7 @@ paths: type: string examples: - issues_read - - &405 + - &412 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -58232,7 +59051,7 @@ paths: schema: type: string format: date-time - - &406 + - &413 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -58242,7 +59061,7 @@ paths: schema: type: string format: date-time - - &407 + - &414 name: token_id description: The ID of the token in: query @@ -58561,7 +59380,7 @@ paths: type: array items: *278 examples: - default: &408 + default: &415 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -58698,14 +59517,14 @@ paths: - *87 - *17 - *19 - - *401 + - *408 - *110 - - *402 - - *403 - - *404 - - *405 - - *406 - - *407 + - *409 + - *410 + - *411 + - *412 + - *413 + - *414 responses: '500': *38 '422': *15 @@ -58989,7 +59808,7 @@ paths: type: array items: *278 examples: - default: *408 + default: *415 headers: Link: *45 x-github: @@ -59031,7 +59850,7 @@ paths: type: integer configurations: type: array - items: &409 + items: &416 title: Organization private registry description: Private registry configuration for an organization type: object @@ -59548,7 +60367,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &410 + org-private-registry-with-selected-visibility: &417 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -59646,9 +60465,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *409 + schema: *416 examples: - default: *410 + default: *417 '404': *6 x-github: githubCloudOnly: false @@ -59900,7 +60719,7 @@ paths: application/json: schema: type: array - items: &411 + items: &418 title: Projects v2 Project description: A projects v2 project type: object @@ -59974,7 +60793,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &904 + - &908 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -60059,7 +60878,7 @@ paths: - deleted_at - deleted_by examples: - default: &412 + default: &419 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -60162,7 +60981,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-organization parameters: - - &413 + - &420 name: project_number description: The project's number. in: path @@ -60175,9 +60994,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *418 examples: - default: *412 + default: *419 headers: Link: *45 '304': *35 @@ -60200,7 +61019,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *87 - - *413 + - *420 requestBody: required: true description: Details of the draft item to create in the project. @@ -60234,7 +61053,7 @@ paths: description: Response content: application/json: - schema: &418 + schema: &425 title: Projects v2 Item description: An item belonging to a project type: object @@ -60248,7 +61067,7 @@ paths: content: oneOf: - *219 - - &584 + - &590 title: Pull Request Simple description: Pull Request Simple type: object @@ -60368,7 +61187,7 @@ paths: milestone: anyOf: - type: 'null' - - *414 + - *421 active_lock_reason: type: - string @@ -60407,7 +61226,7 @@ paths: items: *4 requested_teams: type: array - items: *307 + items: *314 head: type: object properties: @@ -60451,7 +61270,7 @@ paths: _links: type: object properties: - comments: &415 + comments: &422 title: Link description: Hypermedia Link type: object @@ -60460,13 +61279,13 @@ paths: type: string required: - href - commits: *415 - statuses: *415 - html: *415 - issue: *415 - review_comments: *415 - review_comment: *415 - self: *415 + commits: *422 + statuses: *422 + html: *422 + issue: *422 + review_comments: *422 + review_comment: *422 + self: *422 required: - comments - commits @@ -60477,7 +61296,7 @@ paths: - review_comment - self author_association: *216 - auto_merge: &699 + auto_merge: &703 title: Auto merge description: The status of auto merging a pull request. type: @@ -60577,7 +61396,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &417 + content_type: &424 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -60621,7 +61440,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &419 + draft_issue: &426 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -60695,7 +61514,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-organization parameters: - - *413 + - *420 - *87 - *17 - *108 @@ -60707,7 +61526,7 @@ paths: application/json: schema: type: array - items: &416 + items: &423 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -60860,7 +61679,7 @@ paths: - updated_at - project_url examples: - default: &837 + default: &841 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -60990,7 +61809,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-a-field-to-an-organization-owned-project parameters: - - *413 + - *420 - *87 requestBody: required: true @@ -61037,7 +61856,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: &838 + items: &842 type: object properties: name: @@ -61074,7 +61893,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: &839 + iteration_configuration: &843 type: object description: The configuration for iteration fields. properties: @@ -61124,7 +61943,7 @@ paths: value: name: Due date data_type: date - single_select_field: &840 + single_select_field: &844 summary: Create a single select field value: name: Priority @@ -61151,7 +61970,7 @@ paths: description: raw: High priority items html: High priority items - iteration_field: &841 + iteration_field: &845 summary: Create an iteration field value: name: Sprint @@ -61175,9 +61994,9 @@ paths: description: Response for adding a field to an organization-owned project. content: application/json: - schema: *416 + schema: *423 examples: - text_field: &842 + text_field: &846 value: id: 24680 node_id: PVTF_lADOABCD2468024680 @@ -61186,7 +62005,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-05-15T08:00:00Z' updated_at: '2022-05-15T08:00:00Z' - number_field: &843 + number_field: &847 value: id: 13579 node_id: PVTF_lADOABCD1357913579 @@ -61195,7 +62014,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-01T14:30:00Z' updated_at: '2022-06-01T14:30:00Z' - date_field: &844 + date_field: &848 value: id: 98765 node_id: PVTF_lADOABCD9876598765 @@ -61204,7 +62023,7 @@ paths: project_url: https://api.github.com/projects/67890 created_at: '2022-06-10T09:15:00Z' updated_at: '2022-06-10T09:15:00Z' - single_select_field: &845 + single_select_field: &849 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -61238,7 +62057,7 @@ paths: raw: High priority items created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' - iteration_field: &846 + iteration_field: &850 value: id: 11223 node_id: PVTF_lADOABCD1122311223 @@ -61283,8 +62102,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-organization parameters: - - *413 - - &847 + - *420 + - &851 name: field_id description: The unique identifier of the field. in: path @@ -61297,9 +62116,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *423 examples: - default: &848 + default: &852 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -61355,7 +62174,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *413 + - *420 - *87 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -61388,7 +62207,7 @@ paths: application/json: schema: type: array - items: &420 + items: &427 title: Projects v2 Item description: An item belonging to a project type: object @@ -61405,7 +62224,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *417 + content_type: *424 content: type: - object @@ -61455,7 +62274,7 @@ paths: - updated_at - archived_at examples: - default: &421 + default: &428 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -62153,7 +62972,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-organization-owned-project parameters: - *87 - - *413 + - *420 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -62223,22 +63042,22 @@ paths: description: Response content: application/json: - schema: *418 + schema: *425 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *419 + value: *426 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *419 + value: *426 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *419 + value: *426 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *419 + value: *426 '304': *35 '403': *27 '401': *23 @@ -62258,9 +63077,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *413 + - *420 - *87 - - &422 + - &429 name: item_id description: The unique identifier of the project item. in: path @@ -62286,9 +63105,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *427 examples: - default: *421 + default: *428 headers: Link: *45 '304': *35 @@ -62309,9 +63128,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-organization parameters: - - *413 + - *420 - *87 - - *422 + - *429 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -62384,13 +63203,13 @@ paths: description: Response content: application/json: - schema: *420 + schema: *427 examples: - text_field: *421 - number_field: *421 - date_field: *421 - single_select_field: *421 - iteration_field: *421 + text_field: *428 + number_field: *428 + date_field: *428 + single_select_field: *428 + iteration_field: *428 '401': *23 '403': *27 '404': *6 @@ -62410,9 +63229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-organization parameters: - - *413 + - *420 - *87 - - *422 + - *429 responses: '204': description: Response @@ -62436,7 +63255,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-an-organization-owned-project parameters: - *87 - - *413 + - *420 requestBody: required: true content: @@ -62510,7 +63329,7 @@ paths: description: Response for creating a view in an organization-owned project. content: application/json: - schema: &828 + schema: &832 title: Projects v2 View description: A view inside a projects v2 project type: object @@ -62614,7 +63433,7 @@ paths: examples: table_view: summary: Response for creating a table view - value: &423 + value: &430 value: id: 1 number: 1 @@ -62660,10 +63479,10 @@ paths: - 456 board_view: summary: Response for creating a board view with filter - value: *423 + value: *430 roadmap_view: summary: Response for creating a roadmap view - value: *423 + value: *430 '304': *35 '403': *27 '401': *23 @@ -62691,9 +63510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-an-organization-project-view parameters: - - *413 + - *420 - *87 - - &849 + - &853 name: view_number description: The number that identifies the project view. in: path @@ -62725,9 +63544,9 @@ paths: application/json: schema: type: array - items: *420 + items: *427 examples: - default: *421 + default: *428 headers: Link: *45 '304': *35 @@ -62891,7 +63710,7 @@ paths: required: true content: application/json: - schema: *424 + schema: *431 examples: default: value: @@ -63259,7 +64078,7 @@ paths: type: array items: *278 examples: - default: *408 + default: *415 headers: Link: *45 x-github: @@ -63463,7 +64282,7 @@ paths: description: Response content: application/json: - schema: &471 + schema: &478 title: Full Repository description: Full Repository type: object @@ -63933,7 +64752,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &589 + code_of_conduct: &595 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -63963,7 +64782,7 @@ paths: - key - name - html_url - security_and_analysis: *425 + security_and_analysis: *432 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -64047,7 +64866,7 @@ paths: - network_count - subscribers_count examples: - default: &473 + default: &480 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -64573,9 +65392,9 @@ paths: application/json: schema: type: array - items: *426 + items: *433 examples: - default: *427 + default: *434 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -64600,7 +65419,7 @@ paths: - *87 - *17 - *19 - - &721 + - &725 name: targets description: | A comma-separated list of rule targets to filter by. @@ -64692,11 +65511,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *165 - conditions: *428 + conditions: *435 rules: type: array description: An array of rules within the ruleset. - items: &430 + items: &437 title: Repository Rule type: object description: A repository rule. @@ -64761,7 +65580,7 @@ paths: application/json: schema: *187 examples: - default: &429 + default: &436 value: id: 21 name: super cool ruleset @@ -64817,7 +65636,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *87 - - &723 + - &727 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -64827,16 +65646,16 @@ paths: schema: type: string x-multi-segment: true - - *304 + - *311 - *105 - - &724 + - &728 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &725 + - &729 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -64856,7 +65675,7 @@ paths: description: Response content: application/json: - schema: &726 + schema: &730 title: Rule Suites description: Response type: array @@ -64912,7 +65731,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &727 + default: &731 value: - id: 21 actor_id: 12 @@ -64956,7 +65775,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *87 - - &728 + - &732 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -64972,7 +65791,7 @@ paths: description: Response content: application/json: - schema: &729 + schema: &733 title: Rule Suite description: Response type: object @@ -65079,7 +65898,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &730 + default: &734 value: id: 21 actor_id: 12 @@ -65154,7 +65973,7 @@ paths: application/json: schema: *187 examples: - default: *429 + default: *436 '404': *6 '500': *38 put: @@ -65203,11 +66022,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *165 - conditions: *428 + conditions: *435 rules: description: An array of rules within the ruleset. type: array - items: *430 + items: *437 examples: default: value: @@ -65244,7 +66063,7 @@ paths: application/json: schema: *187 examples: - default: *429 + default: *436 '404': *6 '422': *15 '500': *38 @@ -65304,7 +66123,7 @@ paths: type: array items: *191 examples: - default: *431 + default: *438 '404': *6 '500': *38 x-github: @@ -65341,7 +66160,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *439 examples: default: value: @@ -65404,18 +66223,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *87 - - *433 - - *434 - - *435 - - *436 - - *437 - - *438 - - *439 - *440 + - *441 + - *442 + - *443 + - *444 + - *445 + - *446 + - *447 - *110 - *19 - *17 - - &732 + - &736 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. To @@ -65425,7 +66244,7 @@ paths: required: false schema: type: string - - &733 + - &737 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. To @@ -65435,11 +66254,11 @@ paths: required: false schema: type: string - - *441 - - *442 - - *443 - - *444 - - *445 + - *448 + - *449 + - *450 + - *451 + - *452 responses: '200': description: Response @@ -65447,9 +66266,9 @@ paths: application/json: schema: type: array - items: *446 + items: *453 examples: - default: *447 + default: *454 headers: Link: *45 '404': *6 @@ -65484,9 +66303,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *455 examples: - default: *449 + default: *456 '403': *27 '404': *6 patch: @@ -65639,7 +66458,7 @@ paths: application/json: schema: type: array - items: &754 + items: &758 description: A repository security advisory. type: object properties: @@ -65862,7 +66681,7 @@ paths: login: type: string description: The username of the user credited. - type: *450 + type: *457 credits_detailed: type: - array @@ -65873,7 +66692,7 @@ paths: type: object properties: user: *4 - type: *450 + type: *457 state: type: string description: The state of the user's acceptance of the @@ -65899,7 +66718,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *307 + items: *314 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -65936,7 +66755,7 @@ paths: - private_fork additionalProperties: false examples: - default: &755 + default: &759 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -66323,7 +67142,7 @@ paths: application/json: schema: type: array - items: *393 + items: *400 examples: default: value: @@ -66422,7 +67241,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *87 - - *451 + - *458 - *17 - *19 responses: @@ -66430,9 +67249,9 @@ paths: description: Success content: application/json: - schema: *452 + schema: *459 examples: - default: *453 + default: *460 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -66715,7 +67534,7 @@ paths: type: array items: *145 examples: - default: *454 + default: *461 headers: Link: *45 x-github: @@ -66944,15 +67763,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *87 - - *455 + - *462 responses: '200': description: Response content: application/json: - schema: *456 + schema: *463 examples: - default: *457 + default: *464 headers: Link: *45 x-github: @@ -66990,7 +67809,7 @@ paths: description: Response content: application/json: - schema: &468 + schema: &475 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -67042,7 +67861,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &469 + default: &476 value: groups: - group_id: '123' @@ -67166,9 +67985,9 @@ paths: application/json: schema: type: array - items: *307 + items: *314 examples: - default: *394 + default: *401 headers: Link: *45 '403': *27 @@ -67254,7 +68073,7 @@ paths: description: Response content: application/json: - schema: &458 + schema: &465 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -67328,7 +68147,7 @@ paths: parent: anyOf: - type: 'null' - - *393 + - *400 members_count: type: integer examples: @@ -67653,7 +68472,7 @@ paths: - repos_count - organization examples: - default: &459 + default: &466 value: id: 1 node_id: MDQ6VGVhbTE= @@ -67730,9 +68549,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *465 examples: - default: *459 + default: *466 '404': *6 x-github: githubCloudOnly: false @@ -67817,16 +68636,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *458 + schema: *465 examples: - default: *459 + default: *466 '201': description: Response content: application/json: - schema: *458 + schema: *465 examples: - default: *459 + default: *466 '404': *6 '422': *15 '403': *27 @@ -67856,7 +68675,7 @@ paths: responses: '204': description: Response - '422': &462 + '422': &469 description: Unprocessable entity if you attempt to modify an enterprise team at the organization level. x-github: @@ -67885,10 +68704,10 @@ paths: description: Response content: application/json: - schema: *460 + schema: *467 examples: - default: *461 - '422': *462 + default: *468 + '422': *469 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -67932,10 +68751,10 @@ paths: description: Response content: application/json: - schema: *463 + schema: *470 examples: - default: *464 - '422': *462 + default: *471 + '422': *469 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -67959,7 +68778,7 @@ paths: responses: '204': description: Response - '422': *462 + '422': *469 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -67991,12 +68810,12 @@ paths: application/json: schema: type: array - items: *374 + items: *381 examples: - default: *375 + default: *382 headers: Link: *45 - '422': *462 + '422': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68078,7 +68897,7 @@ paths: description: Response content: application/json: - schema: &465 + schema: &472 title: Team Membership description: Team Membership type: object @@ -68106,7 +68925,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &796 + response-if-user-is-a-team-maintainer: &800 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -68169,9 +68988,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *472 examples: - response-if-users-membership-with-team-is-now-pending: &797 + response-if-users-membership-with-team-is-now-pending: &801 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -68247,7 +69066,7 @@ paths: type: array items: *278 examples: - default: *408 + default: *415 headers: Link: *45 x-github: @@ -68278,14 +69097,14 @@ paths: parameters: - *87 - *214 - - *466 - - *467 + - *473 + - *474 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &798 + schema: &802 title: Team Repository description: A team's access to a repository. type: object @@ -68920,8 +69739,8 @@ paths: parameters: - *87 - *214 - - *466 - - *467 + - *473 + - *474 requestBody: required: false content: @@ -68968,8 +69787,8 @@ paths: parameters: - *87 - *214 - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -69002,10 +69821,10 @@ paths: description: Response content: application/json: - schema: *468 + schema: *475 examples: - default: *469 - '422': *462 + default: *476 + '422': *469 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -69071,7 +69890,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *475 examples: default: value: @@ -69083,7 +69902,7 @@ paths: group_name: Octocat docs members group_description: The people who make your octoworld come to life. - '422': *462 + '422': *469 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -69115,9 +69934,9 @@ paths: application/json: schema: type: array - items: *307 + items: *314 examples: - response-if-child-teams-exist: &799 + response-if-child-teams-exist: &803 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -69271,7 +70090,7 @@ paths: resources: type: object properties: - core: &470 + core: &477 title: Rate Limit type: object properties: @@ -69288,17 +70107,17 @@ paths: - remaining - reset - used - graphql: *470 - search: *470 - code_search: *470 - source_import: *470 - integration_manifest: *470 - code_scanning_upload: *470 - actions_runner_registration: *470 - scim: *470 - dependency_snapshots: *470 - dependency_sbom: *470 - code_scanning_autofix: *470 + graphql: *477 + search: *477 + code_search: *477 + source_import: *477 + integration_manifest: *477 + code_scanning_upload: *477 + actions_runner_registration: *477 + scim: *477 + dependency_snapshots: *477 + dependency_sbom: *477 + code_scanning_autofix: *477 required: - core - search @@ -69400,14 +70219,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: *471 + schema: *478 examples: default-response: summary: Default response @@ -69915,7 +70734,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *472 + '301': *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69933,8 +70752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#update-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: false content: @@ -70243,10 +71062,10 @@ paths: description: Response content: application/json: - schema: *471 + schema: *478 examples: - default: *473 - '307': &474 + default: *480 + '307': &481 description: Temporary Redirect content: application/json: @@ -70275,8 +71094,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -70298,7 +71117,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#delete-a-repository - '307': *474 + '307': *481 '404': *6 '409': *119 x-github: @@ -70322,11 +71141,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 - - &491 + - &497 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -70349,7 +71168,7 @@ paths: type: integer artifacts: type: array - items: &475 + items: &482 title: Artifact description: An artifact type: object @@ -70444,7 +71263,7 @@ paths: - expires_at - updated_at examples: - default: &492 + default: &498 value: total_count: 2 artifacts: @@ -70505,9 +71324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#get-an-artifact parameters: - - *466 - - *467 - - &476 + - *473 + - *474 + - &483 name: artifact_id description: The unique identifier of the artifact. in: path @@ -70519,7 +71338,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *482 examples: default: value: @@ -70557,9 +71376,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#delete-an-artifact parameters: - - *466 - - *467 - - *476 + - *473 + - *474 + - *483 responses: '204': description: Response @@ -70583,9 +71402,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#download-an-artifact parameters: - - *466 - - *467 - - *476 + - *473 + - *474 + - *483 - name: archive_format in: path required: true @@ -70595,11 +71414,11 @@ paths: '302': description: Response headers: - Location: &606 + Location: &612 example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': &654 + '410': &658 description: Gone content: application/json: @@ -70624,14 +71443,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-retention-limit-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: &477 + schema: &484 title: Actions cache retention limit for a repository description: GitHub Actions cache retention policy for a repository. type: object @@ -70665,13 +71484,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-retention-limit-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: application/json: - schema: *477 + schema: *484 examples: selected_actions: *42 responses: @@ -70700,14 +71519,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-storage-limit-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: &478 + schema: &485 title: Actions cache storage limit for a repository description: GitHub Actions cache storage policy for a repository. type: object @@ -70741,13 +71560,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#set-github-actions-cache-storage-limit-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: application/json: - schema: *478 + schema: *485 examples: selected_actions: *44 responses: @@ -70778,14 +71597,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: *479 + schema: *486 examples: default: value: @@ -70811,11 +71630,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 - - &480 + - &487 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -70849,7 +71668,7 @@ paths: description: Response content: application/json: - schema: &481 + schema: &488 title: Repository actions caches description: Repository actions caches type: object @@ -70899,7 +71718,7 @@ paths: - total_count - actions_caches examples: - default: &482 + default: &489 value: total_count: 1 actions_caches: @@ -70931,23 +71750,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *466 - - *467 + - *473 + - *474 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *480 + - *487 responses: '200': description: Response content: application/json: - schema: *481 + schema: *488 examples: - default: *482 + default: *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70967,8 +71786,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *466 - - *467 + - *473 + - *474 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -70997,8 +71816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *109 responses: @@ -71081,8 +71900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#get-a-concurrency-group-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - name: concurrency_group_name description: The name of the concurrency group. in: path @@ -71238,9 +72057,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *466 - - *467 - - &483 + - *473 + - *474 + - &490 name: job_id description: The unique identifier of the job. in: path @@ -71252,7 +72071,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &501 title: Job description: Information of a job execution in a workflow run type: object @@ -71599,9 +72418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *466 - - *467 - - *483 + - *473 + - *474 + - *490 responses: '302': description: Response @@ -71629,9 +72448,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *466 - - *467 - - *483 + - *473 + - *474 + - *490 requestBody: required: false content: @@ -71682,8 +72501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Status response @@ -71742,8 +72561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -71811,8 +72630,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-organization-secrets parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -71830,7 +72649,7 @@ paths: type: integer secrets: type: array - items: &497 + items: &503 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -71851,7 +72670,7 @@ paths: - created_at - updated_at examples: - default: &498 + default: &504 value: total_count: 2 secrets: @@ -71884,9 +72703,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-organization-variables parameters: - - *466 - - *467 - - *484 + - *473 + - *474 + - *297 - *19 responses: '200': @@ -71903,7 +72722,7 @@ paths: type: integer variables: type: array - items: &501 + items: &505 title: Actions Variable type: object properties: @@ -71937,7 +72756,7 @@ paths: - created_at - updated_at examples: - default: &502 + default: &506 value: total_count: 2 variables: @@ -71970,8 +72789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -71980,7 +72799,7 @@ paths: schema: type: object properties: - enabled: &485 + enabled: &491 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *60 @@ -72015,8 +72834,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -72027,7 +72846,7 @@ paths: schema: type: object properties: - enabled: *485 + enabled: *491 allowed_actions: *60 sha_pinning_required: *61 required: @@ -72060,14 +72879,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: &486 + schema: &492 type: object properties: access_level: @@ -72085,7 +72904,7 @@ paths: required: - access_level examples: - default: &487 + default: &493 value: access_level: organization x-github: @@ -72110,15 +72929,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: application/json: - schema: *486 + schema: *492 examples: - default: *487 + default: *493 responses: '204': description: Response @@ -72142,8 +72961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -72173,8 +72992,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Empty response for successful settings update @@ -72208,8 +73027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -72236,8 +73055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -72271,8 +73090,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -72300,8 +73119,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -72332,8 +73151,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -72364,8 +73183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -72397,8 +73216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -72427,8 +73246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Success response @@ -72468,8 +73287,8 @@ paths: in: query schema: type: string - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -72513,8 +73332,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -72546,8 +73365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -72621,8 +73440,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '201': description: Response @@ -72658,8 +73477,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '201': description: Response @@ -72689,8 +73508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *75 responses: '200': @@ -72720,8 +73539,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *75 responses: '204': @@ -72748,8 +73567,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *75 responses: '200': *81 @@ -72774,8 +73593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *75 requestBody: required: true @@ -72824,8 +73643,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *75 requestBody: required: true @@ -72875,8 +73694,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *75 responses: '200': *285 @@ -72906,8 +73725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *75 - *286 responses: @@ -72937,9 +73756,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *466 - - *467 - - &505 + - *473 + - *474 + - &509 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -72947,7 +73766,7 @@ paths: required: false schema: type: string - - &506 + - &510 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -72955,7 +73774,7 @@ paths: required: false schema: type: string - - &507 + - &511 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -72964,7 +73783,7 @@ paths: required: false schema: type: string - - &508 + - &512 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -72991,7 +73810,7 @@ paths: - pending - *17 - *19 - - &509 + - &513 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -73000,7 +73819,7 @@ paths: schema: type: string format: date-time - - &488 + - &494 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -73009,13 +73828,13 @@ paths: schema: type: boolean default: false - - &510 + - &514 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &511 + - &515 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -73038,7 +73857,7 @@ paths: type: integer workflow_runs: type: array - items: &489 + items: &495 title: Workflow Run description: An invocation of a workflow type: object @@ -73216,7 +74035,7 @@ paths: head_commit: anyOf: - type: 'null' - - &533 + - &539 title: Simple Commit description: A commit. type: object @@ -73331,7 +74150,7 @@ paths: - workflow_url - pull_requests examples: - default: &512 + default: &516 value: total_count: 1 workflow_runs: @@ -73567,24 +74386,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *466 - - *467 - - &490 + - *473 + - *474 + - &496 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *488 + - *494 responses: '200': description: Response content: application/json: - schema: *489 + schema: *495 examples: - default: &493 + default: &499 value: id: 30433642 name: Build @@ -73825,9 +74644,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 responses: '204': description: Response @@ -73850,9 +74669,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 responses: '200': description: Response @@ -73980,9 +74799,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 responses: '201': description: Response @@ -74015,12 +74834,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 - *17 - *19 - - *491 + - *497 - *110 responses: '200': @@ -74037,9 +74856,9 @@ paths: type: integer artifacts: type: array - items: *475 + items: *482 examples: - default: *492 + default: *498 headers: Link: *45 x-github: @@ -74063,25 +74882,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *466 - - *467 - - *490 - - &494 + - *473 + - *474 + - *496 + - &500 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *488 + - *494 responses: '200': description: Response content: application/json: - schema: *489 + schema: *495 examples: - default: *493 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74104,10 +74923,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *466 - - *467 - - *490 - - *494 + - *473 + - *474 + - *496 + - *500 - *17 - *19 responses: @@ -74125,9 +74944,9 @@ paths: type: integer jobs: type: array - items: *495 + items: *501 examples: - default: &496 + default: &502 value: total_count: 1 jobs: @@ -74240,10 +75059,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *466 - - *467 - - *490 - - *494 + - *473 + - *474 + - *496 + - *500 responses: '302': description: Response @@ -74271,9 +75090,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 responses: '202': description: Response @@ -74319,9 +75138,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/concurrency-groups#list-concurrency-groups-for-a-workflow-run parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 - *17 - *108 - *109 @@ -74498,9 +75317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 requestBody: required: true content: @@ -74567,9 +75386,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 responses: '202': description: Response @@ -74602,9 +75421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -74634,9 +75453,9 @@ paths: type: integer jobs: type: array - items: *495 + items: *501 examples: - default: *496 + default: *502 headers: Link: *45 x-github: @@ -74661,9 +75480,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 responses: '302': description: Response @@ -74690,9 +75509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 responses: '204': description: Response @@ -74719,9 +75538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 responses: '200': description: Response @@ -74790,7 +75609,7 @@ paths: items: type: object properties: - type: &621 + type: &627 type: string description: The type of reviewer. enum: @@ -74801,7 +75620,7 @@ paths: reviewer: anyOf: - *4 - - *307 + - *314 required: - environment - wait_timer @@ -74876,9 +75695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 requestBody: required: true content: @@ -74928,7 +75747,7 @@ paths: application/json: schema: type: array - items: &608 + items: &614 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -75040,7 +75859,7 @@ paths: - created_at - updated_at examples: - default: &609 + default: &615 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -75096,9 +75915,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 requestBody: required: false content: @@ -75143,9 +75962,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 requestBody: required: false content: @@ -75200,9 +76019,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *466 - - *467 - - *490 + - *473 + - *474 + - *496 responses: '200': description: Response @@ -75339,8 +76158,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-repository-secrets parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -75358,9 +76177,9 @@ paths: type: integer secrets: type: array - items: *497 + items: *503 examples: - default: *498 + default: *504 headers: Link: *45 x-github: @@ -75385,16 +76204,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-public-key parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: *499 + schema: *294 examples: - default: *500 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75416,17 +76235,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-a-repository-secret parameters: - - *466 - - *467 + - *473 + - *474 - *288 responses: '200': description: Response content: application/json: - schema: *497 + schema: *503 examples: - default: &634 + default: &517 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -75452,8 +76271,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *466 - - *467 + - *473 + - *474 - *288 requestBody: required: true @@ -75511,8 +76330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-a-repository-secret parameters: - - *466 - - *467 + - *473 + - *474 - *288 responses: '204': @@ -75538,9 +76357,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-repository-variables parameters: - - *466 - - *467 - - *484 + - *473 + - *474 + - *297 - *19 responses: '200': @@ -75557,9 +76376,9 @@ paths: type: integer variables: type: array - items: *501 + items: *505 examples: - default: *502 + default: *506 headers: Link: *45 x-github: @@ -75582,8 +76401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-a-repository-variable parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -75635,17 +76454,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-a-repository-variable parameters: - - *466 - - *467 + - *473 + - *474 - *291 responses: '200': description: Response content: application/json: - schema: *501 + schema: *505 examples: - default: &635 + default: &518 value: name: USERNAME value: octocat @@ -75671,8 +76490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-a-repository-variable parameters: - - *466 - - *467 + - *473 + - *474 - *291 requestBody: required: true @@ -75715,8 +76534,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-a-repository-variable parameters: - - *466 - - *467 + - *473 + - *474 - *291 responses: '204': @@ -75742,8 +76561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#list-repository-workflows parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -75761,7 +76580,7 @@ paths: type: integer workflows: type: array - items: &503 + items: &507 title: Workflow description: A GitHub Actions workflow type: object @@ -75879,9 +76698,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-a-workflow parameters: - - *466 - - *467 - - &504 + - *473 + - *474 + - &508 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -75896,7 +76715,7 @@ paths: description: Response content: application/json: - schema: *503 + schema: *507 examples: default: value: @@ -75929,9 +76748,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#disable-a-workflow parameters: - - *466 - - *467 - - *504 + - *473 + - *474 + - *508 responses: '204': description: Response @@ -75956,9 +76775,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *466 - - *467 - - *504 + - *473 + - *474 + - *508 responses: '200': description: Response including the workflow run ID and URLs. @@ -76038,9 +76857,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#enable-a-workflow parameters: - - *466 - - *467 - - *504 + - *473 + - *474 + - *508 responses: '204': description: Response @@ -76067,19 +76886,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *466 - - *467 - - *504 - - *505 - - *506 - - *507 + - *473 + - *474 - *508 - - *17 - - *19 - *509 - - *488 - *510 - *511 + - *512 + - *17 + - *19 + - *513 + - *494 + - *514 + - *515 responses: '200': description: Response @@ -76095,9 +76914,9 @@ paths: type: integer workflow_runs: type: array - items: *489 + items: *495 examples: - default: *512 + default: *516 headers: Link: *45 x-github: @@ -76130,9 +76949,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/workflows#get-workflow-usage parameters: - - *466 - - *467 - - *504 + - *473 + - *474 + - *508 responses: '200': description: Response @@ -76193,8 +77012,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-activities parameters: - - *466 - - *467 + - *473 + - *474 - *110 - *17 - *108 @@ -76350,6 +77169,492 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos + "/repos/{owner}/{repo}/agents/organization-secrets": + get: + summary: List repository organization secrets + description: |- + Lists all organization secrets shared with a repository without revealing their encrypted + values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-organization-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-organization-secrets + parameters: + - *473 + - *474 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: *503 + examples: + default: *504 + headers: + Link: *45 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/organization-variables": + get: + summary: List repository organization variables + description: |- + Lists all organization variables shared with a repository. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-organization-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-organization-variables + parameters: + - *473 + - *474 + - *297 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: *505 + examples: + default: *506 + headers: + Link: *45 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/repos/{owner}/{repo}/agents/secrets": + get: + summary: List repository secrets + description: |- + Lists all secrets available in a repository without revealing their encrypted + values. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-secrets + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#list-repository-secrets + parameters: + - *473 + - *474 + - *17 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - secrets + properties: + total_count: + type: integer + secrets: + type: array + items: *503 + examples: + default: *504 + headers: + Link: *45 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/secrets/public-key": + get: + summary: Get a repository public key + description: |- + Gets your public key, which you need to encrypt secrets. You need to + encrypt a secret before you can create or update secrets. + + Anyone with read access to the repository can use this endpoint. + + If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-public-key + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key + parameters: + - *473 + - *474 + responses: + '200': + description: Response + content: + application/json: + schema: *294 + examples: + default: *295 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/secrets/{secret_name}": + get: + summary: Get a repository secret + description: |- + Gets a single repository secret without revealing its encrypted value. + + The authenticated user must have collaborator access to the repository to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-secret + parameters: + - *473 + - *474 + - *288 + responses: + '200': + description: Response + content: + application/json: + schema: *503 + examples: + default: *517 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + put: + summary: Create or update a repository secret + description: |- + Creates or updates a repository secret with an encrypted value. Encrypt your secret using + [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/enterprise-cloud@latest/rest/guides/encrypting-secrets-for-the-rest-api)." + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-or-update-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#create-or-update-a-repository-secret + parameters: + - *473 + - *474 + - *288 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + encrypted_value: + type: string + description: Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) + using the public key retrieved from the [Get a repository public + key](https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#get-a-repository-public-key) + endpoint. + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + key_id: + type: string + description: ID of the key you used to encrypt the secret. + required: + - encrypted_value + - key_id + examples: + default: + value: + encrypted_value: c2VjcmV0 + key_id: '012345678912345678' + responses: + '201': + description: Response when creating a secret + content: + application/json: + schema: *289 + examples: + default: + value: + '204': + description: Response when updating a secret + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + delete: + summary: Delete a repository secret + description: |- + Deletes a secret in a repository using the secret name. + + Authenticated users must have collaborator access to a repository to create, update, or read secrets. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-repo-secret + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/secrets#delete-a-repository-secret + parameters: + - *473 + - *474 + - *288 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: secrets + "/repos/{owner}/{repo}/agents/variables": + get: + summary: List repository variables + description: |- + Lists all repository variables. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/list-repo-variables + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#list-repository-variables + parameters: + - *473 + - *474 + - *297 + - *19 + responses: + '200': + description: Response + content: + application/json: + schema: + type: object + required: + - total_count + - variables + properties: + total_count: + type: integer + variables: + type: array + items: *505 + examples: + default: *506 + headers: + Link: *45 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + post: + summary: Create a repository variable + description: |- + Creates a repository variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/create-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#create-a-repository-variable + parameters: + - *473 + - *474 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + required: + - name + - value + examples: + default: + value: + name: USERNAME + value: octocat + responses: + '201': + description: Response + content: + application/json: + schema: *289 + examples: + default: + value: + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + "/repos/{owner}/{repo}/agents/variables/{name}": + get: + summary: Get a repository variable + description: |- + Gets a specific variable in a repository. + + The authenticated user must have collaborator access to the repository to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/get-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#get-a-repository-variable + parameters: + - *473 + - *474 + - *291 + responses: + '200': + description: Response + content: + application/json: + schema: *505 + examples: + default: *518 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + patch: + summary: Update a repository variable + description: |- + Updates a repository variable that you can reference in a GitHub Actions workflow. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/update-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#update-a-repository-variable + parameters: + - *473 + - *474 + - *291 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the variable. + value: + type: string + description: The value of the variable. + examples: + default: + value: + name: USERNAME + value: octocat + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables + delete: + summary: Delete a repository variable + description: |- + Deletes a repository variable using the variable name. + + Authenticated users must have collaborator access to a repository to create, update, or read variables. + + OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. + tags: + - agents + operationId: agents/delete-repo-variable + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest/rest/agents/variables#delete-a-repository-variable + parameters: + - *473 + - *474 + - *291 + responses: + '204': + description: Response + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: agents + subcategory: variables "/repos/{owner}/{repo}/assignees": get: summary: List assignees @@ -76362,8 +77667,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#list-assignees parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -76400,8 +77705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *466 - - *467 + - *473 + - *474 - name: assignee in: path required: true @@ -76437,8 +77742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#create-an-attestation parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -76548,8 +77853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/attestations#list-attestations parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *108 - *109 @@ -76590,7 +77895,7 @@ paths: initiator: type: string examples: - default: *513 + default: *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76610,8 +77915,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -76619,7 +77924,7 @@ paths: application/json: schema: type: array - items: &514 + items: &520 title: Autolink reference description: An autolink reference. type: object @@ -76678,8 +77983,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -76718,9 +78023,9 @@ paths: description: response content: application/json: - schema: *514 + schema: *520 examples: - default: &515 + default: &521 value: id: 1 key_prefix: TICKET- @@ -76751,9 +78056,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *466 - - *467 - - &516 + - *473 + - *474 + - &522 name: autolink_id description: The unique identifier of the autolink. in: path @@ -76765,9 +78070,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *520 examples: - default: *515 + default: *521 '404': *6 x-github: githubCloudOnly: false @@ -76787,9 +78092,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *466 - - *467 - - *516 + - *473 + - *474 + - *522 responses: '204': description: Response @@ -76813,8 +78118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response if Dependabot is enabled @@ -76864,8 +78169,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-dependabot-security-updates parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -76886,8 +78191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-dependabot-security-updates parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -76907,8 +78212,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#list-branches parameters: - - *466 - - *467 + - *473 + - *474 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -76946,7 +78251,7 @@ paths: - url protected: type: boolean - protection: &518 + protection: &524 title: Branch Protection description: Branch Protection type: object @@ -76989,7 +78294,7 @@ paths: required: - contexts - checks - enforce_admins: &521 + enforce_admins: &527 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -77006,7 +78311,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &523 + required_pull_request_reviews: &529 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -77028,7 +78333,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *307 + items: *314 apps: description: The list of apps with review dismissal access. @@ -77060,7 +78365,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *307 + items: *314 apps: description: The list of apps allowed to bypass pull request requirements. @@ -77090,7 +78395,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &520 + restrictions: &526 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -77153,7 +78458,7 @@ paths: type: string teams: type: array - items: *307 + items: *314 apps: type: array items: @@ -77383,9 +78688,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#get-a-branch parameters: - - *466 - - *467 - - &519 + - *473 + - *474 + - &525 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest/graphql). @@ -77399,14 +78704,14 @@ paths: description: Response content: application/json: - schema: &529 + schema: &535 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &580 + commit: &586 title: Commit description: Commit type: object @@ -77445,7 +78750,7 @@ paths: author: anyOf: - type: 'null' - - &517 + - &523 title: Git User description: Metaproperties for Git author/committer information. @@ -77467,7 +78772,7 @@ paths: committer: anyOf: - type: 'null' - - *517 + - *523 message: type: string examples: @@ -77491,7 +78796,7 @@ paths: required: - sha - url - verification: &641 + verification: &645 title: Verification type: object properties: @@ -77571,7 +78876,7 @@ paths: type: integer files: type: array - items: &591 + items: &597 title: Diff Entry description: Diff Entry type: object @@ -77667,7 +78972,7 @@ paths: - self protected: type: boolean - protection: *518 + protection: *524 protection_url: type: string format: uri @@ -77776,7 +79081,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *472 + '301': *479 '404': *6 x-github: githubCloudOnly: false @@ -77798,15 +79103,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-branch-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response content: application/json: - schema: *518 + schema: *524 examples: default: value: @@ -78000,9 +79305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-branch-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: true content: @@ -78262,7 +79567,7 @@ paths: url: type: string format: uri - required_status_checks: &526 + required_status_checks: &532 title: Status Check Policy description: Status Check Policy type: object @@ -78343,7 +79648,7 @@ paths: items: *4 teams: type: array - items: *307 + items: *314 apps: type: array items: *5 @@ -78361,7 +79666,7 @@ paths: items: *4 teams: type: array - items: *307 + items: *314 apps: type: array items: *5 @@ -78421,7 +79726,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *520 + restrictions: *526 required_conversation_resolution: type: object properties: @@ -78533,9 +79838,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-branch-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '204': description: Response @@ -78560,17 +79865,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response content: application/json: - schema: *521 + schema: *527 examples: - default: &522 + default: &528 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -78592,17 +79897,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response content: application/json: - schema: *521 + schema: *527 examples: - default: *522 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78621,9 +79926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '204': description: Response @@ -78648,17 +79953,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response content: application/json: - schema: *523 + schema: *529 examples: - default: &524 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -78754,9 +80059,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: false content: @@ -78854,9 +80159,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *529 examples: - default: *524 + default: *530 '422': *15 x-github: githubCloudOnly: false @@ -78877,9 +80182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '204': description: Response @@ -78906,17 +80211,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response content: application/json: - schema: *521 + schema: *527 examples: - default: &525 + default: &531 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -78939,17 +80244,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response content: application/json: - schema: *521 + schema: *527 examples: - default: *525 + default: *531 '404': *6 x-github: githubCloudOnly: false @@ -78969,9 +80274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '204': description: Response @@ -78996,17 +80301,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-status-checks-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response content: application/json: - schema: *526 + schema: *532 examples: - default: &527 + default: &533 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -79032,9 +80337,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#update-status-check-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: false content: @@ -79086,9 +80391,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *532 examples: - default: *527 + default: *533 '404': *6 '422': *15 x-github: @@ -79110,9 +80415,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-protection parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '204': description: Response @@ -79136,9 +80441,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response @@ -79172,9 +80477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-status-check-contexts parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: false content: @@ -79241,9 +80546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-status-check-contexts parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: false content: @@ -79307,9 +80612,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: content: application/json: @@ -79375,15 +80680,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-access-restrictions parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response content: application/json: - schema: *520 + schema: *526 examples: default: value: @@ -79474,9 +80779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#delete-access-restrictions parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '204': description: Response @@ -79499,9 +80804,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response @@ -79511,7 +80816,7 @@ paths: type: array items: *5 examples: - default: &528 + default: &534 value: - id: 1 slug: octoapp @@ -79568,9 +80873,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: true content: @@ -79604,7 +80909,7 @@ paths: type: array items: *5 examples: - default: *528 + default: *534 '422': *15 x-github: githubCloudOnly: false @@ -79625,9 +80930,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: true content: @@ -79661,7 +80966,7 @@ paths: type: array items: *5 examples: - default: *528 + default: *534 '422': *15 x-github: githubCloudOnly: false @@ -79682,9 +80987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: true content: @@ -79718,7 +81023,7 @@ paths: type: array items: *5 examples: - default: *528 + default: *534 '422': *15 x-github: githubCloudOnly: false @@ -79740,9 +81045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response @@ -79750,9 +81055,9 @@ paths: application/json: schema: type: array - items: *307 + items: *314 examples: - default: *394 + default: *401 '404': *6 x-github: githubCloudOnly: false @@ -79772,9 +81077,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: false content: @@ -79810,9 +81115,9 @@ paths: application/json: schema: type: array - items: *307 + items: *314 examples: - default: *394 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -79833,9 +81138,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: false content: @@ -79871,9 +81176,9 @@ paths: application/json: schema: type: array - items: *307 + items: *314 examples: - default: *394 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -79894,9 +81199,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: content: application/json: @@ -79931,9 +81236,9 @@ paths: application/json: schema: type: array - items: *307 + items: *314 examples: - default: *394 + default: *401 '422': *15 x-github: githubCloudOnly: false @@ -79955,9 +81260,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 responses: '200': description: Response @@ -79991,9 +81296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: true content: @@ -80051,9 +81356,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: true content: @@ -80111,9 +81416,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: true content: @@ -80173,9 +81478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#rename-a-branch parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 requestBody: required: true content: @@ -80197,7 +81502,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *535 examples: default: value: @@ -80311,8 +81616,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *466 - - *467 + - *473 + - *474 - *103 - *104 - *105 @@ -80326,9 +81631,9 @@ paths: application/json: schema: type: array - items: *302 + items: *309 examples: - default: *303 + default: *310 '404': *6 '500': *38 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -80348,8 +81653,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *466 - - *467 + - *473 + - *474 - name: bypass_request_number in: path required: true @@ -80363,7 +81668,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *309 examples: default: value: @@ -80422,8 +81727,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *466 - - *467 + - *473 + - *474 - *103 - *104 - *105 @@ -80437,9 +81742,9 @@ paths: application/json: schema: type: array - items: *305 + items: *312 examples: - default: *306 + default: *313 '404': *6 '403': *27 '500': *38 @@ -80463,8 +81768,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *466 - - *467 + - *473 + - *474 - name: bypass_request_number in: path required: true @@ -80476,7 +81781,7 @@ paths: description: A single bypass request. content: application/json: - schema: *305 + schema: *312 examples: default: value: @@ -80534,8 +81839,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *466 - - *467 + - *473 + - *474 - name: bypass_request_number in: path required: true @@ -80606,8 +81911,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *466 - - *467 + - *473 + - *474 - name: bypass_response_id in: path required: true @@ -80640,8 +81945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#create-a-check-run parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -80920,7 +82225,7 @@ paths: description: Response content: application/json: - schema: &530 + schema: &536 title: CheckRun description: A check performed on the code of a given code change type: object @@ -81056,7 +82361,7 @@ paths: check. type: array items: *222 - deployment: &860 + deployment: &864 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -81343,9 +82648,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#get-a-check-run parameters: - - *466 - - *467 - - &531 + - *473 + - *474 + - &537 name: check_run_id description: The unique identifier of the check run. in: path @@ -81357,9 +82662,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *536 examples: - default: &532 + default: &538 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -81459,9 +82764,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#update-a-check-run parameters: - - *466 - - *467 - - *531 + - *473 + - *474 + - *537 requestBody: required: true content: @@ -81701,9 +83006,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *536 examples: - default: *532 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81723,9 +83028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-run-annotations parameters: - - *466 - - *467 - - *531 + - *473 + - *474 + - *537 - *17 - *19 responses: @@ -81835,9 +83140,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#rerequest-a-check-run parameters: - - *466 - - *467 - - *531 + - *473 + - *474 + - *537 responses: '201': description: Response @@ -81881,8 +83186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#create-a-check-suite parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -81904,7 +83209,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &534 + schema: &540 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -82002,7 +83307,7 @@ paths: - string - 'null' format: date-time - head_commit: *533 + head_commit: *539 latest_check_runs_count: type: integer check_runs_url: @@ -82030,7 +83335,7 @@ paths: - check_runs_url - pull_requests examples: - default: &535 + default: &541 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -82321,9 +83626,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *534 + schema: *540 examples: - default: *535 + default: *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82342,8 +83647,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -82652,9 +83957,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#get-a-check-suite parameters: - - *466 - - *467 - - &536 + - *473 + - *474 + - &542 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -82666,9 +83971,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *540 examples: - default: *535 + default: *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82691,17 +83996,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *466 - - *467 - - *536 - - &586 + - *473 + - *474 + - *542 + - &592 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &587 + - &593 name: status description: Returns check runs with the specified `status`. in: query @@ -82740,9 +84045,9 @@ paths: type: integer check_runs: type: array - items: *530 + items: *536 examples: - default: &588 + default: &594 value: total_count: 1 check_runs: @@ -82844,9 +84149,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#rerequest-a-check-suite parameters: - - *466 - - *467 - - *536 + - *473 + - *474 + - *542 responses: '201': description: Response @@ -82879,21 +84184,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *466 - - *467 - - *311 - - *312 + - *473 + - *474 + - *318 + - *319 - *19 - *17 - - &552 + - &558 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *537 - - &553 + schema: *543 + - &559 name: pr description: The number of the pull request for the results you want to list. in: query @@ -82918,13 +84223,13 @@ paths: be returned. in: query required: false - schema: *313 + schema: *320 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *538 + schema: *544 - name: assignees description: | Filter alerts by assignees. Provide a comma-separated list of user handles (e.g., `octocat` or `octocat,hubot`). @@ -82948,7 +84253,7 @@ paths: updated_at: *135 url: *132 html_url: *133 - instances_url: *539 + instances_url: *545 state: *113 fixed_at: *137 dismissed_by: @@ -82956,11 +84261,11 @@ paths: - type: 'null' - *4 dismissed_at: *136 - dismissed_reason: *540 - dismissed_comment: *541 - rule: *542 - tool: *543 - most_recent_instance: *544 + dismissed_reason: *546 + dismissed_comment: *547 + rule: *548 + tool: *549 + most_recent_instance: *550 dismissal_approved_by: anyOf: - type: 'null' @@ -83083,7 +84388,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &545 + '403': &551 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -83110,9 +84415,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *466 - - *467 - - &546 + - *473 + - *474 + - &552 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -83126,7 +84431,7 @@ paths: description: Response content: application/json: - schema: &547 + schema: &553 type: object properties: number: *127 @@ -83134,7 +84439,7 @@ paths: updated_at: *135 url: *132 html_url: *133 - instances_url: *539 + instances_url: *545 state: *113 fixed_at: *137 dismissed_by: @@ -83142,8 +84447,8 @@ paths: - type: 'null' - *4 dismissed_at: *136 - dismissed_reason: *540 - dismissed_comment: *541 + dismissed_reason: *546 + dismissed_comment: *547 rule: type: object properties: @@ -83205,8 +84510,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *543 - most_recent_instance: *544 + tool: *549 + most_recent_instance: *550 dismissal_approved_by: anyOf: - type: 'null' @@ -83302,7 +84607,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *545 + '403': *551 '404': *6 '503': *192 x-github: @@ -83322,9 +84627,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *466 - - *467 - - *546 + - *473 + - *474 + - *552 requestBody: required: true content: @@ -83339,8 +84644,8 @@ paths: enum: - open - dismissed - dismissed_reason: *540 - dismissed_comment: *541 + dismissed_reason: *546 + dismissed_comment: *547 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -83368,7 +84673,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *553 examples: default: value: @@ -83444,7 +84749,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &551 + '403': &557 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -83471,15 +84776,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *466 - - *467 - - *546 + - *473 + - *474 + - *552 responses: '200': description: Response content: application/json: - schema: &548 + schema: &554 type: object properties: status: @@ -83506,13 +84811,13 @@ paths: - description - started_at examples: - default: &549 + default: &555 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &550 + '400': &556 description: Bad Request content: application/json: @@ -83523,7 +84828,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *545 + '403': *551 '404': *6 '503': *192 x-github: @@ -83548,29 +84853,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *466 - - *467 - - *546 + - *473 + - *474 + - *552 responses: '200': description: OK content: application/json: - schema: *548 + schema: *554 examples: - default: *549 + default: *555 '202': description: Accepted content: application/json: - schema: *548 + schema: *554 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *550 + '400': *556 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -83602,9 +84907,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *466 - - *467 - - *546 + - *473 + - *474 + - *552 requestBody: required: false content: @@ -83650,8 +84955,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *550 - '403': *551 + '400': *556 + '403': *557 '404': *6 '422': description: Unprocessable Entity @@ -83675,13 +84980,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *466 - - *467 - - *546 + - *473 + - *474 + - *552 - *19 - *17 - - *552 - - *553 + - *558 + - *559 responses: '200': description: Response @@ -83692,10 +84997,10 @@ paths: items: type: object properties: - ref: *537 - analysis_key: *554 - environment: *555 - category: *556 + ref: *543 + analysis_key: *560 + environment: *561 + category: *562 state: type: - string @@ -83712,7 +85017,7 @@ paths: properties: text: type: string - location: *557 + location: *563 html_url: type: string classifications: @@ -83720,7 +85025,7 @@ paths: description: |- Classifications that have been applied to the file that triggered the alert. For example identifying it as documentation, or a generated file. - items: *558 + items: *564 examples: default: value: @@ -83757,7 +85062,7 @@ paths: end_column: 50 classifications: - source - '403': *545 + '403': *551 '404': *6 '503': *192 x-github: @@ -83791,25 +85096,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *466 - - *467 - - *311 - - *312 + - *473 + - *474 + - *318 + - *319 - *19 - *17 - - *553 + - *559 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *537 + schema: *543 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &559 + schema: &565 type: string description: An identifier for the upload. examples: @@ -83831,23 +85136,23 @@ paths: application/json: schema: type: array - items: &560 + items: &566 type: object properties: - ref: *537 - commit_sha: &568 + ref: *543 + commit_sha: &574 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *554 + analysis_key: *560 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *556 + category: *562 error: type: string examples: @@ -83872,8 +85177,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *559 - tool: *543 + sarif_id: *565 + tool: *549 deletable: type: boolean warning: @@ -83935,7 +85240,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *545 + '403': *551 '404': *6 '503': *192 x-github: @@ -83971,8 +85276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -83985,7 +85290,7 @@ paths: description: Response content: application/json: - schema: *560 + schema: *566 examples: response: summary: application/json response @@ -84039,7 +85344,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *545 + '403': *551 '404': *6 '422': description: Response if analysis could not be processed @@ -84126,8 +85431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -84183,7 +85488,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *551 + '403': *557 '404': *6 '503': *192 x-github: @@ -84205,8 +85510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -84214,7 +85519,7 @@ paths: application/json: schema: type: array - items: &561 + items: &567 title: CodeQL Database description: A CodeQL database. type: object @@ -84326,7 +85631,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *545 + '403': *551 '404': *6 '503': *192 x-github: @@ -84355,8 +85660,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - name: language in: path description: The language of the CodeQL database. @@ -84368,7 +85673,7 @@ paths: description: Response content: application/json: - schema: *561 + schema: *567 examples: default: value: @@ -84400,9 +85705,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &595 + '302': &601 description: Found - '403': *545 + '403': *551 '404': *6 '503': *192 x-github: @@ -84424,8 +85729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *466 - - *467 + - *473 + - *474 - name: language in: path description: The language of the CodeQL database. @@ -84435,7 +85740,7 @@ paths: responses: '204': description: Response - '403': *551 + '403': *557 '404': *6 '503': *192 x-github: @@ -84463,8 +85768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -84473,7 +85778,7 @@ paths: type: object additionalProperties: false properties: - language: &562 + language: &568 type: string description: The language targeted by the CodeQL query enum: @@ -84553,7 +85858,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &566 + schema: &572 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -84563,7 +85868,7 @@ paths: description: The ID of the variant analysis. controller_repo: *120 actor: *4 - query_language: *562 + query_language: *568 query_pack_url: type: string description: The download url for the query pack. @@ -84611,7 +85916,7 @@ paths: items: type: object properties: - repository: &563 + repository: &569 title: Repository Identifier description: Repository Identifier type: object @@ -84653,7 +85958,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &567 + analysis_status: &573 type: string description: The new status of the CodeQL variant analysis repository task. @@ -84685,7 +85990,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &564 + access_mismatch_repos: &570 type: object properties: repository_count: @@ -84700,7 +86005,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *563 + items: *569 required: - repository_count - repositories @@ -84723,8 +86028,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *564 - over_limit_repos: *564 + no_codeql_db_repos: *570 + over_limit_repos: *570 required: - access_mismatch_repos - not_found_repos @@ -84740,7 +86045,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &565 + value: &571 summary: Default response value: id: 1 @@ -84886,10 +86191,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *565 + value: *571 repository_lists: summary: Response for a successful variant analysis submission - value: *565 + value: *571 '404': *6 '422': description: Unable to process variant analysis submission @@ -84917,8 +86222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *466 - - *467 + - *473 + - *474 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -84930,9 +86235,9 @@ paths: description: Response content: application/json: - schema: *566 + schema: *572 examples: - default: *565 + default: *571 '404': *6 '503': *192 x-github: @@ -84955,7 +86260,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *466 + - *473 - name: repo in: path description: The name of the controller repository. @@ -84990,7 +86295,7 @@ paths: type: object properties: repository: *120 - analysis_status: *567 + analysis_status: *573 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -85115,8 +86420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -85207,7 +86512,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *545 + '403': *551 '404': *6 '503': *192 x-github: @@ -85228,8 +86533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -85323,7 +86628,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *551 + '403': *557 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -85394,8 +86699,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -85403,7 +86708,7 @@ paths: schema: type: object properties: - commit_sha: *568 + commit_sha: *574 ref: type: string description: |- @@ -85463,7 +86768,7 @@ paths: schema: type: object properties: - id: *559 + id: *565 url: type: string description: The REST API URL for checking the status of the upload. @@ -85477,7 +86782,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *551 + '403': *557 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -85500,8 +86805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *466 - - *467 + - *473 + - *474 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -85549,7 +86854,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *545 + '403': *551 '404': description: Not Found if the sarif id does not match any upload '503': *192 @@ -85574,8 +86879,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -85656,8 +86961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-codeowners-errors parameters: - - *466 - - *467 + - *473 + - *474 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -85785,8 +87090,8 @@ paths: parameters: - *17 - *19 - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -85802,7 +87107,7 @@ paths: type: integer codespaces: type: array - items: *385 + items: *392 examples: default: value: @@ -86100,8 +87405,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -86165,17 +87470,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *385 + schema: *392 examples: - default: *569 + default: *575 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *385 + schema: *392 examples: - default: *569 + default: *575 '400': *14 '401': *23 '403': *27 @@ -86204,8 +87509,8 @@ paths: parameters: - *17 - *19 - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -86269,8 +87574,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -86307,9 +87612,9 @@ paths: type: integer machines: type: array - items: *570 + items: *576 examples: - default: &804 + default: &808 value: total_count: 2 machines: @@ -86349,8 +87654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *466 - - *467 + - *473 + - *474 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -86437,8 +87742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *466 - - *467 + - *473 + - *474 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -86507,8 +87812,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -86526,7 +87831,7 @@ paths: type: integer secrets: type: array - items: &574 + items: &580 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -86547,7 +87852,7 @@ paths: - created_at - updated_at examples: - default: *571 + default: *577 headers: Link: *45 x-github: @@ -86570,16 +87875,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: *572 + schema: *578 examples: - default: *573 + default: *579 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86599,17 +87904,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *466 - - *467 + - *473 + - *474 - *288 responses: '200': description: Response content: application/json: - schema: *574 + schema: *580 examples: - default: *575 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86629,8 +87934,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *466 - - *467 + - *473 + - *474 - *288 requestBody: required: true @@ -86683,8 +87988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *466 - - *467 + - *473 + - *474 - *288 responses: '204': @@ -86713,8 +88018,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *466 - - *467 + - *473 + - *474 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -86752,7 +88057,7 @@ paths: application/json: schema: type: array - items: &576 + items: &582 title: Collaborator description: Collaborator type: object @@ -86945,8 +88250,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *466 - - *467 + - *473 + - *474 - *140 responses: '204': @@ -86993,8 +88298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *466 - - *467 + - *473 + - *474 - *140 requestBody: required: false @@ -87021,7 +88326,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &653 + schema: &657 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -87249,8 +88554,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *466 - - *467 + - *473 + - *474 - *140 responses: '204': @@ -87282,8 +88587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *466 - - *467 + - *473 + - *474 - *140 responses: '200': @@ -87304,7 +88609,7 @@ paths: user: anyOf: - type: 'null' - - *576 + - *582 required: - permission - role_name @@ -87358,8 +88663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -87369,7 +88674,7 @@ paths: application/json: schema: type: array - items: &577 + items: &583 title: Commit Comment description: Commit Comment type: object @@ -87427,7 +88732,7 @@ paths: - created_at - updated_at examples: - default: &582 + default: &588 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -87486,17 +88791,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#get-a-commit-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 responses: '200': description: Response content: application/json: - schema: *577 + schema: *583 examples: - default: &583 + default: &589 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -87553,8 +88858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#update-a-commit-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 requestBody: required: true @@ -87577,7 +88882,7 @@ paths: description: Response content: application/json: - schema: *577 + schema: *583 examples: default: value: @@ -87628,8 +88933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#delete-a-commit-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 responses: '204': @@ -87651,8 +88956,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). @@ -87679,7 +88984,7 @@ paths: application/json: schema: type: array - items: &578 + items: &584 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -87723,7 +89028,7 @@ paths: - content - created_at examples: - default: &656 + default: &660 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -87768,8 +89073,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 requestBody: required: true @@ -87802,9 +89107,9 @@ paths: description: Reaction exists content: application/json: - schema: *578 + schema: *584 examples: - default: &579 + default: &585 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -87833,9 +89138,9 @@ paths: description: Reaction created content: application/json: - schema: *578 + schema: *584 examples: - default: *579 + default: *585 '422': *15 x-github: githubCloudOnly: false @@ -87857,10 +89162,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *466 - - *467 + - *473 + - *474 - *233 - - &657 + - &661 name: reaction_id description: The unique identifier of the reaction. in: path @@ -87915,8 +89220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-commits parameters: - - *466 - - *467 + - *473 + - *474 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -87972,9 +89277,9 @@ paths: application/json: schema: type: array - items: *580 + items: *586 examples: - default: &706 + default: &710 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -88068,9 +89373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-branches-for-head-commit parameters: - - *466 - - *467 - - &581 + - *473 + - *474 + - &587 name: commit_sha description: The SHA of the commit. in: path @@ -88142,9 +89447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#list-commit-comments parameters: - - *466 - - *467 - - *581 + - *473 + - *474 + - *587 - *17 - *19 responses: @@ -88154,9 +89459,9 @@ paths: application/json: schema: type: array - items: *577 + items: *583 examples: - default: *582 + default: *588 headers: Link: *45 x-github: @@ -88184,9 +89489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/comments#create-a-commit-comment parameters: - - *466 - - *467 - - *581 + - *473 + - *474 + - *587 requestBody: required: true content: @@ -88221,9 +89526,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *583 examples: - default: *583 + default: *589 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -88251,9 +89556,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *466 - - *467 - - *581 + - *473 + - *474 + - *587 - *17 - *19 responses: @@ -88263,9 +89568,9 @@ paths: application/json: schema: type: array - items: *584 + items: *590 examples: - default: &698 + default: &702 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -88802,11 +90107,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#get-a-commit parameters: - - *466 - - *467 + - *473 + - *474 - *19 - *17 - - &585 + - &591 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -88821,9 +90126,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *586 examples: - default: &684 + default: &688 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -88911,7 +90216,7 @@ paths: schema: type: string examples: - default: &592 + default: &598 value: | diff --git a/testfile b/testfile index 9bdeaeb..912c7ef 100644 @@ -88924,7 +90229,7 @@ paths: schema: type: string examples: - default: &593 + default: &599 value: | From ac3282a2725be3b1d4979169a7a311c89066af1c Mon Sep 17 00:00:00 2001 From: Mona Lisa <87831417+monalisa@users.noreply.github.com> @@ -88977,11 +90282,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *466 - - *467 - - *585 - - *586 - - *587 + - *473 + - *474 + - *591 + - *592 + - *593 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -89015,9 +90320,9 @@ paths: type: integer check_runs: type: array - items: *530 + items: *536 examples: - default: *588 + default: *594 headers: Link: *45 x-github: @@ -89042,9 +90347,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *466 - - *467 - - *585 + - *473 + - *474 + - *591 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -89052,7 +90357,7 @@ paths: schema: type: integer example: 1 - - *586 + - *592 - *17 - *19 responses: @@ -89070,7 +90375,7 @@ paths: type: integer check_suites: type: array - items: *534 + items: *540 examples: default: value: @@ -89270,9 +90575,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *466 - - *467 - - *585 + - *473 + - *474 + - *591 - *17 - *19 responses: @@ -89474,9 +90779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *466 - - *467 - - *585 + - *473 + - *474 + - *591 - *17 - *19 responses: @@ -89486,7 +90791,7 @@ paths: application/json: schema: type: array - items: &759 + items: &763 title: Status description: The status of a commit. type: object @@ -89567,7 +90872,7 @@ paths: site_admin: false headers: Link: *45 - '301': *472 + '301': *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89595,8 +90900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/community#get-community-profile-metrics parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -89629,11 +90934,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *589 + - *595 code_of_conduct_file: anyOf: - type: 'null' - - &590 + - &596 title: Community Health File type: object properties: @@ -89653,19 +90958,19 @@ paths: contributing: anyOf: - type: 'null' - - *590 + - *596 readme: anyOf: - type: 'null' - - *590 + - *596 issue_template: anyOf: - type: 'null' - - *590 + - *596 pull_request_template: anyOf: - type: 'null' - - *590 + - *596 required: - code_of_conduct - code_of_conduct_file @@ -89794,8 +91099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/commits#compare-two-commits parameters: - - *466 - - *467 + - *473 + - *474 - *19 - *17 - name: basehead @@ -89843,8 +91148,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *580 - merge_base_commit: *580 + base_commit: *586 + merge_base_commit: *586 status: type: string enum: @@ -89868,10 +91173,10 @@ paths: - 6 commits: type: array - items: *580 + items: *586 files: type: array - items: *591 + items: *597 required: - url - html_url @@ -90117,12 +91422,12 @@ paths: schema: type: string examples: - default: *592 + default: *598 application/vnd.github.patch: schema: type: string examples: - default: *593 + default: *599 '404': *6 '500': *38 '503': *192 @@ -90167,8 +91472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-repository-content parameters: - - *466 - - *467 + - *473 + - *474 - name: path description: path parameter in: path @@ -90338,7 +91643,7 @@ paths: - type - url examples: - response-if-content-is-a-file-github-object: &594 + response-if-content-is-a-file-github-object: &600 summary: Response if content is a file value: type: file @@ -90475,7 +91780,7 @@ paths: - size - type - url - - &711 + - &715 title: Content File description: Content File type: object @@ -90693,7 +91998,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *594 + response-if-content-is-a-file: *600 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -90762,7 +92067,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *595 + '302': *601 '304': *35 x-github: githubCloudOnly: false @@ -90785,8 +92090,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#create-or-update-file-contents parameters: - - *466 - - *467 + - *473 + - *474 - name: path description: path parameter in: path @@ -90881,7 +92186,7 @@ paths: description: Response content: application/json: - schema: &596 + schema: &602 title: File Commit description: File Commit type: object @@ -91037,7 +92342,7 @@ paths: description: Response content: application/json: - schema: *596 + schema: *602 examples: example-for-creating-a-file: value: @@ -91091,7 +92396,7 @@ paths: schema: oneOf: - *3 - - &636 + - &640 description: Repository rule violation was detected type: object properties: @@ -91112,7 +92417,7 @@ paths: items: type: object properties: - placeholder_id: &751 + placeholder_id: &755 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -91144,8 +92449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#delete-a-file parameters: - - *466 - - *467 + - *473 + - *474 - name: path description: path parameter in: path @@ -91206,7 +92511,7 @@ paths: description: Response content: application/json: - schema: *596 + schema: *602 examples: default: value: @@ -91261,8 +92566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-contributors parameters: - - *466 - - *467 + - *473 + - *474 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -91386,24 +92691,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *466 - - *467 - - *332 - - *333 - - *334 - - *335 - - *336 + - *473 + - *474 + - *339 + - *340 + - *341 + - *342 + - *343 - 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 - - *337 - - *597 - - *338 - - *339 - - *340 + - *344 + - *603 + - *345 + - *346 + - *347 - *110 - *108 - *109 @@ -91415,7 +92720,7 @@ paths: application/json: schema: type: array - items: &601 + items: &607 type: object description: A Dependabot alert. properties: @@ -91466,7 +92771,7 @@ paths: - transitive - inconclusive - - security_advisory: *598 + security_advisory: *604 security_vulnerability: *131 url: *132 html_url: *133 @@ -91497,8 +92802,8 @@ paths: dismissal. maxLength: 280 fixed_at: *137 - auto_dismissed_at: *599 - dismissal_request: *600 + auto_dismissed_at: *605 + dismissal_request: *606 assignees: type: array description: The users assigned to this alert. @@ -91753,9 +93058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *466 - - *467 - - &602 + - *473 + - *474 + - &608 name: alert_number in: path description: |- @@ -91770,7 +93075,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *607 examples: default: value: @@ -91902,9 +93207,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *466 - - *467 - - *602 + - *473 + - *474 + - *608 requestBody: required: true content: @@ -91960,7 +93265,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *607 examples: default: value: @@ -92090,8 +93395,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#list-repository-secrets parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -92109,7 +93414,7 @@ paths: type: integer secrets: type: array - items: &605 + items: &611 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -92163,16 +93468,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: *603 + schema: *609 examples: - default: *604 + default: *610 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92192,15 +93497,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#get-a-repository-secret parameters: - - *466 - - *467 + - *473 + - *474 - *288 responses: '200': description: Response content: application/json: - schema: *605 + schema: *611 examples: default: value: @@ -92226,8 +93531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *466 - - *467 + - *473 + - *474 - *288 requestBody: required: true @@ -92280,8 +93585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *466 - - *467 + - *473 + - *474 - *288 responses: '204': @@ -92304,8 +93609,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *466 - - *467 + - *473 + - *474 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -92479,8 +93784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -92739,8 +94044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#fetch-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - name: sbom_uuid in: path required: true @@ -92751,7 +94056,7 @@ paths: '302': description: Redirects to a temporary download URL for the completed SBOM. headers: - Location: *606 + Location: *612 '202': description: SBOM is still being processed, no content is returned. '404': *6 @@ -92772,8 +94077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/sboms#request-generation-of-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '201': description: Response @@ -92811,8 +94116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -92895,7 +94200,7 @@ paths: - version - url additionalProperties: false - metadata: &607 + metadata: &613 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -92934,7 +94239,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *607 + metadata: *613 resolved: type: object description: A collection of resolved package dependencies. @@ -92948,7 +94253,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *607 + metadata: *613 relationship: type: string description: A notation of whether a dependency is requested @@ -93081,8 +94386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#list-deployments parameters: - - *466 - - *467 + - *473 + - *474 - name: sha description: The SHA recorded at creation time. in: query @@ -93123,9 +94428,9 @@ paths: application/json: schema: type: array - items: *608 + items: *614 examples: - default: *609 + default: *615 headers: Link: *45 x-github: @@ -93191,8 +94496,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#create-a-deployment parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -93274,7 +94579,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *614 examples: simple-example: summary: Simple example @@ -93347,9 +94652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#get-a-deployment parameters: - - *466 - - *467 - - &610 + - *473 + - *474 + - &616 name: deployment_id description: deployment_id parameter in: path @@ -93361,7 +94666,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *614 examples: default: value: @@ -93426,9 +94731,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/deployments#delete-a-deployment parameters: - - *466 - - *467 - - *610 + - *473 + - *474 + - *616 responses: '204': description: Response @@ -93450,9 +94755,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#list-deployment-statuses parameters: - - *466 - - *467 - - *610 + - *473 + - *474 + - *616 - *17 - *19 responses: @@ -93462,7 +94767,7 @@ paths: application/json: schema: type: array - items: &611 + items: &617 title: Deployment Status description: The status of a deployment. type: object @@ -93626,9 +94931,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#create-a-deployment-status parameters: - - *466 - - *467 - - *610 + - *473 + - *474 + - *616 requestBody: required: true content: @@ -93703,9 +95008,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *617 examples: - default: &612 + default: &618 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -93761,9 +95066,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/statuses#get-a-deployment-status parameters: - - *466 - - *467 - - *610 + - *473 + - *474 + - *616 - name: status_id in: path required: true @@ -93774,9 +95079,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *617 examples: - default: *612 + default: *618 '404': *6 x-github: githubCloudOnly: false @@ -93803,12 +95108,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *466 - - *467 - - *613 - - *614 - - *615 - - *616 + - *473 + - *474 + - *619 + - *620 + - *621 + - *622 - *17 - *19 responses: @@ -93818,9 +95123,9 @@ paths: application/json: schema: type: array - items: *617 + items: *623 examples: - default: *618 + default: *624 '404': *6 '403': *27 '500': *38 @@ -93844,8 +95149,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *466 - - *467 + - *473 + - *474 - name: alert_number in: path required: true @@ -93857,7 +95162,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *617 + schema: *623 examples: default: value: @@ -93913,8 +95218,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *466 - - *467 + - *473 + - *474 - name: alert_number in: path required: true @@ -93973,12 +95278,12 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *466 - - *467 - - *613 - - *614 - - *615 - - *616 + - *473 + - *474 + - *619 + - *620 + - *621 + - *622 - *17 - *19 responses: @@ -93988,9 +95293,9 @@ paths: application/json: schema: type: array - items: *619 + items: *625 examples: - default: *620 + default: *626 '404': *6 '403': *27 '500': *38 @@ -94014,8 +95319,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *466 - - *467 + - *473 + - *474 - name: alert_number in: path required: true @@ -94027,7 +95332,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *619 + schema: *625 examples: default: value: @@ -94078,8 +95383,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *466 - - *467 + - *473 + - *474 - name: alert_number in: path required: true @@ -94117,7 +95422,7 @@ paths: description: The created dismissal request. content: application/json: - schema: *619 + schema: *625 examples: default: value: @@ -94168,8 +95473,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *466 - - *467 + - *473 + - *474 - name: alert_number in: path required: true @@ -94240,8 +95545,8 @@ paths: category: dependabot subcategory: alert-dismissal-requests parameters: - - *466 - - *467 + - *473 + - *474 - name: alert_number in: path required: true @@ -94274,12 +95579,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *466 - - *467 + - *473 + - *474 - *103 - *104 - *105 - - *346 + - *353 - *17 - *19 responses: @@ -94289,9 +95594,9 @@ paths: application/json: schema: type: array - items: *348 + items: *355 examples: - default: *349 + default: *356 '404': *6 '403': *27 '500': *38 @@ -94316,8 +95621,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *466 - - *467 + - *473 + - *474 - name: alert_number in: path required: true @@ -94329,7 +95634,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *348 + schema: *355 examples: default: value: @@ -94387,8 +95692,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *466 - - *467 + - *473 + - *474 - name: alert_number in: path required: true @@ -94457,8 +95762,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -94515,8 +95820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#list-environments parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -94534,7 +95839,7 @@ paths: - 5 environments: type: array - items: &622 + items: &628 title: Environment description: Details of a deployment environment type: object @@ -94596,7 +95901,7 @@ paths: type: string examples: - wait_timer - wait_timer: &624 + wait_timer: &630 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -94638,11 +95943,11 @@ paths: items: type: object properties: - type: *621 + type: *627 reviewer: anyOf: - *4 - - *307 + - *314 required: - id - node_id @@ -94665,7 +95970,7 @@ paths: - id - node_id - type - deployment_branch_policy: &625 + deployment_branch_policy: &631 type: - object - 'null' @@ -94782,9 +96087,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#get-an-environment parameters: - - *466 - - *467 - - &623 + - *473 + - *474 + - &629 name: environment_name in: path required: true @@ -94797,9 +96102,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *628 examples: - default: &626 + default: &632 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -94883,9 +96188,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#create-or-update-an-environment parameters: - - *466 - - *467 - - *623 + - *473 + - *474 + - *629 requestBody: required: false content: @@ -94895,7 +96200,7 @@ paths: - object - 'null' properties: - wait_timer: *624 + wait_timer: *630 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -94914,14 +96219,14 @@ paths: items: type: object properties: - type: *621 + type: *627 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *625 + deployment_branch_policy: *631 additionalProperties: false examples: default: @@ -94941,9 +96246,9 @@ paths: description: Response content: application/json: - schema: *622 + schema: *628 examples: - default: *626 + default: *632 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -94967,9 +96272,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/environments#delete-an-environment parameters: - - *466 - - *467 - - *623 + - *473 + - *474 + - *629 responses: '204': description: Default response @@ -94994,9 +96299,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *466 - - *467 - - *623 + - *473 + - *474 + - *629 - *17 - *19 responses: @@ -95015,7 +96320,7 @@ paths: - 2 branch_policies: type: array - items: &627 + items: &633 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -95076,9 +96381,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *466 - - *467 - - *623 + - *473 + - *474 + - *629 requestBody: required: true content: @@ -95126,9 +96431,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *633 examples: - example-wildcard: &628 + example-wildcard: &634 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -95170,10 +96475,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *466 - - *467 - - *623 - - &629 + - *473 + - *474 + - *629 + - &635 name: branch_policy_id in: path required: true @@ -95185,9 +96490,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *633 examples: - default: *628 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95206,10 +96511,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *466 - - *467 - - *623 + - *473 + - *474 - *629 + - *635 requestBody: required: true content: @@ -95238,9 +96543,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *633 examples: - default: *628 + default: *634 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95259,10 +96564,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *466 - - *467 - - *623 + - *473 + - *474 - *629 + - *635 responses: '204': description: Response @@ -95287,9 +96592,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *623 - - *467 - - *466 + - *629 + - *474 + - *473 responses: '200': description: List of deployment protection rules @@ -95306,7 +96611,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &630 + items: &636 title: Deployment protection rule description: Deployment protection rule type: object @@ -95328,7 +96633,7 @@ paths: for the environment. examples: - true - app: &631 + app: &637 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -95431,9 +96736,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *623 - - *467 - - *466 + - *629 + - *474 + - *473 requestBody: content: application/json: @@ -95454,9 +96759,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *630 + schema: *636 examples: - default: &632 + default: &638 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -95491,9 +96796,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *623 - - *467 - - *466 + - *629 + - *474 + - *473 - *19 - *17 responses: @@ -95513,7 +96818,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *631 + items: *637 examples: default: value: @@ -95548,10 +96853,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *466 - - *467 - - *623 - - &633 + - *473 + - *474 + - *629 + - &639 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -95563,9 +96868,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *636 examples: - default: *632 + default: *638 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95586,10 +96891,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *623 - - *467 - - *466 - - *633 + - *629 + - *474 + - *473 + - *639 responses: '204': description: Response @@ -95615,9 +96920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#list-environment-secrets parameters: - - *466 - - *467 - - *623 + - *473 + - *474 + - *629 - *17 - *19 responses: @@ -95635,9 +96940,9 @@ paths: type: integer secrets: type: array - items: *497 + items: *503 examples: - default: *498 + default: *504 headers: Link: *45 x-github: @@ -95662,17 +96967,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-public-key parameters: - - *466 - - *467 - - *623 + - *473 + - *474 + - *629 responses: '200': description: Response content: application/json: - schema: *499 + schema: *294 examples: - default: *500 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95694,18 +96999,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#get-an-environment-secret parameters: - - *466 - - *467 - - *623 + - *473 + - *474 + - *629 - *288 responses: '200': description: Response content: application/json: - schema: *497 + schema: *503 examples: - default: *634 + default: *517 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95727,9 +97032,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *466 - - *467 - - *623 + - *473 + - *474 + - *629 - *288 requestBody: required: true @@ -95787,9 +97092,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/secrets#delete-an-environment-secret parameters: - - *466 - - *467 - - *623 + - *473 + - *474 + - *629 - *288 responses: '204': @@ -95815,10 +97120,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#list-environment-variables parameters: - - *466 - - *467 - - *623 - - *484 + - *473 + - *474 + - *629 + - *297 - *19 responses: '200': @@ -95835,9 +97140,9 @@ paths: type: integer variables: type: array - items: *501 + items: *505 examples: - default: *502 + default: *506 headers: Link: *45 x-github: @@ -95860,9 +97165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#create-an-environment-variable parameters: - - *466 - - *467 - - *623 + - *473 + - *474 + - *629 requestBody: required: true content: @@ -95914,18 +97219,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#get-an-environment-variable parameters: - - *466 - - *467 - - *623 + - *473 + - *474 + - *629 - *291 responses: '200': description: Response content: application/json: - schema: *501 + schema: *505 examples: - default: *635 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95946,10 +97251,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#update-an-environment-variable parameters: - - *466 - - *467 + - *473 + - *474 - *291 - - *623 + - *629 requestBody: required: true content: @@ -95991,10 +97296,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/actions/variables#delete-an-environment-variable parameters: - - *466 - - *467 + - *473 + - *474 - *291 - - *623 + - *629 responses: '204': description: Response @@ -96016,8 +97321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/events#list-repository-events parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -96085,8 +97390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#list-forks parameters: - - *466 - - *467 + - *473 + - *474 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -96245,8 +97550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/forks#create-a-fork parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: false content: @@ -96279,9 +97584,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *478 examples: - default: *473 + default: *480 '400': *14 '422': *15 '403': *27 @@ -96302,8 +97607,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#create-a-blob parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -96363,7 +97668,7 @@ paths: schema: oneOf: - *253 - - *636 + - *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96388,8 +97693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/blobs#get-a-blob parameters: - - *466 - - *467 + - *473 + - *474 - name: file_sha in: path required: true @@ -96489,8 +97794,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#create-a-commit parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -96599,7 +97904,7 @@ paths: description: Response content: application/json: - schema: &637 + schema: &641 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -96826,15 +98131,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/commits#get-a-commit-object parameters: - - *466 - - *467 - - *581 + - *473 + - *474 + - *587 responses: '200': description: Response content: application/json: - schema: *637 + schema: *641 examples: default: value: @@ -96890,9 +98195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#list-matching-references parameters: - - *466 - - *467 - - &638 + - *473 + - *474 + - &642 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -96909,7 +98214,7 @@ paths: application/json: schema: type: array - items: &639 + items: &643 title: Git Reference description: Git references within a repository type: object @@ -96985,17 +98290,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference parameters: - - *466 - - *467 - - *638 + - *473 + - *474 + - *642 responses: '200': description: Response content: application/json: - schema: *639 + schema: *643 examples: - default: &640 + default: &644 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -97024,8 +98329,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#create-a-reference parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -97054,9 +98359,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *643 examples: - default: *640 + default: *644 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -97082,9 +98387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#update-a-reference parameters: - - *466 - - *467 - - *638 + - *473 + - *474 + - *642 requestBody: required: true content: @@ -97113,9 +98418,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *643 examples: - default: *640 + default: *644 '422': *15 '409': *119 x-github: @@ -97133,9 +98438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/refs#delete-a-reference parameters: - - *466 - - *467 - - *638 + - *473 + - *474 + - *642 responses: '204': description: Response @@ -97190,8 +98495,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#create-a-tag-object parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -97258,7 +98563,7 @@ paths: description: Response content: application/json: - schema: &642 + schema: &646 title: Git Tag description: Metadata for a Git tag type: object @@ -97314,7 +98619,7 @@ paths: - sha - type - url - verification: *641 + verification: *645 required: - sha - url @@ -97324,7 +98629,7 @@ paths: - tag - message examples: - default: &643 + default: &647 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -97397,8 +98702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/tags#get-a-tag parameters: - - *466 - - *467 + - *473 + - *474 - name: tag_sha in: path required: true @@ -97409,9 +98714,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *646 examples: - default: *643 + default: *647 '404': *6 '409': *119 x-github: @@ -97435,8 +98740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#create-a-tree parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -97510,7 +98815,7 @@ paths: description: Response content: application/json: - schema: &644 + schema: &648 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -97612,8 +98917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/git/trees#get-a-tree parameters: - - *466 - - *467 + - *473 + - *474 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -97636,7 +98941,7 @@ paths: description: Response content: application/json: - schema: *644 + schema: *648 examples: default-response: summary: Default response @@ -97695,8 +99000,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-repository-webhooks parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -97706,7 +99011,7 @@ paths: application/json: schema: type: array - items: &645 + items: &649 title: Webhook description: Webhooks for repositories. type: object @@ -97769,7 +99074,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &896 + last_response: &900 title: Hook Response type: object properties: @@ -97846,8 +99151,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#create-a-repository-webhook parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: false content: @@ -97900,9 +99205,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *649 examples: - default: &646 + default: &650 value: type: Repository id: 12345678 @@ -97950,17 +99255,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-repository-webhook parameters: - - *466 - - *467 - - *352 + - *473 + - *474 + - *359 responses: '200': description: Response content: application/json: - schema: *645 + schema: *649 examples: - default: *646 + default: *650 '404': *6 x-github: githubCloudOnly: false @@ -97980,9 +99285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-repository-webhook parameters: - - *466 - - *467 - - *352 + - *473 + - *474 + - *359 requestBody: required: true content: @@ -98027,9 +99332,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *649 examples: - default: *646 + default: *650 '422': *15 '404': *6 x-github: @@ -98050,9 +99355,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *466 - - *467 - - *352 + - *473 + - *474 + - *359 responses: '204': description: Response @@ -98076,9 +99381,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *466 - - *467 - - *352 + - *473 + - *474 + - *359 responses: '200': description: Response @@ -98105,9 +99410,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *466 - - *467 - - *352 + - *473 + - *474 + - *359 requestBody: required: false content: @@ -98151,12 +99456,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *466 - - *467 - - *352 + - *473 + - *474 + - *359 - *17 - - *353 - - *354 + - *360 + - *361 responses: '200': description: Response @@ -98164,9 +99469,9 @@ paths: application/json: schema: type: array - items: *355 + items: *362 examples: - default: *356 + default: *363 '400': *14 '422': *15 x-github: @@ -98185,18 +99490,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *466 - - *467 - - *352 + - *473 + - *474 + - *359 - *16 responses: '200': description: Response content: application/json: - schema: *357 + schema: *364 examples: - default: *358 + default: *365 '400': *14 '422': *15 x-github: @@ -98215,9 +99520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *466 - - *467 - - *352 + - *473 + - *474 + - *359 - *16 responses: '202': *37 @@ -98240,9 +99545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *466 - - *467 - - *352 + - *473 + - *474 + - *359 responses: '204': description: Response @@ -98267,9 +99572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *466 - - *467 - - *352 + - *473 + - *474 + - *359 responses: '204': description: Response @@ -98292,8 +99597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response if immutable releases are enabled @@ -98341,8 +99646,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-immutable-releases parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': *126 '409': *119 @@ -98362,8 +99667,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-immutable-releases parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': *126 '409': *119 @@ -98420,14 +99725,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-an-import-status parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: &647 + schema: &651 title: Import description: A repository import from an external source. type: object @@ -98534,7 +99839,7 @@ paths: - html_url - authors_url examples: - default: &650 + default: &654 value: vcs: subversion use_lfs: true @@ -98550,7 +99855,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &648 + '503': &652 description: Unavailable due to service under maintenance. content: application/json: @@ -98579,8 +99884,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#start-an-import parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -98628,7 +99933,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *651 examples: default: value: @@ -98653,7 +99958,7 @@ paths: type: string '422': *15 '404': *6 - '503': *648 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98681,8 +99986,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-an-import parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: false content: @@ -98734,7 +100039,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *651 examples: example-1: summary: Example 1 @@ -98782,7 +100087,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *648 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98805,12 +100110,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#cancel-an-import parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response - '503': *648 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98836,9 +100141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-commit-authors parameters: - - *466 - - *467 - - &826 + - *473 + - *474 + - &830 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -98852,7 +100157,7 @@ paths: application/json: schema: type: array - items: &649 + items: &653 title: Porter Author description: Porter Author type: object @@ -98906,7 +100211,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *648 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98931,8 +100236,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#map-a-commit-author parameters: - - *466 - - *467 + - *473 + - *474 - name: author_id in: path required: true @@ -98962,7 +100267,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *653 examples: default: value: @@ -98975,7 +100280,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *648 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98999,8 +100304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#get-large-files parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -99041,7 +100346,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *648 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99069,8 +100374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -99097,11 +100402,11 @@ paths: description: Response content: application/json: - schema: *647 + schema: *651 examples: - default: *650 + default: *654 '422': *15 - '503': *648 + '503': *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99124,8 +100429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -99133,8 +100438,8 @@ paths: application/json: schema: *20 examples: - default: *370 - '301': *472 + default: *377 + '301': *479 '404': *6 x-github: githubCloudOnly: false @@ -99154,8 +100459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -99163,12 +100468,12 @@ paths: application/json: schema: anyOf: - - *372 + - *379 - type: object properties: {} additionalProperties: false examples: - default: &652 + default: &656 value: limit: collaborators_only origin: repository @@ -99193,13 +100498,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: application/json: - schema: *651 + schema: *655 examples: default: summary: Example request body @@ -99211,9 +100516,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *379 examples: - default: *652 + default: *656 '409': description: Response x-github: @@ -99235,8 +100540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -99259,8 +100564,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#list-repository-invitations parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -99270,9 +100575,9 @@ paths: application/json: schema: type: array - items: *653 + items: *657 examples: - default: &818 + default: &822 value: - id: 1 repository: @@ -99403,9 +100708,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *466 - - *467 - - *376 + - *473 + - *474 + - *383 requestBody: required: false content: @@ -99434,7 +100739,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *657 examples: default: value: @@ -99565,9 +100870,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *466 - - *467 - - *376 + - *473 + - *474 + - *383 responses: '204': description: Response @@ -99598,8 +100903,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#list-repository-issues parameters: - - *466 - - *467 + - *473 + - *474 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -99647,7 +100952,7 @@ paths: required: false schema: type: string - - *383 + - *390 - name: sort description: What to sort results by. in: query @@ -99672,7 +100977,7 @@ paths: type: array items: *219 examples: - default: &662 + default: &666 value: - id: 1 node_id: MDU6SXNzdWUx @@ -99821,7 +101126,7 @@ paths: state_reason: completed headers: Link: *45 - '301': *472 + '301': *479 '422': *15 '404': *6 x-github: @@ -99850,8 +101155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#create-an-issue parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -99956,7 +101261,7 @@ paths: application/json: schema: *219 examples: - default: &659 + default: &663 value: id: 1 node_id: MDU6SXNzdWUx @@ -100094,7 +101399,7 @@ paths: '422': *15 '503': *192 '404': *6 - '410': *654 + '410': *658 x-github: triggersNotification: true githubCloudOnly: false @@ -100122,8 +101427,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *241 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -100146,7 +101451,7 @@ paths: type: array items: *220 examples: - default: &661 + default: &665 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -100204,8 +101509,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 responses: '200': @@ -100214,7 +101519,7 @@ paths: application/json: schema: *220 examples: - default: &655 + default: &659 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -100269,8 +101574,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#update-an-issue-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 requestBody: required: true @@ -100295,7 +101600,7 @@ paths: application/json: schema: *220 examples: - default: *655 + default: *659 '422': *15 x-github: githubCloudOnly: false @@ -100313,8 +101618,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#delete-an-issue-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 responses: '204': @@ -100343,8 +101648,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#pin-an-issue-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 responses: '200': @@ -100407,7 +101712,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *654 + '410': *658 '422': *15 x-github: githubCloudOnly: false @@ -100424,8 +101729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#unpin-an-issue-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 responses: '204': @@ -100433,7 +101738,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *654 + '410': *658 '503': *192 x-github: githubCloudOnly: false @@ -100451,8 +101756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). @@ -100479,9 +101784,9 @@ paths: application/json: schema: type: array - items: *578 + items: *584 examples: - default: *656 + default: *660 headers: Link: *45 '404': *6 @@ -100502,8 +101807,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 requestBody: required: true @@ -100536,16 +101841,16 @@ paths: description: Reaction exists content: application/json: - schema: *578 + schema: *584 examples: - default: *579 + default: *585 '201': description: Reaction created content: application/json: - schema: *578 + schema: *584 examples: - default: *579 + default: *585 '422': *15 x-github: githubCloudOnly: false @@ -100567,10 +101872,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *466 - - *467 + - *473 + - *474 - *233 - - *657 + - *661 responses: '204': description: Response @@ -100590,8 +101895,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -100601,7 +101906,7 @@ paths: application/json: schema: type: array - items: &658 + items: &662 title: Issue Event description: Issue Event type: object @@ -100681,7 +101986,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *307 + requested_team: *314 dismissed_review: title: Issue Event Dismissed Review type: object @@ -100941,8 +102246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#get-an-issue-event parameters: - - *466 - - *467 + - *473 + - *474 - name: event_id in: path required: true @@ -100953,7 +102258,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *662 examples: default: value: @@ -101146,7 +102451,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *654 + '410': *658 '403': *27 x-github: githubCloudOnly: false @@ -101180,9 +102485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue parameters: - - *466 - - *467 - - &660 + - *473 + - *474 + - &664 name: issue_number description: The number that identifies the issue. in: path @@ -101198,7 +102503,7 @@ paths: examples: default: summary: Issue - value: *659 + value: *663 pinned_comment: summary: Issue with pinned comment value: @@ -101378,9 +102683,9 @@ paths: site_admin: false author_association: COLLABORATOR state_reason: completed - '301': *472 + '301': *479 '404': *6 - '410': *654 + '410': *658 '304': *35 x-github: githubCloudOnly: false @@ -101405,9 +102710,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#update-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: false content: @@ -101542,13 +102847,13 @@ paths: application/json: schema: *219 examples: - default: *659 + default: *663 '422': *15 '503': *192 '403': *27 - '301': *472 + '301': *479 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101566,9 +102871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: false content: @@ -101596,7 +102901,7 @@ paths: application/json: schema: *219 examples: - default: *659 + default: *663 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101612,9 +102917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: content: application/json: @@ -101641,7 +102946,7 @@ paths: application/json: schema: *219 examples: - default: *659 + default: *663 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101663,9 +102968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - name: assignee in: path required: true @@ -101705,9 +103010,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#list-issue-comments parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - *224 - *17 - *19 @@ -101720,11 +103025,11 @@ paths: type: array items: *220 examples: - default: *661 + default: *665 headers: Link: *45 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101753,9 +103058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#create-an-issue-comment parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: true content: @@ -101779,14 +103084,14 @@ paths: application/json: schema: *220 examples: - default: *655 + default: *659 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *654 + '410': *658 '422': *15 '404': *6 x-github: @@ -101814,9 +103119,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - *17 - *19 responses: @@ -101828,12 +103133,12 @@ paths: type: array items: *219 examples: - default: *662 + default: *666 headers: Link: *45 - '301': *472 + '301': *479 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101861,9 +103166,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: true content: @@ -101887,15 +103192,15 @@ paths: application/json: schema: *219 examples: - default: *659 + default: *663 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *472 + '301': *479 '403': *27 - '410': *654 + '410': *658 '422': *15 '404': *6 x-github: @@ -101926,9 +103231,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -101942,13 +103247,13 @@ paths: application/json: schema: *219 examples: - default: *659 - '301': *472 + default: *663 + '301': *479 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *654 + '410': *658 x-github: triggersNotification: true githubCloudOnly: false @@ -101974,9 +103279,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - *17 - *19 responses: @@ -101988,12 +103293,12 @@ paths: type: array items: *219 examples: - default: *662 + default: *666 headers: Link: *45 - '301': *472 + '301': *479 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102010,9 +103315,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/events#list-issue-events parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - *17 - *19 responses: @@ -102026,7 +103331,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &666 + - &670 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -102075,7 +103380,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &667 + - &671 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -102203,7 +103508,7 @@ paths: - performed_via_github_app - assignee - assigner - - &668 + - &672 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -102249,7 +103554,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &669 + - &673 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -102295,7 +103600,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &670 + - &674 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -102344,7 +103649,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &671 + - &675 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -102373,7 +103678,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *307 + requested_team: *314 requested_reviewer: *4 required: - review_requester @@ -102386,7 +103691,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &672 + - &676 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -102415,7 +103720,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *307 + requested_team: *314 requested_reviewer: *4 required: - review_requester @@ -102428,7 +103733,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &673 + - &677 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -102484,7 +103789,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &674 + - &678 title: Locked Issue Event description: Locked Issue Event type: object @@ -102529,7 +103834,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &675 + - &679 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -102590,7 +103895,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &676 + - &680 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -102651,7 +103956,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &677 + - &681 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -102712,7 +104017,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &678 + - &682 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -102805,7 +104110,7 @@ paths: color: red headers: Link: *45 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102822,9 +104127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issue-field-values#list-issue-field-values-for-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - *17 - *19 responses: @@ -102834,9 +104139,9 @@ paths: application/json: schema: type: array - items: *663 + items: *667 examples: - default: &664 + default: &668 value: - issue_field_id: 1 node_id: IFT_GDKND @@ -102860,9 +104165,9 @@ paths: value: '2025-12-25' headers: Link: *45 - '301': *472 + '301': *479 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102891,9 +104196,9 @@ 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: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: true content: @@ -102959,9 +104264,9 @@ paths: type: array description: The current issue field values for this issue after adding the new values - items: *663 + items: *667 examples: - default: *664 + default: *668 '400': *14 '403': *27 '404': *6 @@ -102997,9 +104302,9 @@ 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: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: true content: @@ -103066,9 +104371,9 @@ paths: type: array description: The current issue field values for this issue after setting the new values - items: *663 + items: *667 examples: - default: *664 + default: *668 '400': *14 '403': *27 '404': *6 @@ -103099,10 +104404,10 @@ 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: - - *466 - - *467 - - *660 - - *379 + - *473 + - *474 + - *664 + - *386 responses: '204': description: Issue field value deleted successfully @@ -103127,9 +104432,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - *17 - *19 responses: @@ -103141,7 +104446,7 @@ paths: type: array items: *218 examples: - default: &665 + default: &669 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -103159,9 +104464,9 @@ paths: default: false headers: Link: *45 - '301': *472 + '301': *479 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103177,9 +104482,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#add-labels-to-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: false content: @@ -103224,10 +104529,10 @@ paths: type: array items: *218 examples: - default: *665 - '301': *472 + default: *669 + '301': *479 '404': *6 - '410': *654 + '410': *658 '422': *15 x-github: githubCloudOnly: false @@ -103244,9 +104549,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#set-labels-for-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: false content: @@ -103308,10 +104613,10 @@ paths: type: array items: *218 examples: - default: *665 - '301': *472 + default: *669 + '301': *479 '404': *6 - '410': *654 + '410': *658 '422': *15 x-github: githubCloudOnly: false @@ -103328,15 +104633,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 responses: '204': description: Response - '301': *472 + '301': *479 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103355,9 +104660,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - name: name in: path required: true @@ -103381,9 +104686,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *472 + '301': *479 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103403,9 +104708,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#lock-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: false content: @@ -103434,7 +104739,7 @@ paths: '204': description: Response '403': *27 - '410': *654 + '410': *658 '404': *6 '422': *15 x-github: @@ -103452,9 +104757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#unlock-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 responses: '204': description: Response @@ -103484,9 +104789,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#get-parent-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 responses: '200': description: Response @@ -103494,10 +104799,10 @@ paths: application/json: schema: *219 examples: - default: *659 - '301': *472 + default: *663 + '301': *479 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103514,9 +104819,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -103542,13 +104847,13 @@ paths: application/json: schema: type: array - items: *578 + items: *584 examples: - default: *656 + default: *660 headers: Link: *45 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103566,9 +104871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: true content: @@ -103600,16 +104905,16 @@ paths: description: Response content: application/json: - schema: *578 + schema: *584 examples: - default: *579 + default: *585 '201': description: Response content: application/json: - schema: *578 + schema: *584 examples: - default: *579 + default: *585 '422': *15 x-github: githubCloudOnly: false @@ -103631,10 +104936,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *466 - - *467 - - *660 - - *657 + - *473 + - *474 + - *664 + - *661 responses: '204': description: Response @@ -103663,9 +104968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#remove-sub-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: true content: @@ -103689,7 +104994,7 @@ paths: application/json: schema: *219 examples: - default: *659 + default: *663 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -103722,9 +105027,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#list-sub-issues parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - *17 - *19 responses: @@ -103736,11 +105041,11 @@ paths: type: array items: *219 examples: - default: *662 + default: *666 headers: Link: *45 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103768,9 +105073,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#add-sub-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: true content: @@ -103799,14 +105104,14 @@ paths: application/json: schema: *219 examples: - default: *659 + default: *663 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *654 + '410': *658 '422': *15 '404': *6 x-github: @@ -103826,9 +105131,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 requestBody: required: true content: @@ -103861,7 +105166,7 @@ paths: application/json: schema: *219 examples: - default: *659 + default: *663 '403': *27 '404': *6 '422': *7 @@ -103883,9 +105188,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *466 - - *467 - - *660 + - *473 + - *474 + - *664 - *17 - *19 responses: @@ -103900,10 +105205,6 @@ paths: description: Timeline Event type: object anyOf: - - *666 - - *667 - - *668 - - *669 - *670 - *671 - *672 @@ -103913,6 +105214,10 @@ paths: - *676 - *677 - *678 + - *679 + - *680 + - *681 + - *682 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -103969,7 +105274,7 @@ paths: pin: anyOf: - type: 'null' - - *679 + - *683 required: - event - actor @@ -104245,7 +105550,7 @@ paths: type: string comments: type: array - items: &700 + items: &704 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -104486,7 +105791,7 @@ paths: type: string comments: type: array - items: *577 + items: *583 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -104761,7 +106066,7 @@ paths: headers: Link: *45 '404': *6 - '410': *654 + '410': *658 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104778,8 +106083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -104789,7 +106094,7 @@ paths: application/json: schema: type: array - items: &680 + items: &684 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -104857,8 +106162,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -104894,9 +106199,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *684 examples: - default: &681 + default: &685 value: id: 1 key: ssh-rsa AAA... @@ -104930,9 +106235,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *466 - - *467 - - &682 + - *473 + - *474 + - &686 name: key_id description: The unique identifier of the key. in: path @@ -104944,9 +106249,9 @@ paths: description: Response content: application/json: - schema: *680 + schema: *684 examples: - default: *681 + default: *685 '404': *6 x-github: githubCloudOnly: false @@ -104964,9 +106269,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *466 - - *467 - - *682 + - *473 + - *474 + - *686 responses: '204': description: Response @@ -104986,8 +106291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -104999,7 +106304,7 @@ paths: type: array items: *218 examples: - default: *665 + default: *669 headers: Link: *45 '404': *6 @@ -105020,8 +106325,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#create-a-label parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -105059,7 +106364,7 @@ paths: application/json: schema: *218 examples: - default: &683 + default: &687 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -105091,8 +106396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#get-a-label parameters: - - *466 - - *467 + - *473 + - *474 - name: name in: path required: true @@ -105105,7 +106410,7 @@ paths: application/json: schema: *218 examples: - default: *683 + default: *687 '404': *6 x-github: githubCloudOnly: false @@ -105122,8 +106427,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#update-a-label parameters: - - *466 - - *467 + - *473 + - *474 - name: name in: path required: true @@ -105188,8 +106493,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#delete-a-label parameters: - - *466 - - *467 + - *473 + - *474 - name: name in: path required: true @@ -105215,8 +106520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-languages parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -105252,8 +106557,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '202': *37 '403': @@ -105281,8 +106586,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -105308,9 +106613,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *466 - - *467 - - *552 + - *473 + - *474 + - *558 responses: '200': description: Response @@ -105457,8 +106762,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -105523,8 +106828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/branches/branches#merge-a-branch parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -105558,9 +106863,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *580 + schema: *586 examples: - default: *684 + default: *688 '204': description: Response when already merged '404': @@ -105585,8 +106890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#list-milestones parameters: - - *466 - - *467 + - *473 + - *474 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -105627,7 +106932,7 @@ paths: application/json: schema: type: array - items: *414 + items: *421 examples: default: value: @@ -105683,8 +106988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#create-a-milestone parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -105724,9 +107029,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *421 examples: - default: &685 + default: &689 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -105785,9 +107090,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#get-a-milestone parameters: - - *466 - - *467 - - &686 + - *473 + - *474 + - &690 name: milestone_number description: The number that identifies the milestone. in: path @@ -105799,9 +107104,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *421 examples: - default: *685 + default: *689 '404': *6 x-github: githubCloudOnly: false @@ -105818,9 +107123,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#update-a-milestone parameters: - - *466 - - *467 - - *686 + - *473 + - *474 + - *690 requestBody: required: false content: @@ -105858,9 +107163,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *421 examples: - default: *685 + default: *689 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -105876,9 +107181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/milestones#delete-a-milestone parameters: - - *466 - - *467 - - *686 + - *473 + - *474 + - *690 responses: '204': description: Response @@ -105899,9 +107204,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *466 - - *467 - - *686 + - *473 + - *474 + - *690 - *17 - *19 responses: @@ -105913,7 +107218,7 @@ paths: type: array items: *218 examples: - default: *665 + default: *669 headers: Link: *45 x-github: @@ -105932,12 +107237,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *466 - - *467 - - *687 - - *688 + - *473 + - *474 + - *691 + - *692 - *224 - - *689 + - *693 - *17 - *19 responses: @@ -105949,7 +107254,7 @@ paths: type: array items: *244 examples: - default: *690 + default: *694 headers: Link: *45 x-github: @@ -105973,8 +107278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: false content: @@ -106032,14 +107337,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-apiname-pages-site parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: &691 + schema: &695 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -106183,7 +107488,7 @@ paths: - custom_404 - public examples: - default: &692 + default: &696 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -106224,8 +107529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-apiname-pages-site parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -106280,9 +107585,9 @@ paths: description: Response content: application/json: - schema: *691 + schema: *695 examples: - default: *692 + default: *696 '422': *15 '409': *119 x-github: @@ -106305,8 +107610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -106414,8 +107719,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -106441,8 +107746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#list-apiname-pages-builds parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -106452,7 +107757,7 @@ paths: application/json: schema: type: array - items: &693 + items: &697 title: Page Build description: Page Build type: object @@ -106544,8 +107849,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#request-a-apiname-pages-build parameters: - - *466 - - *467 + - *473 + - *474 responses: '201': description: Response @@ -106592,16 +107897,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-latest-pages-build parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: *693 + schema: *697 examples: - default: &694 + default: &698 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -106649,8 +107954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-apiname-pages-build parameters: - - *466 - - *467 + - *473 + - *474 - name: build_id in: path required: true @@ -106661,9 +107966,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *697 examples: - default: *694 + default: *698 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106683,8 +107988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#create-a-github-pages-deployment parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -106792,9 +108097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *466 - - *467 - - &695 + - *473 + - *474 + - &699 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -106852,9 +108157,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *466 - - *467 - - *695 + - *473 + - *474 + - *699 responses: '204': *126 '404': *6 @@ -106881,8 +108186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -107177,8 +108482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Private vulnerability reporting status @@ -107215,8 +108520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': *126 '422': *14 @@ -107237,8 +108542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': *126 '422': *14 @@ -107260,8 +108565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -107271,7 +108576,7 @@ paths: type: array items: *152 examples: - default: *696 + default: *700 '403': *27 '404': *6 x-github: @@ -107293,8 +108598,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -107310,7 +108615,7 @@ paths: required: - properties examples: - default: *697 + default: *701 responses: '204': description: No Content when custom property values are successfully created @@ -107348,8 +108653,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests parameters: - - *466 - - *467 + - *473 + - *474 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -107409,9 +108714,9 @@ paths: application/json: schema: type: array - items: *584 + items: *590 examples: - default: *698 + default: *702 headers: Link: *45 '304': *35 @@ -107443,8 +108748,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#create-a-pull-request parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -107511,7 +108816,7 @@ paths: description: Response content: application/json: - schema: &702 + schema: &706 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -107640,7 +108945,7 @@ paths: milestone: anyOf: - type: 'null' - - *414 + - *421 active_lock_reason: type: - string @@ -107679,7 +108984,7 @@ paths: items: *4 requested_teams: type: array - items: *393 + items: *400 head: type: object properties: @@ -107717,14 +109022,14 @@ paths: _links: type: object properties: - comments: *415 - commits: *415 - statuses: *415 - html: *415 - issue: *415 - review_comments: *415 - review_comment: *415 - self: *415 + comments: *422 + commits: *422 + statuses: *422 + html: *422 + issue: *422 + review_comments: *422 + review_comment: *422 + self: *422 required: - comments - commits @@ -107735,7 +109040,7 @@ paths: - review_comment - self author_association: *216 - auto_merge: *699 + auto_merge: *703 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -107835,7 +109140,7 @@ paths: - merged_by - review_comments examples: - default: &703 + default: &707 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -108342,8 +109647,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *466 - - *467 + - *473 + - *474 - name: sort in: query required: false @@ -108372,9 +109677,9 @@ paths: application/json: schema: type: array - items: *700 + items: *704 examples: - default: &705 + default: &709 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -108451,17 +109756,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *466 - - *467 + - *473 + - *474 - *233 responses: '200': description: Response content: application/json: - schema: *700 + schema: *704 examples: - default: &701 + default: &705 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -108536,8 +109841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *466 - - *467 + - *473 + - *474 - *233 requestBody: required: true @@ -108560,9 +109865,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *704 examples: - default: *701 + default: *705 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108578,8 +109883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *466 - - *467 + - *473 + - *474 - *233 responses: '204': @@ -108601,8 +109906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). @@ -108629,9 +109934,9 @@ paths: application/json: schema: type: array - items: *578 + items: *584 examples: - default: *656 + default: *660 headers: Link: *45 '404': *6 @@ -108652,8 +109957,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *466 - - *467 + - *473 + - *474 - *233 requestBody: required: true @@ -108686,16 +109991,16 @@ paths: description: Reaction exists content: application/json: - schema: *578 + schema: *584 examples: - default: *579 + default: *585 '201': description: Reaction created content: application/json: - schema: *578 + schema: *584 examples: - default: *579 + default: *585 '422': *15 x-github: githubCloudOnly: false @@ -108717,10 +110022,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *466 - - *467 + - *473 + - *474 - *233 - - *657 + - *661 responses: '204': description: Response @@ -108763,9 +110068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#get-a-pull-request parameters: - - *466 - - *467 - - &704 + - *473 + - *474 + - &708 name: pull_number description: The number that identifies the pull request. in: path @@ -108778,9 +110083,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *702 + schema: *706 examples: - default: *703 + default: *707 '304': *35 '404': *6 '406': @@ -108815,9 +110120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 requestBody: required: false content: @@ -108859,9 +110164,9 @@ paths: description: Response content: application/json: - schema: *702 + schema: *706 examples: - default: *703 + default: *707 '422': *15 '403': *27 x-github: @@ -108883,9 +110188,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#archive-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 responses: '204': description: Response @@ -108910,9 +110215,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#unarchive-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 responses: '204': description: Response @@ -108938,9 +110243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 requestBody: required: true content: @@ -109001,17 +110306,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *385 + schema: *392 examples: - default: *569 + default: *575 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *385 + schema: *392 examples: - default: *569 + default: *575 '401': *23 '403': *27 '404': *6 @@ -109041,9 +110346,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 - *241 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -109064,9 +110369,9 @@ paths: application/json: schema: type: array - items: *700 + items: *704 examples: - default: *705 + default: *709 headers: Link: *45 x-github: @@ -109099,9 +110404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 requestBody: required: true content: @@ -109207,7 +110512,7 @@ paths: description: Response content: application/json: - schema: *700 + schema: *704 examples: example-for-a-multi-line-comment: value: @@ -109295,9 +110600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 - *233 requestBody: required: true @@ -109320,7 +110625,7 @@ paths: description: Response content: application/json: - schema: *700 + schema: *704 examples: default: value: @@ -109406,9 +110711,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 - *17 - *19 responses: @@ -109418,9 +110723,9 @@ paths: application/json: schema: type: array - items: *580 + items: *586 examples: - default: *706 + default: *710 headers: Link: *45 x-github: @@ -109450,9 +110755,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#list-pull-requests-files parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 - *17 - *19 responses: @@ -109462,7 +110767,7 @@ paths: application/json: schema: type: array - items: *591 + items: *597 examples: default: value: @@ -109500,9 +110805,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 responses: '204': description: Response if pull request has been merged @@ -109525,9 +110830,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#merge-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 requestBody: required: false content: @@ -109639,9 +110944,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 responses: '200': description: Response @@ -109657,7 +110962,7 @@ paths: items: *4 teams: type: array - items: *307 + items: *314 required: - users - teams @@ -109716,9 +111021,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 requestBody: required: false content: @@ -109755,7 +111060,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *590 examples: default: value: @@ -110291,9 +111596,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 requestBody: required: true content: @@ -110327,7 +111632,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *590 examples: default: value: @@ -110812,9 +112117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 - *17 - *19 responses: @@ -110824,7 +112129,7 @@ paths: application/json: schema: type: array - items: &707 + items: &711 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -110980,9 +112285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 requestBody: required: false content: @@ -111072,9 +112377,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *711 examples: - default: &709 + default: &713 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -111137,10 +112442,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *466 - - *467 - - *704 - - &708 + - *473 + - *474 + - *708 + - &712 name: review_id description: The unique identifier of the review. in: path @@ -111152,9 +112457,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *711 examples: - default: &710 + default: &714 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -111213,10 +112518,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 - *708 + - *712 requestBody: required: true content: @@ -111239,7 +112544,7 @@ paths: description: Response content: application/json: - schema: *707 + schema: *711 examples: default: value: @@ -111301,18 +112606,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 - *708 + - *712 responses: '200': description: Response content: application/json: - schema: *707 + schema: *711 examples: - default: *709 + default: *713 '422': *7 '404': *6 x-github: @@ -111339,10 +112644,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *466 - - *467 - - *704 + - *473 + - *474 - *708 + - *712 - *17 - *19 responses: @@ -111440,9 +112745,9 @@ paths: _links: type: object properties: - self: *415 - html: *415 - pull_request: *415 + self: *422 + html: *422 + pull_request: *422 required: - self - html @@ -111600,10 +112905,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 - *708 + - *712 requestBody: required: true content: @@ -111632,7 +112937,7 @@ paths: description: Response content: application/json: - schema: *707 + schema: *711 examples: default: value: @@ -111695,10 +113000,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *466 - - *467 - - *704 + - *473 + - *474 - *708 + - *712 requestBody: required: true content: @@ -111733,9 +113038,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *711 examples: - default: *710 + default: *714 '404': *6 '422': *7 '403': *27 @@ -111757,9 +113062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *466 - - *467 - - *704 + - *473 + - *474 + - *708 requestBody: required: false content: @@ -111823,8 +113128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme parameters: - - *466 - - *467 + - *473 + - *474 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -111837,9 +113142,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *715 examples: - default: &712 + default: &716 value: type: file encoding: base64 @@ -111881,8 +113186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *466 - - *467 + - *473 + - *474 - name: dir description: The alternate path to look for a README file in: path @@ -111902,9 +113207,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *715 examples: - default: *712 + default: *716 '404': *6 '422': *15 x-github: @@ -111926,8 +113231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#list-releases parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -111937,7 +113242,7 @@ paths: application/json: schema: type: array - items: *713 + items: *717 examples: default: value: @@ -112031,8 +113336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#create-a-release parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -112108,9 +113413,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *717 examples: - default: &717 + default: &721 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -112215,9 +113520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#get-a-release-asset parameters: - - *466 - - *467 - - &715 + - *473 + - *474 + - &719 name: asset_id description: The unique identifier of the asset. in: path @@ -112229,9 +113534,9 @@ paths: description: Response content: application/json: - schema: *714 + schema: *718 examples: - default: &716 + default: &720 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -112266,7 +113571,7 @@ paths: type: User site_admin: false '404': *6 - '302': *595 + '302': *601 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112282,9 +113587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#update-a-release-asset parameters: - - *466 - - *467 - - *715 + - *473 + - *474 + - *719 requestBody: required: false content: @@ -112313,9 +113618,9 @@ paths: description: Response content: application/json: - schema: *714 + schema: *718 examples: - default: *716 + default: *720 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112331,9 +113636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#delete-a-release-asset parameters: - - *466 - - *467 - - *715 + - *473 + - *474 + - *719 responses: '204': description: Response @@ -112358,8 +113663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -112445,16 +113750,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-the-latest-release parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response content: application/json: - schema: *713 + schema: *717 examples: - default: *717 + default: *721 '404': *6 x-github: githubCloudOnly: false @@ -112472,8 +113777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release-by-tag-name parameters: - - *466 - - *467 + - *473 + - *474 - name: tag description: tag parameter in: path @@ -112486,9 +113791,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *717 examples: - default: *717 + default: *721 '404': *6 x-github: githubCloudOnly: false @@ -112510,9 +113815,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#get-a-release parameters: - - *466 - - *467 - - &718 + - *473 + - *474 + - &722 name: release_id description: The unique identifier of the release. in: path @@ -112526,9 +113831,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *713 + schema: *717 examples: - default: *717 + default: *721 '401': description: Unauthorized x-github: @@ -112546,9 +113851,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#update-a-release parameters: - - *466 - - *467 - - *718 + - *473 + - *474 + - *722 requestBody: required: false content: @@ -112612,9 +113917,9 @@ paths: description: Response content: application/json: - schema: *713 + schema: *717 examples: - default: *717 + default: *721 '404': description: Not Found if the discussion category name is invalid content: @@ -112635,9 +113940,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/releases#delete-a-release parameters: - - *466 - - *467 - - *718 + - *473 + - *474 + - *722 responses: '204': description: Response @@ -112658,9 +113963,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/releases/assets#list-release-assets parameters: - - *466 - - *467 - - *718 + - *473 + - *474 + - *722 - *17 - *19 responses: @@ -112670,7 +113975,7 @@ paths: application/json: schema: type: array - items: *714 + items: *718 examples: default: value: @@ -112752,9 +114057,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *466 - - *467 - - *718 + - *473 + - *474 + - *722 - name: name in: query required: true @@ -112780,7 +114085,7 @@ paths: description: Response for successful upload content: application/json: - schema: *714 + schema: *718 examples: response-for-successful-upload: value: @@ -112835,9 +114140,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *466 - - *467 - - *718 + - *473 + - *474 + - *722 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -112861,9 +114166,9 @@ paths: application/json: schema: type: array - items: *578 + items: *584 examples: - default: *656 + default: *660 headers: Link: *45 '404': *6 @@ -112884,9 +114189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *466 - - *467 - - *718 + - *473 + - *474 + - *722 requestBody: required: true content: @@ -112916,16 +114221,16 @@ paths: description: Reaction exists content: application/json: - schema: *578 + schema: *584 examples: - default: *579 + default: *585 '201': description: Reaction created content: application/json: - schema: *578 + schema: *584 examples: - default: *579 + default: *585 '422': *15 x-github: githubCloudOnly: false @@ -112947,10 +114252,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/reactions/reactions#delete-a-release-reaction parameters: - - *466 - - *467 - - *718 - - *657 + - *473 + - *474 + - *722 + - *661 responses: '204': description: Response @@ -112974,9 +114279,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-rules-for-a-branch parameters: - - *466 - - *467 - - *519 + - *473 + - *474 + - *525 - *17 - *19 responses: @@ -112993,7 +114298,7 @@ paths: oneOf: - allOf: - *166 - - &719 + - &723 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -113014,67 +114319,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *167 - - *719 + - *723 - allOf: - *168 - - *719 + - *723 - allOf: - *169 - - *719 + - *723 - allOf: - - *720 - - *719 + - *724 + - *723 - allOf: - *170 - - *719 + - *723 - allOf: - *171 - - *719 + - *723 - allOf: - *172 - - *719 + - *723 - allOf: - *173 - - *719 + - *723 - allOf: - *174 - - *719 + - *723 - allOf: - *175 - - *719 + - *723 - allOf: - *176 - - *719 + - *723 - allOf: - *177 - - *719 + - *723 - allOf: - *178 - - *719 + - *723 - allOf: - *179 - - *719 + - *723 - allOf: - *180 - - *719 + - *723 - allOf: - *181 - - *719 + - *723 - allOf: - *182 - - *719 + - *723 - allOf: - *183 - - *719 + - *723 - allOf: - *184 - - *719 + - *723 - allOf: - *185 - - *719 + - *723 - allOf: - *186 - - *719 + - *723 examples: default: value: @@ -113113,8 +114418,8 @@ paths: category: repos subcategory: rules parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 - name: includes_parents @@ -113125,7 +114430,7 @@ paths: schema: type: boolean default: true - - *721 + - *725 responses: '200': description: Response @@ -113180,8 +114485,8 @@ paths: category: repos subcategory: rules parameters: - - *466 - - *467 + - *473 + - *474 requestBody: description: Request body required: true @@ -113210,7 +114515,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *722 + items: *726 required: - name - enforcement @@ -113243,7 +114548,7 @@ paths: application/json: schema: *187 examples: - default: &731 + default: &735 value: id: 42 name: super cool ruleset @@ -113291,12 +114596,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *466 - - *467 - - *723 + - *473 + - *474 + - *727 - *105 - - *724 - - *725 + - *728 + - *729 - *17 - *19 responses: @@ -113304,9 +114609,9 @@ paths: description: Response content: application/json: - schema: *726 + schema: *730 examples: - default: *727 + default: *731 '404': *6 '500': *38 x-github: @@ -113327,17 +114632,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *466 - - *467 - - *728 + - *473 + - *474 + - *732 responses: '200': description: Response content: application/json: - schema: *729 + schema: *733 examples: - default: *730 + default: *734 '404': *6 '500': *38 x-github: @@ -113365,8 +114670,8 @@ paths: category: repos subcategory: rules parameters: - - *466 - - *467 + - *473 + - *474 - name: ruleset_id description: The ID of the ruleset. in: path @@ -113388,7 +114693,7 @@ paths: application/json: schema: *187 examples: - default: *731 + default: *735 '404': *6 '500': *38 put: @@ -113406,8 +114711,8 @@ paths: category: repos subcategory: rules parameters: - - *466 - - *467 + - *473 + - *474 - name: ruleset_id description: The ID of the ruleset. in: path @@ -113441,7 +114746,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *722 + items: *726 examples: default: value: @@ -113471,7 +114776,7 @@ paths: application/json: schema: *187 examples: - default: *731 + default: *735 '404': *6 '422': *15 '500': *38 @@ -113490,8 +114795,8 @@ paths: category: repos subcategory: rules parameters: - - *466 - - *467 + - *473 + - *474 - name: ruleset_id description: The ID of the ruleset. in: path @@ -113514,8 +114819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-history parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 - name: ruleset_id @@ -113533,7 +114838,7 @@ paths: type: array items: *191 examples: - default: *431 + default: *438 '404': *6 '500': *38 x-github: @@ -113552,8 +114857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/rules#get-repository-ruleset-version parameters: - - *466 - - *467 + - *473 + - *474 - name: ruleset_id description: The ID of the ruleset. in: path @@ -113571,7 +114876,7 @@ paths: description: Response content: application/json: - schema: *432 + schema: *439 examples: default: value: @@ -113626,26 +114931,26 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *466 - - *467 - - *433 - - *434 - - *435 - - *436 - - *437 - - *438 - - *439 + - *473 + - *474 - *440 - - *110 - - *19 - - *17 - - *732 - - *733 - *441 - *442 - *443 - *444 - *445 + - *446 + - *447 + - *110 + - *19 + - *17 + - *736 + - *737 + - *448 + - *449 + - *450 + - *451 + - *452 responses: '200': description: Response @@ -113653,7 +114958,7 @@ paths: application/json: schema: type: array - items: &737 + items: &741 type: object properties: number: *127 @@ -113669,8 +114974,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *734 - resolution: *735 + state: *738 + resolution: *739 resolved_at: type: - string @@ -113776,7 +115081,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *736 + - *740 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -113935,16 +115240,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *466 - - *467 - - *546 - - *444 + - *473 + - *474 + - *552 + - *451 responses: '200': description: Response content: application/json: - schema: *737 + schema: *741 examples: default: value: @@ -113998,9 +115303,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *466 - - *467 - - *546 + - *473 + - *474 + - *552 requestBody: required: true content: @@ -114008,8 +115313,8 @@ paths: schema: type: object properties: - state: *734 - resolution: *735 + state: *738 + resolution: *739 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -114057,7 +115362,7 @@ paths: description: Response content: application/json: - schema: *737 + schema: *741 examples: default: value: @@ -114156,9 +115461,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *466 - - *467 - - *546 + - *473 + - *474 + - *552 - *19 - *17 responses: @@ -114169,7 +115474,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &916 + items: &920 type: object properties: type: @@ -114196,10 +115501,6 @@ paths: - commit details: oneOf: - - *738 - - *739 - - *740 - - *741 - *742 - *743 - *744 @@ -114209,6 +115510,10 @@ paths: - *748 - *749 - *750 + - *751 + - *752 + - *753 + - *754 examples: default: value: @@ -114294,8 +115599,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -114303,14 +115608,14 @@ paths: schema: type: object properties: - reason: &752 + reason: &756 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *751 + placeholder_id: *755 required: - reason - placeholder_id @@ -114327,7 +115632,7 @@ paths: schema: type: object properties: - reason: *752 + reason: *756 expire_at: type: - string @@ -114374,8 +115679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -114390,7 +115695,7 @@ paths: properties: incremental_scans: type: array - items: &753 + items: &757 description: Information on a single scan performed by secret scanning on the repository type: object @@ -114418,15 +115723,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *753 + items: *757 backfill_scans: type: array - items: *753 + items: *757 custom_pattern_backfill_scans: type: array items: allOf: - - *753 + - *757 - type: object properties: pattern_name: @@ -114439,7 +115744,7 @@ paths: one of "repository", "organization", or "enterprise" generic_secrets_backfill_scans: type: array - items: *753 + items: *757 examples: default: value: @@ -114504,8 +115809,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *466 - - *467 + - *473 + - *474 - *110 - name: sort description: The property to sort the results by. @@ -114549,9 +115854,9 @@ paths: application/json: schema: type: array - items: *754 + items: *758 examples: - default: *755 + default: *759 '400': *14 '404': *6 x-github: @@ -114574,8 +115879,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -114655,7 +115960,7 @@ paths: login: type: string description: The username of the user credited. - type: *450 + type: *457 required: - login - type @@ -114745,9 +116050,9 @@ paths: description: Response content: application/json: - schema: *754 + schema: *758 examples: - default: &757 + default: &761 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -114977,8 +116282,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -115091,7 +116396,7 @@ paths: description: Response content: application/json: - schema: *754 + schema: *758 examples: default: value: @@ -115237,17 +116542,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *466 - - *467 - - *756 + - *473 + - *474 + - *760 responses: '200': description: Response content: application/json: - schema: *754 + schema: *758 examples: - default: *757 + default: *761 '403': *27 '404': *6 x-github: @@ -115271,9 +116576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *466 - - *467 - - *756 + - *473 + - *474 + - *760 requestBody: required: true content: @@ -115353,7 +116658,7 @@ paths: login: type: string description: The username of the user credited. - type: *450 + type: *457 required: - login - type @@ -115444,10 +116749,10 @@ paths: description: Response content: application/json: - schema: *754 + schema: *758 examples: - default: *757 - add_credit: *757 + default: *761 + add_credit: *761 '403': *27 '404': *6 '422': @@ -115485,9 +116790,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *466 - - *467 - - *756 + - *473 + - *474 + - *760 responses: '202': *37 '400': *14 @@ -115514,17 +116819,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *466 - - *467 - - *756 + - *473 + - *474 + - *760 responses: '202': description: Response content: application/json: - schema: *471 + schema: *478 examples: - default: *473 + default: *480 '400': *14 '422': *15 '403': *27 @@ -115550,8 +116855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-stargazers parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -115647,8 +116952,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -115657,7 +116962,7 @@ paths: application/json: schema: type: array - items: &758 + items: &762 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -115690,8 +116995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -115769,8 +117074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -115864,8 +117169,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -116019,8 +117324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -116030,7 +117335,7 @@ paths: application/json: schema: type: array - items: *758 + items: *762 examples: default: value: @@ -116063,8 +117368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/commits/statuses#create-a-commit-status parameters: - - *466 - - *467 + - *473 + - *474 - name: sha in: path required: true @@ -116120,7 +117425,7 @@ paths: description: Response content: application/json: - schema: *759 + schema: *763 examples: default: value: @@ -116174,8 +117479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#list-watchers parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -116207,14 +117512,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#get-a-repository-subscription parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &760 + schema: &764 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -116287,8 +117592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#set-a-repository-subscription parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: false content: @@ -116314,7 +117619,7 @@ paths: description: Response content: application/json: - schema: *760 + schema: *764 examples: default: value: @@ -116341,8 +117646,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/watching#delete-a-repository-subscription parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -116362,8 +117667,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-tags parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -116445,8 +117750,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *466 - - *467 + - *473 + - *474 - name: ref in: path required: true @@ -116482,8 +117787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#list-repository-teams parameters: - - *466 - - *467 + - *473 + - *474 - *17 - *19 responses: @@ -116493,9 +117798,9 @@ paths: application/json: schema: type: array - items: *307 + items: *314 examples: - default: *394 + default: *401 headers: Link: *45 '404': *6 @@ -116515,8 +117820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-all-repository-topics parameters: - - *466 - - *467 + - *473 + - *474 - *19 - *17 responses: @@ -116524,7 +117829,7 @@ paths: description: Response content: application/json: - schema: &761 + schema: &765 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -116536,7 +117841,7 @@ paths: required: - names examples: - default: &762 + default: &766 value: names: - octocat @@ -116559,8 +117864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#replace-all-repository-topics parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -116591,9 +117896,9 @@ paths: description: Response content: application/json: - schema: *761 + schema: *765 examples: - default: *762 + default: *766 '404': *6 '422': *7 x-github: @@ -116614,9 +117919,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-repository-clones parameters: - - *466 - - *467 - - &763 + - *473 + - *474 + - &767 name: per description: The time frame to display results for. in: query @@ -116647,7 +117952,7 @@ paths: - 128 clones: type: array - items: &764 + items: &768 title: Traffic type: object properties: @@ -116734,8 +118039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-paths parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -116829,8 +118134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-top-referral-sources parameters: - - *466 - - *467 + - *473 + - *474 responses: '200': description: Response @@ -116893,9 +118198,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/metrics/traffic#get-page-views parameters: - - *466 - - *467 - - *763 + - *473 + - *474 + - *767 responses: '200': description: Response @@ -116916,7 +118221,7 @@ paths: - 3782 views: type: array - items: *764 + items: *768 required: - uniques - count @@ -116993,8 +118298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#transfer-a-repository parameters: - - *466 - - *467 + - *473 + - *474 requestBody: required: true content: @@ -117267,8 +118572,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -117291,8 +118596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#enable-vulnerability-alerts parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -117314,8 +118619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#disable-vulnerability-alerts parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -117341,8 +118646,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *466 - - *467 + - *473 + - *474 - name: ref in: path required: true @@ -117434,9 +118739,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *478 examples: - default: *473 + default: *480 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -117587,7 +118892,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &772 + - &776 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -117597,7 +118902,7 @@ paths: type: string examples: - members - - &777 + - &781 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -117609,7 +118914,7 @@ paths: format: int32 examples: - 1 - - &778 + - &782 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -117653,7 +118958,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &767 + items: &771 allOf: - type: object required: @@ -117735,7 +119040,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &779 + meta: &783 type: object description: The metadata associated with the creation/updates to the user. @@ -117800,30 +119105,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &768 + '400': &772 description: Bad request content: application/json: - schema: *765 + schema: *769 application/scim+json: - schema: *765 - '401': *766 - '403': &769 + schema: *769 + '401': *770 + '403': &773 description: Permission denied - '429': &770 + '429': &774 description: Too many requests content: application/json: - schema: *765 + schema: *769 application/scim+json: - schema: *765 - '500': &771 + schema: *769 + '500': &775 description: Internal server error content: application/json: - schema: *765 + schema: *769 application/scim+json: - schema: *765 + schema: *769 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117847,7 +119152,7 @@ paths: required: true content: application/json: - schema: &775 + schema: &779 type: object required: - schemas @@ -117911,9 +119216,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *767 + schema: *771 examples: - group: &773 + group: &777 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -117932,13 +119237,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *768 - '401': *766 - '403': *769 - '409': &776 + '400': *772 + '401': *770 + '403': *773 + '409': &780 description: Duplicate record detected - '429': *770 - '500': *771 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117955,7 +119260,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &774 + - &778 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -117964,22 +119269,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *772 + - *776 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *767 + schema: *771 examples: - default: *773 - '400': *768 - '401': *766 - '403': *769 + default: *777 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '429': *770 - '500': *771 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -117998,13 +119303,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *774 + - *778 - *39 requestBody: required: true content: application/json: - schema: *775 + schema: *779 examples: group: summary: Group @@ -118030,17 +119335,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *767 + schema: *771 examples: - group: *773 - groupWithMembers: *773 - '400': *768 - '401': *766 - '403': *769 + group: *777 + groupWithMembers: *777 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '409': *776 - '429': *770 - '500': *771 + '409': *780 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118064,13 +119369,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *774 + - *778 - *39 requestBody: required: true content: application/json: - schema: &786 + schema: &790 type: object required: - Operations @@ -118130,17 +119435,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *767 + schema: *771 examples: - updateGroup: *773 - addMembers: *773 - '400': *768 - '401': *766 - '403': *769 + updateGroup: *777 + addMembers: *777 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '409': *776 - '429': *770 - '500': *771 + '409': *780 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118156,17 +119461,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *774 + - *778 - *39 responses: '204': description: Group was deleted, no content - '400': *768 - '401': *766 - '403': *769 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '429': *770 - '500': *771 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118200,8 +119505,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *777 - - *778 + - *781 + - *782 - *39 responses: '200': @@ -118235,7 +119540,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &781 + items: &785 allOf: - type: object required: @@ -118327,7 +119632,7 @@ paths: address. examples: - true - roles: &780 + roles: &784 type: array description: The roles assigned to the user. items: @@ -118386,7 +119691,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *779 + meta: *783 startIndex: type: integer description: A starting index for the returned page @@ -118425,11 +119730,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *768 - '401': *766 - '403': *769 - '429': *770 - '500': *771 + '400': *772 + '401': *770 + '403': *773 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118453,7 +119758,7 @@ paths: required: true content: application/json: - schema: &784 + schema: &788 type: object required: - schemas @@ -118546,9 +119851,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *780 + roles: *784 examples: - user: &785 + user: &789 summary: User value: schemas: @@ -118595,9 +119900,9 @@ paths: description: User has been created content: application/scim+json: - schema: *781 + schema: *785 examples: - user: &782 + user: &786 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -118623,13 +119928,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *782 - '400': *768 - '401': *766 - '403': *769 - '409': *776 - '429': *770 - '500': *771 + enterpriseOwner: *786 + '400': *772 + '401': *770 + '403': *773 + '409': *780 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118646,7 +119951,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &783 + - &787 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -118659,15 +119964,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *781 + schema: *785 examples: - default: *782 - '400': *768 - '401': *766 - '403': *769 + default: *786 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '429': *770 - '500': *771 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118718,30 +120023,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *783 + - *787 - *39 requestBody: required: true content: application/json: - schema: *784 + schema: *788 examples: - user: *785 + user: *789 responses: '200': description: User was updated content: application/scim+json: - schema: *781 + schema: *785 examples: - user: *782 - '400': *768 - '401': *766 - '403': *769 + user: *786 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '409': *776 - '429': *770 - '500': *771 + '409': *780 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118782,13 +120087,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *783 + - *787 - *39 requestBody: required: true content: application/json: - schema: *786 + schema: *790 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -118828,18 +120133,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *781 - examples: - userMultiValuedProperties: *782 - userSingleValuedProperties: *782 - disableUser: *782 - '400': *768 - '401': *766 - '403': *769 + schema: *785 + examples: + userMultiValuedProperties: *786 + userSingleValuedProperties: *786 + disableUser: *786 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '409': *776 - '429': *770 - '500': *771 + '409': *780 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118859,17 +120164,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *783 + - *787 - *39 responses: '204': description: User was deleted, no content - '400': *768 - '401': *766 - '403': *769 + '400': *772 + '401': *770 + '403': *773 '404': *6 - '429': *770 - '500': *771 + '429': *774 + '500': *775 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -118960,7 +120265,7 @@ paths: - 1 Resources: type: array - items: &787 + items: &791 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -119207,22 +120512,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &788 + '404': &792 description: Resource not found content: application/json: - schema: *765 + schema: *769 application/scim+json: - schema: *765 - '403': &789 + schema: *769 + '403': &793 description: Forbidden content: application/json: - schema: *765 + schema: *769 application/scim+json: - schema: *765 - '400': *768 - '429': *770 + schema: *769 + '400': *772 + '429': *774 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -119248,9 +120553,9 @@ paths: description: Response content: application/scim+json: - schema: *787 + schema: *791 examples: - default: &790 + default: &794 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -119273,17 +120578,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *788 - '403': *789 - '500': *771 + '404': *792 + '403': *793 + '500': *775 '409': description: Conflict content: application/json: - schema: *765 + schema: *769 application/scim+json: - schema: *765 - '400': *768 + schema: *769 + '400': *772 requestBody: required: true content: @@ -119383,17 +120688,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *87 - - *783 + - *787 responses: '200': description: Response content: application/scim+json: - schema: *787 + schema: *791 examples: - default: *790 - '404': *788 - '403': *789 + default: *794 + '404': *792 + '403': *793 '304': *35 x-github: githubCloudOnly: true @@ -119417,18 +120722,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-a-provisioned-organization-membership parameters: - *87 - - *783 + - *787 responses: '200': description: Response content: application/scim+json: - schema: *787 + schema: *791 examples: - default: *790 + default: *794 '304': *35 - '404': *788 - '403': *789 + '404': *792 + '403': *793 requestBody: required: true content: @@ -119543,19 +120848,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *87 - - *783 + - *787 responses: '200': description: Response content: application/scim+json: - schema: *787 + schema: *791 examples: - default: *790 + default: *794 '304': *35 - '404': *788 - '403': *789 - '400': *768 + '404': *792 + '403': *793 + '400': *772 '429': description: Response content: @@ -119651,12 +120956,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *87 - - *783 + - *787 responses: '204': description: Response - '404': *788 - '403': *789 + '404': *792 + '403': *793 '304': *35 x-github: githubCloudOnly: true @@ -119793,7 +121098,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &791 + text_matches: &795 title: Search Result Text Matches type: array items: @@ -119957,7 +121262,7 @@ paths: enum: - author-date - committer-date - - &792 + - &796 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -120026,7 +121331,7 @@ paths: committer: anyOf: - type: 'null' - - *517 + - *523 comment_count: type: integer message: @@ -120045,7 +121350,7 @@ paths: url: type: string format: uri - verification: *641 + verification: *645 required: - author - committer @@ -120060,7 +121365,7 @@ paths: committer: anyOf: - type: 'null' - - *517 + - *523 parents: type: array items: @@ -120077,7 +121382,7 @@ paths: type: number node_id: type: string - text_matches: *791 + text_matches: *795 required: - sha - node_id @@ -120270,7 +121575,7 @@ paths: - interactions - created - updated - - *792 + - *796 - *17 - *19 - name: advanced_search @@ -120384,11 +121689,11 @@ paths: type: - string - 'null' - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: type: string state_reason: @@ -120398,7 +121703,7 @@ paths: milestone: anyOf: - type: 'null' - - *414 + - *421 comments: type: integer created_at: @@ -120412,7 +121717,7 @@ paths: - string - 'null' format: date-time - text_matches: *791 + text_matches: *795 pull_request: type: object properties: @@ -120461,7 +121766,7 @@ paths: timeline_url: type: string format: uri - type: *380 + type: *387 performed_via_github_app: anyOf: - type: 'null' @@ -120676,7 +121981,7 @@ paths: enum: - created - updated - - *792 + - *796 - *17 - *19 responses: @@ -120721,7 +122026,7 @@ paths: - 'null' score: type: number - text_matches: *791 + text_matches: *795 required: - id - node_id @@ -120807,7 +122112,7 @@ paths: - forks - help-wanted-issues - updated - - *792 + - *796 - *17 - *19 responses: @@ -121053,7 +122358,7 @@ paths: - admin - pull - push - text_matches: *791 + text_matches: *795 temp_clone_token: type: string allow_merge_commit: @@ -121362,7 +122667,7 @@ paths: - string - 'null' format: uri - text_matches: *791 + text_matches: *795 related: type: - array @@ -121557,7 +122862,7 @@ paths: - followers - repositories - joined - - *792 + - *796 - *17 - *19 responses: @@ -121667,7 +122972,7 @@ paths: type: - boolean - 'null' - text_matches: *791 + text_matches: *795 blog: type: - string @@ -121749,7 +123054,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#get-a-team-legacy parameters: - - &795 + - &799 name: team_id description: The unique identifier of the team. in: path @@ -121761,9 +123066,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *465 examples: - default: *459 + default: *466 '404': *6 x-github: githubCloudOnly: false @@ -121790,7 +123095,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#update-a-team-legacy parameters: - - *795 + - *799 requestBody: required: true content: @@ -121854,16 +123159,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *458 + schema: *465 examples: - default: *459 + default: *466 '201': description: Response content: application/json: - schema: *458 + schema: *465 examples: - default: *459 + default: *466 '404': *6 '422': *15 '403': *27 @@ -121891,7 +123196,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#delete-a-team-legacy parameters: - - *795 + - *799 responses: '204': description: Response @@ -121920,7 +123225,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *795 + - *799 - *17 - *19 responses: @@ -121930,9 +123235,9 @@ paths: application/json: schema: type: array - items: *374 + items: *381 examples: - default: *375 + default: *382 headers: Link: *45 x-github: @@ -121958,7 +123263,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#list-team-members-legacy parameters: - - *795 + - *799 - name: role description: Filters members returned by their role in the team. in: query @@ -122009,7 +123314,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-member-legacy parameters: - - *795 + - *799 - *140 responses: '204': @@ -122046,7 +123351,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-team-member-legacy parameters: - - *795 + - *799 - *140 responses: '204': @@ -122086,7 +123391,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-member-legacy parameters: - - *795 + - *799 - *140 responses: '204': @@ -122123,16 +123428,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *795 + - *799 - *140 responses: '200': description: Response content: application/json: - schema: *465 + schema: *472 examples: - response-if-user-is-a-team-maintainer: *796 + response-if-user-is-a-team-maintainer: *800 '404': *6 x-github: githubCloudOnly: false @@ -122165,7 +123470,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *795 + - *799 - *140 requestBody: required: false @@ -122191,9 +123496,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *472 examples: - response-if-users-membership-with-team-is-now-pending: *797 + response-if-users-membership-with-team-is-now-pending: *801 '403': description: Forbidden if team synchronization is set up '422': @@ -122227,7 +123532,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *795 + - *799 - *140 responses: '204': @@ -122255,7 +123560,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-team-repositories-legacy parameters: - - *795 + - *799 - *17 - *19 responses: @@ -122267,7 +123572,7 @@ paths: type: array items: *278 examples: - default: *408 + default: *415 headers: Link: *45 '404': *6 @@ -122297,15 +123602,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *795 - - *466 - - *467 + - *799 + - *473 + - *474 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *798 + schema: *802 examples: alternative-response-with-extra-repository-information: value: @@ -122455,9 +123760,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *795 - - *466 - - *467 + - *799 + - *473 + - *474 requestBody: required: false content: @@ -122507,9 +123812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *795 - - *466 - - *467 + - *799 + - *473 + - *474 responses: '204': description: Response @@ -122538,15 +123843,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *795 + - *799 responses: '200': description: Response content: application/json: - schema: *468 + schema: *475 examples: - default: *469 + default: *476 '403': *27 '404': *6 x-github: @@ -122573,7 +123878,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *795 + - *799 requestBody: required: true content: @@ -122634,7 +123939,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *475 examples: default: value: @@ -122665,7 +123970,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/teams/teams#list-child-teams-legacy parameters: - - *795 + - *799 - *17 - *19 responses: @@ -122675,9 +123980,9 @@ paths: application/json: schema: type: array - items: *307 + items: *314 examples: - response-if-child-teams-exist: *799 + response-if-child-teams-exist: *803 headers: Link: *45 '404': *6 @@ -122710,7 +124015,7 @@ paths: application/json: schema: oneOf: - - &800 + - &804 title: Private User description: Private User type: object @@ -122960,7 +124265,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - &825 + - &829 title: Public User description: Public User type: object @@ -123294,7 +124599,7 @@ paths: description: Response content: application/json: - schema: *800 + schema: *804 examples: default: value: @@ -123497,9 +124802,9 @@ paths: type: integer codespaces: type: array - items: *385 + items: *392 examples: - default: *386 + default: *393 '304': *35 '500': *38 '401': *23 @@ -123638,17 +124943,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *385 + schema: *392 examples: - default: *569 + default: *575 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *385 + schema: *392 examples: - default: *569 + default: *575 '401': *23 '403': *27 '404': *6 @@ -123692,7 +124997,7 @@ paths: type: integer secrets: type: array - items: &801 + items: &805 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -123734,7 +125039,7 @@ paths: - visibility - selected_repositories_url examples: - default: *571 + default: *577 headers: Link: *45 x-github: @@ -123812,7 +125117,7 @@ paths: description: Response content: application/json: - schema: *801 + schema: *805 examples: default: value: @@ -123958,7 +125263,7 @@ paths: type: array items: *278 examples: - default: *326 + default: *333 '401': *23 '403': *27 '404': *6 @@ -124102,15 +125407,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *387 + - *394 responses: '200': description: Response content: application/json: - schema: *385 + schema: *392 examples: - default: *569 + default: *575 '304': *35 '500': *38 '401': *23 @@ -124136,7 +125441,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *387 + - *394 requestBody: required: false content: @@ -124166,9 +125471,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *392 examples: - default: *569 + default: *575 '401': *23 '403': *27 '404': *6 @@ -124190,7 +125495,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *387 + - *394 responses: '202': *37 '304': *35 @@ -124219,13 +125524,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *387 + - *394 responses: '202': description: Response content: application/json: - schema: &802 + schema: &806 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -124278,7 +125583,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &803 + default: &807 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -124310,7 +125615,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *387 + - *394 - name: export_id in: path required: true @@ -124323,9 +125628,9 @@ paths: description: Response content: application/json: - schema: *802 + schema: *806 examples: - default: *803 + default: *807 '404': *6 x-github: githubCloudOnly: false @@ -124346,7 +125651,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *387 + - *394 responses: '200': description: Response @@ -124362,9 +125667,9 @@ paths: type: integer machines: type: array - items: *570 + items: *576 examples: - default: *804 + default: *808 '304': *35 '500': *38 '401': *23 @@ -124393,7 +125698,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *387 + - *394 requestBody: required: true content: @@ -124449,11 +125754,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *471 + repository: *478 machine: anyOf: - type: 'null' - - *570 + - *576 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -125250,15 +126555,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *387 + - *394 responses: '200': description: Response content: application/json: - schema: *385 + schema: *392 examples: - default: *569 + default: *575 '304': *35 '500': *38 '400': *14 @@ -125290,15 +126595,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *387 + - *394 responses: '200': description: Response content: application/json: - schema: *385 + schema: *392 examples: - default: *569 + default: *575 '500': *38 '401': *23 '403': *27 @@ -125328,9 +126633,9 @@ paths: application/json: schema: type: array - items: *395 + items: *402 examples: - default: &815 + default: &819 value: - id: 197 name: hello_docker @@ -125431,7 +126736,7 @@ paths: application/json: schema: type: array - items: &805 + items: &809 title: Email description: Email type: object @@ -125501,9 +126806,9 @@ paths: application/json: schema: type: array - items: *805 + items: *809 examples: - default: &817 + default: &821 value: - email: octocat@github.com verified: true @@ -125580,7 +126885,7 @@ paths: application/json: schema: type: array - items: *805 + items: *809 examples: default: value: @@ -125838,7 +127143,7 @@ paths: application/json: schema: type: array - items: &806 + items: &810 title: GPG Key description: A unique encryption key type: object @@ -125983,7 +127288,7 @@ paths: - subkeys - revoked examples: - default: &835 + default: &839 value: - id: 3 name: Octocat's GPG Key @@ -126068,9 +127373,9 @@ paths: description: Response content: application/json: - schema: *806 + schema: *810 examples: - default: &807 + default: &811 value: id: 3 name: Octocat's GPG Key @@ -126127,7 +127432,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &808 + - &812 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -126139,9 +127444,9 @@ paths: description: Response content: application/json: - schema: *806 + schema: *810 examples: - default: *807 + default: *811 '404': *6 '304': *35 '403': *27 @@ -126164,7 +127469,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *808 + - *812 responses: '204': description: Response @@ -126443,12 +127748,12 @@ paths: application/json: schema: anyOf: - - *372 + - *379 - type: object properties: {} additionalProperties: false examples: - default: *373 + default: *380 '204': description: Response when there are no restrictions x-github: @@ -126472,7 +127777,7 @@ paths: required: true content: application/json: - schema: *651 + schema: *655 examples: default: value: @@ -126483,7 +127788,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *379 examples: default: value: @@ -126564,7 +127869,7 @@ paths: - closed - all default: open - - *383 + - *390 - name: sort description: What to sort results by. in: query @@ -126589,7 +127894,7 @@ paths: type: array items: *219 examples: - default: *384 + default: *391 headers: Link: *45 '404': *6 @@ -126622,7 +127927,7 @@ paths: application/json: schema: type: array - items: &809 + items: &813 title: Key description: Key type: object @@ -126725,9 +128030,9 @@ paths: description: Response content: application/json: - schema: *809 + schema: *813 examples: - default: &810 + default: &814 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -126760,15 +128065,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *682 + - *686 responses: '200': description: Response content: application/json: - schema: *809 + schema: *813 examples: - default: *810 + default: *814 '404': *6 '304': *35 '403': *27 @@ -126791,7 +128096,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *682 + - *686 responses: '204': description: Response @@ -126824,7 +128129,7 @@ paths: application/json: schema: type: array - items: &811 + items: &815 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -126903,7 +128208,7 @@ paths: - account - plan examples: - default: &812 + default: &816 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -126965,9 +128270,9 @@ paths: application/json: schema: type: array - items: *811 + items: *815 examples: - default: *812 + default: *816 headers: Link: *45 '304': *35 @@ -127007,7 +128312,7 @@ paths: application/json: schema: type: array - items: *388 + items: *395 examples: default: value: @@ -127121,7 +128426,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *395 examples: default: value: @@ -127208,7 +128513,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *395 examples: default: value: @@ -127280,7 +128585,7 @@ paths: application/json: schema: type: array - items: *390 + items: *397 examples: default: value: @@ -127542,7 +128847,7 @@ paths: description: Response content: application/json: - schema: *390 + schema: *397 examples: default: value: @@ -127722,7 +129027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#get-a-user-migration-status parameters: - - *391 + - *398 - name: exclude in: query required: false @@ -127735,7 +129040,7 @@ paths: description: Response content: application/json: - schema: *390 + schema: *397 examples: default: value: @@ -127929,7 +129234,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#download-a-user-migration-archive parameters: - - *391 + - *398 responses: '302': description: Response @@ -127955,7 +129260,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#delete-a-user-migration-archive parameters: - - *391 + - *398 responses: '204': description: Response @@ -127984,8 +129289,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#unlock-a-user-repository parameters: - - *391 - - *813 + - *398 + - *817 responses: '204': description: Response @@ -128009,7 +129314,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *391 + - *398 - *17 - *19 responses: @@ -128098,7 +129403,7 @@ paths: - docker - nuget - container - - *814 + - *818 - *19 - *17 responses: @@ -128108,10 +129413,10 @@ paths: application/json: schema: type: array - items: *395 + items: *402 examples: - default: *815 - '400': *816 + default: *819 + '400': *820 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -128131,16 +129436,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *397 - - *398 + - *404 + - *405 responses: '200': description: Response content: application/json: - schema: *395 + schema: *402 examples: - default: &836 + default: &840 value: id: 40201 name: octo-name @@ -128253,8 +129558,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *397 - - *398 + - *404 + - *405 responses: '204': description: Response @@ -128284,8 +129589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *397 - - *398 + - *404 + - *405 - name: token description: package token schema: @@ -128317,8 +129622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *397 - - *398 + - *404 + - *405 - *19 - *17 - name: state @@ -128338,7 +129643,7 @@ paths: application/json: schema: type: array - items: *399 + items: *406 examples: default: value: @@ -128387,15 +129692,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *397 - - *398 - - *400 + - *404 + - *405 + - *407 responses: '200': description: Response content: application/json: - schema: *399 + schema: *406 examples: default: value: @@ -128431,9 +129736,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *397 - - *398 - - *400 + - *404 + - *405 + - *407 responses: '204': description: Response @@ -128463,9 +129768,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *397 - - *398 - - *400 + - *404 + - *405 + - *407 responses: '204': description: Response @@ -128502,9 +129807,9 @@ paths: application/json: schema: type: array - items: *805 + items: *809 examples: - default: *817 + default: *821 headers: Link: *45 '304': *35 @@ -128617,7 +129922,7 @@ paths: type: array items: *78 examples: - default: &824 + default: &828 summary: Default response value: - id: 1296269 @@ -128935,9 +130240,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *478 examples: - default: *473 + default: *480 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -128976,9 +130281,9 @@ paths: application/json: schema: type: array - items: *653 + items: *657 examples: - default: *818 + default: *822 headers: Link: *45 '304': *35 @@ -129001,7 +130306,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *376 + - *383 responses: '204': description: Response @@ -129025,7 +130330,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *376 + - *383 responses: '204': description: Response @@ -129058,7 +130363,7 @@ paths: application/json: schema: type: array - items: &819 + items: &823 title: Social account description: Social media account type: object @@ -129075,7 +130380,7 @@ paths: - provider - url examples: - default: &820 + default: &824 value: - provider: twitter url: https://twitter.com/github @@ -129138,9 +130443,9 @@ paths: application/json: schema: type: array - items: *819 + items: *823 examples: - default: *820 + default: *824 '422': *15 '304': *35 '404': *6 @@ -129228,7 +130533,7 @@ paths: application/json: schema: type: array - items: &821 + items: &825 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -129248,7 +130553,7 @@ paths: - title - created_at examples: - default: &850 + default: &854 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -129313,9 +130618,9 @@ paths: description: Response content: application/json: - schema: *821 + schema: *825 examples: - default: &822 + default: &826 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -129345,7 +130650,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &823 + - &827 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -129357,9 +130662,9 @@ paths: description: Response content: application/json: - schema: *821 + schema: *825 examples: - default: *822 + default: *826 '404': *6 '304': *35 '403': *27 @@ -129382,7 +130687,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *823 + - *827 responses: '204': description: Response @@ -129411,7 +130716,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &851 + - &855 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -129436,11 +130741,11 @@ paths: type: array items: *78 examples: - default-response: *824 + default-response: *828 application/vnd.github.v3.star+json: schema: type: array - items: &852 + items: &856 title: Starred Repository description: Starred Repository type: object @@ -129596,8 +130901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response if this repository is starred by you @@ -129625,8 +130930,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -129650,8 +130955,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *466 - - *467 + - *473 + - *474 responses: '204': description: Response @@ -129686,7 +130991,7 @@ paths: type: array items: *278 examples: - default: *408 + default: *415 headers: Link: *45 '304': *35 @@ -129723,7 +131028,7 @@ paths: application/json: schema: type: array - items: *458 + items: *465 examples: default: value: @@ -129809,10 +131114,10 @@ paths: application/json: schema: oneOf: - - *800 - - *825 + - *804 + - *829 examples: - default-response: &829 + default-response: &833 summary: Default response value: login: octocat @@ -129847,7 +131152,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &830 + response-with-git-hub-plan-information: &834 summary: Response with GitHub plan information value: login: octocat @@ -129904,14 +131209,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/drafts#create-draft-item-for-user-owned-project parameters: - - &827 + - &831 name: user_id description: The unique identifier of the user. in: path required: true schema: type: string - - *413 + - *420 requestBody: required: true description: Details of the draft item to create in the project. @@ -129945,9 +131250,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *425 examples: - draft_issue: *419 + draft_issue: *426 '304': *35 '403': *27 '401': *23 @@ -129970,7 +131275,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/users/users#list-users parameters: - - *826 + - *830 - *17 responses: '200': @@ -130005,8 +131310,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/views#create-a-view-for-a-user-owned-project parameters: - - *827 - - *413 + - *831 + - *420 requestBody: required: true content: @@ -130080,17 +131385,17 @@ paths: description: Response for creating a view in a user-owned project. content: application/json: - schema: *828 + schema: *832 examples: table_view: summary: Response for creating a table view - value: *423 + value: *430 board_view: summary: Response for creating a board view with filter - value: *423 + value: *430 roadmap_view: summary: Response for creating a roadmap view - value: *423 + value: *430 '304': *35 '403': *27 '401': *23 @@ -130132,11 +131437,11 @@ paths: application/json: schema: oneOf: - - *800 - - *825 + - *804 + - *829 examples: - default-response: *829 - response-with-git-hub-plan-information: *830 + default-response: *833 + response-with-git-hub-plan-information: *834 '404': *6 x-github: githubCloudOnly: false @@ -130186,8 +131491,8 @@ paths: required: - subject_digests examples: - default: *831 - withPredicateType: *832 + default: *835 + withPredicateType: *836 responses: '200': description: Response @@ -130227,7 +131532,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *833 + default: *837 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -130416,7 +131721,7 @@ paths: initiator: type: string examples: - default: *513 + default: *519 '201': description: Response content: @@ -130483,7 +131788,7 @@ paths: spaces: type: array description: The list of Copilot Spaces on this page of results. - items: *322 + items: *329 examples: default: summary: Example response for listing user copilot spaces @@ -130698,9 +132003,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *329 examples: - default: &834 + default: &838 summary: Example response for a user copilot space value: id: 42 @@ -130799,9 +132104,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *329 examples: - default: *834 + default: *838 '403': *27 '404': *6 x-github: @@ -130925,9 +132230,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *329 examples: - default: *834 + default: *838 '403': *27 '404': *6 '422': *15 @@ -131004,7 +132309,7 @@ paths: collaborators: type: array description: The list of collaborators for this Copilot Space. - items: *324 + items: *331 examples: default: value: @@ -131147,7 +132452,7 @@ paths: description: Response content: application/json: - schema: *324 + schema: *331 examples: default: value: @@ -131258,7 +132563,7 @@ paths: description: Response content: application/json: - schema: *324 + schema: *331 examples: default: value: @@ -131388,7 +132693,7 @@ paths: resources: type: array description: The list of resources attached to this Copilot Space. - items: *325 + items: *332 examples: default: value: @@ -131480,7 +132785,7 @@ paths: description: Resource created content: application/json: - schema: *325 + schema: *332 examples: default: value: @@ -131496,7 +132801,7 @@ paths: description: Duplicate github_file resource already exists content: application/json: - schema: *325 + schema: *332 examples: default: value: @@ -131549,7 +132854,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *332 examples: default: value: @@ -131616,7 +132921,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *332 examples: default: value: @@ -131693,9 +132998,9 @@ paths: application/json: schema: type: array - items: *395 + items: *402 examples: - default: *815 + default: *819 '403': *27 '401': *23 x-github: @@ -132079,9 +133384,9 @@ paths: application/json: schema: type: array - items: *806 + items: *810 examples: - default: *835 + default: *839 headers: Link: *45 x-github: @@ -132185,7 +133490,7 @@ paths: application/json: schema: *20 examples: - default: *370 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -132310,7 +133615,7 @@ paths: - docker - nuget - container - - *814 + - *818 - *140 - *19 - *17 @@ -132321,12 +133626,12 @@ paths: application/json: schema: type: array - items: *395 + items: *402 examples: - default: *815 + default: *819 '403': *27 '401': *23 - '400': *816 + '400': *820 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -132346,17 +133651,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-for-a-user parameters: - - *397 - - *398 + - *404 + - *405 - *140 responses: '200': description: Response content: application/json: - schema: *395 + schema: *402 examples: - default: *836 + default: *840 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -132377,8 +133682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-a-package-for-a-user parameters: - - *397 - - *398 + - *404 + - *405 - *140 responses: '204': @@ -132411,8 +133716,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-a-package-for-a-user parameters: - - *397 - - *398 + - *404 + - *405 - *140 - name: token description: package token @@ -132445,8 +133750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *397 - - *398 + - *404 + - *405 - *140 responses: '200': @@ -132455,7 +133760,7 @@ paths: application/json: schema: type: array - items: *399 + items: *406 examples: default: value: @@ -132513,16 +133818,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *397 - - *398 - - *400 + - *404 + - *405 + - *407 - *140 responses: '200': description: Response content: application/json: - schema: *399 + schema: *406 examples: default: value: @@ -132557,10 +133862,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#delete-package-version-for-a-user parameters: - - *397 - - *398 + - *404 + - *405 - *140 - - *400 + - *407 responses: '204': description: Response @@ -132592,10 +133897,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/packages/packages#restore-package-version-for-a-user parameters: - - *397 - - *398 + - *404 + - *405 - *140 - - *400 + - *407 responses: '204': description: Response @@ -132636,9 +133941,9 @@ paths: application/json: schema: type: array - items: *411 + items: *418 examples: - default: *412 + default: *419 headers: Link: *45 '304': *35 @@ -132660,16 +133965,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/projects#get-project-for-user parameters: - - *413 + - *420 - *140 responses: '200': description: Response content: application/json: - schema: *411 + schema: *418 examples: - default: *412 + default: *419 headers: Link: *45 '304': *35 @@ -132691,7 +133996,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#list-project-fields-for-user parameters: - - *413 + - *420 - *140 - *17 - *108 @@ -132703,9 +134008,9 @@ paths: application/json: schema: type: array - items: *416 + items: *423 examples: - default: *837 + default: *841 headers: Link: *45 '304': *35 @@ -132727,7 +134032,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#add-field-to-user-owned-project parameters: - *140 - - *413 + - *420 requestBody: required: true content: @@ -132765,7 +134070,7 @@ paths: description: The options available for single select fields. At least one option must be provided when creating a single select field. - items: *838 + items: *842 required: - name - data_type @@ -132781,7 +134086,7 @@ paths: description: The field's data type. enum: - iteration - iteration_configuration: *839 + iteration_configuration: *843 required: - name - data_type @@ -132803,20 +134108,20 @@ paths: value: name: Due date data_type: date - single_select_field: *840 - iteration_field: *841 + single_select_field: *844 + iteration_field: *845 responses: '201': description: Response content: application/json: - schema: *416 + schema: *423 examples: - text_field: *842 - number_field: *843 - date_field: *844 - single_select_field: *845 - iteration_field: *846 + text_field: *846 + number_field: *847 + date_field: *848 + single_select_field: *849 + iteration_field: *850 '304': *35 '403': *27 '401': *23 @@ -132837,17 +134142,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/fields#get-project-field-for-user parameters: - - *413 - - *847 + - *420 + - *851 - *140 responses: '200': description: Response content: application/json: - schema: *416 + schema: *423 examples: - default: *848 + default: *852 headers: Link: *45 '304': *35 @@ -132870,7 +134175,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *413 + - *420 - *140 - *108 - *109 @@ -132903,9 +134208,9 @@ paths: application/json: schema: type: array - items: *420 + items: *427 examples: - default: *421 + default: *428 headers: Link: *45 '304': *35 @@ -132927,7 +134232,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#add-item-to-user-owned-project parameters: - *140 - - *413 + - *420 requestBody: required: true description: Details of the item to add to the project. You can specify either @@ -132997,22 +134302,22 @@ paths: description: Response content: application/json: - schema: *418 + schema: *425 examples: issue_with_id: summary: Response for adding an issue using its unique ID - value: *419 + value: *426 pull_request_with_id: summary: Response for adding a pull request using its unique ID - value: *419 + value: *426 issue_with_nwo: summary: Response for adding an issue using repository owner, name, and issue number - value: *419 + value: *426 pull_request_with_nwo: summary: Response for adding a pull request using repository owner, name, and PR number - value: *419 + value: *426 '304': *35 '403': *27 '401': *23 @@ -133032,9 +134337,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *413 + - *420 - *140 - - *422 + - *429 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -133054,9 +134359,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *427 examples: - default: *421 + default: *428 headers: Link: *45 '304': *35 @@ -133077,9 +134382,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#update-project-item-for-user parameters: - - *413 + - *420 - *140 - - *422 + - *429 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -133152,13 +134457,13 @@ paths: description: Response content: application/json: - schema: *420 + schema: *427 examples: - text_field: *421 - number_field: *421 - date_field: *421 - single_select_field: *421 - iteration_field: *421 + text_field: *428 + number_field: *428 + date_field: *428 + single_select_field: *428 + iteration_field: *428 '401': *23 '403': *27 '404': *6 @@ -133178,9 +134483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#delete-project-item-for-user parameters: - - *413 + - *420 - *140 - - *422 + - *429 responses: '204': description: Response @@ -133202,9 +134507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest/rest/projects/items#list-items-for-a-user-project-view parameters: - - *413 + - *420 - *140 - - *849 + - *853 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the @@ -133230,9 +134535,9 @@ paths: application/json: schema: type: array - items: *420 + items: *427 examples: - default: *421 + default: *428 headers: Link: *45 '304': *35 @@ -133453,7 +134758,7 @@ paths: type: array items: *278 examples: - default: *408 + default: *415 headers: Link: *45 x-github: @@ -133483,9 +134788,9 @@ paths: application/json: schema: type: array - items: *819 + items: *823 examples: - default: *820 + default: *824 headers: Link: *45 x-github: @@ -133515,9 +134820,9 @@ paths: application/json: schema: type: array - items: *821 + items: *825 examples: - default: *850 + default: *854 headers: Link: *45 x-github: @@ -133542,7 +134847,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *140 - - *851 + - *855 - *110 - *17 - *19 @@ -133554,11 +134859,11 @@ paths: schema: anyOf: - type: array - items: *852 + items: *856 - type: array items: *78 examples: - default-response: *824 + default-response: *828 headers: Link: *45 x-github: @@ -133589,7 +134894,7 @@ paths: type: array items: *278 examples: - default: *408 + default: *415 headers: Link: *45 x-github: @@ -133718,7 +135023,7 @@ webhooks: type: string enum: - disabled - enterprise: &853 + enterprise: &857 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -133787,7 +135092,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &854 + installation: &858 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -133808,7 +135113,7 @@ webhooks: required: - id - node_id - organization: &855 + organization: &859 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -133881,7 +135186,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &856 + repository: &860 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -134796,10 +136101,10 @@ webhooks: type: string enum: - enabled - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -134875,11 +136180,11 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - rule: &857 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + rule: &861 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -135102,11 +136407,11 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - rule: *857 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + rule: *861 sender: *4 required: - action @@ -135294,11 +136599,11 @@ webhooks: - everyone required: - from - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - rule: *857 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + rule: *861 sender: *4 required: - action @@ -135371,7 +136676,7 @@ webhooks: required: true content: application/json: - schema: &877 + schema: &881 title: Exemption request cancellation event type: object properties: @@ -135379,11 +136684,11 @@ webhooks: type: string enum: - cancelled - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - exemption_request: &858 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + exemption_request: &862 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -135692,7 +136997,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &859 + items: &863 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -135804,7 +137109,7 @@ webhooks: required: true content: application/json: - schema: &878 + schema: &882 title: Exemption request completed event type: object properties: @@ -135812,11 +137117,11 @@ webhooks: type: string enum: - completed - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - exemption_request: *858 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + exemption_request: *862 sender: *4 required: - action @@ -135888,7 +137193,7 @@ webhooks: required: true content: application/json: - schema: &875 + schema: &879 title: Exemption request created event type: object properties: @@ -135896,11 +137201,11 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - exemption_request: *858 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + exemption_request: *862 sender: *4 required: - action @@ -135972,7 +137277,7 @@ webhooks: required: true content: application/json: - schema: &879 + schema: &883 title: Exemption response dismissed event type: object properties: @@ -135980,12 +137285,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - exemption_request: *858 - exemption_response: *859 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + exemption_request: *862 + exemption_response: *863 sender: *4 required: - action @@ -136059,7 +137364,7 @@ webhooks: required: true content: application/json: - schema: &876 + schema: &880 title: Exemption response submitted event type: object properties: @@ -136067,12 +137372,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - exemption_request: *858 - exemption_response: *859 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + exemption_request: *862 + exemption_response: *863 sender: *4 required: - action @@ -136156,7 +137461,7 @@ webhooks: type: string enum: - completed - check_run: &861 + check_run: &865 title: CheckRun description: A check performed on the code of a given code change type: object @@ -136266,7 +137571,7 @@ webhooks: - examples: - neutral - deployment: *860 + deployment: *864 details_url: type: string examples: @@ -136364,10 +137669,10 @@ webhooks: - output - app - pull_requests - installation: *854 - enterprise: *853 - organization: *855 - repository: *856 + installation: *858 + enterprise: *857 + organization: *859 + repository: *860 sender: *4 required: - check_run @@ -136758,11 +138063,11 @@ webhooks: type: string enum: - created - check_run: *861 - installation: *854 - enterprise: *853 - organization: *855 - repository: *856 + check_run: *865 + installation: *858 + enterprise: *857 + organization: *859 + repository: *860 sender: *4 required: - check_run @@ -137156,11 +138461,11 @@ webhooks: type: string enum: - requested_action - check_run: *861 - installation: *854 - enterprise: *853 - organization: *855 - repository: *856 + check_run: *865 + installation: *858 + enterprise: *857 + organization: *859 + repository: *860 requested_action: description: The action requested by the user. type: object @@ -137563,11 +138868,11 @@ webhooks: type: string enum: - rerequested - check_run: *861 - installation: *854 - enterprise: *853 - organization: *855 - repository: *856 + check_run: *865 + installation: *858 + enterprise: *857 + organization: *859 + repository: *860 sender: *4 required: - check_run @@ -138552,10 +139857,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -139259,10 +140564,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -139960,10 +141265,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -140132,7 +141437,7 @@ webhooks: required: - login - id - dismissed_comment: *541 + dismissed_comment: *547 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -140284,20 +141589,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &862 + commit_oid: &866 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *853 - installation: *854 - organization: *855 - ref: &863 + enterprise: *857 + installation: *858 + organization: *859 + ref: &867 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *856 + repository: *860 sender: *4 required: - action @@ -140464,7 +141769,7 @@ webhooks: required: - login - id - dismissed_comment: *541 + dismissed_comment: *547 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -140705,12 +142010,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *862 - enterprise: *853 - installation: *854 - organization: *855 - ref: *863 - repository: *856 + commit_oid: *866 + enterprise: *857 + installation: *858 + organization: *859 + ref: *867 + repository: *860 sender: *4 required: - action @@ -140808,7 +142113,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *541 + dismissed_comment: *547 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -140993,12 +142298,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *862 - enterprise: *853 - installation: *854 - organization: *855 - ref: *863 - repository: *856 + commit_oid: *866 + enterprise: *857 + installation: *858 + organization: *859 + ref: *867 + repository: *860 sender: *4 required: - action @@ -141167,7 +142472,7 @@ webhooks: required: - login - id - dismissed_comment: *541 + dismissed_comment: *547 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -141344,12 +142649,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *862 - enterprise: *853 - installation: *854 - organization: *855 - ref: *863 - repository: *856 + commit_oid: *866 + enterprise: *857 + installation: *858 + organization: *859 + ref: *867 + repository: *860 sender: *4 required: - action @@ -141450,7 +142755,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *541 + dismissed_comment: *547 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -141639,9 +142944,9 @@ webhooks: type: - string - 'null' - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -141649,7 +142954,7 @@ webhooks: type: - string - 'null' - repository: *856 + repository: *860 sender: *4 required: - action @@ -141748,7 +143053,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *541 + dismissed_comment: *547 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -141895,12 +143200,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *862 - enterprise: *853 - installation: *854 - organization: *855 - ref: *863 - repository: *856 + commit_oid: *866 + enterprise: *857 + installation: *858 + organization: *859 + ref: *867 + repository: *860 sender: *4 required: - action @@ -142069,7 +143374,7 @@ webhooks: required: - login - id - dismissed_comment: *541 + dismissed_comment: *547 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -142221,10 +143526,10 @@ webhooks: - dismissed_reason - rule - tool - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -142484,10 +143789,10 @@ webhooks: - updated_at - author_association - body - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -142568,18 +143873,18 @@ webhooks: type: - string - 'null' - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *855 - pusher_type: &864 + organization: *859 + pusher_type: &868 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &865 + ref: &869 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest/rest/git/refs#get-a-reference) resource. type: string @@ -142589,7 +143894,7 @@ webhooks: enum: - tag - branch - repository: *856 + repository: *860 sender: *4 required: - ref @@ -142672,9 +143977,9 @@ webhooks: enum: - created definition: *153 - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 sender: *4 required: - action @@ -142759,9 +144064,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 sender: *4 required: - action @@ -142839,9 +144144,9 @@ webhooks: enum: - promote_to_enterprise definition: *153 - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 sender: *4 required: - action @@ -142919,9 +144224,9 @@ webhooks: enum: - updated definition: *153 - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 sender: *4 required: - action @@ -142998,10 +144303,10 @@ webhooks: type: string enum: - updated - enterprise: *853 - installation: *854 - repository: *856 - organization: *855 + enterprise: *857 + installation: *858 + repository: *860 + organization: *859 sender: *4 new_property_values: type: array @@ -143086,18 +144391,18 @@ webhooks: title: delete event type: object properties: - enterprise: *853 - installation: *854 - organization: *855 - pusher_type: *864 - ref: *865 + enterprise: *857 + installation: *858 + organization: *859 + pusher_type: *868 + ref: *869 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *856 + repository: *860 sender: *4 required: - ref @@ -143177,11 +144482,11 @@ webhooks: type: string enum: - assignees_changed - alert: *601 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *607 + installation: *858 + organization: *859 + enterprise: *857 + repository: *860 sender: *4 required: - action @@ -143261,11 +144566,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *601 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *607 + installation: *858 + organization: *859 + enterprise: *857 + repository: *860 sender: *4 required: - action @@ -143346,11 +144651,11 @@ webhooks: type: string enum: - auto_reopened - alert: *601 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *607 + installation: *858 + organization: *859 + enterprise: *857 + repository: *860 sender: *4 required: - action @@ -143431,11 +144736,11 @@ webhooks: type: string enum: - created - alert: *601 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *607 + installation: *858 + organization: *859 + enterprise: *857 + repository: *860 sender: *4 required: - action @@ -143514,11 +144819,11 @@ webhooks: type: string enum: - dismissed - alert: *601 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *607 + installation: *858 + organization: *859 + enterprise: *857 + repository: *860 sender: *4 required: - action @@ -143597,11 +144902,11 @@ webhooks: type: string enum: - fixed - alert: *601 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *607 + installation: *858 + organization: *859 + enterprise: *857 + repository: *860 sender: *4 required: - action @@ -143681,11 +144986,11 @@ webhooks: type: string enum: - reintroduced - alert: *601 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *607 + installation: *858 + organization: *859 + enterprise: *857 + repository: *860 sender: *4 required: - action @@ -143764,11 +145069,11 @@ webhooks: type: string enum: - reopened - alert: *601 - installation: *854 - organization: *855 - enterprise: *853 - repository: *856 + alert: *607 + installation: *858 + organization: *859 + enterprise: *857 + repository: *860 sender: *4 required: - action @@ -143845,9 +145150,9 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - key: &866 + enterprise: *857 + installation: *858 + key: &870 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -143885,8 +145190,8 @@ webhooks: - verified - created_at - read_only - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -143963,11 +145268,11 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - key: *866 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + key: *870 + organization: *859 + repository: *860 sender: *4 required: - action @@ -144534,12 +145839,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 - workflow: &870 + workflow: &874 title: Workflow type: - object @@ -145290,13 +146595,13 @@ webhooks: deployment: anyOf: - type: 'null' - - *608 + - *614 pull_requests: type: array - items: *702 - repository: *856 - organization: *855 - installation: *854 + items: *706 + repository: *860 + organization: *859 + installation: *858 sender: *4 responses: '200': @@ -145367,7 +146672,7 @@ webhooks: type: string enum: - approved - approver: &867 + approver: &871 type: object properties: avatar_url: @@ -145410,11 +146715,11 @@ webhooks: type: string comment: type: string - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - reviewers: &868 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + reviewers: &872 type: array items: type: object @@ -145495,7 +146800,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &869 + workflow_job_run: &873 type: object properties: conclusion: @@ -146241,18 +147546,18 @@ webhooks: type: string enum: - rejected - approver: *867 + approver: *871 comment: type: string - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - reviewers: *868 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + reviewers: *872 sender: *4 since: type: string - workflow_job_run: *869 + workflow_job_run: *873 workflow_job_runs: type: array items: @@ -146969,13 +148274,13 @@ webhooks: type: string enum: - requested - enterprise: *853 + enterprise: *857 environment: type: string - installation: *854 - organization: *855 - repository: *856 - requestor: &880 + installation: *858 + organization: *859 + repository: *860 + requestor: &884 title: User type: - object @@ -148908,12 +150213,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 - workflow: *870 + workflow: *874 workflow_run: title: Deployment Workflow Run type: @@ -149604,7 +150909,7 @@ webhooks: type: string enum: - answered - answer: &873 + answer: &877 type: object properties: author_association: @@ -149764,11 +151069,11 @@ webhooks: - created_at - updated_at - body - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -149895,11 +151200,11 @@ webhooks: - from required: - category - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -149982,11 +151287,11 @@ webhooks: type: string enum: - closed - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -150068,7 +151373,7 @@ webhooks: type: string enum: - created - comment: &872 + comment: &876 type: object properties: author_association: @@ -150228,11 +151533,11 @@ webhooks: - updated_at - body - reactions - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -150315,12 +151620,12 @@ webhooks: type: string enum: - deleted - comment: *872 - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + comment: *876 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -150415,12 +151720,12 @@ webhooks: - from required: - body - comment: *872 - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + comment: *876 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -150504,11 +151809,11 @@ webhooks: type: string enum: - created - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -150590,11 +151895,11 @@ webhooks: type: string enum: - deleted - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -150694,11 +151999,11 @@ webhooks: type: string required: - from - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -150780,10 +152085,10 @@ webhooks: type: string enum: - labeled - discussion: *871 - enterprise: *853 - installation: *854 - label: &874 + discussion: *875 + enterprise: *857 + installation: *858 + label: &878 title: Label type: object properties: @@ -150816,8 +152121,8 @@ webhooks: - color - default - description - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -150900,11 +152205,11 @@ webhooks: type: string enum: - locked - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -150986,11 +152291,11 @@ webhooks: type: string enum: - pinned - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -151072,11 +152377,11 @@ webhooks: type: string enum: - reopened - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -151161,16 +152466,16 @@ webhooks: changes: type: object properties: - new_discussion: *871 - new_repository: *856 + new_discussion: *875 + new_repository: *860 required: - new_discussion - new_repository - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -151253,10 +152558,10 @@ webhooks: type: string enum: - unanswered - discussion: *871 - old_answer: *873 - organization: *855 - repository: *856 + discussion: *875 + old_answer: *877 + organization: *859 + repository: *860 sender: *4 required: - action @@ -151338,12 +152643,12 @@ webhooks: type: string enum: - unlabeled - discussion: *871 - enterprise: *853 - installation: *854 - label: *874 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + label: *878 + organization: *859 + repository: *860 sender: *4 required: - action @@ -151426,11 +152731,11 @@ webhooks: type: string enum: - unlocked - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -151512,11 +152817,11 @@ webhooks: type: string enum: - unpinned - discussion: *871 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + discussion: *875 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -151585,7 +152890,7 @@ webhooks: required: true content: application/json: - schema: *875 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151648,7 +152953,7 @@ webhooks: required: true content: application/json: - schema: *876 + schema: *880 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151711,7 +153016,7 @@ webhooks: required: true content: application/json: - schema: *877 + schema: *881 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151774,7 +153079,7 @@ webhooks: required: true content: application/json: - schema: *875 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151837,7 +153142,7 @@ webhooks: required: true content: application/json: - schema: *876 + schema: *880 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151903,7 +153208,7 @@ webhooks: required: true content: application/json: - schema: *877 + schema: *881 responses: '200': description: Return a 200 status to indicate that the data was received @@ -151969,7 +153274,7 @@ webhooks: required: true content: application/json: - schema: *878 + schema: *882 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152035,7 +153340,7 @@ webhooks: required: true content: application/json: - schema: *875 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152101,7 +153406,7 @@ webhooks: required: true content: application/json: - schema: *879 + schema: *883 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152167,7 +153472,7 @@ webhooks: required: true content: application/json: - schema: *876 + schema: *880 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152232,7 +153537,7 @@ webhooks: required: true content: application/json: - schema: *877 + schema: *881 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152297,7 +153602,7 @@ webhooks: required: true content: application/json: - schema: *878 + schema: *882 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152362,7 +153667,7 @@ webhooks: required: true content: application/json: - schema: *875 + schema: *879 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152427,7 +153732,7 @@ webhooks: required: true content: application/json: - schema: *879 + schema: *883 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152493,7 +153798,7 @@ webhooks: required: true content: application/json: - schema: *876 + schema: *880 responses: '200': description: Return a 200 status to indicate that the data was received @@ -152560,7 +153865,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *853 + enterprise: *857 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest/rest/repos/repos#get-a-repository) resource. @@ -153238,9 +154543,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *854 - organization: *855 - repository: *856 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - forkee @@ -153386,9 +154691,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 pages: description: The pages that were updated. type: array @@ -153426,7 +154731,7 @@ webhooks: - action - sha - html_url - repository: *856 + repository: *860 sender: *4 required: - pages @@ -153502,10 +154807,10 @@ webhooks: type: string enum: - created - enterprise: *853 + enterprise: *857 installation: *20 - organization: *855 - repositories: &881 + organization: *859 + repositories: &885 description: An array of repository objects that the installation can access. type: array @@ -153531,8 +154836,8 @@ webhooks: - name - full_name - private - repository: *856 - requester: *880 + repository: *860 + requester: *884 sender: *4 required: - action @@ -153607,11 +154912,11 @@ webhooks: type: string enum: - deleted - enterprise: *853 + enterprise: *857 installation: *20 - organization: *855 - repositories: *881 - repository: *856 + organization: *859 + repositories: *885 + repository: *860 requester: type: - 'null' @@ -153688,11 +154993,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *853 + enterprise: *857 installation: *20 - organization: *855 - repositories: *881 - repository: *856 + organization: *859 + repositories: *885 + repository: *860 requester: type: - 'null' @@ -153769,10 +155074,10 @@ webhooks: type: string enum: - added - enterprise: *853 + enterprise: *857 installation: *20 - organization: *855 - repositories_added: &882 + organization: *859 + repositories_added: &886 description: An array of repository objects, which were added to the installation. type: array @@ -153818,15 +155123,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *856 - repository_selection: &883 + repository: *860 + repository_selection: &887 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *880 + requester: *884 sender: *4 required: - action @@ -153905,10 +155210,10 @@ webhooks: type: string enum: - removed - enterprise: *853 + enterprise: *857 installation: *20 - organization: *855 - repositories_added: *882 + organization: *859 + repositories_added: *886 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -153935,9 +155240,9 @@ webhooks: - name - full_name - private - repository: *856 - repository_selection: *883 - requester: *880 + repository: *860 + repository_selection: *887 + requester: *884 sender: *4 required: - action @@ -154016,11 +155321,11 @@ webhooks: type: string enum: - suspend - enterprise: *853 + enterprise: *857 installation: *20 - organization: *855 - repositories: *881 - repository: *856 + organization: *859 + repositories: *885 + repository: *860 requester: type: - 'null' @@ -154203,10 +155508,10 @@ webhooks: type: string required: - from - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 target_type: type: string @@ -154285,11 +155590,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *853 + enterprise: *857 installation: *20 - organization: *855 - repositories: *881 - repository: *856 + organization: *859 + repositories: *885 + repository: *860 requester: type: - 'null' @@ -154455,7 +155760,7 @@ webhooks: pin: anyOf: - type: 'null' - - *679 + - *683 user: title: User type: @@ -154541,8 +155846,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -155354,8 +156659,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155372,7 +156677,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -155716,8 +157021,8 @@ webhooks: - state - locked - assignee - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -155797,7 +157102,7 @@ webhooks: type: string enum: - deleted - comment: &884 + comment: &888 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/issues/comments#get-an-issue-comment) itself. @@ -155954,7 +157259,7 @@ webhooks: pin: anyOf: - type: 'null' - - *679 + - *683 required: - url - html_url @@ -155968,8 +157273,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -156777,8 +158082,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156795,7 +158100,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -157141,8 +158446,8 @@ webhooks: - state - locked - assignee - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -157222,7 +158527,7 @@ webhooks: type: string enum: - edited - changes: &908 + changes: &912 description: The changes to the comment. type: object properties: @@ -157234,9 +158539,9 @@ webhooks: type: string required: - from - comment: *884 - enterprise: *853 - installation: *854 + comment: *888 + enterprise: *857 + installation: *858 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -158047,8 +159352,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158065,7 +159370,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -158409,8 +159714,8 @@ webhooks: - state - locked - assignee - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -158491,9 +159796,9 @@ webhooks: type: string enum: - pinned - comment: *884 - enterprise: *853 - installation: *854 + comment: *888 + enterprise: *857 + installation: *858 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -159306,8 +160611,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159324,7 +160629,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -159670,8 +160975,8 @@ webhooks: - state - locked - assignee - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -159751,9 +161056,9 @@ webhooks: type: string enum: - unpinned - comment: *884 - enterprise: *853 - installation: *854 + comment: *888 + enterprise: *857 + installation: *858 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) the comment belongs to. @@ -160566,8 +161871,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160584,7 +161889,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -160930,8 +162235,8 @@ webhooks: - state - locked - assignee - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -161020,9 +162325,9 @@ webhooks: type: number blocking_issue: *219 blocking_issue_repo: *78 - installation: *854 - organization: *855 - repository: *856 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -161111,9 +162416,9 @@ webhooks: type: number blocking_issue: *219 blocking_issue_repo: *78 - installation: *854 - organization: *855 - repository: *856 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -161201,9 +162506,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *219 - installation: *854 - organization: *855 - repository: *856 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -161292,9 +162597,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *219 - installation: *854 - organization: *855 - repository: *856 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -161374,10 +162679,10 @@ webhooks: type: string enum: - assigned - assignee: *880 - enterprise: *853 - installation: *854 - issue: &885 + assignee: *884 + enterprise: *857 + installation: *858 + issue: &889 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -162188,11 +163493,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162209,7 +163514,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -162312,8 +163617,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -162393,8 +163698,8 @@ webhooks: type: string enum: - closed - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -163210,11 +164515,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163231,7 +164536,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -163477,8 +164782,8 @@ webhooks: required: - state - closed_at - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -163557,8 +164862,8 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -164365,11 +165670,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -164386,7 +165691,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -164488,8 +165793,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -164568,8 +165873,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -165399,11 +166704,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165420,7 +166725,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -165501,7 +166806,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &886 + milestone: &890 title: Milestone description: A collection of related issues and pull requests. type: object @@ -165644,8 +166949,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -165744,8 +167049,8 @@ webhooks: type: string required: - from - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -166556,11 +167861,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -166574,7 +167879,7 @@ webhooks: timeline_url: type: string format: uri - type: *380 + type: *387 title: description: Title of the issue type: string @@ -166680,9 +167985,9 @@ webhooks: - active_lock_reason - body - reactions - label: *874 - organization: *855 - repository: *856 + label: *878 + organization: *859 + repository: *860 sender: *4 required: - action @@ -166762,9 +168067,9 @@ webhooks: type: string enum: - field_added - enterprise: *853 - installation: *854 - issue: *885 + enterprise: *857 + installation: *858 + issue: *889 issue_field: type: object description: The issue field whose value was set or updated on the @@ -166883,8 +168188,8 @@ webhooks: - id required: - from - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -166964,9 +168269,9 @@ webhooks: type: string enum: - field_removed - enterprise: *853 - installation: *854 - issue: *885 + enterprise: *857 + installation: *858 + issue: *889 issue_field: type: object description: The issue field whose value was cleared from the issue. @@ -167029,8 +168334,8 @@ webhooks: - 'null' required: - id - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -167110,8 +168415,8 @@ webhooks: type: string enum: - labeled - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -167921,11 +169226,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -167939,7 +169244,7 @@ webhooks: timeline_url: type: string format: uri - type: *380 + type: *387 title: description: Title of the issue type: string @@ -168045,9 +169350,9 @@ webhooks: - active_lock_reason - body - reactions - label: *874 - organization: *855 - repository: *856 + label: *878 + organization: *859 + repository: *860 sender: *4 required: - action @@ -168127,8 +169432,8 @@ webhooks: type: string enum: - locked - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -168963,11 +170268,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -168981,7 +170286,7 @@ webhooks: timeline_url: type: string format: uri - type: *380 + type: *387 title: description: Title of the issue type: string @@ -169064,8 +170369,8 @@ webhooks: format: uri user_view_type: type: string - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -169144,8 +170449,8 @@ webhooks: type: string enum: - milestoned - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -169974,11 +171279,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -169995,7 +171300,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -170075,9 +171380,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *886 - organization: *855 - repository: *856 + milestone: *890 + organization: *859 + repository: *860 sender: *4 required: - action @@ -170964,11 +172269,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -171068,7 +172373,7 @@ webhooks: required: - login - id - type: *380 + type: *387 required: - id - number @@ -171560,8 +172865,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -172368,11 +173673,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -172389,7 +173694,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -172495,8 +173800,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -172576,9 +173881,9 @@ webhooks: type: string enum: - pinned - enterprise: *853 - installation: *854 - issue: &887 + enterprise: *857 + installation: *858 + issue: &891 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) itself. @@ -173383,11 +174688,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -173404,7 +174709,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -173506,8 +174811,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -173586,8 +174891,8 @@ webhooks: type: string enum: - reopened - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -174420,11 +175725,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -174521,9 +175826,9 @@ webhooks: format: uri user_view_type: type: string - type: *380 - organization: *855 - repository: *856 + type: *387 + organization: *859 + repository: *860 sender: *4 required: - action @@ -175411,11 +176716,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -175432,7 +176737,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -176025,11 +177330,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *853 - installation: *854 - issue: *887 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + issue: *891 + organization: *859 + repository: *860 sender: *4 required: - action @@ -176109,12 +177414,12 @@ webhooks: type: string enum: - typed - enterprise: *853 - installation: *854 - issue: *885 - type: *380 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + issue: *889 + type: *387 + organization: *859 + repository: *860 sender: *4 required: - action @@ -176195,7 +177500,7 @@ webhooks: type: string enum: - unassigned - assignee: &911 + assignee: &915 title: User type: - object @@ -176267,11 +177572,11 @@ webhooks: required: - login - id - enterprise: *853 - installation: *854 - issue: *885 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + issue: *889 + organization: *859 + repository: *860 sender: *4 required: - action @@ -176350,12 +177655,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *853 - installation: *854 - issue: *885 - label: *874 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + issue: *889 + label: *878 + organization: *859 + repository: *860 sender: *4 required: - action @@ -176435,8 +177740,8 @@ webhooks: type: string enum: - unlocked - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest/rest/issues/issues#get-an-issue) @@ -177269,11 +178574,11 @@ webhooks: anyOf: - type: 'null' - *220 - sub_issues_summary: *793 - issue_dependencies_summary: *794 + sub_issues_summary: *797 + issue_dependencies_summary: *798 issue_field_values: type: array - items: *663 + items: *667 state: description: State of the issue; either 'open' or 'closed' type: string @@ -177290,7 +178595,7 @@ webhooks: title: description: Title of the issue type: string - type: *380 + type: *387 updated_at: type: string format: date-time @@ -177370,8 +178675,8 @@ webhooks: format: uri user_view_type: type: string - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -177451,11 +178756,11 @@ webhooks: type: string enum: - unpinned - enterprise: *853 - installation: *854 - issue: *887 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + issue: *891 + organization: *859 + repository: *860 sender: *4 required: - action @@ -177534,12 +178839,12 @@ webhooks: type: string enum: - untyped - enterprise: *853 - installation: *854 - issue: *885 - type: *380 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + issue: *889 + type: *387 + organization: *859 + repository: *860 sender: *4 required: - action @@ -177619,11 +178924,11 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - label: *874 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + label: *878 + organization: *859 + repository: *860 sender: *4 required: - action @@ -177701,11 +179006,11 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - label: *874 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + label: *878 + organization: *859 + repository: *860 sender: *4 required: - action @@ -177815,11 +179120,11 @@ webhooks: type: string required: - from - enterprise: *853 - installation: *854 - label: *874 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + label: *878 + organization: *859 + repository: *860 sender: *4 required: - action @@ -177901,9 +179206,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *853 - installation: *854 - marketplace_purchase: &888 + enterprise: *857 + installation: *858 + marketplace_purchase: &892 title: Marketplace Purchase type: object required: @@ -177991,8 +179296,8 @@ webhooks: type: integer unit_count: type: integer - organization: *855 - previous_marketplace_purchase: &889 + organization: *859 + previous_marketplace_purchase: &893 title: Marketplace Purchase type: object properties: @@ -178076,7 +179381,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *856 + repository: *860 sender: *4 required: - action @@ -178156,10 +179461,10 @@ webhooks: - changed effective_date: type: string - enterprise: *853 - installation: *854 - marketplace_purchase: *888 - organization: *855 + enterprise: *857 + installation: *858 + marketplace_purchase: *892 + organization: *859 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -178247,7 +179552,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *856 + repository: *860 sender: *4 required: - action @@ -178329,10 +179634,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *853 - installation: *854 - marketplace_purchase: *888 - organization: *855 + enterprise: *857 + installation: *858 + marketplace_purchase: *892 + organization: *859 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -178418,7 +179723,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *856 + repository: *860 sender: *4 required: - action @@ -178499,8 +179804,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 marketplace_purchase: title: Marketplace Purchase type: object @@ -178586,9 +179891,9 @@ webhooks: type: integer unit_count: type: integer - organization: *855 - previous_marketplace_purchase: *889 - repository: *856 + organization: *859 + previous_marketplace_purchase: *893 + repository: *860 sender: *4 required: - action @@ -178668,12 +179973,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *853 - installation: *854 - marketplace_purchase: *888 - organization: *855 - previous_marketplace_purchase: *889 - repository: *856 + enterprise: *857 + installation: *858 + marketplace_purchase: *892 + organization: *859 + previous_marketplace_purchase: *893 + repository: *860 sender: *4 required: - action @@ -178775,11 +180080,11 @@ webhooks: type: string required: - to - enterprise: *853 - installation: *854 - member: *880 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + member: *884 + organization: *859 + repository: *860 sender: *4 required: - action @@ -178881,11 +180186,11 @@ webhooks: type: - string - 'null' - enterprise: *853 - installation: *854 - member: *880 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + member: *884 + organization: *859 + repository: *860 sender: *4 required: - action @@ -178964,11 +180269,11 @@ webhooks: type: string enum: - removed - enterprise: *853 - installation: *854 - member: *880 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + member: *884 + organization: *859 + repository: *860 sender: *4 required: - action @@ -179046,11 +180351,11 @@ webhooks: type: string enum: - added - enterprise: *853 - installation: *854 - member: *880 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + member: *884 + organization: *859 + repository: *860 scope: description: The scope of the membership. Currently, can only be `team`. @@ -179128,7 +180433,7 @@ webhooks: required: - login - id - team: &890 + team: &894 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -179358,11 +180663,11 @@ webhooks: type: string enum: - removed - enterprise: *853 - installation: *854 - member: *880 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + member: *884 + organization: *859 + repository: *860 scope: description: The scope of the membership. Currently, can only be `team`. @@ -179441,7 +180746,7 @@ webhooks: required: - login - id - team: *890 + team: *894 required: - action - scope @@ -179523,8 +180828,8 @@ webhooks: type: string enum: - checks_requested - installation: *854 - merge_group: &891 + installation: *858 + merge_group: &895 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -179543,15 +180848,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *533 + head_commit: *539 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -179637,10 +180942,10 @@ webhooks: - merged - invalidated - dequeued - installation: *854 - merge_group: *891 - organization: *855 - repository: *856 + installation: *858 + merge_group: *895 + organization: *859 + repository: *860 sender: *4 required: - action @@ -179713,7 +181018,7 @@ webhooks: type: string enum: - deleted - enterprise: *853 + enterprise: *857 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -179822,12 +181127,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *854 - organization: *855 + installation: *858 + organization: *859 repository: anyOf: - type: 'null' - - *856 + - *860 sender: *4 required: - action @@ -179907,11 +181212,11 @@ webhooks: type: string enum: - closed - enterprise: *853 - installation: *854 - milestone: *886 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + milestone: *890 + organization: *859 + repository: *860 sender: *4 required: - action @@ -179990,9 +181295,9 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - milestone: &892 + enterprise: *857 + installation: *858 + milestone: &896 title: Milestone description: A collection of related issues and pull requests. type: object @@ -180134,8 +181439,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -180214,11 +181519,11 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - milestone: *886 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + milestone: *890 + organization: *859 + repository: *860 sender: *4 required: - action @@ -180328,11 +181633,11 @@ webhooks: type: string required: - from - enterprise: *853 - installation: *854 - milestone: *886 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + milestone: *890 + organization: *859 + repository: *860 sender: *4 required: - action @@ -180412,11 +181717,11 @@ webhooks: type: string enum: - opened - enterprise: *853 - installation: *854 - milestone: *892 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + milestone: *896 + organization: *859 + repository: *860 sender: *4 required: - action @@ -180495,11 +181800,11 @@ webhooks: type: string enum: - blocked - blocked_user: *880 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + blocked_user: *884 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -180578,11 +181883,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *880 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + blocked_user: *884 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -180658,7 +181963,7 @@ webhooks: enum: - created definition: *148 - enterprise: *853 + enterprise: *857 sender: *4 required: - action @@ -180738,8 +182043,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 sender: *4 required: - action @@ -180812,8 +182117,8 @@ webhooks: enum: - updated definition: *148 - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 sender: *4 required: - action @@ -180885,9 +182190,9 @@ webhooks: type: string enum: - updated - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 sender: *4 new_property_values: type: array @@ -180975,9 +182280,9 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - membership: &893 + enterprise: *857 + installation: *858 + membership: &897 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -181087,8 +182392,8 @@ webhooks: - role - organization_url - user - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 required: - action @@ -181166,11 +182471,11 @@ webhooks: type: string enum: - member_added - enterprise: *853 - installation: *854 - membership: *893 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + membership: *897 + organization: *859 + repository: *860 sender: *4 required: - action @@ -181249,8 +182554,8 @@ webhooks: type: string enum: - member_invited - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -181372,10 +182677,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 - user: *880 + user: *884 required: - action - invitation @@ -181453,11 +182758,11 @@ webhooks: type: string enum: - member_removed - enterprise: *853 - installation: *854 - membership: *893 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + membership: *897 + organization: *859 + repository: *860 sender: *4 required: - action @@ -181544,11 +182849,11 @@ webhooks: properties: from: type: string - enterprise: *853 - installation: *854 - membership: *893 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + membership: *897 + organization: *859 + repository: *860 sender: *4 required: - action @@ -181626,9 +182931,9 @@ webhooks: type: string enum: - published - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 package: description: Information about the package. type: object @@ -182151,7 +183456,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &894 + items: &898 title: Ruby Gems metadata type: object properties: @@ -182248,7 +183553,7 @@ webhooks: - owner - package_version - registry - repository: *856 + repository: *860 sender: *4 required: - action @@ -182325,9 +183630,9 @@ webhooks: type: string enum: - updated - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 package: description: Information about the package. type: object @@ -182689,7 +183994,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *894 + items: *898 source_url: type: string format: uri @@ -182760,7 +184065,7 @@ webhooks: - owner - package_version - registry - repository: *856 + repository: *860 sender: *4 required: - action @@ -182940,12 +184245,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *853 + enterprise: *857 id: type: integer - installation: *854 - organization: *855 - repository: *856 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - id @@ -183022,7 +184327,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &895 + personal_access_token_request: &899 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -183172,10 +184477,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *853 - organization: *855 + enterprise: *857 + organization: *859 sender: *4 - installation: *854 + installation: *858 required: - action - personal_access_token_request @@ -183252,11 +184557,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *895 - enterprise: *853 - organization: *855 + personal_access_token_request: *899 + enterprise: *857 + organization: *859 sender: *4 - installation: *854 + installation: *858 required: - action - personal_access_token_request @@ -183332,11 +184637,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *895 - enterprise: *853 - organization: *855 + personal_access_token_request: *899 + enterprise: *857 + organization: *859 sender: *4 - installation: *854 + installation: *858 required: - action - personal_access_token_request @@ -183411,11 +184716,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *895 - organization: *855 - enterprise: *853 + personal_access_token_request: *899 + organization: *859 + enterprise: *857 sender: *4 - installation: *854 + installation: *858 required: - action - personal_access_token_request @@ -183520,7 +184825,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *896 + last_response: *900 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -183552,8 +184857,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 zen: description: Random string of GitHub zen. @@ -183798,10 +185103,10 @@ webhooks: - from required: - note - enterprise: *853 - installation: *854 - organization: *855 - project_card: &897 + enterprise: *857 + installation: *858 + organization: *859 + project_card: &901 title: Project Card type: object properties: @@ -183924,7 +185229,7 @@ webhooks: - creator - created_at - updated_at - repository: *856 + repository: *860 sender: *4 required: - action @@ -184005,11 +185310,11 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - project_card: *897 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + project_card: *901 + repository: *860 sender: *4 required: - action @@ -184089,9 +185394,9 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 project_card: title: Project Card type: object @@ -184221,7 +185526,7 @@ webhooks: repository: anyOf: - type: 'null' - - *856 + - *860 sender: *4 required: - action @@ -184315,11 +185620,11 @@ webhooks: - from required: - note - enterprise: *853 - installation: *854 - organization: *855 - project_card: *897 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + project_card: *901 + repository: *860 sender: *4 required: - action @@ -184413,9 +185718,9 @@ webhooks: - from required: - column_id - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 project_card: allOf: - title: Project Card @@ -184612,7 +185917,7 @@ webhooks: type: string required: - after_id - repository: *856 + repository: *860 sender: *4 required: - action @@ -184692,10 +185997,10 @@ webhooks: type: string enum: - closed - enterprise: *853 - installation: *854 - organization: *855 - project: &899 + enterprise: *857 + installation: *858 + organization: *859 + project: &903 title: Project type: object properties: @@ -184822,7 +186127,7 @@ webhooks: - creator - created_at - updated_at - repository: *856 + repository: *860 sender: *4 required: - action @@ -184902,10 +186207,10 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - project_column: &898 + enterprise: *857 + installation: *858 + organization: *859 + project_column: &902 title: Project Column type: object properties: @@ -184945,7 +186250,7 @@ webhooks: - name - created_at - updated_at - repository: *856 + repository: *860 sender: *4 required: - action @@ -185024,14 +186329,14 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - project_column: *898 + enterprise: *857 + installation: *858 + organization: *859 + project_column: *902 repository: anyOf: - type: 'null' - - *856 + - *860 sender: *4 required: - action @@ -185120,11 +186425,11 @@ webhooks: type: string required: - from - enterprise: *853 - installation: *854 - organization: *855 - project_column: *898 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + project_column: *902 + repository: *860 sender: *4 required: - action @@ -185204,11 +186509,11 @@ webhooks: type: string enum: - moved - enterprise: *853 - installation: *854 - organization: *855 - project_column: *898 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + project_column: *902 + repository: *860 sender: *4 required: - action @@ -185288,11 +186593,11 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - project: *899 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + project: *903 + repository: *860 sender: *4 required: - action @@ -185372,14 +186677,14 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - project: *899 + enterprise: *857 + installation: *858 + organization: *859 + project: *903 repository: anyOf: - type: 'null' - - *856 + - *860 sender: *4 required: - action @@ -185480,11 +186785,11 @@ webhooks: type: string required: - from - enterprise: *853 - installation: *854 - organization: *855 - project: *899 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + project: *903 + repository: *860 sender: *4 required: - action @@ -185563,11 +186868,11 @@ webhooks: type: string enum: - reopened - enterprise: *853 - installation: *854 - organization: *855 - project: *899 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + project: *903 + repository: *860 sender: *4 required: - action @@ -185648,9 +186953,9 @@ webhooks: type: string enum: - closed - installation: *854 - organization: *855 - projects_v2: *411 + installation: *858 + organization: *859 + projects_v2: *418 sender: *4 required: - action @@ -185731,9 +187036,9 @@ webhooks: type: string enum: - created - installation: *854 - organization: *855 - projects_v2: *411 + installation: *858 + organization: *859 + projects_v2: *418 sender: *4 required: - action @@ -185814,9 +187119,9 @@ webhooks: type: string enum: - deleted - installation: *854 - organization: *855 - projects_v2: *411 + installation: *858 + organization: *859 + projects_v2: *418 sender: *4 required: - action @@ -185937,9 +187242,9 @@ webhooks: type: string to: type: string - installation: *854 - organization: *855 - projects_v2: *411 + installation: *858 + organization: *859 + projects_v2: *418 sender: *4 required: - action @@ -186022,7 +187327,7 @@ webhooks: type: string enum: - archived - changes: &903 + changes: &907 type: object properties: archived_at: @@ -186038,9 +187343,9 @@ webhooks: - string - 'null' format: date-time - installation: *854 - organization: *855 - projects_v2_item: &900 + installation: *858 + organization: *859 + projects_v2_item: &904 title: Projects v2 Item description: An item belonging to a project type: object @@ -186058,7 +187363,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *417 + content_type: *424 creator: *4 created_at: type: string @@ -186180,9 +187485,9 @@ webhooks: - 'null' to: type: string - installation: *854 - organization: *855 - projects_v2_item: *900 + installation: *858 + organization: *859 + projects_v2_item: *904 sender: *4 required: - action @@ -186264,9 +187569,9 @@ webhooks: type: string enum: - created - installation: *854 - organization: *855 - projects_v2_item: *900 + installation: *858 + organization: *859 + projects_v2_item: *904 sender: *4 required: - action @@ -186347,9 +187652,9 @@ webhooks: type: string enum: - deleted - installation: *854 - organization: *855 - projects_v2_item: *900 + installation: *858 + organization: *859 + projects_v2_item: *904 sender: *4 required: - action @@ -186454,7 +187759,7 @@ webhooks: oneOf: - type: string - type: integer - - &901 + - &905 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -186478,7 +187783,7 @@ webhooks: required: - id - name - - &902 + - &906 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -186518,8 +187823,8 @@ webhooks: oneOf: - type: string - type: integer - - *901 - - *902 + - *905 + - *906 type: - 'null' - string @@ -186542,9 +187847,9 @@ webhooks: - 'null' required: - body - installation: *854 - organization: *855 - projects_v2_item: *900 + installation: *858 + organization: *859 + projects_v2_item: *904 sender: *4 required: - action @@ -186641,9 +187946,9 @@ webhooks: type: - string - 'null' - installation: *854 - organization: *855 - projects_v2_item: *900 + installation: *858 + organization: *859 + projects_v2_item: *904 sender: *4 required: - action @@ -186726,10 +188031,10 @@ webhooks: type: string enum: - restored - changes: *903 - installation: *854 - organization: *855 - projects_v2_item: *900 + changes: *907 + installation: *858 + organization: *859 + projects_v2_item: *904 sender: *4 required: - action @@ -186811,9 +188116,9 @@ webhooks: type: string enum: - reopened - installation: *854 - organization: *855 - projects_v2: *411 + installation: *858 + organization: *859 + projects_v2: *418 sender: *4 required: - action @@ -186894,9 +188199,9 @@ webhooks: type: string enum: - created - installation: *854 - organization: *855 - projects_v2_status_update: *904 + installation: *858 + organization: *859 + projects_v2_status_update: *908 sender: *4 required: - action @@ -186977,9 +188282,9 @@ webhooks: type: string enum: - deleted - installation: *854 - organization: *855 - projects_v2_status_update: *904 + installation: *858 + organization: *859 + projects_v2_status_update: *908 sender: *4 required: - action @@ -187125,9 +188430,9 @@ webhooks: - string - 'null' format: date - installation: *854 - organization: *855 - projects_v2_status_update: *904 + installation: *858 + organization: *859 + projects_v2_status_update: *908 sender: *4 required: - action @@ -187198,10 +188503,10 @@ webhooks: title: public event type: object properties: - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - repository @@ -187278,13 +188583,13 @@ webhooks: type: string enum: - assigned - assignee: *880 - enterprise: *853 - installation: *854 - number: &905 + assignee: *884 + enterprise: *857 + installation: *858 + number: &909 description: The pull request number. type: integer - organization: *855 + organization: *859 pull_request: title: Pull Request type: object @@ -189636,7 +190941,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 sender: *4 required: - action @@ -189718,11 +191023,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 number: type: integer - organization: *855 + organization: *859 pull_request: title: Pull Request type: object @@ -192067,7 +193372,7 @@ webhooks: - draft reason: type: string - repository: *856 + repository: *860 sender: *4 required: - action @@ -192149,11 +193454,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 number: type: integer - organization: *855 + organization: *859 pull_request: title: Pull Request type: object @@ -194498,7 +195803,7 @@ webhooks: - draft reason: type: string - repository: *856 + repository: *860 sender: *4 required: - action @@ -194580,13 +195885,13 @@ webhooks: type: string enum: - closed - enterprise: *853 - installation: *854 - number: *905 - organization: *855 - pull_request: &906 + enterprise: *857 + installation: *858 + number: *909 + organization: *859 + pull_request: &910 allOf: - - *702 + - *706 - type: object properties: allow_auto_merge: @@ -194648,7 +195953,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *856 + repository: *860 sender: *4 required: - action @@ -194729,12 +196034,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *853 - installation: *854 - number: *905 - organization: *855 - pull_request: *906 - repository: *856 + enterprise: *857 + installation: *858 + number: *909 + organization: *859 + pull_request: *910 + repository: *860 sender: *4 required: - action @@ -194814,11 +196119,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *853 - milestone: *414 - number: *905 - organization: *855 - pull_request: &907 + enterprise: *857 + milestone: *421 + number: *909 + organization: *859 + pull_request: &911 title: Pull Request type: object properties: @@ -197162,7 +198467,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 sender: *4 required: - action @@ -197241,11 +198546,11 @@ webhooks: type: string enum: - dequeued - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 number: type: integer - organization: *855 + organization: *859 pull_request: title: Pull Request type: object @@ -199608,7 +200913,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *856 + repository: *860 sender: *4 required: - action @@ -199732,12 +201037,12 @@ webhooks: type: string required: - from - enterprise: *853 - installation: *854 - number: *905 - organization: *855 - pull_request: *906 - repository: *856 + enterprise: *857 + installation: *858 + number: *909 + organization: *859 + pull_request: *910 + repository: *860 sender: *4 required: - action @@ -199817,11 +201122,11 @@ webhooks: type: string enum: - enqueued - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 number: type: integer - organization: *855 + organization: *859 pull_request: title: Pull Request type: object @@ -202169,7 +203474,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 sender: *4 required: - action @@ -202249,11 +203554,11 @@ webhooks: type: string enum: - labeled - enterprise: *853 - installation: *854 - label: *874 - number: *905 - organization: *855 + enterprise: *857 + installation: *858 + label: *878 + number: *909 + organization: *859 pull_request: title: Pull Request type: object @@ -204604,7 +205909,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 sender: *4 required: - action @@ -204685,10 +205990,10 @@ webhooks: type: string enum: - locked - enterprise: *853 - installation: *854 - number: *905 - organization: *855 + enterprise: *857 + installation: *858 + number: *909 + organization: *859 pull_request: title: Pull Request type: object @@ -207037,7 +208342,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 sender: *4 required: - action @@ -207117,12 +208422,12 @@ webhooks: type: string enum: - milestoned - enterprise: *853 - milestone: *414 - number: *905 - organization: *855 - pull_request: *907 - repository: *856 + enterprise: *857 + milestone: *421 + number: *909 + organization: *859 + pull_request: *911 + repository: *860 sender: *4 required: - action @@ -207201,12 +208506,12 @@ webhooks: type: string enum: - opened - enterprise: *853 - installation: *854 - number: *905 - organization: *855 - pull_request: *906 - repository: *856 + enterprise: *857 + installation: *858 + number: *909 + organization: *859 + pull_request: *910 + repository: *860 sender: *4 required: - action @@ -207287,12 +208592,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *853 - installation: *854 - number: *905 - organization: *855 - pull_request: *906 - repository: *856 + enterprise: *857 + installation: *858 + number: *909 + organization: *859 + pull_request: *910 + repository: *860 sender: *4 required: - action @@ -207372,12 +208677,12 @@ webhooks: type: string enum: - reopened - enterprise: *853 - installation: *854 - number: *905 - organization: *855 - pull_request: *906 - repository: *856 + enterprise: *857 + installation: *858 + number: *909 + organization: *859 + pull_request: *910 + repository: *860 sender: *4 required: - action @@ -207752,9 +209057,9 @@ webhooks: - start_side - side - reactions - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 pull_request: type: object properties: @@ -209987,7 +211292,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *856 + repository: *860 sender: *4 required: - action @@ -210067,7 +211372,7 @@ webhooks: type: string enum: - deleted - comment: &909 + comment: &913 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -210360,9 +211665,9 @@ webhooks: - start_side - side - reactions - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 pull_request: type: object properties: @@ -212583,7 +213888,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *856 + repository: *860 sender: *4 required: - action @@ -212663,11 +213968,11 @@ webhooks: type: string enum: - edited - changes: *908 - comment: *909 - enterprise: *853 - installation: *854 - organization: *855 + changes: *912 + comment: *913 + enterprise: *857 + installation: *858 + organization: *859 pull_request: type: object properties: @@ -214891,7 +216196,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *856 + repository: *860 sender: *4 required: - action @@ -214972,9 +216277,9 @@ webhooks: type: string enum: - dismissed - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 pull_request: title: Simple Pull Request type: object @@ -217210,7 +218515,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *856 + repository: *860 review: description: The review that was affected. type: object @@ -217461,9 +218766,9 @@ webhooks: type: string required: - from - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 pull_request: title: Simple Pull Request type: object @@ -219572,8 +220877,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *856 - review: &910 + repository: *860 + review: &914 description: The review that was affected. type: object properties: @@ -219811,12 +221116,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 number: description: The pull request number. type: integer - organization: *855 + organization: *859 pull_request: title: Pull Request type: object @@ -222166,7 +223471,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 requested_reviewer: title: User type: @@ -222252,12 +223557,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 number: description: The pull request number. type: integer - organization: *855 + organization: *859 pull_request: title: Pull Request type: object @@ -224614,7 +225919,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 requested_team: title: Team description: Groups of organization members that gives permissions @@ -224809,12 +226114,12 @@ webhooks: type: string enum: - review_requested - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 number: description: The pull request number. type: integer - organization: *855 + organization: *859 pull_request: title: Pull Request type: object @@ -227166,7 +228471,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 requested_reviewer: title: User type: @@ -227253,12 +228558,12 @@ webhooks: type: string enum: - review_requested - enterprise: *853 - installation: *854 + enterprise: *857 + installation: *858 number: description: The pull request number. type: integer - organization: *855 + organization: *859 pull_request: title: Pull Request type: object @@ -229601,7 +230906,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 requested_team: title: Team description: Groups of organization members that gives permissions @@ -229785,9 +231090,9 @@ webhooks: type: string enum: - submitted - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 pull_request: title: Simple Pull Request type: object @@ -232026,8 +233331,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *856 - review: *910 + repository: *860 + review: *914 sender: *4 required: - action @@ -232107,9 +233412,9 @@ webhooks: type: string enum: - resolved - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 pull_request: title: Simple Pull Request type: object @@ -234257,7 +235562,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *856 + repository: *860 sender: *4 thread: type: object @@ -234654,9 +235959,9 @@ webhooks: type: string enum: - unresolved - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 pull_request: title: Simple Pull Request type: object @@ -236787,7 +238092,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *856 + repository: *860 sender: *4 thread: type: object @@ -237186,10 +238491,10 @@ webhooks: type: string before: type: string - enterprise: *853 - installation: *854 - number: *905 - organization: *855 + enterprise: *857 + installation: *858 + number: *909 + organization: *859 pull_request: title: Pull Request type: object @@ -239527,7 +240832,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 sender: *4 required: - action @@ -239609,11 +240914,11 @@ webhooks: type: string enum: - unassigned - assignee: *911 - enterprise: *853 - installation: *854 - number: *905 - organization: *855 + assignee: *915 + enterprise: *857 + installation: *858 + number: *909 + organization: *859 pull_request: title: Pull Request type: object @@ -241966,7 +243271,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 sender: *4 required: - action @@ -242045,11 +243350,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *853 - installation: *854 - label: *874 - number: *905 - organization: *855 + enterprise: *857 + installation: *858 + label: *878 + number: *909 + organization: *859 pull_request: title: Pull Request type: object @@ -244391,7 +245696,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 sender: *4 required: - action @@ -244472,10 +245777,10 @@ webhooks: type: string enum: - unlocked - enterprise: *853 - installation: *854 - number: *905 - organization: *855 + enterprise: *857 + installation: *858 + number: *909 + organization: *859 pull_request: title: Pull Request type: object @@ -246807,7 +248112,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *856 + repository: *860 sender: *4 required: - action @@ -247010,7 +248315,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *853 + enterprise: *857 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -247105,8 +248410,8 @@ webhooks: - url - author - committer - installation: *854 - organization: *855 + installation: *858 + organization: *859 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -247705,9 +249010,9 @@ webhooks: type: string enum: - published - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 registry_package: type: object properties: @@ -248184,7 +249489,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *894 + items: *898 summary: type: string tag_name: @@ -248240,7 +249545,7 @@ webhooks: - owner - package_version - registry - repository: *856 + repository: *860 sender: *4 required: - action @@ -248318,9 +249623,9 @@ webhooks: type: string enum: - updated - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 registry_package: type: object properties: @@ -248632,7 +249937,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *894 + items: *898 summary: type: string tag_name: @@ -248682,7 +249987,7 @@ webhooks: - owner - package_version - registry - repository: *856 + repository: *860 sender: *4 required: - action @@ -248759,10 +250064,10 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - release: &912 + enterprise: *857 + installation: *858 + organization: *859 + release: &916 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -249093,7 +250398,7 @@ webhooks: - updated_at - zipball_url - body - repository: *856 + repository: *860 sender: *4 required: - action @@ -249170,11 +250475,11 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - release: *912 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + release: *916 + repository: *860 sender: *4 required: - action @@ -249291,11 +250596,11 @@ webhooks: type: boolean required: - to - enterprise: *853 - installation: *854 - organization: *855 - release: *912 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + release: *916 + repository: *860 sender: *4 required: - action @@ -249373,9 +250678,9 @@ webhooks: type: string enum: - prereleased - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) @@ -249711,7 +251016,7 @@ webhooks: - string - 'null' format: uri - repository: *856 + repository: *860 sender: *4 required: - action @@ -249787,10 +251092,10 @@ webhooks: type: string enum: - published - enterprise: *853 - installation: *854 - organization: *855 - release: &913 + enterprise: *857 + installation: *858 + organization: *859 + release: &917 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest/rest/releases/releases/#get-a-release) object. @@ -250123,7 +251428,7 @@ webhooks: - string - 'null' format: uri - repository: *856 + repository: *860 sender: *4 required: - action @@ -250199,11 +251504,11 @@ webhooks: type: string enum: - released - enterprise: *853 - installation: *854 - organization: *855 - release: *912 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + release: *916 + repository: *860 sender: *4 required: - action @@ -250279,11 +251584,11 @@ webhooks: type: string enum: - unpublished - enterprise: *853 - installation: *854 - organization: *855 - release: *913 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + release: *917 + repository: *860 sender: *4 required: - action @@ -250359,11 +251664,11 @@ webhooks: type: string enum: - published - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - repository_advisory: *754 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + repository_advisory: *758 sender: *4 required: - action @@ -250439,11 +251744,11 @@ webhooks: type: string enum: - reported - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - repository_advisory: *754 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + repository_advisory: *758 sender: *4 required: - action @@ -250519,10 +251824,10 @@ webhooks: type: string enum: - archived - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -250599,10 +251904,10 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -250680,10 +251985,10 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -250768,10 +252073,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -250886,10 +252191,10 @@ webhooks: - 'null' items: type: string - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -250961,10 +252266,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 status: type: string @@ -251045,10 +252350,10 @@ webhooks: type: string enum: - privatized - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -251125,10 +252430,10 @@ webhooks: type: string enum: - publicized - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -251222,10 +252527,10 @@ webhooks: - name required: - repository - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -251305,10 +252610,10 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 repository_ruleset: *187 sender: *4 required: @@ -251387,10 +252692,10 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 repository_ruleset: *187 sender: *4 required: @@ -251469,10 +252774,10 @@ webhooks: type: string enum: - edited - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 repository_ruleset: *187 changes: type: object @@ -251534,16 +252839,16 @@ webhooks: properties: added: type: array - items: *722 + items: *726 deleted: type: array - items: *722 + items: *726 updated: type: array items: type: object properties: - rule: *722 + rule: *726 changes: type: object properties: @@ -251780,10 +253085,10 @@ webhooks: - from required: - owner - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -251861,10 +253166,10 @@ webhooks: type: string enum: - unarchived - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -251942,7 +253247,7 @@ webhooks: type: string enum: - create - alert: &914 + alert: &918 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -252067,10 +253372,10 @@ webhooks: enum: - auto_dismissed - open - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -252280,10 +253585,10 @@ webhooks: type: string enum: - dismissed - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -252361,11 +253666,11 @@ webhooks: type: string enum: - reopen - alert: *914 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + alert: *918 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -252567,10 +253872,10 @@ webhooks: enum: - fixed - open - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -252648,7 +253953,7 @@ webhooks: type: string enum: - assigned - alert: &915 + alert: &919 type: object properties: number: *127 @@ -252788,10 +254093,10 @@ webhooks: - type: 'null' - *4 assignee: *4 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -252869,11 +254174,11 @@ webhooks: type: string enum: - created - alert: *915 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + alert: *919 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -252954,11 +254259,11 @@ webhooks: type: string enum: - created - alert: *915 - installation: *854 - location: *916 - organization: *855 - repository: *856 + alert: *919 + installation: *858 + location: *920 + organization: *859 + repository: *860 sender: *4 required: - location @@ -253196,11 +254501,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *915 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + alert: *919 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -253278,11 +254583,11 @@ webhooks: type: string enum: - reopened - alert: *915 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + alert: *919 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -253360,11 +254665,11 @@ webhooks: type: string enum: - resolved - alert: *915 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + alert: *919 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -253442,12 +254747,12 @@ webhooks: type: string enum: - unassigned - alert: *915 + alert: *919 assignee: *4 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -253525,11 +254830,11 @@ webhooks: type: string enum: - validated - alert: *915 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + alert: *919 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -253659,10 +254964,10 @@ webhooks: - organization - enterprise - - repository: *856 - enterprise: *853 - installation: *854 - organization: *855 + repository: *860 + enterprise: *857 + installation: *858 + organization: *859 sender: *4 required: - action @@ -253740,11 +255045,11 @@ webhooks: type: string enum: - published - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - security_advisory: &917 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + security_advisory: &921 description: The details of the security advisory, including summary, description, and severity. type: object @@ -253917,11 +255222,11 @@ webhooks: type: string enum: - updated - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 - security_advisory: *917 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 + security_advisory: *921 sender: *4 required: - action @@ -253994,10 +255299,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -254170,11 +255475,11 @@ webhooks: from: type: object properties: - security_and_analysis: *425 - enterprise: *853 - installation: *854 - organization: *855 - repository: *471 + security_and_analysis: *432 + enterprise: *857 + installation: *858 + organization: *859 + repository: *478 sender: *4 required: - changes @@ -254252,12 +255557,12 @@ webhooks: type: string enum: - cancelled - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 - sponsorship: &918 + sponsorship: &922 type: object properties: created_at: @@ -254562,12 +255867,12 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 - sponsorship: *918 + sponsorship: *922 required: - action - sponsorship @@ -254655,12 +255960,12 @@ webhooks: type: string required: - from - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 - sponsorship: *918 + sponsorship: *922 required: - action - changes @@ -254737,17 +256042,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &919 + effective_date: &923 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 - sponsorship: *918 + sponsorship: *922 required: - action - sponsorship @@ -254821,7 +256126,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &920 + changes: &924 type: object properties: tier: @@ -254865,13 +256170,13 @@ webhooks: - from required: - tier - effective_date: *919 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + effective_date: *923 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 - sponsorship: *918 + sponsorship: *922 required: - action - changes @@ -254948,13 +256253,13 @@ webhooks: type: string enum: - tier_changed - changes: *920 - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + changes: *924 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 - sponsorship: *918 + sponsorship: *922 required: - action - changes @@ -255028,10 +256333,10 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -255115,10 +256420,10 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -255552,15 +256857,15 @@ webhooks: type: - string - 'null' - enterprise: *853 + enterprise: *857 id: description: The unique identifier of the status. type: integer - installation: *854 + installation: *858 name: type: string - organization: *855 - repository: *856 + organization: *859 + repository: *860 sender: *4 sha: description: The Commit SHA. @@ -255676,17 +256981,16 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *219 - installation: *854 - organization: *855 - repository: *856 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action - - parent_issue_id - - parent_issue - - parent_issue_repo - sub_issue_id - sub_issue + - repository + - sender responses: '200': description: Return a 200 status to indicate that the data was received @@ -255768,17 +257072,16 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *219 - installation: *854 - organization: *855 - repository: *856 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action - - parent_issue_id - - parent_issue - - parent_issue_repo - sub_issue_id - sub_issue + - repository + - sender responses: '200': description: Return a 200 status to indicate that the data was received @@ -255860,17 +257163,16 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *219 - installation: *854 - organization: *855 - repository: *856 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action - - sub_issue_id - - sub_issue - - sub_issue_repo - parent_issue_id - parent_issue + - repository + - sender responses: '200': description: Return a 200 status to indicate that the data was received @@ -255952,17 +257254,16 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *219 - installation: *854 - organization: *855 - repository: *856 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action - - sub_issue_id - - sub_issue - - sub_issue_repo - parent_issue_id - parent_issue + - repository + - sender responses: '200': description: Return a 200 status to indicate that the data was received @@ -256031,12 +257332,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 - team: &921 + team: &925 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -256266,9 +257567,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 repository: title: Repository description: A git repository @@ -256738,7 +258039,7 @@ webhooks: - topics - visibility sender: *4 - team: *921 + team: *925 required: - action - team @@ -256814,9 +258115,9 @@ webhooks: type: string enum: - created - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 repository: title: Repository description: A git repository @@ -257286,7 +258587,7 @@ webhooks: - topics - visibility sender: *4 - team: *921 + team: *925 required: - action - team @@ -257363,9 +258664,9 @@ webhooks: type: string enum: - deleted - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 repository: title: Repository description: A git repository @@ -257835,7 +259136,7 @@ webhooks: - topics - visibility sender: *4 - team: *921 + team: *925 required: - action - team @@ -257979,9 +259280,9 @@ webhooks: - from required: - permissions - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 repository: title: Repository description: A git repository @@ -258451,7 +259752,7 @@ webhooks: - topics - visibility sender: *4 - team: *921 + team: *925 required: - action - changes @@ -258529,9 +259830,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *853 - installation: *854 - organization: *855 + enterprise: *857 + installation: *858 + organization: *859 repository: title: Repository description: A git repository @@ -259001,7 +260302,7 @@ webhooks: - topics - visibility sender: *4 - team: *921 + team: *925 required: - action - team @@ -259077,10 +260378,10 @@ webhooks: type: string enum: - started - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 required: - action @@ -259153,17 +260454,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *853 + enterprise: *857 inputs: type: - object - 'null' additionalProperties: true - installation: *854 - organization: *855 + installation: *858 + organization: *859 ref: type: string - repository: *856 + repository: *860 sender: *4 workflow: type: string @@ -259245,10 +260546,10 @@ webhooks: type: string enum: - completed - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 workflow_job: allOf: @@ -259504,7 +260805,7 @@ webhooks: type: string required: - conclusion - deployment: *608 + deployment: *614 required: - action - repository @@ -259583,10 +260884,10 @@ webhooks: type: string enum: - in_progress - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 workflow_job: allOf: @@ -259868,7 +261169,7 @@ webhooks: required: - status - steps - deployment: *608 + deployment: *614 required: - action - repository @@ -259947,10 +261248,10 @@ webhooks: type: string enum: - queued - enterprise: *853 - installation: *854 - organization: *855 - repository: *856 + enterprise: *857 + installation: *858 + organization: *859 + repository: *860 sender: *4 workflow_job: t{"code":"deadline_exceeded","msg":"operation timed out"}